GeneralAppendix or Annex

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

Appendix or Annex

Post by Jongomez »

Hello,
I have made a book class document with Chapters, sections, and so on. Now I want to add just one Appendix or culd be an Annex (I don't require to follow appendix rules).

I have written a section named Apéndice.tex (\chapter{Apéndice}
How are de set of commands to include above section and to include it in the Table of contents?

Thank you very much.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Appendix or Annex

Post by Stefan Kottwitz »

Hi Jon,

just write the \appendix command before the appendix chapter; this resets the numbering and switches to alphanumeric numbering, starting with A.

Stefan
LaTeX.org admin
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

Appendix or Annex

Post by Jongomez »

Hi Stefan,
That is what I've done, but there is a problem:
* An empty page appears showing the title:
Apéndica A
Apéndice


My code is:

Code: Select all

\newpage
\cleardoublepage
\appendix 

\markright{\MakeUppercase{Apéndice}}
\chapter{Apéndice}

\include{sections.tex/Apéndice}

\addcontentsline{toc}{chapter}{Apéndice}
What is wrong?
Thanks a lot
User avatar
Stefan Kottwitz
Site Admin
Posts: 10320
Joined: Mon Mar 10, 2008 9:44 pm

Appendix or Annex

Post by Stefan Kottwitz »

Hi Jon,

the \include command starts always a new page. It's designed for chapters, but the \chapter command should be in the included file, not before. That's why you got an empty page. Just move the \chapter command into the included file.

An appendix chapter title "Apéndice" is perhaps not perfect. It's like writing \chapter{Chapter}. ;-) The design is more for, like, "Appendix A: Tables", "Appendix B: Comments", etc. Even if you just decide on an appendix without sectioning, you could choose a proper title, such as "Apéndice A: References and Comments" or whatever, not like "A: Appendix" without a proper title that tells what the content is to be expected for the reader.

What do you think?

Stefan
LaTeX.org admin
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

Appendix or Annex

Post by Jongomez »

Hi Stefan,
Thanks a lot for your recommendation and support.
Finally, this is what I have done to have One Appendix with Sections:

Code: Select all

\appendix 
\renewcommand{\thechapter}{\Alph{chapter}}
\renewcommand{\thesection}{\Roman{section}}

\chapter{Matrices, Operadores, Tablas}


\include{sections.tex/Matrices de Pauli}
\include{sections.tex/Acción de los operadores de Espín}
\include{sections.tex/Cambio de base}
\include{sections.tex/Componente de Espín en dirección hat(n)}
\include{sections.tex/Tablas de multiplicación de Operadores de Espín}

So the Appendix looks llike that:
**********************************************************
Apéndice A
Matrices, Operadores, Tablas
I Matrices de Pauli
Acción de los Operadores de Espín
... etc.

I really appreciate your support.
Kind regards,
Jon
Jongomez
Posts: 48
Joined: Tue Nov 28, 2023 9:29 pm

Appendix or Annex

Post by Jongomez »

Correction:
II Acción de los Operadores...
Post Reply