Oisin C. Feeley wrote:


In the preamble for the document (LyX->Document->Layout->Preamble) add the 
following:

\usepackage{fancyhdr}
\pagestyle{fancy}
\rhead{\bfseries 123456789}


In LyX, only the third line is necessary. In LyX 1.3.x, go to Layout->Document...->Layout and set the Page style drop-down list to "fancy". Then go to Layout->Document...->Preamble and add the \rhead command. In LyX 1.4.x it's Document->Settings...->Page Layout->Page style and Document->Settings...->LaTeX Preamble, respectively.

/Paul

Reply via email to