Latex: Difference between revisions

320 bytes added ,  15 October 2019
No edit summary
Line 41: Line 41:
===Spaces===
===Spaces===
See [https://www.overleaf.com/learn/latex/Spacing_in_math_mode Reference].
See [https://www.overleaf.com/learn/latex/Spacing_in_math_mode Reference].
<syntaxhighlight lang="latex">
Spaces in mathematical mode.
\begin{align*}
f(x) =& x^2\! +3x\! +2 \\
f(x) =& x^2+3x+2 \\
f(x) =& x^2\, +3x\, +2 \\
f(x) =& x^2\: +3x\: +2 \\
f(x) =& x^2\; +3x\; +2 \\
f(x) =& x^2\ +3x\ +2 \\
f(x) =& x^2\quad +3x\quad +2 \\
f(x) =& x^2\qquad +3x\qquad +2
\end{align*}
</syntaxhighlight>