RE: Using document title and author in fancyhdr

2010-03-14 Thread Helge Hafting
-Original Message- From: Stefan [mailto:sal-...@gmx.net] Sent: Sun 3/14/2010 9:50 AM To: lyx-users@lists.lyx.org Subject: Using document title and author in fancyhdr >Hello, > >I am trying to use the title & author of the document as heading on >every page. I am usi

Using document title and author in fancyhdr

2010-03-14 Thread Stefan
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