Commit 38f75742 authored by Andreas Zwinkau's avatar Andreas Zwinkau
Browse files

Add missing PPaushang.sty files

parent b47ab798
\ProvidesPackage{PPaushang}
\newif\ifKIT@color\KIT@colorfalse
\DeclareOption{color}{\KIT@colortrue}
\ProcessOptions
\RequirePackage{uarial}
\RequirePackage[TS1,T1]{fontenc}
\RequirePackage{tikz}
\RequirePackage{KITcolors}
\RequirePackage{bophook}
\RequirePackage{calc}
\RequirePackage[a4paper]{geometry}
\RequirePackage{hyperref}
\ifKIT@color
\def\KIT@logo{kit_logo_de_4c_positiv}
\def\KIT@markcolor{KITgreen}
\else
\def\KIT@logo{kit_logo_de_1c_schwarz}
\def\KIT@markcolor{KITblack}
\fi
\newcommand{\KIT@marksymbol}[1][\KIT@markcolor]{%
\tikz \filldraw[#1] (0cm,7cm)
-- (0cm,2cm) arc(180:270:2cm) -- (7cm,0cm)
-- (7cm,5cm) arc( 0: 90:2cm) -- cycle;}
\let\KITmark=\KIT@marksymbol
\newcommand{\KIT@mark}{\resizebox{1ex}{1ex}{\KIT@marksymbol}}
%%% Paper dimensions and page layout
\setlength{\hoffset}{0mm}
\setlength{\voffset}{0mm}
\setlength{\oddsidemargin}{-1in+20mm}
\setlength{\evensidemargin}{-1in+20mm}
\setlength{\topmargin}{-1in+20mm}
\setlength{\headheight}{0mm}
\setlength{\headsep}{0mm}
\setlength{\topskip}{0mm}
\setlength{\footskip}{8mm}
\setlength{\textwidth}{170mm}
\setlength{\textheight}{250mm}
\setlength{\parindent}{0mm}
\let\labelitemi=\KIT@mark
\let\labelitemii=\labelitemi
\let\labelitemiii=\labelitemii
\let\labelitemiv=\labelitemiii
\renewcommand{\familydefault}{\sfdefault}
%%% KIT media frame
\newlength{\KIT@Framewd}
\newlength{\KIT@MFllx}
\newlength{\KIT@MFlly}
\newlength{\KIT@MFurx}
\newlength{\KIT@MFury}
\KIT@Framewd=5mm
\KIT@MFllx=10mm
\KIT@MFurx=200mm
\KIT@MFlly=16.5mm
\KIT@MFury=287mm
\newcommand{\KIT@MFrameRA}{%
\draw[KITblack,line width=.5pt] (\KIT@MFllx,\KIT@MFury)
-- (\KIT@MFllx,\KIT@MFlly+\KIT@Framewd)
arc(180:270:\KIT@Framewd)
-- (\KIT@MFurx,\KIT@MFlly)
-- (\KIT@MFurx,\KIT@MFury-\KIT@Framewd)
arc( 0: 90:\KIT@Framewd) -- cycle;
}
%% Copied from article.cls (removed \newpage)
\renewcommand\@maketitle{%
\begin{center}%
\let \footnote \thanks
{\LARGE \@title \par}%
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1em%
{\large \@date}%
\end{center}%
\par
\vskip 1.5em}
\renewcommand\maketitle{\par
\begingroup
\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
\long\def\@makefntext##1{\parindent 1em\noindent
\hb@xt@1.8em{%
\hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
\if@twocolumn
\ifnum \col@number=\@ne
\@maketitle
\else
\twocolumn[\@maketitle]%
\fi
\else
\global\@topnum\z@ % Prevents figures from going at top of page.
\@maketitle
\fi
\thispagestyle{plain}\@thanks
\endgroup
\setcounter{footnote}{0}%
\global\let\thanks\relax
\global\let\maketitle\relax
\global\let\@maketitle\relax
\global\let\@thanks\@empty
\global\let\@author\@empty
\global\let\@date\@empty
\global\let\@title\@empty
\global\let\title\relax
\global\let\author\relax
\global\let\date\relax
\global\let\and\relax
}
% KIT-Logo on first page only
\AtBeginDocument{%
\begin{tikzpicture}
\useasboundingbox (10mm, -10mm) rectangle (10mm, -10mm);
\pgftext[at=\pgfpoint{10mm}{-6mm},left,top]
{\includegraphics[width=40.2mm]{\KIT@logo}}
\pgftext[at=\pgfpoint{10mm}{-277mm},left,base]
{\fontsize{6pt}{8pt}\selectfont
KIT -- Universit\"at des Landes Baden-W\"urttemberg und
nationales Forschungszentrum in der Helmholtz-Gemeinschaft}
\pgftext[at=\pgfpoint{180mm}{-6mm},right,top]
{\includegraphics[height=18mm]{stlogo-600dpi}}
\pgftext[at=\pgfpoint{85mm}{-6mm},left,top]
{\fontsize{8pt}{10pt}\selectfont
\parbox[t]{75mm}{
{\bfseries Institut f\"ur Programmstrukturen und Datenorganisation\\
Lehrstuhl Programmierparadigmen}\\
Am Fasanengarten 5\\
76131 Karlsruhe\\
\url{http://pp.ipd.kit.edu/}
}}
\end{tikzpicture}%
\vspace{20mm}
}%
% Media frame on every page
\AtBeginPage{%
\begin{tikzpicture}
\useasboundingbox (0mm, 0mm) rectangle (210mm, 297mm);
\KIT@MFrameRA
\pgftext[at=\pgfpoint{190mm}{10mm},right,base]
{\fontsize{15pt}{18pt}\selectfont\bfseries\color{KITblack}www.kit.edu}
\end{tikzpicture}%
}%
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment