1

Is it possible to caption the two figures as Figure x.a, Figure x.b?

1
  • You need to be more specific. Why not post an minimal working example (MWE) to explain what you have at the moment, and what you would like to get?
    – jub0bs
    Commented Feb 14, 2014 at 13:36

3 Answers 3

1

I think the subcaption package does what you are looking for. Here's a MWE:

\documentclass{article}
\usepackage{subcaption}

\DeclareCaptionSubType*{figure}
\captionsetup[subfigure]{labelformat=simple}

\begin{document}
\begin{figure}
\centering
\subcaptionbox{First letter}
[.4\linewidth]{\Huge A}
\subcaptionbox{Second letter}
[.4\linewidth]{\Huge B}
\caption{Two letters}\label{fig:letters}
\end{figure}
\end{document}

which produces the following output:

output

You can include a "graphic" (picture, etc.) by use of the graphicx package and then replacing \Huge A and \Huge B with the command \includegraphics{<filename>}.

0

If you mean can you alter the format of how you can change a reference to "Figure 1.x" from "Figure 1x" you might like to check out the answer to a question I asked a while back (note the example shows how you do it both with the standard ref and cleveref

Is it possible to make a reference to a subfigure to appear Figure 2(a) with cleveref?

0

You can use subfig package.

\begin{figure}
\centering
\subfloat[][\emph{Text one}.]
   {\includegraphics[width=.45\textwidth]{file1}} \quad
\subfloat[][\emph{Text 2}.]
   {\includegraphics[width=.45\textwidth]{file2}} \\
\subfloat[][\emph{Text 3}.]
   {\includegraphics[width=.45\textwidth]{file3}} \quad
\subfloat[][\emph{Text4}.]
   {\includegraphics[width=.45\textwidth]{file4}}
\caption{Textr.}
\label{fig:subfig}
\end{figure}
1
  • An alternative would be subcaption.
    – Johannes_B
    Commented Feb 14, 2014 at 14:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .