Graphics, Figures & TablesList of figures is not breaking lines

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
murilolima
Posts: 5
Joined: Mon Aug 30, 2010 12:35 am

List of figures is not breaking lines

Post by murilolima »

Hi,

I'm using \listoffigures in my thesis, but when I have a long caption, instead of breaking the line, the caption goes beyond the right corner of the page. Does anybody know how to fix this?

At first I didn't want to use a different/smaller caption at the list of figures. I'm using the 'book' class.


Best regards
Last edited by murilolima on Mon Dec 06, 2010 3:09 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

List of figures is not breaking lines

Post by php1ic »

Are you using the hyperref package? If you are, add the 'breaklinks' option to get the caption wrapped.

Code: Select all

\usepackage[breaklinks]{hyperref}
murilolima
Posts: 5
Joined: Mon Aug 30, 2010 12:35 am

Re: List of figures is not breaking lines

Post by murilolima »

Yes, you're right, I'm using hyperref. Thanks for the help, it worked prettily.
php1ic
Posts: 192
Joined: Wed Jan 28, 2009 8:17 pm

Re: List of figures is not breaking lines

Post by php1ic »

No problem, happy to help.

Can you now edit the initial post title as solved (use the green tick/check icon)
Post Reply