LaTeX cheat sheet
a_b
: \(a_b\)
\mathbf{R}
: \(\mathbf{R}\)
\mathbb{R}
: \(\mathbb{R}\)
\frac{a}{b}
: \(\frac{a}{b}\)
\{x\}
: \(\{x\}\)
\cdot
: \(\cdot\)
\in
: \(\in\)
\subset
: \(\subset\)
\subseteq
: \(\subseteq\)
\cap
: \(\cap\)
\cup
: \(\cup\)
\emptyset
: \(\emptyset\)
\begin{enumerate}
: Creates a numerated list
\exists
: \(\exists\)
\forall
: \(\forall\)
\therefore
: \(\therefore\)
\x_{a}^{b}
: \(x_{a}^{b}\)
\text{Hello World}
: \(\text{Hello World}\)
\implies
: \(\implies\)
\land
: \(\land\)
\lor
: \(\lor\)
\neg
: \(\neg\)
\caption[''short'']{''long''}
: Adds captions to a figure
\begin{figure}[h]
: Starts a figure
\circ
: \(\circ\)
\Sigma
: \(\Sigma\)
\overline{ab}
: \(\overline{ab}\)
\infty
: \(\infty\)
\sqrt[x]{}
: \(\sqrt[x]{}\)
\displaystyle
: Make math expressions large
\approx
: \(\approx\)
n \choose x
: \(n \choose x\)
Inserting an image:
\documentclass{article}
\usepackage{graphicx}
\graphicspath{ {./images/} }
\begin{document}
The universe is immense and it seems to be homogeneous,
in a large scale, everywhere we look at.
\includegraphics{universe}
There's a picture of a galaxy above
\end{document}
/times
: \(/times\)
/label{}
/ /ref{}
: To label, then reference that label's value