Featured Book

LaTeX Beginners Guide

Who is online

In total there are 6 users online :: 0 registered, 0 hidden and 6 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 6 guests

Partner Sites

TeXwelt - Fragen und Antworten goLaTeX

Remove Space for Chapter Prefix in ToC Topic is solved

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

Remove Space for Chapter Prefix in ToC

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 writeLaTeX

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

Re: Remove Space for Chapter Prefix in ToC  Topic is solved

Postby Stefan_K 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.

LaTeX Community Administrator
User avatar
Site Admin
Posts: 6517
Joined: Mon Mar 10th, 2008
Location: Hamburg, Germany

Return to Page Layout

Who is online

Users browsing this forum: No registered users and 6 guests