LaTeX users online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 1327 on Tue Nov 05, 2013 7:11 pm

Users browsing this forum: No registered users and 4 guests

Remove Space for Chapter Prefix in ToC Topic is solved

LaTeX Forum: Page Layout

Add tags Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).

Postby jbgrad on Sat Nov 17th, 2012

The chapter lines of my ToC should only have the number, not the word "Chapter". I used \renewcommand{\chaptername}{} as follows in modifying my university's template (which is unfortunately wrong). However, while the word "Chapter" is gone, the space taken up by it is not, so an entry looks like:
1 [Space the length of "Chapter"] Name-of-chapter

instead of
1 Name-of-chapter

Code: Select all  •  Open in online LaTeX editor

Any assistance in removing this unwanted horizontal space (the length of "Chapter") would be appreciated.
Last edited by localghost on Sat Nov 17th, 2012, edited 1 time in total.
Reason: Source code has to be tagged as such to keep a post clear and legible (see Board Rules).
Posts: 5
Joined: Sat Nov 17th, 2012

Postby Stefan Kottwitz on Sat Nov 17th, 2012

That's not the behavior of standard classes, so obviously your university's template provided this addition which you would like to remove. Look for a macro called \l@chapter or post the template file here as attachment to a post.

Site admin
User avatar
Stefan Kottwitz
Site Admin
Posts: 7697
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Return to Page Layout

LaTeX users online

Users browsing this forum: No registered users and 4 guests