2

My thesis is sectioned in Parts -> Sections -> Subsections.

Currently I am printing the part name on the header of each page. However, I would like to remove the header completely on the first page of each part.

My LyX preamble header definition:

\let\Oldpart\part
\newcommand{\parttitle}{}
\renewcommand{\part}[1]{\Oldpart{#1}\renewcommand{\parttitle}{#1}}

\fancyhead[LO,RE]{\slshape \parttitle}
4
  • Possible duplicate? tex.stackexchange.com/questions/23766/…
    – user13907
    Apr 27, 2013 at 23:09
  • I don't think so. I only want to remove the header, not header and footer, and it's not for the first page of the document, but for the first page of every part. Apr 27, 2013 at 23:35
  • @user29762 Which document class are you using?
    – e-birk
    Apr 27, 2013 at 23:56
  • 1
    @e-birk article Apr 28, 2013 at 0:22

2 Answers 2

2

try

\renewcommand\part[1]{%
  \thispagestyle{plain}%
  \Oldpart{#1}\renewcommand{\parttitle}{#1}}
1

My first solution would be to switch the document class from article to report (or derivates thereof). For a thesis or a similar large document, the class report has a more appropriate formatting. Especially, it puts each part title on a separate blank page, i.e., more or less what you want.

My second solution would be to use

\renewcommand{\part}[1]{\Oldpart{#1}\renewcommand{\parttitle}{#1}\thispagestyle{plain}}

You might need to precede each part with a page break.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .