Dr. Briana Foster-Greenwood
March 18, 2024
\( \)
or $ $
\[ \]
or
$$ $$
\begin{equation} \end{equation}
\alpha
, \beta
, etc. produces
\(\alpha\), \(\beta\)\sqrt{b^2-4ac}
produces \(\sqrt{b^2-4ac}\)\frac{-b\pm\sqrt{b^2-4ac}}{2a}
produces \(\frac{-b\pm\sqrt{b^2-4ac}}{2a}\)\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi}{6}
produces \[\sum_{n=1}^{\infty}\frac{1}{n^2}=\frac{\pi}{6}\]\lim_{x\to\infty}e^{-x}\cos x
produces \[\lim_{x\to\infty}e^{-x}\cos x\]\cosx
gives an error, but \cos x
produces
\(\cos x\))&
begins a new entry\\
begins a new line\begin{bmatrix}1 & 2 \\3 & 4\end{bmatrix}
produces
\(\begin{bmatrix}1 & 2 \\3 &
4\end{bmatrix}\)\begin{align} \end{align}
\[\begin{align*} (x-1)^2-4 &= x^2-2x-3
&&\text{distribute}\\ &=(x+1)(x-3)
&&\text{factor}\end{align*}\]\begin{array}{rcc} \end{array}
\begin{tabular}{c|ccc} \end{tabular}
\item
starts a new item in the list\begin{itemize} \item ... \item ... \item ... \end{itemize}
\begin{enumerate} \item ... \item ... \item ... \end{enumerate}
\usepackage[shortlabels]{enumitem}
\begin{enumerate}[(a)] ... \end{enumerate}
\begin{enumerate}[(I)] ... \end{enumerate}
\includegraphics[scale=.75]{imgfilename.png}
\begin{figure} \centering \includegraphics{...} \caption{...} \label{...} \end{figure}
Need to refer to a specific figure, theorem, table, etc.?
\label{mylabel}
\ref{mylabel}
\usepackage{cleveref}
and reference with
\cref{mylabel}
which auto-detects type of thing you are
referencing (Lemma, Figure, etc.)\chapter{name of chapter}
\section{name of section}
\usepackage{amsthm}
\begin{theorem} ... \end{theorem}
\begin{proof} ... \end{proof}
Want LaTeX to automatically format and alphabetize your bibliography?
references.bib
\bibliographystyle{alpha} \bibliography{references}
alpha
,
plain
, apalike
\documentclass{beamer}
\begin{frame} \titlepage \end{frame}
\begin{frame}{myframetitle} ... \end{frame}
\pause
after each
item\alert{...}
\begin{block}{myblocktitle} ... \end{block}
or
\begin{example} ... \end{example}
\begin{columns} \column{.4\textwidth} ... \column{.4\textwidth} \end{columns}
\begin{enumerate} \end{enumerate}
with
\item
for each item in the list\begin{itemize} \end{itemize}
with
\item
for each item in the list\vfill
\documentclass{exam}
at the beginning of your document