% User commands
\title{Mobilt Elektroencefalografi}
%\subtitle{And Perhaps a Subtitle} % Optional
\author{John Croft\and Christoffer Olsson}
\thesisin{Data och -Informationsteknik}
\department{Institutionen för Data och -Informationsteknik}
%\division{Division of Solid Mechanics}
%\reportno{2019:04}
\copyrightyear{2019}

\examiner{Peter Lundin}

% You should scale the figure according to textwidth and or paperheight.
\coverfigure{\includegraphics[width=\textwidth,height=0.4\paperheight,keepaspectratio]{example-image-a}}
\coverfigure{\includegraphics[width=\textwidth,height=0.4\paperheight,keepaspectratio]{include/frontmatter/eeg_illustration.pdf}}
\covercaption{Typisk elektroencefalogram. }

\firstabstract{\input{include/frontmatter/sammanfattning.tex}}
\secondabstract{english}{\input{include/frontmatter/abstract_eng.tex}} % Optional
\keywords{EEG, Python, Raspberry Pi, tkInter, ADC, EDF+}

% \preface{\input{include/frontmatter/forord.tex}}
% \acknowledgements{\input{include/frontmatter/tacksagelse.tex}}

% You can add extra contents such as abbreviations and nomenclature using.
% Use \presectiontitle to render add titles to new sections.
\extrafrontmatter{\presectiontitle{Terminologi} \input{include/frontmatter/terminologi.tex}} % Optional

% Other optional settings for biblatex;
\DeclareFieldFormat[article]{title}{#1} % Removes quotes from article title
\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}} % Makes volume print in bold.
\renewbibmacro{in:}{} % Removes the "In:" from the journals field.
\DeclareFieldFormat[article]{pages}{#1} % Removes the pp. before pages.
% Adds short journal entries;
\renewbibmacro*{journal+issuetitle}{%
  \usebibmacro{shortjournal}%
  \setunit*{\addspace}%
  \iffieldundef{series}{}{\newunit\printfield{series}\setunit{\addspace}}%
  \usebibmacro{volume+number+eid}%
  \setunit{\addspace}%
  \usebibmacro{issue+date}%
  \setunit{\addcolon\space}%
  \usebibmacro{issue}%
  \newunit}
% End of optional citation modifications.

\addbibresource{refs.bib}