Rich Shepard wrote:
  I'm using lyx-1.3.5 on linux with the koma-script report class. The
preamble set up fancyheaders:

\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\slshape \rightmark}
\fancyhead[LO,RE]{\slshape \leftmark}
\fancyfoot[C]{\thepage}
%\renewcommand{headrulewidth}{0.4pt}
%\renewcommand{footrulewidth}{0pt}

\renewcommand{\footrulewidth}{0pt} ^^^

attached an example for using fancy headers

Herbert


-- http://TeXnik.de/ http://PSTricks.de/ ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf http://www.dante.de/faq/de-tex-faq/ http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
#LyX 1.3 created this file. For more info see http://www.lyx.org/
\lyxformat 221
\textclass scrbook
\begin_preamble
\renewcommand{\headrulewidth}{0.4pt}
\renewcommand{\footrulewidth}{0pt}
\fancyhf{}
\fancyhead[LE,RO]{\slshape \rightmark}
\fancyhead[LO,RE]{\slshape \leftmark}
\fancyfoot[C]{\thepage}
\end_preamble
\language ngerman
\inputencoding latin1
\fontscheme default
\graphics default
\paperfontsize 10
\spacing single 
\papersize Default
\paperpackage a4
\use_geometry 0
\use_amsmath 0
\use_natbib 0
\use_numerical_citations 0
\paperorientation portrait
\paperwidth 17cm
\paperheight 22cm
\leftmargin 1.2cm
\topmargin 1.4cm
\rightmargin 1.7cm
\bottommargin 1.4cm
\headsep 1cm
\secnumdepth 4
\tocdepth 4
\paragraph_separation indent
\defskip medskip
\quotes_language german
\quotes_times 2
\papercolumns 1
\papersides 2
\paperpagestyle fancy

\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
frontmatter
\end_inset 


\layout Title

A demo for fancy headings
\layout Author

Herbert Voß
\layout Standard


\begin_inset LatexCommand \tableofcontents{}

\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
mainmatter
\end_inset 


\layout Chapter

foo
\layout Standard

bar bar bat faser label blubber nonsense bar bar bat faser label blubber
 nonsense bar bar bat faser label blubber nonsense bar bar bat faser label
 blubber nonsense bar bar bat faser label blubber nonsense bar bar bat faser
 label blubber nonsense bar bar bat faser label blubber nonsense bar bar
 bat faser label blubber nonsense 
\layout Section

bar
\layout Standard

baz
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
newpage
\end_inset 


\layout Standard

baz
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
newpage
\end_inset 


\layout Standard

baz
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
newpage
\end_inset 


\layout Standard

baz
\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
newpage
\end_inset 


\layout Standard


\begin_inset ERT
status Collapsed

\layout Standard

\backslash 
backmatter
\end_inset 


\layout Chapter
\start_of_appendix 
Foo
\layout Standard

bar baz
\the_end

Reply via email to