Electronics > Beginners

how does posting math notation work?

<< < (6/6)

Cerebus:

--- Quote from: TimFox on January 14, 2021, 08:17:16 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?

--- End quote ---

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.

Xandinator:
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.

SiliconWizard:
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.

RoGeorge:
(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: ---\$\require{AMScd} \require{cancel}\$
\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} --- End code --- \\require{AMScd} \require{cancel}\ \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: ---\[ \star \ \star \ \star$
Normal  \$\unicode{x23fb} \ \unicode{x238d} \ \unicode{x23da} \ \unicode{x23fc} \ \$ text.

--- End code ---

$\star \ \star \ \star$
Normal  \$\unicode{x23fb} \ \unicode{x238d} \ \unicode{x23da} \ \unicode{x23fc} \ \$ text.