I want all bookmarks after "Anhang" (appendix) to be a level deeper, but I need them to be \chapter{} for the right numbering.
I write a scrbook document and that's what I got:
Is it possible to change the depth of the chapter to act like a section in the bookmarks?
UPDATE
MWE:
\documentclass[12pt,a4paper,oneside]{scrbook}
\usepackage[ngerman]{babel} % deutsche Worttrennung
\usepackage[T1]{fontenc} % Ausgabe von Sonderzeichen und Akzenten in PDF verbessert
\usepackage[utf8]{inputenc} % Eingabe von Sonderzeichen möglich
\usepackage{lipsum}
\setcounter{secnumdepth}{3} % subsubsections nummerieren
\setcounter{tocdepth}{3} % subsubsections in TOC
\usepackage[ %
pdfproducer={Texmaker}, %
pdfcreator={pdfLaTeX}, %
hidelinks, % versteckt die Boxen um die Links in der PDF
bookmarksnumbered, % nummereiert Lesezeichen
]{hyperref} % PDF Metainformationen hinzufügen
\begin{document}
\appendix
\pagenumbering{alph}
\thispagestyle{empty}
\vspace*{3em}
\begin{center}
\begin{Huge}
\textbf{\textsf{Anhang}}
\pdfbookmark{Anhang}{Anhang}
\end{Huge}
\end{center}
\chapter{Appendix 1}
\chapter{Appendix 2}
\section{Appendix 2.1}
\section{Appendix 2.2}
\chapter{Appendix 3}
\end{document}
Best Answer
The easiest way is to redefine the
\toclevel@....
commands, to shift the levels down. Use this only in the appendix.Do not add any other
\chapter
etc. after the appendix!