cat/doc/chalmerstitle.sty

141 lines
4.2 KiB
Plaintext
Raw Normal View History

2017-12-02 00:34:04 +00:00
% Requires: hypperref
\ProvidesPackage{chalmerstitle}
2018-04-26 08:22:15 +00:00
%% \RequirePackage{kvoptions}
%% \SetupKeyvalOptions{
%% family=ct,
%% prefix=ct@
%% }
%% \DeclareStringOption{authoremail}
%% \DeclareStringOption{supervisor}
%% \DeclareStringOption{supervisoremail}
%% \DeclareStringOption{supervisordepartment}
%% \DeclareStringOption{cosupervisor}
%% \DeclareStringOption{cosupervisoremail}
%% \DeclareStringOption{cosupervisordepartment}
%% \DeclareStringOption{examiner}
%% \DeclareStringOption{examineremail}
%% \DeclareStringOption{examinerdepartment}
%% \DeclareStringOption{institution}
%% \DeclareStringOption{department}
%% \DeclareStringOption{researchgroup}
%% \DeclareStringOption{subtitle}
%% \ProcessKeyvalOptions*
2017-12-02 00:34:04 +00:00
\newcommand*{\authoremail}[1]{\gdef\@authoremail{#1}}
\newcommand*{\supervisor}[1]{\gdef\@supervisor{#1}}
\newcommand*{\supervisoremail}[1]{\gdef\@supervisoremail{#1}}
\newcommand*{\supervisordepartment}[1]{\gdef\@supervisordepartment{#1}}
2017-12-02 00:34:04 +00:00
\newcommand*{\cosupervisor}[1]{\gdef\@cosupervisor{#1}}
\newcommand*{\cosupervisoremail}[1]{\gdef\@cosupervisoremail{#1}}
\newcommand*{\cosupervisordepartment}[1]{\gdef\@cosupervisordepartment{#1}}
\newcommand*{\examiner}[1]{\gdef\@examiner{#1}}
\newcommand*{\examineremail}[1]{\gdef\@examineremail{#1}}
\newcommand*{\examinerdepartment}[1]{\gdef\@examinerdepartment{#1}}
2017-12-02 00:34:04 +00:00
\newcommand*{\institution}[1]{\gdef\@institution{#1}}
\newcommand*{\department}[1]{\gdef\@department{#1}}
\newcommand*{\researchgroup}[1]{\gdef\@researchgroup{#1}}
2018-04-26 08:22:15 +00:00
\newcommand*{\subtitle}[1]{\gdef\@subtitle{#1}}
2018-05-08 00:00:23 +00:00
%% FRONTMATTER
\newcommand*{\myfrontmatter}{%
2018-05-10 12:10:11 +00:00
%% \newgeometry{top=3cm, bottom=3cm,left=2.25 cm, right=2.25cm}
2018-09-11 13:16:14 +00:00
\AddToShipoutPicture*{\backgroundpic{-4}{56.7}{assets/frontpage_gu_eng.pdf}}
\ClearShipoutPicture
\addtolength{\voffset}{2cm}
2018-05-02 11:24:01 +00:00
\begingroup
2018-05-07 22:25:34 +00:00
\thispagestyle{empty}
2018-05-01 19:26:20 +00:00
{\Huge\@title}\\[.5cm]
2018-05-09 10:33:58 +00:00
{\Large A formalization of category theory in Cubical Agda}\\[6cm]
2018-05-01 19:26:20 +00:00
\begin{center}
2018-05-29 13:14:27 +00:00
\includegraphics[width=\linewidth,keepaspectratio]{assets/isomorphism.pdf}
2018-05-28 15:32:56 +00:00
%% \includepdf{isomorphism.pdf}
2018-05-01 19:26:20 +00:00
\end{center}
% Cover text
\vfill
%% \renewcommand{\familydefault}{\sfdefault} \normalfont % Set cover page font
2018-05-07 08:13:13 +00:00
{\Large\@author}\\[.5cm]
Master's thesis in Computer Science
\endgroup
2018-05-01 19:26:20 +00:00
%% \end{titlepage}
% BACK OF COVER PAGE (BLANK PAGE)
\newpage
2018-05-08 00:00:23 +00:00
%% \newgeometry{a4paper} % Temporarily change margins
2018-09-11 13:16:14 +00:00
\restoregeometry
2018-05-01 19:26:20 +00:00
\thispagestyle{empty}
\null
2018-05-08 00:00:23 +00:00
}
2018-05-01 19:26:20 +00:00
2017-12-02 00:34:04 +00:00
\renewcommand*{\maketitle}{%
2018-05-10 12:10:11 +00:00
%% \begin{titlepage}
2017-12-02 00:34:04 +00:00
% TITLE PAGE
\newpage
\thispagestyle{empty}
2017-12-02 00:34:04 +00:00
\begin{center}
\textsc{\LARGE Master's thesis \the\year}\\[4cm] % Report number is currently not in use
\textbf{\LARGE \@title} \\[1cm]
{\large \@subtitle}\\[1cm]
{\large \@author}
\vfill
\centering
2018-05-30 23:07:05 +00:00
\includegraphics[width=0.2\pdfpagewidth]{assets/logo_eng.pdf}
\vspace{5mm}
2018-05-01 19:26:20 +00:00
\textsc{Department of Computer Science and Engineering}\\
\textsc{{\@researchgroup}}\\
%Name of research group (if applicable)\\
\textsc{\@institution} \\
2018-05-01 19:26:20 +00:00
\textsc{Gothenburg, Sweden \the\year}\\
\end{center}
2017-12-02 00:34:04 +00:00
% IMPRINT PAGE (BACK OF TITLE PAGE)
\newpage
\thispagestyle{plain}
2018-04-26 08:22:15 +00:00
\textit{\@title}\\
\@subtitle\\
2018-05-07 08:13:13 +00:00
\copyright\ \the\year ~ \textsc{\@author}
2018-04-26 08:22:15 +00:00
\vspace{4.5cm}
\setlength{\parskip}{0.5cm}
\textbf{Author:}\\
\@author\\
\href{mailto:\@authoremail>}{\texttt{<\@authoremail>}}
\textbf{Supervisor:}\\
\@supervisor\\
\href{mailto:\@supervisoremail>}{\texttt{<\@supervisoremail>}}\\
\@supervisordepartment
\textbf{Co-supervisor:}\\
\@cosupervisor\\
\href{mailto:\@cosupervisoremail>}{\texttt{<\@cosupervisoremail>}}\\
\@cosupervisordepartment
\textbf{Examiner:}\\
\@examiner\\
\href{mailto:\@examineremail>}{\texttt{<\@examineremail>}}\\
2018-04-26 08:22:15 +00:00
\@examinerdepartment
2018-04-26 08:22:15 +00:00
\vfill
Master's Thesis \the\year\\ % Report number currently not in use
\@department\\
%Division of Division name\\
%Name of research group (if applicable)\\
\@institution\\
SE-412 96 Gothenburg\\
2018-04-26 08:22:15 +00:00
Telephone +46 31 772 1000 \setlength{\parskip}{0.5cm}\\
% Caption for cover page figure if used, possibly with reference to further information in the report
%% Cover: Wind visualization constructed in Matlab showing a surface of constant wind speed along with streamlines of the flow. \setlength{\parskip}{0.5cm}
%Printed by [Name of printing company]\\
Gothenburg, Sweden \the\year
2017-12-02 00:34:04 +00:00
2018-05-10 12:10:11 +00:00
%% \restoregeometry
%% \end{titlepage}
}