dfg_templates/lebenslauf/header.tex

88 lines
3.3 KiB
TeX
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

\usepackage{xcolor}
\usepackage{graphicx}
\usepackage[right]{eurosym}
\usepackage{tabularx}
%%%%% colors %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definecolor{dfgblau}{cmyk}{1,0.7,0,0}
\definecolor{silver}{cmyk}{0.0, 0.0, 0.0, 0.5}
%%%%% page layout %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[left=25mm, right=25mm, top=23mm, bottom=25mm, head=14pt,
footskip=13mm]{geometry}
\usepackage{lastpage}
\usepackage{fancyhdr}
\renewcommand{\headrulewidth}{0pt}
\fancypagestyle{dfgfront}{
\fancyhf{}
\fancyhead[RO, LE]{{\footnotesize page \thepage\ of \pageref{LastPage}}}
\fancyhead[LO, RE]{{\footnotesize DFG form 53.200 03/22}}
\fancyfoot[LO, RE]{\begin{minipage}[c]{0.74\textwidth}
\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}\hfill
\begin{minipage}[c]{0.15\textwidth}
\includegraphics[trim=15 10 15 10,clip,width=1\linewidth]{DFG_logo.png}
\end{minipage}}
}
\fancypagestyle{dfgplain}{
\fancyhf{}
\fancyhead[RO, LE]{{\footnotesize page \thepage\ of \pageref{LastPage}}}
\fancyhead[LO, RE]{{\footnotesize DFG form 53.200 03/22}}
}
\pagestyle{dfgplain}
\thispagestyle{dfgfront}
\title{}
\date{}
\author{}
%%%%% "Arial" font %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{sansmathfonts}
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%%%%% hyphenation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hyphenation{}
%%%%% 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}
\setcounter{secnumdepth}{0}
\renewcommand{\arraystretch}{1.2}
%%%%% checkbox %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{wasysym}
%%%%% bibliography %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{bibentry}
\usepackage[natbib=true, backend=bibtex, sorting=nyt, style=authoryear, dashed=false, firstinits=true, maxcitenames=50, maxbibnames=50, url=false, doi=true]{biblatex}
\DeclareNameAlias{sortname}{last-first}
\DeclareFieldFormat[article,inbook]{title}{#1}
\renewbibmacro{in:}{\ifentrytype{article}{}{\printtext{\bibstring{in}\intitlepunct}}}
\newcommand{\bibemph}[1]{#1}
\DeclareBibliographyCategory{categoryA}
\DeclareBibliographyCategory{categoryB}
\newcommand{\addcatapub}[1]{\addtocategory{categoryA}{#1}\nocite{#1}}
\newcommand{\addcatbpub}[1]{\addtocategory{categoryB}{#1}\nocite{#1}}
\bibliography{my_publications}
%%%%% notes %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{ifthen}
\newcommand{\note}[2][]{{\textcolor{silver}{\itshape[\ifthenelse{\equal{#1}{}}{}{#1: }#2]}}}
\newcommand{\important}[1]{\textcolor{red}{#1}}
%%%%% 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}}