Author and date customization

2001-03-05 Thread Alexandre Gonçalves Jacarandá

Hi evereybody, I need to put \author at \cheader and \date at \cfoot.
How can I make this?
Alexandre Gonçalves Jacarandá


-- 
clarkagjcris




Re: Author and date customization

2001-03-06 Thread Stefano Ghirlanda

Alexandre Gonçalves Jacarandá <[EMAIL PROTECTED]> writes:

> Hi evereybody, I need to put \author at \cheader and \date at \cfoot.
> How can I make this?

In the preamble:

\usepackage{fancyhdr}
\pagestyle{fancy}
\cfoot{\today}
\chead{Author Name}

Note that you cannot use \author (or actually \@author) in \chead,
because it is defined only within the title page... If you need to do
this in a general way, for intance as a style file that many can use,
you can try a hack like this:

\let\oldauthor\author
\renewcommand{\author}[1]{\newcommand{\myauthor}{#1}\oldauthor{#1}} 
\chead{\myauthor}

But I have not checked this.

-- 
Stefano Ghirlanda, Zoologiska Institutionen, Stockholms Universitet
  email: you know it already, tel: +46-8-164055, fax:+46-8-167715
 the free science campaign: http://ethology.zool.su.se/freescience