On Wed, Apr 19, 2006 at 08:57:34PM +0100, Tim Vaughan wrote: > Hi, > > I am submitting a document which must have my student number at the > top right of each page. What is the easiest way to do this? I don't > need anything else at the top, just the number. > > Tim
In the preamble for the document (LyX->Document->Layout->Preamble) add the following: \usepackage{fancyhdr} \pagestyle{fancy} \rhead{\bfseries 123456789} Replace the 123456789 with your student number. For more information see this document by Piet van Oostrum: http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf HTH, Oisin Feeley