[OS X TeX] on book class

Bob Kerstetter bkerstetter at mac.com
Thu Sep 2 03:48:54 CEST 2004


Hello,
On Sep 1, 2004, at 11:09 AM, Alessandro Languasco wrote:

>
> Dear all,
>
> I'm wondering if it is possible to slightly modify the page numbering
> used in the book class.
> In particular I would like  to discard the number of the page which
> is written at the bottom of the starting page of each chapter.
>
> Probably there's an option or a custom style that can be used
> (together with the book class) but I don't know which one.
>

Try fancyhdr package,


\usepackage{fancyhdr}

\pagestyle{fancy} % for doing the headers and footers

\lhead{stuff} % left a of header
\chead{stuff} % middle of header
\rhead{stuff} % right side of header
\lfoot{stuff} % left side of footer
\cfoot{stuff} % center of footer
\rfoot{stuff} % right side of footer


You can put anything text or nothing in the place of "stuff"

\thepage inserts the page number. I use it along with the *geometry* 
package to control margins.

--------------------- 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 Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list