Mittwoch, 14. Januar 2009

Subfigure in LATEX

When writing articles with Latex, sometimes one wants to place two figures side by side. One possibility to this is using subfigure.


\usepackage{subfigure}
\begin{document}
\begin{figure}[htbp]
\centering
\subfigure[Untertitel 1]{
\label{Labelname 1}
\includegraphics{Dateiname 1}
}
\subfigure[Untertitel 2]{
\label{Labelname 2}
\includegraphics{Dateiname 2}
}
\caption{Gemeinsamer Titel}
\label{Gemeinsames Label}
\end{figure}
\end{document}