hi guys!
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!!!!!!!
LyX ⇒ unnumbered chapter title won't appear in headings
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
unnumbered chapter title won't appear in headings
Hi cigs,
you could call \markboth manually, use \markboth{title}{title} directly after \chapter*{title}.
stefan
you could call \markboth manually, use \markboth{title}{title} directly after \chapter*{title}.
stefan
LaTeX.org admin
Re: unnumbered chapter title won't appear in headings
yes, that's it! thank's a lot!
your're the man
your're the man
