Hi all,
I am having a stupid problem with Appendix. I am using a report format with chapters and sections for my thesis. I need the appendix to be as the last section of the chapter labeled A Appendix 1 and also appear in the loc. I have tried
\renewcommand{\thesection}{A-\arabic{section}}
\setcounter{section}{0}
\section{\label{Ch1App1}Appendix 1. Bootstrap Procedure}
I get a section heading as A-1 Appendix 1 instead of A. How do I get rid of -1?
The ensuing chapter though has sections that start as 1, 2 and 3 instead of 2.1, 2.2 etc. What I did is using the following command:
\renewcommand{\thesection}{\arabic{section}}
\setcounter{section}{0}
Any hints of how to get the chapter number there?
Thank you!
General ⇒ Appendix
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
All you have to do is switch to the appendix to get the desired headings.
Best regards and welcome to the board
Thorsten¹
Code: Select all
\appendix
\section{Bootstrap Procedure}
Best regards and welcome to the board
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
Re: Appendix
Thanks for the reply Torsten but it doesn't do it. That is how I had it at the beginning and I read the suggestions for change.
The problem is that I have an appendix at the end of one chapter (as a section) and then a new chapter starts after it. If I use what you suggested the second chapter is labelled as B instead of 2.
Any other tips?
Thanks again.
The problem is that I have an appendix at the end of one chapter (as a section) and then a new chapter starts after it. If I use what you suggested the second chapter is labelled as B instead of 2.
Any other tips?
Thanks again.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Appendix
Your usage of the term "appendix" in this case is very misleading, because these last sections aren't really appendices from my understanding. But you can try a simple redefinition of the counter for the last section.
This has to be inserted wherever you want such type of section.
Code: Select all
{
\setcounter{section}{0}
\renewcommand{\thesection}{\Alph{section}}
\section{Bootstrap Procedere}
}
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