Hi,
One of the captions in my Figure includes a web site address, which goes off the page when using the \listoffigures. Is there any way to solve this, either by splitting the web url or putting the entire url onto the next line on the \listoffigures? The url is fine in the caption in the text.
Thanks for your help.
Graphics, Figures & Tables ⇒ URL in LoF
NEW: TikZ book now 40% off at Amazon.com for a short time.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
URL in LoF
I assume that this URL is some kind of source citation. Such stuff usually shouldn't appear in lists like the LoF. I suggest to use the short form for captions to get rid of this part for the LoF entry.
If you insist on the full caption in the LoF, try the \url command either from the hyperref or url package to wrap URLs.
Thorsten
Code: Select all
\caption[List entry without source]{Full caption directly beneath the figure with source citation}.
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10