[OS X TeX] First Page Header & Subsequent Pages Header

Scott, Randy Scott_Randy at sccollege.edu
Thu Sep 17 14:35:11 CEST 2009

Good Morning!

I've been trying to create a header that appears on the first page of a document, and then a different header that appears on all of the subsequent pages. I've been doing this manually, but would really like to automate the process.

I use the fancyhdr header package along with \pagestyle{fancy} to generate my headers.

I've been trying to use the ifthen package to get this going. Here is my attempt:

    {\lhead{\textbf{Math 280, Intermediate Calculus\\Change of Variables in Multiple Integrals}} \chead{} \rhead{}\lfoot{} \cfoot{} \rfoot{}}
    {\lhead{\textbf{Math 280, Change of Variables in Multiple Integrals}} \chead{} \rhead{\textbf{\thepage}}\lfoot{} \cfoot{} \rfoot{}

I've spread out the code to make it easier to read; in my document, there are no spaces or line breaks between the arguments of \ifthenelse

When I run this, the first page shows the appropriate header, but then that header repeats on all of the following pages. Bummer.

Could any of you please suggest a tweak for this?

Thanks a 10^6!

Randy Scott
Santiago Canyon College
California State University, Fullerton

More information about the macostex-archives mailing list