I'm using LyX to write a book based on the koma-script class.
A table of contents is inserted, followed by a non-numbered chapter:
Code: Select all
\tableofcontents{}
\chapter*{\newpage{}Avant-Propos}
Thanks.
Code: Select all
\tableofcontents{}
\chapter*{\newpage{}Avant-Propos}
NEW: TikZ book now 40% off at Amazon.com for a short time.
Code: Select all
\tableofcontents\clearpage
\addchap{Avant-Propos}
Code: Select all
\markboth{left-page-header}{right-page-header}
I don't see where the talk was of this »\addchapter« command (which doesn't exist).alyx wrote:[...] The benefit of using \addchapter{} is that you don't have to edit the first argument of \markboth{} if the name of the chapter changes. The drawback is that chapter titles are not displayed like chapters inside LyX, but as LyX code. This is a minor drawback for the writer. It is worth mentioning that \addchapter{} is valid for KOMA-Script only, which is not the case of \markboth. [...]
Oops! Sorry, I meant "\addchap". I corrected in my previous message.I don't see where the talk was of this »\addchapter« command (which doesn't exist).
Code: Select all
\addchap{Foreword}
Code: Select all
\chapter*{Foreword}
\markboth{Foreword}{}
Code: Select all
\newpage \markboth{}{} \null
\newpage
\subsection*{Foreword}
\markboth{Foreword}{}
NEW: TikZ book now 40% off at Amazon.com for a short time.