Document Classeslistoftables.. another fancyhdr question

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Lydia
Posts: 2
Joined: Tue May 20, 2008 2:41 am

listoftables.. another fancyhdr question

Post by Lydia »

I am trying to create a document with no page numbers for the first several sections; page numbers should begin after the toc, lof and lot. I've used the helpful tips here to get rid of page numbers for everything except the List of Tables.

Here is the relevant (I think!) bit of my code:

Code: Select all

\documentclass{report}
\usepackage{fancyhdr}

\fancypagestyle{plain}{
   \fancyhf[]{}
}

\begin{document}
\pagestyle{empty}
\include{MainApprovalSheet}
\include{Abstract}
\newpage

\pagenumbering{roman}
\tableofcontents
\listoffigures
\listoftables

\pagenumbering{arabic}
\pagestyle{fancyplain} %
\lhead{} \rhead{} \cfoot{\thepage}

\input{intro}
\input{other_brilliant_stuff :)}
\end{document}
With this, I get no page numbers until the List of Tables, which is labeled with a "1" at the bottom. The page numbers then restart, with a "1" (correct) on the next page.

I'd be most grateful for any advice. Thanks.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Stefan Kottwitz
Site Admin
Posts: 10360
Joined: Mon Mar 10, 2008 9:44 pm

Re: listoftables.. another fancyhdr question

Post by Stefan Kottwitz »

Hi Lydia,

try \clearpage after \listoftables and before \pagenumbering{arabic}\pagestyle{fancyplain}.

Stefan
LaTeX.org admin
Lydia
Posts: 2
Joined: Tue May 20, 2008 2:41 am

Re: listoftables.. another fancyhdr question

Post by Lydia »

Worked like a charm! Thank you so much for saving me more frustration!
Post Reply