GeneralToC includes only short Form of Headings

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Aleksandra
Posts: 3
Joined: Thu May 31, 2012 6:13 pm

ToC includes only short Form of Headings

Post by Aleksandra »

Hello!

I created a ToC and found that the short version of chapter and section titles in included, that is \chapter[that one]{and not that one} and \section[that]{and not that}. I really need to change it, but I'm not sure how to do this.

Would changing the value in \setcounter{tocdepth}{1} help?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

ToC includes only short Form of Headings

Post by localghost »

If you need the full headings as ToC entries, simply drop the optional arguments in brackets.
Aleksandra wrote:[…] Would changing the value in \setcounter{tocdepth}{1} help?
No. This would only influence the depth of the heading levels that are listed in the ToC.


Best regards and welcome to the board
Thorsten
Aleksandra
Posts: 3
Joined: Thu May 31, 2012 6:13 pm

Re: ToC includes only short Form of Headings

Post by Aleksandra »

Thanks for the welcoming!

Is there no other way to fix it? I need the alternative short version to make the page header look okay. Names of some papers are really long and page format gets screwed up if I don't use the shortcuts. I already dropped the name of a chapter and numbers to give title more space, but this doesn't suffice.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

ToC includes only short Form of Headings

Post by localghost »

The current version of KOMA-Script offers this feature. It is described from page 85 onward in the English version of the user guide.
Aleksandra
Posts: 3
Joined: Thu May 31, 2012 6:13 pm

Re: ToC includes only short Form of Headings

Post by Aleksandra »

Thanks a million! As soon as I find which distributor is suitable for Kile I will try this one out.
Post Reply