Greetings,
as indicated in the subject: how to insert a section / chapter before the auto-generated toc? adding at the end works, but I can't find an option to put it at the beginning. The section in question is a glossary which I would like to have at the beginning instead of at the end.
The nomencl package has an option to do it (option 'intoc'), but I prefer the package acronym which - sadly - lacks this option, so I have to do it manually. But how?
cheers
General ⇒ addtocontentsline at beginning of toc?
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
addtocontentsline at beginning of toc?
Hi,
just use \addcontentsline or \addtocontents before the first sectioning commands to insert a line at the beginning of the toc.
Stefan
just use \addcontentsline or \addtocontents before the first sectioning commands to insert a line at the beginning of the toc.
Stefan
LaTeX.org admin
Re: addtocontentsline at beginning of toc?
quick and correct answer - as ever 
For me, \addcontentsline works better than \addtocontents
thanks!

For me, \addcontentsline works better than \addtocontents
thanks!