Commit ba5a1178 authored by Dominik Kaaser's avatar Dominik Kaaser
Browse files

hide content of preface environment for proposal

parent 0d16ef29
......@@ -22,6 +22,9 @@
\def\backmatter{}
\let\orig@subject\subject
\def\subject#1{\orig@subject{#1 Proposal}}
\def\tableofcontents{}
\def\listoffigures{}
\def\listoftables{}
\fi
\PassOptionsToPackage{a4paper, right=40mm, left=20mm, top=40mm, bottom=40mm, headsep=10mm, footskip=20mm, headheight=10mm, nomarginpar, bindingoffset=20mm}{geometry}
......@@ -196,12 +199,18 @@ Supervisors:
}
% Abstract
\ifproposal
\RequirePackage{comment}
\excludecomment{preface}
\excludecomment{abstract}
\else
\newenvironment{preface}[1]{\markboth{#1}{}%
\chapter*{#1}%
\addcontentsline{toc}{chapter}{#1}}
{\ifproposal\else\cleardoublepage\fi}
{\cleardoublepage}
\newenvironment{abstract}{\preface{Abstract}}{\endpreface}
\fi
% Biblatex
\PassOptionsToPackage{style=alphabetic,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment