Remove empty pages before and after TOC

This commit is contained in:
2019-10-18 16:30:04 +02:00
parent 7b4f9c0833
commit 76d218240e
8 changed files with 8 additions and 102 deletions

View File

@@ -1,18 +0,0 @@
%------------------------------------- Declaration Page ----------------------------
$if(declaration)$
\cleardoublepage
\thispagestyle{empty}
\vspace*{\fill}
\textbf{Eidesstattliche Erklärung}
\noindent{$declaration$}
\vspace{20mm}
\noindent\textit{Minden, den $date$}
$endif$
%------------------------------------- Declaration Page ----------------------------

View File

@@ -1,50 +0,0 @@
%------------------------------------- Custom Title (Back) Page --------------------
%------------------------------------- Custom Title (Back) Page --------------------
%------------------------------------- Custom Abstract Page ------------------------
$if(abstract-de)$
\cleardoublepage
\begin{minipage}{\linewidth}
\chapter*{Zusammenfassung}
%\addcontentsline{toc}{chapter}{Zusammenfassung}
$abstract-de$
$if(abstract-en)$
\chapter*{Abstract}
%\addcontentsline{toc}{chapter}{Abstract}
$abstract-en$
$endif$
\end{minipage}
\cleardoublepage
$endif$
%------------------------------------- Custom Abstract Page ------------------------
%------------------------------------- Acknowledgements Page -----------------------
$if(acknowledgements)$
\chapter*{Danksagung}
%\addcontentsline{toc}{chapter}{Danksagung}
$acknowledgements$
$endif$
%------------------------------------- Acknowledgements Page -----------------------
%------------------------------------- Restriction Note Page -----------------------
$if(restrictionnote)$
\chapter*{Sperrvermerk}
$restrictionnote$
$endif$
%------------------------------------- Restriction Note Page -----------------------
%------------------------------------- Clear page before TOC -----------------------
\cleardoublepage
%------------------------------------- Clear page before TOC -----------------------

View File

@@ -4,9 +4,9 @@ subtitle: "Diseño y Desarrollo de Sistemas de Información"
author: [Amin Kasrou Aouam]
date: "18 Octubre 2019"
logo: /home/coolneng/Pictures/Logos/UGR.png
lang: es-ES
toc: true
toc-own-page: true
lang: es-ES
documentclass: scrbook
classoption:
- open=right

View File

@@ -41,29 +41,13 @@ $endif$
\end{tabular}
}
%------------------------------------- Custom Title Page ---------------------------
%------------------------------------- Custom Title (Back) Page --------------------
%------------------------------------- Custom Title (Back) Page --------------------
%------------------------------------- Patch Eisvogel's frontmatter ----------------
%% Eisvogel template uses `\frontmatter` directly *after* `\maketitle`, thus there is
%% a `\doubleclearpage` after the titlepage, which prevents our title-back-page to be
%% positioned on the backside of the titlepage ...
%% (Pandocs default template uses `\frontmatter` *before* `\maketitle`)
$if(eisvogel)$
\usepackage{xpatch}
\xpretocmd{\frontmatter}{\customtitlebackpage}{}{}
\xapptocmd{\frontmatter}{\setcounter{page}{3}}{}{}
$endif$
%------------------------------------- Patch Eisvogel's frontmatter ----------------
$if(logo)$
\usepackage[export]{adjustbox}
\usepackage{graphicx}
$endif$
%------------------------------------- Workaround for CleanStyle -------------------
%% cleanthesis.sty *will* check the bibfile, even if `configurebiblatex=false` ...
%% So we need to set it appropriately using our metadata variable "cleanthesisbibfile"