If I use the code below the two images are stacked horizontally, but when I remove the %
\qquad` the subfigures are stacked vertically.
I'm using Kile editor on Linux CentOs.
Any ideas?
\documentclass{article}
\usepackage{graphicx}
\usepackage{subcaption}
\begin{document}
\begin{figure}[!h]
\begin{subfigure}[c]{.7\textwidth}
\includegraphics[width=\textwidth]{Image1.jpg}
\caption{Image 1}
\end{subfigure}
%\qquad
\begin{subfigure}[c]{.2\textwidth}
\includegraphics[width=\textwidth]{Image2.jpg}
\caption{Image 2}
\end{subfigure}
\end{figure}
\end{document}
]
and the image files are not available (you can useexample-image
in examples)