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 made a list of figures at the end of my document and i have a problem. List of figures is longer than one page and i don't want any page numbers on any of these pages.

Unfortunately comands below make page number dissapear only on the last page of the list of figures. How can i remove page numbers on every page of list of figures?

\thispagestyle{empty}
\listoffigures
share|improve this question

2 Answers 2

up vote 1 down vote accepted

You have to locally override the behavior of \chapter* that issues \thispagestyle{plain}.

A hack is to say

\cleardoublepage
\begingroup
\makeatletter
\let\ps@plain\ps@empty
\makeatother

\pagestyle{empty}
\listoffigures
\cleardoublepage
\endgroup

at the point where you want the list of figures.

A more abstract way is to define a command in the preamble:

\makeatletter
\newcommand{\emptypage}[1]{%
  \cleardoublepage
  \begingroup
  \let\ps@plain\ps@empty
  \pagestyle{empty}
  #1
  \cleardoublepage}
\makeatletter

and then say, for instance

\emptypage\tableofcontents

\emptypage\listoffigures
share|improve this answer
    
Thank you . I will try this as soon as possible and then i ll report back. –  71GA Jan 28 '13 at 10:05
    
THIS worked flawlesly! Thank you. –  71GA Jan 28 '13 at 22:13

Try these:

\listoffigures\pagestyle{empty}

or

\pagestyle{empty}\listoffigures

should work. To start numbering again use \pagestyle{plain} after some section command or chapter, whatever.


edit: here is a minimal code to test the effect inserting the command before/after the \listoffigures.

\documentclass[11pt,a4paper]{report}
\usepackage{lipsum}

\begin{document}
\lipsum[1]
\newpage 
\lipsum[2] 
\listoffigures\thispagestyle{empty} \newpage
\lipsum[4]\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}\addcontentsline{lof}{chapter}{foo}
\end{document}
share|improve this answer
    
It is not working. –  71GA Jan 27 '13 at 11:02
    
@sigur: surely you need the \pagestyle{empty} before \listoffigures –  wasteofspace Jan 27 '13 at 17:20
    
@wasteofspace, strange! For me it works. I'll edit. –  Sigur Jan 27 '13 at 20:47
    
@Sigur Impossible: \listoffigures issues \chapter*, which in turn issues \thispagestyle{plain}. So if you put \pagestyle{empty} before it, it will be overridden; if you put it after it will hold only for the last page of the list. –  egreg Jan 27 '13 at 22:10
    
@egreg @Sigur An MWE might be handy, because dozens of classes and packages redefine \listoffigures. –  mafp Jan 27 '13 at 22:39

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.