LyX ⇒ unnumbered chapter title won't appear in headings
unnumbered chapter title won't appear in headings
i have the following puzzle to solve:
in the preamble i put:
\usepackage{fancyhdr}
\fancyhead[EL,OR]{\thepage}
\fancyhead[ER]{\leftmark}
\fancyhead[OL]{\rightmark}
\renewcommand{\headrulewidth}{0.5pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markboth{\thechapter\ \ #1}{}}
\renewcommand{\sectionmark}[1]{\markright{ \thesection\ \ #1}}
for my individual headings. it works fine except for those chapters that are unnumbered (defined as chapter*). in this case lyx uses the last numbered chapter instead.
does anyone have an idea how to solve this probelm?
you would help me a lot!!!!!!!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
unnumbered chapter title won't appear in headings
you could call \markboth manually, use \markboth{title}{title} directly after \chapter*{title}.
stefan
Re: unnumbered chapter title won't appear in headings
your're the man
