36

I have a large figure (> 50% of a page) and a large caption to describe it (also >50% of page). How do I put the caption on a separate page?

7
  • 1
    Why don't make a shorter caption and put the detail in the document body? Apr 25, 2012 at 17:04
  • 11
    @Moderator I agree that if it's possible, it's best to keep the captions concise. However, in some cases the diagrams are quite detailed and they require extensive explanation. It's preferable to keep this explanation in a carefully identified region (the caption). Apr 25, 2012 at 17:09
  • @Jake I am using the \caption command but not the caption package. My figure is in a float. Apr 25, 2012 at 17:15
  • 2
    @JessRiedel Nice hack, but not very useful. Normally in this situation the images(s) are on say even pages and the captions on the odd, i.e. when you open the book you need to be able to see both the image and the caption without turning the page. But please post your full solution + page image.
    – yannisl
    Apr 25, 2012 at 18:20
  • 1
    @Thorsten: I guess I should have been clear that the fltpage package did not work for me after an hour of wrangling, and I suspected it would not for others. Thanks, though. May 14, 2012 at 16:56

5 Answers 5

13

As Thorsten already mentioned, the fltpage package might be useful here:

\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage[CaptionAfterwards]{fltpage}
\usepackage{lipsum}

\begin{document}
\begin{FPfigure}
  \centering
  \includegraphics[width=\textwidth,height=\textheight]{figure.pdf}
  \caption{Caption goes here.}
  \label{figurelabel}
\end{FPfigure}
\lipsum
\end{document}

(Please note that currently the fltpage package does not work well with hyperref, at least if you don't use the caption package additionally.)

1
  • 2
    I'm happy to accept this answer since many people may find it useful. Personally, the fltpage package (which is experimental) did not work for me after about an hour of tracking down one mysterious error after another. May 14, 2012 at 16:48
18

The ccaption package provides continued captions via \contcaption:

enter image description here

\documentclass{article}
\usepackage{graphicx}% http://ctan.org/pkg/graphicx
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\usepackage{ccaption}% http://ctan.org/pkg/ccaption
\begin{document}
\section{A section}
\lipsum[1-10]
\begin{figure}[t]
  \centering
  \fbox{\includegraphics[height=.6\textheight]{tiger}}
  \caption{(Continued on the following page.)}% First caption
  \label{fig:tiger}
\end{figure}
\begin{figure}[t]
  \contcaption{\lipsum[1-2]}% Continued caption
\end{figure}
\lipsum[11-15]
\end{document}

It effective does what you suggest:

\addtocounter{\@captype}{\m@ne}% Add -1 to float counter
\refstepcounter{\@captype}% Step and mark float counter
% ...and the rest

Note though that continuous captions could cause problems when used in conjunction with hyperref.

1
  • 7
    Why does it cause errors with hyper ref and how could that be avoided?
    – SumNeuron
    Mar 15, 2017 at 23:54
18

The easiest method I came up with is to break up the caption into a second figure and use the \addtocounter command to make sure the caption has the same figure number

\begin{figure} [b!]
  \centering 
  \includegraphics[width=\textwidth]{figure.pdf}
  \caption{(Caption next page.)}
  \label{figurelabel}
\end{figure}
\addtocounter{figure}{-1}
\begin{figure} [t!]
  \caption{(Previous page.) Caption goes here.}%missing
\end{figure}

Notes:

  • I included "(Caption next page.)" as the \caption{} attached to the actual figure and prefixed the true caption with "(Previous page.)".

  • I used the [b!] and [t!] options for figure and caption, respectively. This isn't necessary, but it makes sure they are as close as possible to each other within the document.

Drawbacks:

  • LaTeX will not automatically make sure that the caption is on the page immediately after the figure.

  • The caption will not be "reattached" to the figure if the caption is made short enough to fit on the same page (which would be nice LaTeX best practices).

  • As Yiannis Lazarides notes, the figures would ideally appear on odd pages and captions would appear after them on even pages, so you can always see both at the same time. This hack doesn't ensure that happens.

3
  • 3
    I think this is the best option because it works and it tells precisely what it does. Nov 16, 2020 at 16:41
  • @HugoTrentesaux I have a problem. When using \listoffigures I get that the "caption figure" is also listed. Is it possible to fix it?
    – sam wolfe
    Jun 3, 2022 at 11:15
  • 1
    @samwolfe Try looking at 331868 or 43995. Not sure there is an elegant way to do it, but you should be able to hack it together. Jun 4, 2022 at 8:53
0

The answer provided by @user2574 works for me on overleaf after correcting fltpage to fitpage. I inserted this line on the document head.

\usepackage[CaptionAfterwards]{fitpage}

Then I inserted images using the following codes.

\begin{FPfigure}
  \centering
  \includegraphics[width=\textwidth,height=\textheight]{figure.pdf}
  \caption{caption}
  \label{label}
\end{FPfigure}
0

Inspired by @Jess Riedel, my solution is as follows.

\begin{figure}[ht!]
    \centering\includegraphics[width=\textwidth]{figure.pdf}
    \caption{
        % part of caption here
        (continued) 
    }
    \label{fig}
\end{figure}
\begin{figure}[ht!]  % continued
    \caption*{
        (continued) 
        % caption continued
    }
\end{figure}

Here, through the command \caption*{}, we don't need to use the command \addtocounter{figure}{-1} to manage the number of figures manually.

1
  • Welcome to TeX.SE! Please add an compilable TeX code for an fast proof.
    – Mensch
    Mar 18 at 14:03

You must log in to answer this question.

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