>>Date: Wed, 16 Jan 2002 23:49:33 -0800 >>From: "Kayvan A. Sylvan" <[EMAIL PROTECTED]> >>To: Herbert Voss <[EMAIL PROTECTED]> >>Cc: LyX Users <[EMAIL PROTECTED]> >>Subject: Re: fancy header usage question >> >>On Thu, Jan 17, 2002 at 07:50:01AM +0100, Herbert Voss wrote: >>> Kayvan A. Sylvan wrote: >>> >>> >Hi all, >>> > >>> >I am trying to get the fancy headers package to do the following: >>> > >>> >On the first page, no headrule. On each page thereafter, there should be >>> >a headrule. >>> > >>> >I have the followingt in my preamble: >>> > >>> >\usepackage{afterpage} >>> > >>> >\lhead{879 Lewiston Drive \\ San Jose, CA 95136} >>> >\rhead{(408) 978-1407 \\ [EMAIL PROTECTED]} >>> >\renewcommand{\headrulewidth}{0pt} >>> > >>> >\afterpage{\renewcommand{\headrulewidth}{0.4pt}\lhead{\textbf{Kayvan A. >>> >Sylvan}}\rhead{\textbf{Page \thepage}}} >>> > >>> >The headers are all correct, but there is no headrule on the second page. >>> >>> >>> write this in tex exactly before your second page should >>> start >>> >>> \newpage >>> \renewcommand{\headrulewidth}{1pt}% >>> \lhead{\textbf{Kayvan A. Sylvan}}% >>> \rhead{\textbf{Page \thepage}}% >>> >>> delete the afterpage command and don't use an additional pagebreak. >>> >>> Herbert >>> >>> -- >>> http://www.lyx.org/help/ >> >>Same exact problem as before. I am not sure why the headrulewidth >>is not doing anything (except for the first time. >> >>Any other suggestions?
What about using \pagestyle{fancyplain} then \renewcommand{\headrulewidth}{1pt} \renewcommand{\plainheadrulewidth}{0pt} Then \thispagestyle{plain} for the first page (if not already declared in the class). -- Jean-Pierre