Author Topic: how does posting math notation work?  (Read 275168 times)

0 Members and 3 Guests are viewing this topic.

Offline Cerebus

  • Super Contributor
  • ***
  • Posts: 10576
  • Country: gb
Re: how does posting math notation work?
« Reply #25 on: January 14, 2021, 08:37:11 pm »
I normally use the equation editor in Microsoft Word to generate equations to be included in Word documents.
Is there a simple way to include such an equation into a post here?

See here for details of Word's \$\LaTeX\$ math mode capabilities in the equation editor. There's an embedded video on how to get \$\LaTeX\$ out of the equation editor.
Anybody got a syringe I can use to squeeze the magic smoke back into this?
 

Offline Xandinator

  • Contributor
  • Posts: 34
  • Country: 00
Re: how does posting math notation work?
« Reply #26 on: December 19, 2021, 12:33:17 pm »
OpenOffice.org/LibreOffice/... users can use the Math editor and export to MathML when using "Save As". From there you can choose a number of options.
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 17764
  • Country: fr
Re: how does posting math notation work?
« Reply #27 on: January 22, 2022, 07:31:30 pm »
For those using wxMaxima, you can select any expression, right click and use "Copy as LaTeX". Then paste.

\[\frac{\cos{(x)}}{x}-\frac{\sin{(x)}}{{{x}^{2}}}\]

Note that it won't be displayed WYSIWYG in preview mode, which is annoying.
 

Online RoGeorge

  • Super Contributor
  • ***
  • Posts: 8430
  • Country: ro
Re: how does posting math notation work?
« Reply #28 on: February 08, 2022, 01:54:44 pm »
(MathJax == LaTex like syntax)
The best brief MathJax tutorial:
https://math.meta.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference




Random demo from the above link examples:
Code: [Select]
\begin{CD}
    A @>a>> \mathrm{ \color{red}{AC \unicode{x21af} DC} \impliedby \overline{ \xcancel{not} ITALIC} }\\
    @V b V V{f(n) =
        \begin{cases}
            \sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6},  & \text{if $n$ is even} \\[2ex]
            3n+1, & \text{if $n$ is odd}
        \end{cases}}
    @VV c V\\
    e^{i\pi/2} @>>d> {\mu_0=4\pi\times10^{-7} \ \left.\mathrm{\mathrm{T}\!\cdot\!\mathrm{m}}\middle/\mathrm{A}\right.}
\end{CD}

\begin{CD}
    A @>a>> \mathrm{ \color{red}{AC \unicode{x21af} DC} \impliedby \overline{ \xcancel{not} ITALIC} }\\
    @V b V V{f(n) =
        \begin{cases}
            \sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6},  & \text{if $n$ is even} \\[2ex]
            3n+1, & \text{if $n$ is odd}
        \end{cases}}
    @VV c V\\
    e^{i\pi/2} @>>d> {\mu_0=4\pi\times10^{-7} \ \left.\mathrm{\mathrm{T}\!\cdot\!\mathrm{m}}\middle/\mathrm{A}\right.}
\end{CD}

Code: [Select]
\[ \star \ \star \ \star \]
Normal  \$ \unicode{x23fb} \ \unicode{x238d} \ \unicode{x23da} \ \unicode{x23fc} \ \$ text.

\[ \star \ \star \ \star \]
Normal  \$ \unicode{x23fb} \ \unicode{x238d} \ \unicode{x23da} \ \unicode{x23fc} \ \$ text.
« Last Edit: August 08, 2026, 06:48:10 pm by RoGeorge »
 

Offline radiolistener

  • Super Contributor
  • ***
  • Posts: 5728
  • Country: Earth
Re: how does posting math notation work?
« Reply #29 on: November 25, 2023, 05:43:15 pm »
test \$\sqrt[\pi]{\pi^\pi}=\pi\$

\$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\$

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

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

🔥🔥🔥👀🫠
« Last Edit: April 22, 2026, 12:42:02 am by radiolistener »
 

Offline lu1s.p

  • Contributor
  • Posts: 12
  • Country: mx
Re: how does posting math notation work?
« Reply #30 on: February 18, 2025, 08:14:43 am »
Thanks for this advice,
I have the same problem too  ;)
 

Online RoGeorge

  • Super Contributor
  • ***
  • Posts: 8430
  • Country: ro
Re: how does posting math notation work?
« Reply #31 on: January 04, 2026, 06:07:53 pm »
Hey, I've just "discovered" you can copy formulas edited in the https://www.desmos.com/calculator GUI, and paste them in any text editor (including here).  The copied formula will be pasted as LaTex/MathJax text syntax.  :D

Border that with backslash dollar for an inline formula, or border the pasted text with double dollars for a centered formula.  8)
« Last Edit: January 04, 2026, 06:09:29 pm by RoGeorge »
 

Offline alanb

  • Frequent Contributor
  • **
  • Posts: 350
  • Country: gb
Re: how does posting math notation work?
« Reply #32 on: January 21, 2026, 05:26:09 pm »
You can use ChatGpt. Just describe the equation using words and numbers and ask it to produce an output in Latex.
 

Offline Apollodore

  • Newbie
  • Posts: 2
  • Country: fr
  • Apollo
Re: how does posting math notation work?
« Reply #33 on: February 25, 2026, 08:05:39 pm »
Thanks
CHMT560 user. It works, but it was a long way.
M'y job, Embeded Hardware software. Dspic Altium.
If i can help :-)
 

Offline max.wwwang

  • Frequent Contributor
  • **
  • Posts: 866
  • Country: cn
Re: how does posting math notation work?
« Reply #34 on: April 21, 2026, 11:33:14 pm »
Go to MathJax sandbox to get your syntax right, for example like this: http://jbergknoff.github.io/mathjax-sandbox/#JCRjPVxzcXJ0e2FeMitiXjJ9JCQ%3D

Then paste the formula into your post surrounded by double dollar signs:
$$c=\sqrt{a^2+b^2}$$
The reason for using the sandbox is that preview doesn't work in the editor here, so you need to use an external tool to see what your formulas will look like before posting.

It's puzzling that I tested below with the sandbox ok, but not showing as it should when posted here.

Figure 14 shows an E/A compensation circuit suitable for stabilizing any current-mode controlled topology except for flyback and boost converters operating with inductor current. The feedback components add a pole to the loop transfer function at $f_P = 1/2\pi R_F C_F$.  $R_F$ and $C_F$ are chosen so that this pole cancels the zero of the output filter capacitor ESR in the power circuit. $R_I$ and $R_F$ fix the low-frequency gain. They are chosen to provide as much gain as possible while still allowing the pole formed by the output filter capacitor and load to roll off the loop gain to unity ($0\text{ dB}$) at $f \approx f_{\text{SWITCHING}}/4$. This technique insures converter stability while providing good dynamic response.
Neutral | grounded
 

Offline Andy Watson

  • Super Contributor
  • ***
  • Posts: 2340
Re: how does posting math notation work?
« Reply #35 on: April 22, 2026, 12:16:48 am »
...
Then paste the formula into your post surrounded by double dollar signs:
...
...
It's puzzling that I tested below with the sandbox ok, but not showing as it should when posted here.

Need more dollars when posting here.
Or, if you want the formulae to appear in-line with the text, use backslash dollar instead of dollar dollar.

Quote
Figure 14 shows an E/A compensation circuit suitable for stabilizing any current-mode controlled topology except for flyback and boost converters operating with inductor current. The feedback components add a pole to the loop transfer function at \$f_P = 1/2\pi R_F C_F\$.  \$R_F\$ and \$C_F\$ are chosen so that this pole cancels the zero of the output filter capacitor ESR in the power circuit.  etc. ...

 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 8349
  • Country: fi
    • My home page and email address
Re: how does posting math notation work?
« Reply #36 on: April 22, 2026, 01:10:09 am »
MathJax supports different styles of marking inline math snippets, and sites choose one.  Some (including sandboxes) use $math$, this site uses \$math\$.  The centered math expressions are $$expression$$.

The feedback components add a pole to the loop transfer function at $f_P = 1/2\pi R_F C_F$.  $R_F$ and $C_F$ are chosen so that this pole cancels the zero of the output filter capacitor ESR in the power circuit. $R_I$ and $R_F$ fix the low-frequency gain. They are chosen to provide as much gain as possible while still allowing the pole formed by the output filter capacitor and load to roll off the loop gain to unity ($0\text{ dB}$) at $f \approx f_{\text{SWITCHING}}/4$. This technique insures converter stability while providing good dynamic response.

No, you need to type that in as
Quote
The feedback components add a pole to the loop transfer function at \$f_P = 1/2\pi R_F C_F\$.  \$R_F\$ and \$C_F\$ are chosen so that this pole cancels the zero of the output filter capacitor ESR in the power circuit. \$R_I\$ and \$R_F\$ fix the low-frequency gain. They are chosen to provide as much gain as possible while still allowing the pole formed by the output filter capacitor and load to roll off the loop gain to unity (\$0\text{ dB}\$) at \$f \approx f_{\text{SWITCHING}}/4\$. This technique insures converter stability while providing good dynamic response.
so that it will show up as
Quote
The feedback components add a pole to the loop transfer function at \$f_P = 1/2\pi R_F C_F\$.  \$R_F\$ and \$C_F\$ are chosen so that this pole cancels the zero of the output filter capacitor ESR in the power circuit. \$R_I\$ and \$R_F\$ fix the low-frequency gain. They are chosen to provide as much gain as possible while still allowing the pole formed by the output filter capacitor and load to roll off the loop gain to unity (\$0\text{ dB}\$) at \$f \approx f_{\text{SWITCHING}}/4\$. This technique insures converter stability while providing good dynamic response.
noting that the preview window shows the notation only, not the rendered math, unfortunately.  I like to do my proofreading in the preview window, save, and then check the math shows up correctly; if not, I edit the post.
« Last Edit: April 22, 2026, 01:12:02 am by Nominal Animal »
 

Offline max.wwwang

  • Frequent Contributor
  • **
  • Posts: 866
  • Country: cn
Re: how does posting math notation work?
« Reply #37 on: April 22, 2026, 02:12:16 am »
MathJax supports different styles of marking inline math snippets, and sites choose one.  Some (including sandboxes) use $math$, this site uses \$math\$.  The centered math expressions are $$expression$$.
This answers my question. Thank you.

Another question, then (given that preview of this forum does not properly show these expressions) is – is there is better 'sandbox' that is able to pick up any non-confirmative syntax?

Thanks.


Wait, trying again your code, still failing ...

The feedback components add a pole to the loop transfer function at \$f_P = 1/2\pi R_F C_F\$.  \$R_F\$ and \$C_F\$ are chosen so that this pole cancels the zero of the output filter capacitor ESR in the power circuit. \$R_I\$ and \$R_F\$ fix the low-frequency gain. They are chosen to provide as much gain as possible while still allowing the pole formed by the output filter capacitor and load to roll off the loop gain to unity (\$0\text{ dB}\$) at \$f \approx f_{\text{SWITCHING}}/4\$. This technique insures converter stability while providing good dynamic response.

Edit: when I come back again, it’s now working. Interesting. But anyway I will use this \$ format for online formulas.
« Last Edit: April 22, 2026, 06:37:23 am by max.wwwang »
Neutral | grounded
 

Online RoGeorge

  • Super Contributor
  • ***
  • Posts: 8430
  • Country: ro
Re: how does posting math notation work?
« Reply #38 on: April 22, 2026, 08:20:51 am »
is there is better 'sandbox' that is able to pick up any non-confirmative syntax?

There are many online mathjax editors, where you can see live the rendering of your formula, then copy paste here.  One example I've found recently is you can copy/paste a rendered formula from https://www.desmos.com/ into the forum.  When pasted here, it appears as text.

Then you'll have to tell this forum engine (called SMF - Simple Machines Forum) that you want it to render as a math formula:
- enclose the mathjax text syntax between backslash+dollar to inline the math formula, or
- enclose the mathjax text syntax between backslash+square_bracket to render the formula in the middle of a new line (double dollar works too, instead of backslash square brackets)



- You'll have to have your SMF editor in text mode.
- You won't see the formula until you press publish (mathjax is not rendered when you preview your post.
- If you forget the SMF syntax, press the omega emoticon (the very last emoticon offered by this forum editor.
- If you want to spy on somebody else's formula syntax you see posted here, pretend to quote that message.  By pressing, you'll see the text syntax of the formula.
- Another way to reveal the mathjax syntax on a formula you see in this formula is to right click on a rendered formula, then choose "Show formula as".  Don't forget to enclose the Mathjax text syntax with backslah dollar, or backslash squre_brackets (or double dollar).
« Last Edit: April 22, 2026, 08:25:30 am by RoGeorge »
 
The following users thanked this post: max.wwwang

Offline Paulbi

  • Newbie
  • Posts: 8
  • Country: cn
    • Huangloong
Re: how does posting math notation work?
« Reply #39 on: June 17, 2026, 01:07:55 am »
Maybe you can try a photo.
 

Offline Seanallan

  • Newbie
  • Posts: 1
  • Country: gb
    • Techyest.co.uk
Re: how does posting math notation work?
« Reply #40 on: June 26, 2026, 12:04:50 pm »
If the forum supports LaTeX/MathJax, you can usually write inline math with `$...$` (e.g. `$x^2+y^2=z^2$`) and display equations with `$$...$$`. If that doesn't render, check the forum's formatting guide—some platforms use BBCode, Markdown extensions, or disable math notation entirely.
Stay curious. Keep learning.
 

Offline lichurbagan

  • Regular Contributor
  • *
  • Posts: 204
  • Country: bd
Re: how does posting math notation work?
« Reply #41 on: July 14, 2026, 03:34:10 pm »
I usually copy-paste from Google.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 13021
  • Country: us
Re: how does posting math notation work?
« Reply #42 on: August 05, 2026, 05:40:02 am »
Just wondering, inline math rendering seems not to work anymore? For example: \$x_C\$ should be rendered as math?
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 13021
  • Country: us
Re: how does posting math notation work?
« Reply #43 on: August 05, 2026, 06:02:17 am »
That Omega is a fuzzy looking bitmap image. A much cleaner symbol should be like this: \$R = 42\,\Omega\$
$$R = 42\,\Omega$$
« Last Edit: August 05, 2026, 06:05:34 am by IanB »
 

Offline studiot

  • Regular Contributor
  • *
  • Posts: 109
  • Country: gb
Re: how does posting math notation work?
« Reply #44 on: August 29, 2026, 03:15:40 pm »
testH2O + CO2 Ω π ↔ ∂∑≤ꭍ√[math] \pi[\math]$\pi\$not test

\$pi\$

\$v = \int_0^{2\pi } {\frac{{d\theta }}{{\sqrt {1 - m{{\sin }^2}\theta } }}} \$

Yeay I got it working.


« Last Edit: August 29, 2026, 10:13:26 pm by studiot »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf