General ⇒ Un-numbered sections in Frontmatter
-
- Posts: 21
- Joined: Mon Apr 21, 2008 3:50 am
Un-numbered sections in Frontmatter
How to do:
Un-numbered headings in frontmatter that still appear in TOC?
Starred versions don't appear in TOC, yet normal sections produce result: "0.0.1" etc. which ain't good.
Is there some way to combine starred sections with [optional title]?
S.
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
Un-numbered sections in Frontmatter
you can combine starred sections with \addcontentsline.
Or manipulate the secnumdepth counter, look here into the UK TeX FAQ: Unnumbered sections in the Table of Contents.
Stefan
-
- Posts: 21
- Joined: Mon Apr 21, 2008 3:50 am
Re: Un-numbered sections in Frontmatter
Will investigate that --- not thinking too clearly after a long day's TeX-ing.
Strange thing I'm struggling with at the moment.
By manipulating secnumdepth and tocdepth, and starring various things in frontmatter, got the effect that I wanted. Will look at yours too --- probably more elegant.
However, with mine I have a strange effect --- 'Contents' appears in the header (fancyhdr being used) until the first chapter starts.
How do I stop this from happening?
Have fairly extensive frontmatter (~26pp.)
S.
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
Un-numbered sections in Frontmatter
you can use \markboth to override or to clear the headings after \tableofcontents.
Stefan