-
Notifications
You must be signed in to change notification settings - Fork 1
/
appendix.tex
47 lines (35 loc) · 1.52 KB
/
appendix.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%----------------------------------------------------------
% General appendix settings
%----------------------------------------------------------
% Remove page number from appendix divider page
\makeatletter
\patchcmd{\@chap@pppage}{\thispagestyle{plain}}{\thispagestyle{empty}}{}{}
\makeatother
% Reset counters and add letters to counters on every include
\pretocmd{\include}{\appendixnum}{}{}
% Change pagestyle of appendix to include appendix name in header
\pagestyle{fancyappendix}
% Reformat chapter and section numbering
\appendixchap
\appendixsec
%----------------------------------------------------------
% Appendix divider page (OPTIONAL)
%----------------------------------------------------------
\cleardoublepage
\addappheadtotoc % Add appendix divider page to table of contents
\appendixpage % Add appendix divider page to document
%----------------------------------------------------------
% Prevent sections and subsections from being added to table of contents (OPTIONAL)
%----------------------------------------------------------
\appendixnotocdepth
%----------------------------------------------------------
% Remove figures, tables and listings from list of figures / tables / listings (OPTIONAL)
%----------------------------------------------------------
%\appendixnolists
%----------------------------------------------------------
% Appendix chapters
%----------------------------------------------------------
\begin{appendices}
\include{appendix/1_Beispiel}
\include{appendix/2_Beispiel}
\end{appendices}