Page LayoutCaption text in List of Figures not aligned

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
waschbaer
Posts: 7
Joined: Wed Aug 04, 2010 4:09 am

Caption text in List of Figures not aligned

Post by waschbaer »

Hi@all

I am having problems in keeping the caption text aligned in my LoF and LoT. Sometimes the text exceeds the margin compared to other entries. Please have a look at the attachment. As you can see the last entry (...GNIP) exceeds the margin of the previous entries on the right.

Thanks for your help.

Cheers,
Martin
Attachments
alignment.pdf
(53.02 KiB) Downloaded 358 times
Last edited by localghost on Tue Jun 28, 2011 11:31 am, edited 1 time in total.
Reason: Preferably no external links (see Board Rules). Attachments go onto the forum server where possible.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Caption text in List of Figures not aligned

Post by localghost »

I suggest to shorten the caption by using the optional argument for the \caption command. Not all information for a figure (or a table) need to appear in the LoF (or the LoT). Another approach would be to alter the page layout by the geometry package.


Thorsten
waschbaer
Posts: 7
Joined: Wed Aug 04, 2010 4:09 am

Re: Caption text in List of Figures not aligned

Post by waschbaer »

I was going to shorten the captions for the LoT and LoF anyway but even with shorter text there are some problems with the alignment. Have a look at the example in this attachment. The first entry is a short caption. However, the alignment on the right does not coincide with the other entries. Is that a general problem of the book.cls style?
Attachments
alignment2.pdf
(49.78 KiB) Downloaded 267 times
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Caption text in List of Figures not aligned

Post by localghost »

What about my other suggestion regarding page geometry?
waschbaer
Posts: 7
Joined: Wed Aug 04, 2010 4:09 am

Re: Caption text in List of Figures not aligned

Post by waschbaer »

I didn't want to play with the page settings that much as I am using a special cls file from my uni. I thought that this behaviour should not happen in LaTex in the first place as it is a typesetting program that should handle those things easily.
Post Reply