-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed appendix structure and include of appendix chapters
- Loading branch information
1 parent
20a5b00
commit 5ba0934
Showing
5 changed files
with
59 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,42 @@ | ||
%---------------------------------------------------------- | ||
% General appendix settings | ||
%---------------------------------------------------------- | ||
|
||
% Remove page number from appendix divider page | ||
\makeatletter | ||
\patchcmd{\@chap@pppage}{\thispagestyle{plain}}{\thispagestyle{empty}}{}{} | ||
\makeatother | ||
|
||
% Appendix page | ||
\appendix | ||
|
||
% 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 | ||
|
||
%---------------------------------------------------------- | ||
% Prevent sections and subsections from being added to table of contents (OPTIONAL) | ||
%---------------------------------------------------------- | ||
|
||
\appendixtoc | ||
|
||
%---------------------------------------------------------- | ||
% Remove figures, tables and listings from LOF, LOT and LOL (OPTIONAL) | ||
%---------------------------------------------------------- | ||
%\let\svaddcontentsline\addcontentsline | ||
%\renewcommand\addcontentsline[3]{% | ||
% \ifthenelse{\equal{#1}{lof}}{}% | ||
% {\ifthenelse{\equal{#1}{lot}}{}% | ||
% {{\ifthenelse{\equal{#1}{lol}}{}{\svaddcontentsline{#1}{#2}{#3}}}}}} | ||
|
||
%\appendixlists | ||
|
||
%---------------------------------------------------------- | ||
% Appendix chapters | ||
% Must always be preceded by \appendixnum | ||
% If only a single figure / table / listing is used can also be preceded by | ||
% \appendixsinglefig, \appendixsingletab or \appendixsinglelst | ||
%---------------------------------------------------------- | ||
|
||
\begin{appendices} | ||
\pagestyle{fancyappendix} | ||
\appendixchap | ||
\appendixsec | ||
\appendixnum | ||
\include{appendix/1_Beispiel} | ||
\appendixnum | ||
\appendixsinglefig | ||
\include{appendix/2_Beispiel} | ||
\end{appendices} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,15 @@ | ||
% If only a single figure / table / listing is used in this chapter | ||
%\appendixsinglefig | ||
%\appendixsingletab | ||
%\appendixsinglelst | ||
|
||
\chapter{Beispiel Anhang Eins} | ||
\label{chp:Beispiel_Anhang_Eins} | ||
|
||
\blindtext | ||
|
||
\section{Abschnitt im Anhang} | ||
|
||
\subsection{Unterabschnitt im Anhang} | ||
|
||
\blindtext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters