I am using the report class and want to eliminate the Appendices page without eliminating the actual individual appendices. I have the capitalization of the appendices as I want (all caps). I am trying to:
- Remove the Appendices page (page 5)
- Remove Appendices page from the Bookmarks and un-nest the individual Appendices from the previous
part
- Remove Appendices page from TOC
So currently the setup at the bottom looks like this:
Bookmarks
TOC
Pages
I'd like it to look like (I cut and pasted the images to make them look this way; i.e., I don't have code that made the desired output pics)...
Bookmarks
TOC
\documentclass[12pt]{report}
\usepackage[T1]{fontenc}
\usepackage{filecontents}
\usepackage[american]{babel}
\usepackage{csquotes}
\usepackage[style=apa, backend=biber]{biblatex}
\addbibresource{biblatex-examples.bib}
\DeclareLanguageMapping{american}{american-apa}
\usepackage{setspace}
\usepackage{bookmark}
\usepackage[title,titletoc,toc,page]{appendix}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=blue,
citecolor=blue,
}
\setcounter{secnumdepth}{0}
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\begin{document}
\nocite{*}
\newpage
\pdfbookmark[section]{\contentsname}{toc}
\tableofcontents
\part{Top Level}
\chapter{First Chapter}
Foo
\chapter{Last Chapter}
Bar
%% Appendices
\begin{appendices}
\renewcommand{\appendixname}{APPENDIX}
\chapter{Foo}
some text
\chapter{Bar}
some more text
\end{appendices}
%% References
\newpage
\singlespacing
\bookmarksetup{startatroot}
\addcontentsline{toc}{chapter}{REFERENCES}
\renewcommand{\bibname}{REFERENCES}
\printbibliography
\end{document}
EDIT
Using @barbara beeton's suggestion (and dumping the appendix package):
\appendix
\renewcommand{\appendixname}{APPENDIX}
\chapter{Foo}
some text
\chapter{Bar}
some more text
But this Removes the APPENDIX
prefix and does not un-nest the individual appendices bookmarks from the last part
bookmark (They're under Top Level
) so they look more like REFERENCES
report
class has a command\appendix
which merely changes the numbering system for\chapter
to use letters, and changes "Chapter" to "Appendix". i don't know theappendix
package, but am pretty sure that it's theappendix
environment from that package that is adding the extra page. try omitting that and just using the simple\appendix
. enclose it in a group if the running heads in the bibliography are affected adversely.APPENDIX
prefix and the appendices bookmarks were still nested under the lastpart
. I show this in the edit above.appendix
package, and in your preamble, add the line\renewcommand{\addappheadtotoc}{}
.page
option in your\usepackage
line is what causes the extra separator page. You may only want to use thetitle
andtitletoc
options instead.