Author Topic: Eevblog forum equation editor?  (Read 731 times)

0 Members and 1 Guest are viewing this topic.

Offline jesuscf

  • Regular Contributor
  • *
  • Posts: 195
  • Country: ca
Eevblog forum equation editor?
« on: January 20, 2019, 06:07:49 pm »
Maybe this has been asked before, if that is the case could you please pass the link?  (Googling "eevblog equation" returns thousands of unrelated results!) Otherwise, is there a way of posting equations in the forum?  Something like
Code: [Select]
[tex]y = a x^2 + bx + c[/tex]
Homer: Kids, there's three ways to do things; the right way, the wrong way and the Max Power way!
Bart: Isn't that the wrong way?
Homer: Yeah, but faster!
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 1715
Re: Eevblog forum equation editor?
« Reply #1 on: January 20, 2019, 06:23:08 pm »
Surround the equation with \ $  (without the space)  \$y = a x^2 + bx + c\$
Use $ $ without the space to format the equations in their own space.  $$y = a x^2 + bx + c$$
« Last Edit: January 20, 2019, 06:49:01 pm by Andy Watson »
 
The following users thanked this post: jesuscf, apis

Offline Cyberdragon

  • Super Contributor
  • ***
  • Posts: 2120
  • Country: us
Re: Eevblog forum equation editor?
« Reply #2 on: January 20, 2019, 06:37:51 pm »
But how would you do advanced symbols like integrals, limited summations, exc?
*BZZZZZZAAAAAP*
Voltamort strikes again!
Explodingus - someone who frequently causes accidental explosions
 

Online Andy Watson

  • Super Contributor
  • ***
  • Posts: 1715
Re: Eevblog forum equation editor?
« Reply #3 on: January 20, 2019, 06:43:03 pm »
It's essentially Tex/LaTeX code.  \$\int_0^2 x^2 dx\$

https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics
 
The following users thanked this post: jesuscf

Offline jesuscf

  • Regular Contributor
  • *
  • Posts: 195
  • Country: ca
Re: Eevblog forum equation editor?
« Reply #4 on: January 20, 2019, 06:47:18 pm »
Surround the equation with \ $  (without the space)  \$y = a x^2 + bx + c\$

Preview doesn't show the result for me.  Let me try posting...

\$y = a x^2 + bx + c\$
\$\int_0^2 x^2 dx\$

Edit: it works!  Thanks Andy Watson!
Homer: Kids, there's three ways to do things; the right way, the wrong way and the Max Power way!
Bart: Isn't that the wrong way?
Homer: Yeah, but faster!
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 9590
  • Country: us
Re: Eevblog forum equation editor?
« Reply #5 on: January 20, 2019, 06:51:22 pm »
Preview doesn't show the result for me.

This can help with getting a preview of the result before you post:

http://jbergknoff.github.io/mathjax-sandbox/

BTW, for display equations surround them with $$ rather than \$.
« Last Edit: January 20, 2019, 06:54:50 pm by IanB »
I'm not an EE--what am I doing here?
 
The following users thanked this post: jesuscf, Andy Watson

Online TimFox

  • Frequent Contributor
  • **
  • Posts: 953
  • Country: us
  • Retired, now restoring antique test equipment
Re: Eevblog forum equation editor?
« Reply #6 on: January 21, 2019, 11:33:46 pm »
I like the standard equation editor in Word.
Is there any way to copy an equation from Word into the forum?
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 9590
  • Country: us
Re: Eevblog forum equation editor?
« Reply #7 on: January 21, 2019, 11:49:55 pm »
I like the standard equation editor in Word.
Is there any way to copy an equation from Word into the forum?

Yes--if you are using Office 365.

1. Enter the equation in Word.
2. Change the equation to LateX using the Conversions area in the Equation Tools--Design tab on the ribbon.
(3. Change the equation display format to Linear.)
4. Copy the LaTeX equation markup from Word into the forum.

Note: Step 3 may not be necessary depending on your equation editor settings.

Example:

I write this equation in Word: 1+1/(2+1/(2+1/(2+⋯)))=√2
I check that it displays nicely.
I convert it to LaTeX.
I copy it to the clipboard.
I paste it here.
It looks like this:
$$1+\frac{1}{2+\frac{1}{2+\frac{1}{2+\ldots}}}=\sqrt2$$
« Last Edit: January 22, 2019, 12:24:54 am by IanB »
I'm not an EE--what am I doing here?
 

Offline helius

  • Super Contributor
  • ***
  • Posts: 2859
  • Country: us
 
The following users thanked this post: chickenHeadKnob

Offline edpalmer42

  • Super Contributor
  • ***
  • Posts: 1636
  • Country: ca
Re: Eevblog forum equation editor?
« Reply #9 on: January 22, 2019, 01:29:53 am »
When I read through this thread, at first, I couldn't figure out what everyone was talking about.  Then I saw a reference to mathjax and the light went on.  My security settings routinely block almost all web sites.  These equations only display properly when I allow mathjax.org and cloudflare.com.  Anyone who has trouble seeing the equations should check their security software.  In my case, it was the Noscript plugin for Firefox.

Ed
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf