Author Topic: How to post LaTex formulae here?  (Read 1245 times)

0 Members and 1 Guest are viewing this topic.

Online Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 4745
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
How to post LaTex formulae here?
« on: December 05, 2025, 09:33:17 pm »
I'm having no luck posting LaTex formulas here.
I've formatted a formula using MathJax (using their "sandbox") which renders correctly in the sandbox, but I can't get it to render here at all.

So I went through a bunch of posts here that contain LaTex. Copied the formulas note-for-note into my message; none of them render correctly.

For example, from this post, I pulled out this LaTex that renders correctly there (it's the first on in the post):

\$V_f = \frac{V_s Z_0}{Z_0 + Z_s}\$

But obviously it doesn't work here.

I really don't want to resort to converting LaTex to images and posting the images. None of the posts I looked at do that.

I've tried using [math], [lax] and [latex] tags, but the parser doesn't seem to understand them at all, as you can see here.

What am I doing wrong?
And why is there nothing in the help docs here that explains this?
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 11867
  • Country: us
  • Retired, now restoring antique test equipment
Re: How to post LaTex formulae here?
« Reply #1 on: December 05, 2025, 09:36:31 pm »
It would be better for me if I could post equations directly in Unicode from the Word equation editor, but I'm curious about LaTex.
 

Online Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 4745
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
Re: How to post LaTex formulae here?
« Reply #2 on: December 05, 2025, 09:43:46 pm »
Wait a minute.
Looks like that might be the answer: you have to wait a minute?
When I posted that message, the preview didn't show the rendered formula.
But now I can see that the LaTex did actually render correctly in the post.
And I thought the posted message also didn't. But maybe it did? I actually didn't check.
So it looks as if the posted message will render correctly, but not the preview.
If that's true, then that sorta sucks. (Looking at you, SMF.)
In that case you have to post the message, then look at it, then edit it if you screwed up the LaTex.
Got it.
 

Offline TimFox

  • Super Contributor
  • ***
  • Posts: 11867
  • Country: us
  • Retired, now restoring antique test equipment
Re: How to post LaTex formulae here?
« Reply #3 on: December 05, 2025, 09:47:23 pm »
When you entered that equation into your post, did it appear formatted correctly in "preview" mode?
I have found that several features, such as italics, can stay in the original format in preview, but post properly.
 

Online Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 4745
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
Re: How to post LaTex formulae here?
« Reply #4 on: December 05, 2025, 09:49:48 pm »
When you entered that equation into your post, did it appear formatted correctly in "preview" mode?
I have found that several features, such as italics, can stay in the original format in preview, but post properly.

No, that was my point: it doesn't render at all in preview, but renders correctly in the posted post.
 

Online Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 4745
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
Re: How to post LaTex formulae here?
« Reply #5 on: December 05, 2025, 09:55:00 pm »
Now that I figured that out, can someone tell me how I can biggerize this teeny-tiny formula?

\$I_{E}=\frac{2.5-AGC\,voltage}{2200}\$

Answer: \displaystyle in front:

\$\displaystyle I_{E}=\frac{2.5-AGC\,voltage}{2200}\$
« Last Edit: December 05, 2025, 10:08:04 pm by Analog Kid »
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 14121
 
The following users thanked this post: ftg, Analog Kid

Offline Whales

  • Super Contributor
  • ***
  • Posts: 2681
  • Country: au
    • Halestrom
Re: How to post LaTex formulae here?
« Reply #7 on: December 06, 2025, 12:04:07 am »
Lots of stuff does not work in message preview mode, including inline images.  I assume simplemachine's plugin architecture treats preview rendering differently to final post rendering.
 

Offline radiolistener

  • Super Contributor
  • ***
  • Posts: 5728
  • Country: Earth
Re: How to post LaTex formulae here?
« Reply #8 on: December 06, 2025, 06:48:28 am »
\$x(t)=\frac{1}{2\pi}\int_{-\infty}^{+\infty} X(\omega)\, e^{j\omega t}\, d\omega\$

\$\displaystyle x(t)=\frac{1}{2\pi}\int_{-\infty}^{+\infty} X(\omega)\, e^{j\omega t}\, d\omega\$ <= \displaystyle:

\$\Large \displaystyle x(t)=\frac{1}{2\pi}\int_{-\infty}^{+\infty} X(\omega)\, e^{j\omega t}\, d\omega\$ <= \Large \displaystyle

\$\Huge \displaystyle x(t)=\frac{1}{2\pi}\int_{-\infty}^{+\infty} X(\omega)\, e^{j\omega t}\, d\omega\$ <= \Huge \displaystyle

« Last Edit: December 06, 2025, 07:09:45 am by radiolistener »
 
The following users thanked this post: Andy Watson, rstofer, ftg

Online Analog KidTopic starter

  • Super Contributor
  • ***
  • Posts: 4745
  • Country: us
  • DANDY fan (Discretes Are Not Dead Yet)
Re: How to post LaTex formulae here?
« Reply #9 on: December 06, 2025, 07:00:45 am »
Would've helped if you put the code that gives those sizes in your post:

\displaystyle
\Large \displaystyle
\Huge \displaystyle
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 13021
  • Country: us
Re: How to post LaTex formulae here?
« Reply #10 on: June 14, 2026, 11:47:59 pm »
Testing line breaks:
$$a=b\\c=d$$
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf