Hi everyone, I hope you can help.
I am writing a report and there are three clear parts each with different styles of page numbering. The first two I have been able to do, (these were lower case roman, and standard).
However, the third part is the appendix, for which each section is named A,B,C etc. What I want to do is to make the page number the section plus the page number.
i.e A1, A2, A3... for appendix A
B1, B2, B3... for appendix B and so on.
I am able to do this in the document by adding a \sectionname command in the footer but the problem arises because the table of contents obviously doesn't recognise the letter.
Is there a way of defining the page to be both a letter (the appendix letter) AND the page number of the appendix and to make it appear correctly in the toc?
Thanks.
Page Layout ⇒ Changing page numbers to letters AND numbers
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
Changing page numbers to letters AND numbers
You can use the chappg package. Consider the following example.
I didn't look into the manual for customization. So you will have to do that on your own.
Best regards
Thorsten¹
Code: Select all
\documentclass[11pt,a4paper,english]{report}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage{lmodern}
\usepackage[auto]{chappg}
\usepackage{blindtext}
\parindent0em
\begin{document}
\Blinddocument
\appendix
\blinddocument
\end{document}
Best regards
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