From cd22995d1f2abafc70dd543d63833c5bbd9773f7 Mon Sep 17 00:00:00 2001 From: Eric Teunis de Boone Date: Mon, 17 Jul 2023 18:17:46 +0200 Subject: [PATCH] Thesis: emailaddress on titlepage --- documents/thesis/chapters/titlepage.tex | 19 ++++++++++++++++--- documents/thesis/preamble.tex | 5 +++++ documents/thesis/thesis.tex | 4 ++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/documents/thesis/chapters/titlepage.tex b/documents/thesis/chapters/titlepage.tex index 763b0ca..ff81fe3 100644 --- a/documents/thesis/chapters/titlepage.tex +++ b/documents/thesis/chapters/titlepage.tex @@ -6,6 +6,15 @@ {../../../figures/} } + +\def\thesisauthoremail{} +\def\thesissupervisoremail{} +\def\thesissecondreaderemail{} +\newcommand{\titlingemail}[1]{\\\email{#1}} +%\def\thesisauthoremail{\titlingemail{\thesisauthoremailraw}} +%\def\thesissupervisoremail{\titlingemail{\thesissupervisoremailraw}} +%\def\thesissecondreaderemail{\titlingemail{\thesissecondreaderemailraw}} + \begin{document} \begin{titlepage} \thispagestyle{empty} @@ -24,16 +33,20 @@ \begin{minipage}[t]{0.4\textwidth} \begin{flushleft} \large \emph{Author:}\\ - \thesisauthorfirst\space \textsc{\thesisauthorsecond} + \thesisauthorfirst\space \textsc{\thesisauthorsecond}% + \thesisauthoremail \end{flushleft} \end{minipage} ~ \begin{minipage}[t]{0.4\textwidth} \begin{flushright} \large \emph{Supervisor:} \\ - \thesissupervisorfirst\space \textsc{\thesissupervisorsecond} \\[1em] + \thesissupervisorfirst\space \textsc{\thesissupervisorsecond}% + \thesissupervisoremail% + \\[1em] \emph{Second Reader:} \\ - \thesissecondreaderfirst\space \textsc{\thesissecondreadersecond} + \thesissecondreaderfirst\space \textsc{\thesissecondreadersecond}% + \thesissecondreaderemail% \end{flushright} \end{minipage}\\[1cm] %\hrule diff --git a/documents/thesis/preamble.tex b/documents/thesis/preamble.tex index ff1a0de..48707ac 100644 --- a/documents/thesis/preamble.tex +++ b/documents/thesis/preamble.tex @@ -41,6 +41,7 @@ %% >>> +\newcommand{\email}[1]{\href{mailto:#1}{#1}} %% <<< Layout %% @@ -71,10 +72,13 @@ \def\thesissubtitle{} \def\thesisauthorfirst{E.T.} \def\thesisauthorsecond{de Boone} +\def\thesisauthoremailraw{ericteunis@deboone.nl} \def\thesissupervisorfirst{dr. Harm} \def\thesissupervisorsecond{Schoorlemmer} +\def\thesissupervisoremailraw{} \def\thesissecondreaderfirst{dr. Katherine} \def\thesissecondreadersecond{Mulrey} +\def\thesissecondreaderemailraw{} \def\thesisdate{July 2023} \definecolor{radboud}{RGB}{227, 0, 11} @@ -111,6 +115,7 @@ \newcommand{\us}{\text{\textmu s}} \newcommand{\MHz}{\text{MHz}} +\newcommand{\GHz}{\text{GHz}} % >>>> % <<<< Quantities % Notes: diff --git a/documents/thesis/thesis.tex b/documents/thesis/thesis.tex index 26b3357..b45f147 100644 --- a/documents/thesis/thesis.tex +++ b/documents/thesis/thesis.tex @@ -1,12 +1,12 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%% Document %%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\documentclass[notitlepage,a4paper,oneside]{book} +\documentclass[notitlepage,a4paper,oneside,11pt]{book} \input{preamble.tex} \hypersetup{ pdftitle={\begingroup \def\\{\space}{\thesistitle}\endgroup}, - pdfauthor={\begingroup \def\\{\space}{\thesisauthorfirst\space\thesisauthorsecond}\endgroup} + pdfauthor={\begingroup \def\\{\space}{\thesisauthorfirst\space\thesisauthorsecond<\thesisauthoremailraw>}\endgroup} } %%