I only want to set a header for only my first page. This is within overleaf.
My Attempt:
\fancyhead[L]{}
\fancyhead[R]{ \includegraphics[width=4cm]{logo.png}}
\renewcommand{\headrulewidth}{0pt}
This issue is that this sets the header for all pages.
How do I set the header to only be applicable for the first page and not all the pages?
Define a custom style. Here with the name firstpage
:
\fancypagestyle{firstpage}
{
\fancyhead[L]{}
\fancyhead[R]{ \includegraphics[width=4cm]{logo.png}}
}
Then use it on desired page:
\thispagestyle{firstpage}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With