dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 18aff97f0f4a87bc60d5eb421f138c05de244aa6
parent fac7ba1708ba7f4c5ad2f6660f8794f4f49c1619
Author: Tinus Lorvalds <torvalds@linux-foundation.org>
Date:   Fri, 26 Nov 2021 13:48:25 +0100

latex-template: you might want subfigures

Diffstat:
Mlatex-templates/latex-paper/src/introduction.tex | 28++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)

diff --git a/latex-templates/latex-paper/src/introduction.tex b/latex-templates/latex-paper/src/introduction.tex @@ -1,3 +1,31 @@ \section{Introduction} The introduction. And I'll cite someone here \cite{author2001}. + +And this is how you do figures with subfigures: + +\begin{figure}[tb] + \centering + \begin{subfigure}[b]{0.49\textwidth} + \centering + \includegraphics[width=\textwidth]{images/vrije-universiteit-amsterdam.png} + \caption{Subfigure 1} + \label{fig:subfig1} + \end{subfigure} + \hfill + \begin{subfigure}[b]{0.49\textwidth} + \centering + \includegraphics[width=\textwidth]{images/vrije-universiteit-amsterdam.png} + \caption{Subfigure 2} + \label{fig:subfig2} + \end{subfigure} + + \begin{subfigure}[b]{\textwidth} + \centering + \includegraphics[width=0.5\textwidth]{images/vrije-universiteit-amsterdam.png} + \caption{Subfigure 3} + \label{fig:subfig3} + \end{subfigure} + \caption{A figure with subfigures.} + \label{fig:fig} +\end{figure}