This site is to serve as my note-book and to effectively communicate with my students and collaborators. Every now and then, a blog may be of interest to other researchers or teachers. Views in this blog are my own. All rights of research results and findings on this blog are reserved. See also http://youtube.com/c/hongqin @hongqin
Friday, February 2, 2018
latex, multiple panel figure
More at:
https://tex.stackexchange.com/questions/271518/multiple-panel-figure-with-figures-side-by-side/271522
multiple panel figure in latex. The arrangement is partly controlled by "%", unbelievable.
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}
\centering
\begin{subfigure}[t] {0.4\textwidth}
\centering
\includegraphics[width=\linewidth]{FiguresTables/pdf/BY4742.pdf}
\caption{}
\label{Figure:fig_a}
\end{subfigure}
%
\begin{subfigure}[t] {0.4\textwidth}
\centering
\includegraphics[width=\linewidth]{FiguresTables/pdf/sir2.pdf}
\caption{}
\label{Figure:fig_b}
\end{subfigure}
\medskip
\begin{subfigure}[t] {0.4\textwidth}
\centering
\includegraphics[width=\linewidth]{FiguresTables/pdf/fob1.pdf}
\caption{}
\label{Figure:fig_c}
\end{subfigure}
%
\begin{subfigure}[t] {0.4\textwidth}
\centering
\includegraphics[width=\linewidth]{FiguresTables/pdf/hxk2.pdf}
\caption{}
\label{Figure:fig_d}
\end{subfigure}
\begin{minipage}[t]{0.4\textwidth}
\caption{Try a multi-panel figure}
\end{minipage}
\end{figure}
\end{document}
See also: subcaption is more recent that subfigure or subfig
https://tex.stackexchange.com/questions/122314/figures-what-is-the-difference-between-using-subfig-or-subfigure
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment