237

I need some help with creating an appendix for my thesis. I have about 10 figures which need to be in the appendix. I have a good appendix with the following code:

\appendix 
\addcontentsline{toc}{chapter}{APPENDICES}

\chapter{XXXX}

I have a main thesis.tex file where I call this appendix.tex file after the last chapter. Problems are:

  1. The appendix starts without any notice that it is the appendix except for the chapter number being A, but I want to have either a separate page which says "Appendix" prior to the start of the appendix or on top of the first appendix page to explicitly say "Appendix".
  2. Now I use the \chapter{} command to have the title of the appendix but I think I will have only one chapter in the appendix. Is there some command which can make the title insited of chapter?
4
  • 2
    Have you found any answer which you can accept? Commented Mar 1, 2017 at 8:25
  • 3
    6 years open and still no satisfying answer. Can you maybe clarify your question a bit more if you are still missing parts in the answers? Commented Mar 29, 2018 at 7:36
  • 6
    @Geliormth Considering this is the sole post of the OP in the entire SE realm, I think we could just consider Gonzalo's answer as de facto accepted, based on the votes. Commented May 17, 2018 at 21:07
  • @user113552 "Last seen more than 12 years ago" Commented Oct 15, 2024 at 14:21

4 Answers 4

253

The appendix package could be used here; the toc and page package options and the appendices environment will do what you need:

\documentclass{book}
\usepackage[toc,page]{appendix}

\begin{document}
\tableofcontents

\chapter{Regular Chapter}
\begin{appendices}
\chapter{Some Appendix}
The contents...
\end{appendices}

\end{document}
7
  • 35
    How can I change the 'Chapter A: Title' for 'Annex A:...'? Commented Aug 26, 2014 at 1:01
  • 10
    @F_Jofre_A: \renewcommand{\appendixname}{Annex}. If you use toc or page, you'll need to renew \appendixtocname or \appendixpagename as well. Commented Nov 10, 2017 at 17:05
  • 4
    @GonzaloMedina is there a way to delete the auto created page where it says "Appendices" in the middle of it? Commented May 10, 2018 at 5:50
  • 6
    @3kstc: That is what the page option in \usepackage[toc,page]{appendix} is doing. Remove it and the page is gone. Commented May 16, 2018 at 10:11
  • 3
    @Rodolfo better to ask a separate question for that than try and hope someone finds this. Commented Sep 10, 2018 at 7:02
93

A different solution that I use is below.

\appendix
\section{\\Title of Appendix A}
% the \\ insures the section title is centered below the phrase: AppendixA

Text of Appendix A is Here

\section{\\Title of Appendix B}
% the \\ insures the section title is centered below the phrase: Appendix B

Text of Appendix B is Here
4
  • 4
    Welcome to TeX.sx! Instead of using line breaks in the document body, centering section titles should be done in the preamble, e.g., with the titlesec package. Commented Jan 8, 2013 at 6:50
  • 1
    No need to use \newpage. Commented Mar 26, 2013 at 20:45
  • 1
    @JohnTortugo In my case I also need to add \clearpage or \newpage as bibliography and appendices do not start from a new page. Commented Dec 28, 2016 at 14:53
  • There is a need for a \newpage Commented Dec 22, 2023 at 23:49
5
\begin{document}
\bibliographystyle{phBYU}
\bibliographystyle{unsrt}
\maketitle
\begin{abstract}
% add abstract
\end{abstract}
\begin{acknowledgements}
% add acknowledgement
\end{acknowledgements}
\tableofcontents
\listoffigures
\listoftables
  \addtolength{\parskip}{10pt}
\chapter{\uppercase {Introduction}} %%add your chapter 1 title here
\setcounter{page}{1}
\pagenumbering{arabic}
\label{chapter1}
\input{chapter1} % filename in curly brackets
% add more chapters
\clearpage
**\appendix
\chapter{Name of Appendix A}
\label{whatever}
\input{appendixA} % filename in curly brackets
\chapter{Name of Appendix B}
\label{whatever}
\input{appendixB} % filename in curly brackets**
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{BIBLIOGRAPHY}
 \bibliographystyle{phBYU}
\bibliographystyle{unsrt}
\bibliography{phd}
4
  • 5
    Welcome to stackexchange. Please learn how to use markup to display code as code. You might also want to describe how your answer improves on the other two here, which have been upvoted often. Yours is likely to be downvoted. Commented Mar 7, 2017 at 17:35
  • 2
    Thanks Ethan for guidance. I am not sure my answer is better than the previous answers, but they were not working for me. I was frustrated. However, the script which I pasted worked for me, eventually. So I thought to share. In future I will try to follow your advice. Commented Mar 7, 2017 at 17:46
  • 2
    That's an improvement. Next time you should provide a complete compilable document, including \documentclass , In fact the OP who asked the question should have done that too. Commented Mar 7, 2017 at 18:27
  • Please comment in what way your code answers the OP. Commented Sep 6, 2021 at 7:15
3

If your are trying to do this and you don´t have the expected output...verify where is declarated the \backmatter. You have to typped after the last appendix section or exactly above of \end{document} statement.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.