Hey guys,
I am finishing my PhD thesis and I have a little problem: I don't want to number the Introduction and the conclusions. But if don't do it, they do not appear on the table of content.
How can I make appear these unnumbered chapters in the table of content?
I am using LyX 2.0.0 and an example is attached.
Thank you in advance for any help you can give
Hélie
LyX ⇒ Show unnumbered Chapters in the ToC
Show unnumbered Chapters in the ToC
- Attachments
-
- example.zip
- (870 Bytes) Downloaded 237 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

Show unnumbered Chapters in the ToC
I don't know about Lyx but \addcontentsline helps:
Regards
Code: Select all
\documentclass{article}
\begin{document}
\tableofcontents
\section*{Without number}\addcontentsline{toc}{section}{Ohne Nummer}
\section{With number}
\newcommand*\sectotoc[1]{\section*{#1}\addcontentsline{toc}{section}{#1}}
\sectotoc{Again without number}
\end{document}
site moderator & package author
Re: Show unnumbered Chapters in the ToC
Thank you very very much cgnieder !
In Lyx, you just have to insert the code in an ERT \addcontentsline{toc}{chapter}{General Introduction}
In Lyx, you just have to insert the code in an ERT \addcontentsline{toc}{chapter}{General Introduction}