Joeri Verbiest wrote:

> Herbert Voss wrote:
> 
>>Joeri Verbiest wrote:
>>
>>
>>>I have a header problem:
>>>I have two Appendix chapters. Now in the header I get Chapter 7.
>>>Appendix I. How a can change this so I get only Appendix I (and not the
>>>Chapter), this my only change in the Appendix chapter. In he other
>>>chapter there must be Chapter chapterNumber chapterTitle.
>>>Also how is it possible to get a line under the header. I use heading
>>>and not fancy. By fancy I get a line but it give not a very good result.
>>>I would like heading style but with a line.
>>>
>>have a look at:
>>--
>>http://www.lyx.org/help/fancy/header.php
>>
> 
>  Ok I have already looked on this page but I doesn't see directly the
> solution to my problem. 


with fancyhdr it's much more easier to change the headings

changing rules:

\renewcommand\headrulewidth{1pt}% to get rules

\renewcommand\footrulewidth{1pt}



changing headers for twoside mode:


\renewcommand{\chaptermark}[1]{% twoside and
   \markboth{%
     \ifnum \c@secnumdepth >\m@ne
     \hfill\thechapter\quad \if @mainmatter
         \@chapapp\ \thechapter\quad
       \fi
     \fi
      #1%
   }{%
     \ifnum \c@secnumdepth >\m@ne
       \if @mainmatter
         \@chapapp\ \thechapter\quad
       \fi
     \fi
     #1%
   }%
}%


Herbert


-- 
http://www.lyx.org/help/

Reply via email to