Hi All,
The picture below shows my contents page, where the appendix page numbers are misaligned when going into double figures. Can someone please advise on a fix?
I'm using the appendix package, and in the body of my document have set \pagenumbering{bychapter}.
Page Layout ⇒ Appendix page numbers misaligned in contents
-
- Posts: 13
- Joined: Tue Dec 07, 2010 5:25 pm
Appendix page numbers misaligned in contents
- Attachments
-
- latex_help.jpg (37.75 KiB) Viewed 1999 times
Last edited by ChrisDanger on Thu Mar 03, 2011 11:49 am, edited 1 time in total.
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
Appendix page numbers misaligned in contents
This problem has already been discussed here very often. Search the forum for solutions by the tocloft package.
Thorsten
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 13
- Joined: Tue Dec 07, 2010 5:25 pm
Appendix page numbers misaligned in contents
Hi,
Thanks Thorsten. I did search the forums and found nothing before I posted. However, the tocloft package documentation was indeed the key.
The fix was simply to include these lines* in the preamble. The tocloft package does not even need to be included.
* widths may need to be changed to suit.
Chris
Thanks Thorsten. I did search the forums and found nothing before I posted. However, the tocloft package documentation was indeed the key.
The fix was simply to include these lines* in the preamble. The tocloft package does not even need to be included.
Code: Select all
\makeatletter
\renewcommand{\@pnumwidth}{3em}
\renewcommand{\@tocrmarg}{4em}
\makeatother
Chris