1

I need to do my thesis and I have used a template of my university in Overleaf. But I have one problem: My first page of the bibliography doesn't display the page number, like in this figure:

problem number page

And you can see that the other pages display page number:

normal page number after first page

How can I fix it?

11

2 Answers 2

2

You can get \bibpreamble to do this for you:

\renewcommand{\bibpreamble}{\thispagestyle{myheadings}}

\bibsetup, as suggested in the comments, is only available if you use biblatex. I was going on a hunch that you're using the natbib package instead, which inserts \bibpreamble just before the reference list, after the Reference/Bibliography heading.

If you were not using natbib either, you may have had to use e.g. etoolbox to patch the thebibliography environment instead:

\usepackage{etoolbox}
\patchcmd{\thebibliography}
  {\chapter*{\bibname}}
  {\chapter*{\bibname}\thispagestyle{headings}}
  {}{}

though the exact patch would depend on the .cls you're using. I'm assuming the same thebibliography from book.cls here.

1

For biblatex : do NOT use

\renewcommand{\bibsetup}{\thispagestyle{headings}} 

as it will overwrite valuable setup lines.

Instead, patch the command if you can, or restore the whole original definition along with your additional instruction:

\renewcommand{\bibsetup}{
 \interlinepenalty=5000\relax
  \widowpenalty=10000\relax
  \clubpenalty=10000\relax
  \raggedbottom
  \frenchspacing
  \biburlsetup
  \thispagestyle{headings}}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .