/
How to write LaTeX
How to write LaTeX
LaTeX's math mode makes it simple to write arithmetic in plain text. To enter math mode in LaTeX, you must use one of several commands:
For example:
"$$ E = mc2 $$"
The LaTeX Math macro handles this for you. You only need to enter the math; the equation is rendered automatically.
For more information, see LaTeX/Mathematics - Wikibooks, open books for an open world , Documentation .
To help you started, here are a few LaTeX math examples.
LaTeX | Output |
---|---|
E = mc^2 | |
\pi = \frac c d | |
\frac{a + b}{2} | |