0
\$\begingroup\$

Is there a way to display multiple lines of equations in display mode on this site?

On other SE sites, you can do the following:

\$$ % Initial slash not needed on other sites
I = C \frac{dV}{dt} \\
R = V/I
$$

and the equations will be on separate lines. On this site, however, that doesn't seem to work. Example: How to analyze a current sink for an ideal power amplifier

\$\endgroup\$
7
  • \$\begingroup\$ Without the back-slash it does work on this site. Saying that something doesn't seem to work is no help at all to understanding what issue you face. Linking to an example that shows formulas on different lines and the same lines confuses the issue for me. \$\endgroup\$
    – Andy aka
    Commented Jun 1, 2024 at 11:26
  • 1
    \$\begingroup\$ @Andyaka Someone edited the example to fix it, after I posted this question. On other SE sites, you enter LaTeX with a $. On electronics.SE, you need to do a \\$. I saw a post on meta explaining why. Apparently, the requirement for the slash is only for a single $ and not a double $$. Documenting that somewhere would help people new to this site. \$\endgroup\$ Commented Jun 3, 2024 at 1:11
  • 2
    \$\begingroup\$ It seems that both \$$ and $$ work, but the first disables newlines and the second doesn't. \$\endgroup\$ Commented Jun 3, 2024 at 1:20
  • \$\begingroup\$ Look at the edit history = nobody edited anything important to your formatting misunderstanding. \$\endgroup\$
    – Andy aka
    Commented Jun 5, 2024 at 16:18
  • \$\begingroup\$ I removed the status review tag off this since it seems like this was a formatting issue and not an actual bug. \$\endgroup\$
    – Hoid StaffMod
    Commented Oct 17, 2024 at 20:46
  • \$\begingroup\$ @SRobertJames see electronics.meta.stackexchange.com/questions/440/… -- our inline delimiter is \$, so \$$ seems to be doing something odd that's causing problems. \$\endgroup\$ Commented Oct 25, 2024 at 13:59
  • \$\begingroup\$ @ScottSeidman There seems to be a formatting issue making your comment not display properly. \$\endgroup\$ Commented Oct 27, 2024 at 21:31

1 Answer 1

2
\$\begingroup\$

You have this latex/mathjax (or whatever it is) in your linked question: -

\$$ I_{src} = I_0 e^{j \omega t} \\ V_{L} = V_1 - L \frac{dI_{src}}{dt} \\ = V_1 -jI_{src} \omega L$$

and that produces what you appear to not want: -

$$ I_{src} = I_0 e^{j \omega t} \ V_{L} = V_1 - L \frac{dI_{src}}{dt} \ = V_1 -jI_{src} \omega L$$

But, if you removed the slash in the beginning you get this: -

$$ I_{src} = I_0 e^{j \omega t} \\ V_{L} = V_1 - L \frac{dI_{src}}{dt} \\ = V_1 -jI_{src} \omega L$$

So, what's the issue here?

\$\endgroup\$
1
  • \$\begingroup\$ FWIW, the MathJax delimiters we use on this stack are not the "standard" MathJax delimiters, or the delimiters used on other stacks. \$\endgroup\$ Commented Oct 23, 2024 at 13:30

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.