Graphics, Figures & Tables ⇒ split a long caption across pages
split a long caption across pages
Here I come with a new problem.
I have a huge figure that takes almost the entirety of a page.
It is so huge that it caption (which is kinda long too) ends up going out of the page.
I wanted to know if it was possible to explicitly split the caption.
I don't mind if the figure is not a float anymore or this kind of thing.
All I would like is to have the guaranty that the second part of the caption appears directly on the page following of the one of the figure.
If I am too confusing, here is what I would like to obtain:
page N : huge figure + beginning of caption
page N+1: end of caption (at the top if possible)
Thanks in advance.
Cheers,
Pierre.
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
split a long caption across pages
try something along these lines:
Code: Select all
\documentclass{article}
\usepackage{caption}
\usepackage{lipsum} %jus to generate text for the example
\begin{document}
\listoffigures
\clearpage
{%
\centering
\rule{3cm}{.9\textheight}% to simulate an actual figure
\captionlistentry[figure]{An image with a long caption}
}
% The caption:
\noindent\textbf{\figurename~\thefigure}:
\lipsum[1-3]
\bigskip
Regular text text text text text text text text text text text text text text text
text text text text text text
\end{document}
Re: split a long caption across pages
Thanks a lot. It worked perfectly.
