1

I have a memoir document that generates a toc that is over one page in length. The list of figures is also over one page in length. The problem is that those pages in the toc or the list of figures after the first page appear without page number.

I have tried every solution to every similar question on this site and yet nothing works. Is there anyone out there that knows how to fix this?

UPDATE:

Right now I have the following:

    \thispagestyle{plain}
    \tableofcontents
    \thispagestyle{plain}

This fixes the numbering at the first and last pages of the toc, but the middle pages are still left without page number.

  • 1
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – user31729 Sep 16 '14 at 20:49
  • Are you issuing a \thispagestyle{empty} anywhere? Perhaps you're using a template that is adding this to your \listoffigures and \listoftables macros. – Werner Sep 16 '14 at 20:54
  • I am using \thispagestyle{empty} in several places but that would not explain why the first page of toc has a number and the pages after it do not :( – Jose Alarcon Sep 16 '14 at 20:57
  • @JoseAlarcon: Yes it does, as the first page of every chapter (yes, the ToC is set as a special/starred \chapter) has a different page style, also set by \thispagestyle. Do you want the entire ToC/LoF/LoT to be void of a page style? That is, the entire \frontmatter should be set using \thispagestyle{empty}? – Werner Sep 16 '14 at 21:26
  • 1
    @JoseAlarcon: I'm confused. Your post mentions "middle pages" while your comment mentions "[subsequent to the first]". Which is it? – Werner Sep 16 '14 at 21:28
1

Adding \pagestyle{plain} before \frontmatter fixed the problem. Now all pages in the ToC and LoF are numbered.

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.