ADD: started HSU IFF proposal class

This commit is contained in:
Dominik Meyer 2018-11-08 10:26:45 +01:00
parent 616d1b004b
commit 08af9e85b5
No known key found for this signature in database
GPG Key ID: B4C312B600606B64
3 changed files with 109 additions and 0 deletions

BIN
IFFHSU/HSU_Logo.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 736 KiB

16
IFFHSU/iffpdata.sty Normal file
View File

@ -0,0 +1,16 @@
%%
%% This is file `dfgpdata.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% dfgproposal.dtx (with options: `pdata')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{iffpdata}[2016/12/15 v1.4 DFG Project Data]
\define@key{prop@gen}{I}{\@dmp{I=#1}%
\@ifundefined{prop@gen@Is}{\xdef\prop@gen@Is{#1}}{\xdef\prop@gen@Is{\prop@gen@Is,#1}}}
\endinput
%%
%% End of file `dfgpdata.sty'.

93
IFFHSU/iffproposal.cls Normal file
View File

@ -0,0 +1,93 @@
%%
%% This is file `dfgproposal.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% dfgproposal.dtx (with options: `cls')
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesClass{iffproposal}[2018/11/06 v0.1 IFF HSU Proposal]
\ProcessOptions%
\LoadClass{dfgproposal}%
\pagestyle{empty}%
\geometry{left=2cm, right=2cm}%
\definecolor{hsu}{HTML}{a50034}
\RequirePackage{mathptmx}
\RequirePackage[T1]{fontenc}
\RequirePackage{scrextend}
\RequirePackage{iffpdata}
\RequirePackage{tabularx}
\RequirePackage{booktabs}
\renewenvironment{prop@proposal}%
{%
\tikz[overlay,remember picture] \node[opacity=1.0, at = (current page.north), xshift=7.5cm, yshift=-2.5cm] {\includegraphics[height=2.5cm]{HSU_Logo.jpg}};
\begin{center}
\vspace*{2cm}
\large
\color{hsu}
\textbf{
Interne Forschungsförderung 2019 (IFF-2019) \\
der Helmut-Schmidt-Universität / Universität der Bundeswehr Hamburg \\
(HSU/UniBw H)}
\end{center}
\begin{center}
\textbf{Antragsformular}
\end{center}
\hspace*{\fill} (Version 171017)
\vspace*{1cm}
\noindent
An den \\
Vizepräsidenten Forschung \\
Prof. Dr. R. Lammering \\
Fakultät Maschinenbau \\
\noindent\underline{über} \\
Forschungsreferent\\
Dr. Urny \\
Präsidialbereich \\
\vspace*{1cm}
\noindent
\textbf{\prop@gen@title}
\section{Angaben zu den Antragstellern der HSU/UniBw H}
\subsection{Hauptantragsteller/in}
\begin{addmargin}[1cm]{2cm}
\@for\@I:=\prop@gen@PIs\do{%
\renewcommand{\a}{\@nameuse{wa@person@\@I @affiliation}}
\renewcommand{\d}{\@nameuse{wa@person@\@I @department}}
Name: \@nameuse{wa@person@\@I @personaltitle} \@nameuse{wa@person@\@I @name}\\
Fakultät: \@nameuse{wa@institution@\a @name} \\
Professur: \@nameuse{wa@institution@\d @name} \\
Telefon: \@nameuse{wa@person@\@I @worktel} \\
E-Mail: \@nameuse{wa@person@\@I @email} \\
}
\end{addmargin}
\scalebox{2}{\Square}~~Nachwuchswissenschaftler/in, Aufstockung der eigenen Stelle \\
\hspace*{0.7cm}Untertitel, der aufgestockt werden soll:
\subsection{Mitantragsteller/innen an der HSU/UniBw H}
\begin{tabular}{l|l|l|l|l|}
\toprule
Name & Fakultät & Professur & Telefon & E-Mail \\
\midrule
\@for\@I:=\prop@gen@Is\do{%
\renewcommand{\a}{\@nameuse{wa@person@\@I @affiliation}}
\renewcommand{\d}{\@nameuse{wa@person@\@I @department}}
\@nameuse{wa@person@\@I @personaltitle} \@nameuse{wa@person@\@I @name} &
\@nameuse{wa@institution@\a @name} &
\@nameuse{wa@institution@\d @name} &
\@nameuse{wa@person@\@I @worktel} &
\@nameuse{wa@person@\@I @email} \\
\midrule
}
\bottomrule
\end{tabular}
}
{}%
\endinput%
%%