Take the 2-minute tour ×
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.

I would like to get rid of the page number of appearance in my List of figures, since it should only reference to the sources of the figures. I am working with tocloft. Following code gets rid of the first number, but I have the feeling, that it is the right way to handle that problem.

\renewcommand{\cftfigpagefont}[1]{}
\renewcommand{\cftfigafterpnum}{\cftparfillskip}
share|improve this question

1 Answer 1

up vote 3 down vote accepted

Simply use

\cftpagenumbersoff{figure}

A complete example:

\documentclass{article}
\usepackage{tocloft}

\cftpagenumbersoff{figure}

\begin{document}

\listoffigures

\begin{figure}
\caption{test}
\end{figure}

\end{document}

enter image description here

share|improve this answer
    
Thanks for that answer! –  algomachine Apr 10 '12 at 18:16

Your Answer

 
discard

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.