From 6a8654466cbef02e8a597481007761a4ed125fd2 Mon Sep 17 00:00:00 2001 From: Jan Grewe Date: Tue, 7 Mar 2023 15:56:15 +0100 Subject: [PATCH] email and url fixes, simplify footer --- dfg_sachbeihilfe_spp.tex | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/dfg_sachbeihilfe_spp.tex b/dfg_sachbeihilfe_spp.tex index c89ef0e..7fc81e2 100644 --- a/dfg_sachbeihilfe_spp.tex +++ b/dfg_sachbeihilfe_spp.tex @@ -9,6 +9,10 @@ \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} @@ -16,18 +20,16 @@ \usepackage{fancyhdr} \pagestyle{fancy} \fancyhf{} -\fancyhead[RO, LE]{page \thepage\ of \pageref{LastPage}} -\fancyhead[LO, RE]{DFG form 53.01 – 09/22} -\fancyfoot[LO, RE]{\begin{minipage}[c]{0.66\textwidth} +\fancyhead[RO, LE]{\small{page \thepage\ of \pageref{LastPage}}} +\fancyhead[LO, RE]{\small{DFG form 53.01 – 09/22}} +\fancyfoot[LO, RE]{\begin{minipage}[c]{0.7\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$ postmaster\@dfg.de $\cdot$ www.dfg.de} + 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.05\textwidth} + \begin{minipage}[c]{0.29\textwidth} \hfill{} - \end{minipage} - \begin{minipage}[c]{0.27\textwidth} - \includegraphics[width=0.8\textwidth]{DFG_logo.png} + \includegraphics[width=0.7\textwidth]{DFG_logo.png} \end{minipage} } @@ -116,9 +118,6 @@ \newcommand{\ba}{\begin{eqnarray}} \newcommand{\ea}{\end{eqnarray}} \newcommand{\lr}[1]{\left\langle #1 \right\rangle} -%%%%% hyperref %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage[breaklinks=true,colorlinks=true,citecolor=blue!30!black,urlcolor=blue!30!black,linkcolor=blue!30!black]{hyperref} - %%%%% fish species %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \newcommand{\Albi}{\textit{Apteronotus albifrons}} \newcommand{\albi}{\textit{A. albifrons}}