TransWikia.com

One figure caption to big in the first page of list of figures

TeX - LaTeX Asked by T J on June 30, 2021

Hi the first figure caption is too big to fit in the first page of list of figures. Instead of continuing to the second page it abruptly cuts down and in the new page of list of figures the second figure caption starts.
How to solve?

One Answer

Hi T J and welcome to TeX-SE.

I'm not sure I understood your question correctly.

If you have a very very ... very long caption and for some reason it must be very ... very long to describe your figure, BUT your don't want it to be very ... very long at the list of figure, then your may use the optional argument of the command caption to write a short version to be presented at the list of figures.

A MWE and a image follow.

documentclass{article}
usepackage{graphicx}
begin{document}
listoffigures
begin{figure}[h]
    includegraphics[width=0.1linewidth]{example-image-a}
    caption[short text]{text}
end{figure}
begin{figure}[h]
includegraphics[width=0.1linewidth]{example-image-b}
caption[another short text]{another text}
end{figure}
end{document}

enter image description here

Answered by FHZ on June 30, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP