3

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}

1 Answer 1

3

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

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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