Syntax for LaTeX I often use for my writings.
Source:
\begin{align}
a &= b \\
c + 1 &= d \\
\end{align}
Rendered:
\[\begin{align} a &= b \\ c + 1 &= d \\ \end{align}\]Keywords: if
Source:
\begin{equation}
a_{ij}=\left\{
\begin{array}{@{}ll@{}}
0, & \text{if}\ i=j \\
1, & \text{otherwise}
\end{array}\right.
\end{equation}
Note: the period .
after right
is not a typo, it’s necessary.
Rendered:
\[\begin{equation} a_{ij}=\left\{ \begin{array}{@{}ll@{}} 0, & \text{if}\ i=j \\ 1, & \text{otherwise} \end{array}\right. \end{equation}\]Name | Rendered | LaTeX |
---|---|---|
Exists | $\exists$ | $\exists$ |
Union | $\cup$ | $\cup$ or $\bigcup$ |
Intersection | $\cap$ | $\cap$ or $\bigcap$ |
Name | Rendered | LaTeX |
---|---|---|
Partial derivative | $\partial$ | $\partial$ |
Vector | $\overrightarrow{v}$ | $\overrightarrow{v}$ |