\setupThesis{
  author={Jonatan Gezelius},
  swetitle={TODO},
  swesubtitle={},
  title={Automated verification of pulses involving voltages up to 1500~V},
  subtitle={},
  year=2019,
  type=msc,
  subject={Electrical Engineering},
  division={TODO DIVISION},
  department=isy,
  examiner={Michael Josefsson \AT \textsc{isy}, Linköpings universitet},
  supervisor={Peter Johansson \AT \textsc{isy}, Linköpings universitet \AND Gunnar Karlström \AT BK Services AB},
  keywords={verification, measurement, testing},
  isrn=LiTH-ISY-EX-{}-YY/NNNN-{}-SE,
  url={http://urn.kb.se/resolve?urn=urn:nbn:se:liu:diva-XXXXX},
  dedication={}
}

%%% Since macros that define notation may be useful also to produce figures, these macros are kept in a separate file.
\RequirePackage{mynotation}

%%% Setup for natbib (natbib is loaded by rtthesis).
\AtBeginDocument{%
  %\bibliographystyle{plainnat}%
  %\bibliographystyle{unsrtnat}%
  \bibliographystyle{ieeetr}%
}

%%% Egna inställningar %%%%
\setlength{\parindent}{0em}
\setlength{\parskip}{1em}

%%% Tell \includegraphics where to search for files.
\graphicspath{{fig/}}


%%% For consistent formatting of lengths and other physical quantities.
\RequirePackage[squaren]{SIunits}


%%% Define command for playing around with margin paragraphs.
\definecolor{Warning}{rgb}{1.0,0.5,0.0}
\newcommand{\Warning}[2][Warning]{\marginpar{\fcolorbox{Warning}{white}{\begin{minipage}{\linewidth}\textbf{\textcolor{Warning}{\emph{#1:}}}\par \tiny \sf #2\end{minipage}}}}

%%% Convenient todo command
\usepackage{xifthen}
\newcommand{\todo}[1][]{%
    \ifthenelse{\equal{#1}{}}% if no argument given
        { \emph{TODO}\Warning[TODO]{}}%
    %else
        {\emph{\uppercase{TODO}}\Warning[TODO]{#1}}%
}

%%% Define font size command to use for all verbatim environments.
\newcommand{\verbatimsize}{\small}

%%% Define some convenient referencing commands.
\newcommand{\chapterref}[1]{\hyperref[#1]{kapitel~\ref*{#1}}}
\newcommand{\Chapterref}[1]{\hyperref[#1]{Kapitel~\ref*{#1}}}

\newcommand{\sectionref}[1]{\hyperref[#1]{avsnitt~\ref*{#1}}}
\newcommand{\Sectionref}[1]{\hyperref[#1]{Avsnitt~\ref*{#1}}}

\newcommand{\theoremref}[1]{\hyperref[#1]{teorem~\ref*{#1}}}
\newcommand{\Theoremref}[1]{\hyperref[#1]{Teorem~\ref*{#1}}}

\newcommand{\exampleref}[1]{\hyperref[#1]{exempel~\ref*{#1}}}
\newcommand{\Exampleref}[1]{\hyperref[#1]{Exempel~\ref*{#1}}}

\newcommand{\figureref}[1]{\hyperref[#1]{figur~\ref*{#1}}}
\newcommand{\Figureref}[1]{\hyperref[#1]{Figur~\ref*{#1}}}

\newcommand{\tableref}[1]{\hyperref[#1]{tabell~\ref*{#1}}}
\newcommand{\Tableref}[1]{\hyperref[#1]{Tabell~\ref*{#1}}}

\newcommand{\pagepageref}[1]{\hyperref[#1]{sida~\pageref*{#1}}}
