General ⇒ addtocontentsline at beginning of toc?
addtocontentsline at beginning of toc?
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
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
addtocontentsline at beginning of toc?
just use \addcontentsline or \addtocontents before the first sectioning commands to insert a line at the beginning of the toc.
Stefan
Re: addtocontentsline at beginning of toc?

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