TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to align the captions in the list of figures ?

I have the following code:


This code produces:

Figure 1 xxxxxxxxxxxx....34

Figure 2 yyyyyyyyyyyyyyyyy

I would like to change to look like this:

Figure 1 xxxxxxxxxxxx....34

Figure 2 yyyyyyyyyyyyyyyyy

The problem I want to solve is to remove any "YYY" below the term "Figure 2" and align up with the above caption just when it starts.

share|improve this question
I borrowed the answer from the great Tom at texblog.wordpress.com/2007/07/30/… My code should be: \newlength{\mylen} \renewcommand*\cftfigpresnum{Figure~} \settowidth{\mylen}{\cftfigpresnum\cftfigaftersnum} \addtolength{\cftfignumwidth}{\mylen} Thanks, Fred – user7806 Sep 15 '11 at 9:26
your comment is really an answer. if you enter it as an answer, i'll upvote it. – barbara beeton Sep 15 '11 at 12:19

Solution by Tom and Gonzalo in List of Figures - how to add caption label, as commented by the OP:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.