snippet cases 3
\begin{equation}
\begin{cases}
\end{cases}
\end{equation}
snippet figure 4
\begin{figure}
% \includegraphics{} requires \usepackage{graphicx}
\centering
\includegraphics[scale=1.0]{graphic.jpg}
\caption{text}
\label{fig:label}
\end{figure}
snippet figuresidebyside 5
\begin{figure}
\centering
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=.4\linewidth]{image1.pdf}
\captionof{figure}{figure 1}
\label{fig:1}
\end{minipage}%
\begin{minipage}{.5\textwidth}
\centering
\includegraphics[width=.4\linewidth]{image2.pdf}
\captionof{figure}{figure 2}
\label{fig:2}
\end{minipage}
\end{figure}
snippet gathered 3
\begin{equation}
\begin{gathered}
\end{gathered}
\end{equation}
snippet minted
\begin{minted}{srclang}
% Do not forget to:
% \usepackage[outputdir=build]{minted}
\end{minted}
snippet quotation 2
\begin{quotation}
\noindent
\end{quotation}
snippet subequations
\begin{subequations}
\label{eq:big_equation}
\begin{gather}
x^2
\label{eq:big_equation:1}
x^3
\label{eq:big_equation:2}
\end{gather}
\end{subequations}
snippet subfigure
% NOTA BENE! Required setup:
% \usepackage{subcaption}
% \captionsetup[subfigure]{labelformat=simple}
% \renewcommand\thesubfigure{(\alph{subfigure})}
\begin{figure}[!htb]
\centering
\begin{subfigure}{0.5\textwidth}
\centering
\includegraphics[scale=0.5]{graphicfile1}
\captionsetup{width=0.95\linewidth}
\caption{text}
\label{fig:somelabel1}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\centering
\includegraphics[scale=0.5]{graphicfile2}
\captionsetup{width=0.95\linewidth}
\caption{text}
\label{fig:somelabel2}
\end{subfigure}
\caption{text}
\label{fig:somelabel}
\end{figure}
snippet subtable
% NOTA BENE:
% \usepackage{subcaption}
% \captionsetup[subfigure]{labelformat=simple}
% \renewcommand\thesubfigure{(\alph{subfigure})}
\begin{figure}[!htb]
\centering
\renewcommand{\arraystretch}{1.2} % Increase row separation.
\begin{subfigure}{0.5\textwidth}
\centering
\begin{tabular}{c | c | c}
a & b & c \\
\hline
d & e & f
\end{tabular}
\captionsetup{width=0.95\linewidth}
\caption{text}
\label{tab:somelabel1}
\end{subfigure}%
\begin{subfigure}{0.5\textwidth}
\centering
\begin{tabular}{c | c | c}
d & e & f \\
\hline
a & b & c
\end{tabular}
\captionsetup{width=0.95\linewidth}
\caption{text}
\label{tab:somelabel2}
\end{subfigure}
\caption{text}\label{tab:somelabel}
\end{figure}
snippet table
\begin{table}
\centering
\renewcommand{\arraystretch}{1.2}
\begin{tabular}{c | c | c}
foo & bar & baz \\
\hline
\end{tabular}
\caption{text}
\label{tab:label}
\end{table}
snippet tablesidebyside
\begin{table}[!htb]
\begin{minipage}{.5\linewidth}
\centering
\begin{tabular}{c | c | c}
foo & bar & baz \\
\hline
\end{tabular}
\medskip
\caption{First Table}
\label{tab:first_table}
\end{minipage}\hfill
\begin{minipage}{.5\linewidth}
\centering
\begin{tabular}{c | c | c}
foo & bar & baz \\
\hline
\end{tabular}
\medskip
\caption{Second Table}
\label{tab:second_table}
\end{minipage}
\end{table}
snippet wrapfigure
\begin{wrapfigure}{L}{0.3\textwidth}
% wrapfigure requires \usepackage{wrapfig}
% \includegraphics{} requires \usepackage{graphicx}
\centering
\includegraphics[scale=1.0]{graphic.jpg}
\caption{text}
\label{fig:label}
\end{wrapfigure}