
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Fonts and typesetting
%
  \usepackage[T1]{fontenc}
  \usepackage{lmodern}
  \usepackage{charter}
%  \renewcommand{\sfdefault}{cmbr}
  \usepackage[scaled=0.85]{beramono}
  \usepackage{csquotes}
  \MakeOuterQuote{"}

  \usepackage{slashed}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% beamer and beamertools setup
%
  \usecolortheme{rose}
  \usetheme{i4}
  \setbeamertemplate{navigation symbols}{}
  \PassOptionsToPackage{adjustbox}{export}
  \usepackage{beamertools}
  \btset{every block/.append style={shaded transition=false, align=center}}

  \newcommand{\InsertAgenda}[1][\empty]{
    \frame{
      \frametitle{Agenda}
      \tableofcontents[sectionstyle=show/shaded, #1]
    }
  }
  \def\InsertFrameNumber{\insertframenumber}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TikZ setup
%
  \usepackage{tikz}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Misc
%
  \usepackage{calc,linegoal}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% biblatex setup
%
\usepackage[doi=true,style=alphabetic,isbn=true,abbreviate=false,maxbibnames=99,mincrossrefs=999,sortcites]{biblatex}

    % basic formatting
    \defbibheading{bibliography}{}
    \renewcommand{\bibfont}{\scriptsize}
    \DeclareFieldFormat{postnote}{#1}

    % define \citeautor*, which prints out only the firstauthor, regardless of the maxnames setting
    \DeclareCiteCommand*{\citeauthor}
      {\defcounter{maxnames}{1}%
       \defcounter{minnames}{1}%
       \boolfalse{citetracker}%
       \boolfalse{pagetracker}%
       \usebibmacro{prenote}}
      {\ifciteindex
         {\indexnames{labelname}}
         {}%
       \printnames{labelname}}
      {\multicitedelim}
      {\usebibmacro{postnote}}

    \bibliography{references}

    % tailor content of bib entries
    \AtEveryBibitem{
      \clearfield{month}
      \clearfield{series}
      \clearfield{venue} % <- removed
      \clearfield{eventday}
      \clearfield{isbn}
      \clearfield{eventmonth}
      % \clearfield{eventyear}
      % \clearfield{pages} % <- removed
      \clearname{editor}
      % \clearlist{publisher}
      \clearlist{location} % alias to field 'address'
    }
  \fi

%
% End of preamble
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

