Answers for "latex image placement side by side"

11

latex two figure side by side

documentclass[10pt,a4paper]{article}
usepackage[demo]{graphicx}
usepackage{subfig}
begin{document}
begin{figure}
    centering
    subfloat[label 1]{{includegraphics[width=5cm]{img1} }}
    qquad
    subfloat[label 2]{{includegraphics[width=5cm]{img2} }}
    caption{2 Figures side by side}
    label{fig:example}
end{figure}
end{document}
Posted by: Guest on April-10-2020

Browse Popular Code Answers by Language