Advertisement
obernardovieira

Show header rule after specific page

Jul 18th, 2017
374
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 0.34 KB | None | 0 0
  1. %% special thanks to Werner at https://tex.stackexchange.com/a/121988
  2. %% based on is answer I removed the head rule from some undesired pages
  3. %% the result is
  4.  
  5. \renewcommand{\headrulewidth}{\ifnum\value{page}>3 0.2pt\else 0pt\fi}
  6.  
  7. %% original code just shows page number after page 2
  8.  
  9. \fancyhead[L]{\ifnum\value{page}<2\relax\else\thepage\fi}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement