I want to align many subfigures horizontally in pairs. It worked with me using the below code only in once, and images appear vertically if I use the same code again in consecutive pages.
Code: Select all
\documentclass[a4paper,12pt]{report}
\begin{document}
\begin{figure}[h]
\begin{subfigure}[b]{0.5\linewidth}
\centering
\includegraphics[width=\textwidth]{pic1}
\end{subfigure}\hfill
\begin{subfigure}[b]{0.5\linewidth}
\centering
\includegraphics[width=\textwidth]{pic2}
\end{subfigure}
\caption{}
\label{}
\end{figure}
\end{document}
Regards