1

I have tried to look through TeX.SE questions (e.g., like this) to figure out how to layout full-page subfigures (two full-page figures that share the same caption, but with their own subcaptions such as '(a)' and '(b)' as seen in the attached image below). I have tried to draw up that layout in Word as seen in the attached image. It'd be also nice to be able to put bounding boxes around each figure as well.

enter image description here

Thank you in advance for your help!

1

You can use \captionof{subfigure} pretty much anywhere. There are lots of packages which will put boxes around figures or subfigures, but you really don't need it. Just remember that the box also has to fit into the text area.

\documentclass[12pt]{article}
\usepackage{subcaption}
\captionsetup[subfigure]{labelformat=parens}
\usepackage{showframe}% MWE only
\begin{document}
{\centering
  \fbox{\rule{0.8\textwidth}{0.8\textheight}}
  \captionof{subfigure}{title}
}\par
\end{document}

More to the specifics of your question:

Note that the figure caption will appear twice in the list of figures.

\documentclass{article}
\usepackage{subcaption}
\usepackage{showframe}% MWE only
\begin{document}
\begin{figure}[p]
  \begin{subfigure}{\textwidth}
    \centering
    \fbox{\rule{0.8\textwidth}{0.8\textheight}}
    \caption{}
  \end{subfigure}
  \caption{figure caption}
\end{figure}
\addtocounter{figure}{-1}%
\begin{figure}[p]
  \begin{subfigure}{\textwidth}
    \centering
    \fbox{\rule{0.8\textwidth}{0.8\textheight}}
    \setcounter{subfigure}{1}%
    \caption{}
  \end{subfigure}
  \caption{figure caption}
\end{figure}
\end{document}
  • thank you for the detailed answer. One quick question: where do I put the \includegraphics along with the location of the image in the above example? – user1330974 Feb 26 at 17:07
  • You can replace \rule with whatever your source image was. – John Kormylo Feb 26 at 17:12
  • thank you so much! One more question: if I would like to use custom subfigure caption (subcaption) instead of '(a)', '(b)', etc., what should I do? Thanks again! – user1330974 Feb 26 at 17:20
  • \captionsetup[subfigure]{...} See the caption package manual for the available options. The subcaption manual only shows the default setup (which interestlinly did not apply to \captionof{subfigure}). – John Kormylo Feb 26 at 17:24
  • Thank you! I didn't know where the official documentation is, but found this and used \captionsetup[subfigure]{labelformat=empty} to turn off the auto-captioning. :) – user1330974 Feb 26 at 17:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.