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
Best Answer
Based on @MikeRenfro's comment:
I also added
\bookmarksetup{startatroot}
for each of the appendices to un-nest them frompart 1
: