Page LayoutPage Numbering on Bibliography Page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
daviddoji
Posts: 13
Joined: Wed Sep 19, 2012 12:18 pm

Page Numbering on Bibliography Page

Post by daviddoji »

Hello to everybody.

I have a minor problem. When I compile my document, the page numbers seems correctly (on the left at the bottom of the page) in all the pages except in the last one, which has the bibliography. Here the page number appears centered at the bottom.

How can I solve this?

Thanks in advance and sorry for my bad English!

Code: Select all

\documentclass[12pt,a4paper,draft]{report} 
\usepackage{epsfig} 
\usepackage{amssymb} 
\usepackage{amsmath} 
\linespread{1.3}
\setlength{\parskip}{1ex plus 0.5ex minus 0.2ex} 


%\usepackage{wrapfig} % Permite poner imágenes "flotando" en el texto
%\usepackage[pdftex=true,colorlinks=true,plainpages=false]{hyperref} % Soporte hipertexto
%\usepackage[all]{hypcap}

\usepackage{fancyhdr} 
\pagestyle{fancy}
\fancyhead{} 
\fancyhead[LE] {\slshape \nouppercase \rightmark} 
\fancyhead[LO] {\slshape \nouppercase \rightmark} 
\fancyfoot[C]{} 
\fancyfoot[RE]{\thepage}
\fancyfoot[LO]{\thepage} 

\usepackage{indentfirst} 
%\usepackage[spanish]{babel}
\usepackage[english]{babel} 
\usepackage[latin1]{inputenc} 
\usepackage[T1]{fontenc}

\bibliographystyle{apalike}

%\bibliographystyle{plain}

\usepackage{syntonly}   
%\sintaxonly   

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Page Numbering on Bibliography Page

Post by localghost »

Chapter pages use the »plain« page style by default. Read Section 7 of the fancyhdr manual to learn how to alter this page style.

Some more points about your code.
  • The epsfig package is obsolete. Replace it with graphicx.
  • Do not use \linespread to determine the inter line spacing. Use the setspace package instead (see l2tabu).
  • Do not set the length \parksip by hand. Use the parskip package instead or an appropriate document class (e.g. from KOMA-Script) which takes care about that (see l2tabu).

Best regards and welcome to the board
Thorsten
daviddoji
Posts: 13
Joined: Wed Sep 19, 2012 12:18 pm

Re: Page Numbering on Bibliography Page

Post by daviddoji »

Thanks for the advices!
Post Reply