yzymat
unread,Jul 18, 2009, 9:32:31 PM7/18/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to LaTeX Users Group
I'm using the fancyhdr package and titlesec, titletoc package, and the
conents has 4 pages. But I can't remove the header on the 2d ,3d, 4th
page of the contents.
Also I want that footer of the contents contain page number centered
and the code affect pages of the contents only(the header on the rest
pages of the book must exist).
\documentclass[openany]{book}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[ER]{\leftmark}
\fancyhead[OL]{\rightmark}
\fancyhead[EL,OR]{\thepage}
\renewcommand{\headrulewidth}{0.4pt}
.........
or
\documentclass[openany]{book}
\usepackage[pagestyles]{titlesec}
\usepackage{titletoc}
\sethead[][][][]{{}{}{}}
.............