Hello,

I am trying to use the title & author of the document as heading on 
every page. I am using article style & fancyhdr package.

I am using the command \lhead{\title} \rhead{\author} in the preamble, 
but this leads to empty headings (probably because in the preamble 
those are not filled yet). Is there any way to delay expansion of the 
\title and \author macros until shipout time at which point they have 
the right values?

Alternatively, does anyone else know an elegant solution that allows 
me to put the title and author of a document into heading? 
Needs to be automatic - no good to explicitly having to put it there

Thx a lot!

Reply via email to