Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Remove Header in LaTex

Tags:

latex

I would like to not show the name of each chapter on the header of its each page. I also like to have nothing in the headers for abstract, acknowledgement, table of content, list of figures and list of tables. But I currently have the header on each page, for example:

alt text

Thanks and regards!


EDIT:

I just replaced \thispagestyle{botcenter} with \thispagestyle{plain}. The latter is said to clear the header (http://en.wikibooks.org/wiki/LaTeX/Page_Layout), but it does not. How shall I do?

Thanks!


EDIT:

I now just realized it could be the fancy pagestyle that shows the header.

\pagestyle{fancy}  
\fancyhf{}  
\setlength{\headheight}{15pt}  
\lhead{\leftmark}  
\cfoot{\thepage}  
\renewcommand{\headrulewidth}{0pt}  
\fancypagestyle{plain}{% Redefine ``plain'' style for chapter boundaries
    \fancyhf{} % clear all header and footer fields  
    \fancyfoot[C]{\thepage} % except the center  
    \renewcommand{\headrulewidth}{0pt}  
    \renewcommand{\footrulewidth}{0pt}
}

How can I remove header and keep the footer? I think footer is needed to show the page number right?

Thanks!


EDIT:

My pdf file also has no page numbering for the first page of Table of Content, List of Tables and List of Figures. Is this normal? If it is not, how to fix it? Thanks!

like image 244
Tim Avatar asked Apr 26 '10 16:04

Tim


2 Answers

I did this by \fancyhead{}, along with \renewcommand{\headrulewidth}{0pt}.

like image 169
Dzhuang Avatar answered Nov 15 '22 09:11

Dzhuang


I think you should be experimenting with \pagestyle and, if that does not provide enough control, the fancyhdr package. How they will interact with what I surmise is a custom document class I am not sure.

like image 41
High Performance Mark Avatar answered Nov 15 '22 10:11

High Performance Mark