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.
Info |
---|
For more information, see |
...
...
To help you started, here are a few LaTeX math examples.
...
Mathinline |
---|
host | Confluence:2327133328 |
---|
body | E=mc^2 |
---|
|
...
Here are a few examples of math in LaTeX to get you started. For a much more thorough guide, seeĀ https://en.wikibooks.org/wiki/LaTeX/Mathematics.
LaTeX | Output | Output |
---|
| Mathinline |
---|
host | Confluence:2327133328 |
---|
body | E = mc^2 |
---|
|
|
Code Block |
---|
\pi = \frac c d |
| Mathinline |
---|
host | Confluence:2327133328 |
---|
body | \pi = \frac c d |
---|
|
|
Code Block |
---|
\frac{a + b}{2} |
| Mathinline |
---|
host | Confluence:2327133328 |
---|
body | \frac{a + b}{2} |
---|
|
|
Code Block |
---|
e = \lim_{x\to\infty} \left(1+\dfrac{1}{n}\right)^n |
| Mathinline |
---|
host | Confluence:2327133328 |
---|
body | e = \lim_{x\to\infty} \left(1+\dfrac{1}{n}\right)^n |
---|
|
|
Code Block |
---|
\begin{matrix}
a & b & c \\
d & e & f \\
g & h & i
\end{matrix} |
| Mathinline |
---|
host | Confluence:2327133328 |
---|
body | \begin{matrix} a & b & c \\ d & e & f \\ g & h & i \end{matrix} |
---|
|
|
Code Block |
---|
\begin{align*}
f(x) &= (x+a)(x+b) \\
&= x^2 + (a+b)x + ab
\end{align*} |
| Mathinline |
---|
host | Confluence:2327133328 |
---|
body | \begin{align*} f(x) &= (x+a)(x+b) \\ &= x^2 + (a+b)x + ab \end{align*} |
---|
|
|
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | DOC |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ( "latexmath" , "rendering" ) and type = "page" and space = "DOC" |
---|
labels | latexmath rendering |
---|
|
...
...