Try to explicitly give the openany
option for your document class. My guess is that, even if you didn't specify it, your document class is using a default of openright
.
There are two and a half solutions (only the second one is valid if you need to use \include
):
- Use
\input
instead of \include
(if you don't need the functionality of \include
).
- Put
\appendices
into appendixA.tex
.
Manually configure the TOC file from
\contentsline {chapter}{\numberline {1}First things}{1}
\contentsline {chapter}{\numberline {A}The initial stuff}{3}
\contentsline {section}{\numberline {A.1}A section within the initial appendix}{3}
\contentsline {chapter}{Appendices}{3}
\contentsline {chapter}{\numberline {B}Another addendum}{5}
to
\contentsline {chapter}{\numberline {1}First things}{1}
\contentsline {chapter}{Appendices}{3}
\contentsline {chapter}{\numberline {A}The initial stuff}{3}
\contentsline {section}{\numberline {A.1}A section within the initial appendix}{3}
\contentsline {chapter}{\numberline {B}Another addendum}{5}
The package manual states:
There is an unfortunate interaction between the LaTeX kernel commands \include
and \addcontentsline
. […]
Things work as expected if the \addcontentsline
command is placed
within the \included
file, or if the imported file is \input
ed instead of \includ
ed.
On another note: appencides
is an environment not a macro, so you better use \appendices … \endappendices
or \begin{appendices} … \end{appendices}
.
Best Answer
Add
\makeatletter\@openrightfalse\makeatother
to the preamble.