LaTeX

Notes on LaTeX.

Images side-by-side

Use the subfig package.

\documentclass[10pt,a4paper]{article}
\usepackage[demo]{graphicx}
\usepackage{subfig}
\begin{document}
\begin{figure}%
    \centering
    \subfloat[\centering label 1]{{\includegraphics[width=5cm]{img1} }}%
    \qquad
    \subfloat[\centering label 2]{{\includegraphics[width=5cm]{img2} }}%
    \caption{2 Figures side by side}%
    \label{fig:example}%
\end{figure}
\end{document}