Graphics, Figures & TablesURL in LoF

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
s0126471
Posts: 6
Joined: Thu Sep 08, 2011 3:01 am

URL in LoF

Post by s0126471 »

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.

Recommended reading 2024:

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

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

Post by localghost »

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.

Code: Select all

\caption[List entry without source]{Full caption directly beneath the figure with source citation}.
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
Post Reply