Skip to content
Snippets Groups Projects
Commit 963c46dc authored by Franz Zieris's avatar Franz Zieris
Browse files

fix: use arabic page numbers from first page

parent 484b34f9
No related branches found
No related tags found
No related merge requests found
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{agse-thesis}[2017/05/23 v0.1 AGSE Thesis]
\ProvidesClass{agse-thesis}[2018/10/17 v0.1.1 AGSE Thesis]
%%% Read options
% Language: Default is German
......@@ -166,32 +166,6 @@
{\endquotation}%
}{}
% (Re)define frontmatter and mainmatter
\ifthenelse{\equal{\baseClass}{book}}{
\let\frontmatterOrig\frontmatter
\renewcommand{\frontmatter}{
\frontmatterOrig
\pagestyle{plain}
}
\let\mainmatterOrig\mainmatter
\renewcommand{\mainmatter}{
\mainmatterOrig
\pagestyle{fancy}
\setcounter{page}{1}
}
}{
\newcommand{\frontmatter}{
\pagestyle{plain}
\pagenumbering{roman}
\setcounter{page}{1}
}
\newcommand{\mainmatter}{
\pagestyle{fancy}
\pagenumbering{arabic}
\setcounter{page}{1}
}
}
\RequirePackage{xstring}
\RequirePackage{etoolbox}
\newcommand{\coverpage}[2][]{
......@@ -246,10 +220,19 @@
Berlin, \thesisDate
\end{center}
\ifcsdef{separateAbstract}{\cleardoublepage\frontmatter}{\vfill}
\begin{abstract}
#2
\end{abstract}
\cleardoublepage
\ifcsdef{separateAbstract}{}{\frontmatter}
\ifcsdef{separateAbstract}{% abstract on separate page
\cleardoublepage
\pagestyle{plain}
\begin{abstract}
#2
\end{abstract}
\cleardoublepage
}{% abstract on title page
\vfill
\begin{abstract}
#2
\end{abstract}
\cleardoublepage
\pagestyle{plain}
}
}
......@@ -57,7 +57,9 @@
\cleardoublepage
\mainmatter
\pagestyle{fancy}
% Actual content starts here
\input{1_introduction}
\input{2_fundamentals}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment