LaTeX

kuniga.me > Docs > LaTeX

LaTeX

Syntax for LaTeX I often use for my writings.

Set of Equations

Source:

\begin{align}
a &= b \\
c + 1 &= d \\
\end{align}

Rendered:

\[\begin{align} a &= b \\ c + 1 &= d \\ \end{align}\]

Conditional

Keywords: if

Source:

\begin{equation}
  a_{ij}=\left\{
  \begin{array}{@{}ll@{}}
    0, & \text{if}\ i=j \\
    1, & \text{otherwise}
  \end{array}\right.
\end{equation}

Rendered:

\[\begin{equation} a_{ij}=\left\{ \begin{array}{@{}ll@{}} 0, & \text{if}\ i=j \\ 1, & \text{otherwise} \end{array}\right. \end{equation}\]

Symbols

Set theory

Name Rendered LaTeX
Exists $\exists$ $\exists$
Union $\cup$ $\cup$ or $\bigcup$
Intersection $\cap$ $\cap$ or $\bigcap$

Calculus

Name Rendered LaTeX
Partial derivative $\partial$ $\partial$
Vector $\overrightarrow{v}$ $\overrightarrow{v}$