Graphics, Figures & TablesHow to label a figure as a subfigure of another

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
aghoneim
Posts: 1
Joined: Wed Mar 19, 2008 6:21 pm

How to label a figure as a subfigure of another

Post by aghoneim »

Does anyone know if it is possible to label a figure as a subfigure of another. For example I label some figure as {Art} and if displays as Figure (56). Is there anyway to make another figure display as Figure(56 A)?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

sommerfee
Posts: 503
Joined: Mon Apr 09, 2007 4:20 pm

How to label a figure as a subfigure of another

Post by sommerfee »

You could do this using the caption package v3.1, for example:

Code: Select all

\documentclass{article}
% ...
\usepackage{caption}[2007/09/01]
\DeclareCaptionLabelFormat{continued}{#1~#2\Alph{ContinuedFloat}}
\captionsetup[ContinuedFloat]{labelformat=continued}
% ...
\begin{document}
% ...
\begin{figure}
\caption{A figure}
\end{figure}
% ...
\begin{figure}\ContinuedFloat
\caption{A figure}
\end{figure}
% ...
\end{document}
The subfloat package should be able to do this, too, but I'am not sure about it, just take a closer look at its documentation...
Post Reply