GeneralCustom Page Style on first Page of References

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
offroad
Posts: 17
Joined: Mon Feb 18, 2013 5:06 am

Custom Page Style on first Page of References

Post by offroad »

Hi all,

The references have 10 pages, and I set them to be fancy, ie, footers, headers, page numbers etc... but this will only work from the second page on. The first page won't accept any other settings but LaTeX defaults.

Does anyone know how to fix this?

Any help will be very much appreciated.

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Re: Custom Page Style on first Page of References

Post by Stefan Kottwitz »

Which document class are you using? You could redefine a certain feature of it. I could tell you if I knew which one you are using.

Stefan
LaTeX.org admin
offroad
Posts: 17
Joined: Mon Feb 18, 2013 5:06 am

Custom Page Style on first Page of References

Post by offroad »

It's a thesis so I chose 'report':

Code: Select all

\documentclass[12pt,a4paper]{report}
and this is the references settings:

Code: Select all

\bibliographystyle{ametsoc}
\renewcommand{\bibname}{Referências}
\bibliography{Referencias}%{lof}{\protect\thispagestyle{fancy}}
\thispagestyle{fancy}
and I'm using MikTeX on Windows 8.

Very much appreciated.

Offroad
Last edited by Stefan Kottwitz on Thu Feb 28, 2013 7:16 pm, edited 1 time in total.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10308
Joined: Mon Mar 10, 2008 9:44 pm

Custom Page Style on first Page of References

Post by Stefan Kottwitz »

A quick workaround for the report class, change one line:

Code: Select all

\renewcommand{\bibname}{\thispagestyle{fancy}Referências}
Btw. please use the Code button for marking code, I dit it for you above.

Stefan
LaTeX.org admin
Post Reply