Last active
July 9, 2020 17:37
-
-
Save TorbjornT/dd3a49e0a904007d43cab82f6a316dab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass{article} | |
\usepackage{graphicx} | |
\usepackage{subcaption} | |
\captionsetup[subfigure]{justification=justified,singlelinecheck=false} | |
\begin{document} | |
\begin{figure} | |
\begin{subfigure}{0.45\linewidth} | |
\centering | |
\includegraphics[width=\linewidth]{example-image-a} | |
\caption{} | |
\label{subA} | |
\end{subfigure}\hfill | |
\begin{subfigure}{0.45\linewidth} | |
\centering | |
\includegraphics[width=\linewidth]{example-image-b} | |
\caption{} | |
\label{subB} | |
\end{subfigure} | |
\caption{Main fig} | |
\label{main} | |
\end{figure} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment