[OS X TeX] Re: [OS X TeX]

Alan Munn amunn at msu.edu
Sat Feb 11 14:57:25 EST 2006

At 2:18 PM -0500 2/11/06, Sebastien Durand wrote:
>Hello all,
>I am quite puzzle here!
>I trying to add a pagenumber on the top right hand corner of the 
>first page of my bibliography of my thesis and I am not able to do 

The easiest way to do this is to use the fancyhdr package.  I've 
added basic commands with comments to your sample file; you should 
check the fancyhdr documentation for more detailed information, but 
what I give below should do what you want.


\documentclass[12pt, oneside, letterpaper, francais]{book}
\usepackage[applemac]{inputenc} %support pour mon clavier
\usepackage[french, english]{babel}
\usepackage{fancyhdr} %package declaration
\usepackage[round, sort&compress]{natbib}

\lhead{} %sets properties of the left edge of header
\chead{} %sets properties of the center of the header
\rhead{\thepage} %sets properties of right edge of header (in this 
case the page number)
\lfoot{} %same for the footer
\renewcommand{\headrulewidth}{0pt} %these commands remove the rule from header
\pagestyle{fancy} %declares pages to have the fancy style

\thispagestyle{fancy} % declares the first page of the bibliography 
to have the fancy style

Alan Munn                                                   amunn at msu.edu
Department of Linguistics                                   amunn at acm.org
and Germanic, Slavic, Asian and African Languages   Fax.  +1-517-432-2736
Michigan State University, East Lansing MI 48824    Tel.  +1-517-355-7491
------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/

More information about the MacOSX-TeX mailing list