LaTeX forum ⇒ Page Layoutremove headrule from specific pages/sections Topic is solved

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Posts: 21
Joined: Thu May 16, 2013 3:01 pm

remove headrule from specific pages/sections

Postby Fed89 » Fri Apr 21, 2017 11:20 am

Hello everyone,

I am using lyx to write my thesis with memoir class.
As i did not like the default headers/footers, i redefined them like this
  1. \uppercaseheads \nouppercaseheads
  2. \makeevenhead{headings}{\slshape\leftmark}{}{}
  3. \makeoddhead{headings}{}{}{\slshape\leftmark}
  4. \makeevenfoot{headings}{\thepage}{}{}
  5. \makeoddfoot{headings}{}{}{\thepage}
  6. \makeheadrule{headings}{\textwidth}{\normalrulethickness}

So i have page number in the bottom-exterior of the pages and the chapter name in the top-exterior corner of the pages.
I have headrule. I generally like the way the headrule is displayed (not in the chapter page, where there is no header; and not in the empty double pages, for example at the end of a chapter).
But for example it appears on the second page of the the ToC, LoF and LoT. As they are only 1 or 2 page long each, i removed their headers
  1. \markboth{}{}

so i would like them not to have the headrule either... (see attached screenshot)
How can i achieve this?

Thanks in advance for the help!
Capture.PNG (197.97 KiB) Viewed 248 times

User avatar
Stefan Kottwitz
Site Admin
Posts: 8206
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany

Postby Stefan Kottwitz » Fri Apr 21, 2017 3:19 pm


quick and easy: set


before ToC, LoF, LoT, after it set again


Alternatively you could define an own page style without rule.

Site admin

Posts: 21
Joined: Thu May 16, 2013 3:01 pm

Postby Fed89 » Fri Apr 21, 2017 4:58 pm


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 6 guests