\setupThesis{
  author={N N och M M},
  swetitle={Undersökning av ett problem},
  swesubtitle={},
  title={Investigations of a problem},
  subtitle={},
  year=2020,
  type=msc,
  subject={Electrical Engineering},
  division={Division of Automatic Control},
  department=isy,
  examiner={Lena Lärare \AT \textsc{isy}, Linköpings universitet},
  supervisor={Doktorand Si \AT \textsc{isy}, Linköpings universitet \AND Ingenjör Så \AT Company},
  keywords={problem, lösning},
  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}%
}


%%% 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}}}}


%%% 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}}}
