LaTex Frequently used commands
Symbol List π
University of Oregon Symbol List
Aligned Math Environment π
\begin{equation*}
\begin{aligned}
x + y &= 5 \\
x &= 5 - y \\
\end{aligned}
\end{equation*}
Center each line individually π
\begin{center}
\end{center}
Centers everything in its argument π
\centerline{}
Bold π
\textbf{}
Underline π
\underline{}
Italic π
\textit{}
Summation with super and subscript π
$\sum_{i=1}^{n} i$
Binomial coefficient or all combinations π
N Choose K
{n \choose k}
Table π
\begin{center}
\begin{tabular}{ | m{8em} | m{8em}| m{8em} | m{8em} | }
\hline
\textbf{Operation} & \textbf{Actual cost} & \textbf{Amortized cost} & \textbf{Change in bank account}
\\
\hline
1st & 2nd & 3rd & 4th \\
\hline
\end{tabular}
\end{center}
Enumerated Document List (Alternate counting types) π
\begin{enumerate}
[label=\alph*)]
\begin{enumerate}
[label=\roman*)]
\begin{enumerate}
[label=\arabic*)]
\end{enumerate}
\end{enumerate}
\end{enumerate}
Dots π
Writing line (like multiple full stops) π
$\ldots$
Vertically centered like multiple \cdot
π
$\cdots$
Vertical dots π
$\vdots$
Diagonal dots π
$\ddots$
Links π
URL π
Source: https://www.overleaf.com/learn/latex/Hyperlinks
Requires \usepackage{hyperref}
\url{}
\href{URL}{DISPLAYED TEXT}
Vertically stacked things π
Puts one thing on top of the other without a line between
\underset{bottom}{top}
Brackets π
\lbrace \rbrace
\langle \rangle
\lfloor \rfloor
ARG MIN / MAX π
\DeclareMathOperator*{\argmax}{arg\,max}
\DeclareMathOperator*{\argmin}{arg\,min}
Horizontal Rule π
Entire width of the page π
\noindent\makebox[\linewidth]{\rule{\paperwidth}{0.4pt}}
2cm long line π
\noindent\rule{2cm}{0.4pt}
Text width π
\makebox[\linewidth]{\rule{\textwidth}{0.4pt}}
Special Chars π
Lower case cursive L π
$\ell$
Figure π
\begin{figure}[!htb]
\centering
\includegraphics[width=\textwidth]{filename}
\caption{\label{fig:my-label} Caption Here}
\end{figure}
Include a PDF in document π
\includepdf[pages=-,pagecommand={}]{file.pdf}
Start numbering from page after title π
\begin{document}
\maketitle
\thispagestyle{empty}
\clearpage
\pagenumbering{arabic}
\end{document}