Answers for "overleaf subfig"

2

overleaf subfigures

% Side-by-side subfigures

usepackage{subcaption}

begin{figure}[h]
    begin{subfigure}{0.5textwidth}
        includegraphics[width=0.9linewidth]{image1}
        caption{Caption1}
        label{fig:sub1}
    end{subfigure}
    begin{subfigure}{0.5textwidth}
        includegraphics[width=0.9linewidth]{image2}
        caption{Caption2}
        label{fig:sub2}
    end{subfigure}
    caption{Subfigures}
    label{fig:Figure1}
end{figure}
Posted by: Guest on November-05-2020

Browse Popular Code Answers by Language