\usepackage[ngerman]{babel}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage[right]{eurosym}
\usepackage{pgfgantt}
\usepackage{SIunits}
\usepackage{enumitem}

%%%%% hyperref %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[breaklinks=true,colorlinks=true,citecolor=blue!30!black,urlcolor=blue!30!black,linkcolor=blue!30!black]{hyperref}
\newcommand{\email}[1]{\href{mailto:#1}{#1}}

\definecolor{dfgblau}{cmyk}{1,0.7,0,0}
%%%%% page layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[left=25mm, right=25mm, top=25mm, bottom=25mm]{geometry}
\usepackage{lastpage}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\fancyhead[RO, LE]{\footnotesize{page \thepage\ of \pageref{LastPage}}}
\fancyhead[LO, RE]{\footnotesize{DFG form 53.01 – 09/22}}

\fancypagestyle{plain}{%
  \fancyhf{}
  \fancyhead[RO, LE]{\footnotesize{page \thepage\ of \pageref{LastPage}}}
  \fancyhead[LO, RE]{\footnotesize{DFG form 53.200 --- 03/23}}
  \fancyfoot[LO, RE]{\begin{minipage}[c]{0.74\columnwidth}
  \footnotesize{\textcolor{dfgblau}{Deutsche Forschungsgemeinschaft}\\
  Kennedyallee 40 $\cdot$ 53175 Bonn $\cdot$ postal address: 53170 Bonn\\
  phone: + 49 228 885-1 $\cdot$ fax: + 49 228 885-2777 $\cdot$ \email{postmaster@dfg.de} $\cdot$ \url{www.dfg.de}}
  \end{minipage}
  \begin{minipage}[c]{0.24\columnwidth}
  \includegraphics[width=\textwidth]{DFG_logo.png}
  \end{minipage}
  }  
  \renewcommand{\headrulewidth}{0pt}
}
\title{}
\date{}
\author{}

%%%%% "Arial" font %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\familydefault}{\sfdefault}
\usepackage{helvet}

%%%%% sectioning %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{titlesec}
\setcounter{secnumdepth}{2}
\titleformat{\paragraph}
{\normalfont\normalsize\bfseries\itshape}{\theparagraph}{1em}{}
\titlespacing*{\paragraph}
{0pt}{1ex plus 3ex minus .2ex}{0.5ex plus .2ex}

%%%%% checkbox %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{wasysym}

%%%%% bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[natbib=true, backend=bibtex, sorting=nyt, style=authoryear, dashed=false, firstinits=true, maxcitenames=2, maxbibnames=20, url=false, doi=false]{biblatex}
\DeclareNameAlias{sortname}{last-first}
\DeclareFieldFormat[article,inbook]{title}{#1}
\renewbibmacro{in:}{\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}
\newcommand{\bibemph}[1]{#1}

\DeclareBibliographyCategory{ownpubs}
\DeclareBibliographyCategory{otherpubs}

\AtEveryBibitem{\ifcategory{ownpubs}{}{\clearfield{title}}}

\newcommand{\addownpubs}[1]{\addtocategory{ownpubs}{#1}\nocite{#1}}
\newcommand{\addotherpubs}[1]{\addtocategory{otherpubs}{#1}\nocite{#1}}

\bibliography{publications,references}

