Is it possible to caption the two figures as Figure x.a, Figure x.b?
Asked
Active
Viewed 692 times
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 Feb 14 '14 at 13:36
3 Answers
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:

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>}.
han-tyumi
- 1,152
- 8
- 17
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}
FionaSmith
- 1,867
marchetto
- 991
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?
FionaSmith
- 1,867