GeneralAppendix

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
esojli
Posts: 2
Joined: Sun Aug 31, 2008 9:22 am

Appendix

Post by esojli »

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!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Post by localghost »

All you have to do is switch to the appendix to get the desired headings.

Code: Select all

\appendix
\section{Bootstrap Procedure}

Best regards and welcome to the board
Thorsten¹
esojli
Posts: 2
Joined: Sun Aug 31, 2008 9:22 am

Re: Appendix

Post by esojli »

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.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Appendix

Post by localghost »

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.

Code: Select all

{
\setcounter{section}{0}
\renewcommand{\thesection}{\Alph{section}}
\section{Bootstrap Procedere}
}
This has to be inserted wherever you want such type of section.
Post Reply