General ⇒ Appendix
Appendix
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!
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Appendix
Code: Select all
\appendix
\section{Bootstrap Procedure}
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Appendix
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
Code: Select all
{
\setcounter{section}{0}
\renewcommand{\thesection}{\Alph{section}}
\section{Bootstrap Procedere}
}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10