Page Layout ⇒ how to create a different header for all pages after the first
how to create a different header for all pages after the first
I created another pagestyle for these subsequent pages called \fancypagestyle{otherpages}. Using \usepackage{afterpage}, I inserted \afterpage{\thispagestyle{otherpages}} after \begin{document} thinking all the subsequent pages would be rendered in the {otherpages} style. However, only the second page had the new style; page three and beyond were unaffected.
What do I have to do in order to apply the {otherpages} style to all the subsequent pages?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
how to create a different header for all pages after the first
\thispagestyle
only affects the page it's called on. Use \pagestyle
, instead.You don't even need the afterpage package for that, just declare
Code: Select all
\pagestyle{otherpages}
% before your call
\thispagestyle{firstpage}
Rainer