added all files
Signed-off-by: Jochen Mehlich <coding@jochenmehlich.de>
This commit is contained in:
parent
3863150281
commit
a38ec4ea35
BIN
letter.pdf
Normal file
BIN
letter.pdf
Normal file
Binary file not shown.
173
letterhead.lco
Normal file
173
letterhead.lco
Normal file
@ -0,0 +1,173 @@
|
||||
% export configuration
|
||||
\@setplength{toaddrhpos}{27mm}
|
||||
\@setplength{toaddrwidth}{92mm}
|
||||
\@setplength{sigindent}{0mm}
|
||||
\setlength{\parindent}{0mm}
|
||||
|
||||
\renewcommand*{\raggedsignature}{\raggedright}
|
||||
\renewcommand{\familydefault}{\sfdefault}
|
||||
|
||||
\KOMAoptions{%
|
||||
fromrule=false,
|
||||
numericaldate=true,
|
||||
fromlogo=true
|
||||
}
|
||||
|
||||
% packages
|
||||
\RequirePackage[utf8]{inputenc}
|
||||
\RequirePackage{scrlayer-scrpage}
|
||||
\RequirePackage{microtype}
|
||||
\RequirePackage{ellipsis}
|
||||
\RequirePackage{fixltx2e}
|
||||
\RequirePackage{eurosym}
|
||||
\RequirePackage{pgf}
|
||||
\RequirePackage{tikz}
|
||||
\RequirePackage{xcolor}
|
||||
\RequirePackage[english, ngerman]{babel}
|
||||
\RequirePackage{lastpage}
|
||||
\RequirePackage{eso-pic}
|
||||
\RequirePackage{graphicx}
|
||||
\RequirePackage[left=1in,right=1in,bottom=1in,top=1in,includeheadfoot]{geometry}
|
||||
|
||||
% colors
|
||||
\definecolor{uniblue}{rgb}{0,0.27,0.49}
|
||||
\def\grau{0.4}
|
||||
|
||||
% variable definitions and declarations
|
||||
\newkomavar[Universität]{university}
|
||||
\setkomavar{university}{Otto-Friedrich-Universität Bamberg}
|
||||
|
||||
\newkomavar[Institut]{department}
|
||||
\setkomavar{department}{Fakultät Wirtschaftsinformatik und Angewandte Informatik}
|
||||
|
||||
\newkomavar[Fachschaft]{union}
|
||||
\setkomavar{union}{Fachschaft Wirtschaftsinformatik und Angewandte Informatik}
|
||||
|
||||
\newkomavar[Fachschaft (Kurzbezeichnung)]{union_short}
|
||||
\setkomavar{union_short}{Fachschaft WIAI}
|
||||
|
||||
\newkomavar[Raum]{office}
|
||||
\setkomavar{office}{WE5/02.104}
|
||||
|
||||
\newkomavar[Paketadresse]{parceladdress}
|
||||
\setkomavar{parceladdress}{%\\
|
||||
\usekomavar{union_short}\\
|
||||
\usekomavar{university}\\
|
||||
Kapuzinerstr. 16\\
|
||||
96047 Bamberg
|
||||
}
|
||||
|
||||
\newkomavar[Besuchsadresse]{visitoraddress}
|
||||
\setkomavar{visitoraddress}{%
|
||||
\usekomavar{union_short}\\
|
||||
An der Weberei 5\\
|
||||
Raum \usekomavar{office}\\
|
||||
96047 Bamberg
|
||||
}
|
||||
|
||||
\newkomavar[Bürozeiten]{officehours}
|
||||
\setkomavar{officehours}{%
|
||||
Montag bis Donnerstag \\
|
||||
10 bis 16 Uhr \\
|
||||
sowie nach Vereinbarung
|
||||
}
|
||||
|
||||
\newkomavar[Fachschaftslogo]{logounion}
|
||||
\setkomavar{logounion}{\includegraphics[height=3cm]{./logo-wiai.png}}
|
||||
|
||||
\newkomavar[Funktion des Absenders]{contactrole}
|
||||
\setkomavar{contactrole}{für die \usekomavar{union_short}}
|
||||
|
||||
% to be configured by the user
|
||||
\newkomavar[Ansprechpartner]{contactperson}
|
||||
|
||||
% disable date on the top right
|
||||
\date{}
|
||||
|
||||
% default variables
|
||||
\setkomavar{fromurl}{www.uni-bamberg.de/wiai/fs}
|
||||
\setkomavar{fromemail}{fachschaft-wiai.stuve@uni-bamberg.de}
|
||||
\setkomavar{fromphone}{+49 951 863-1219}
|
||||
\setkomavar{backaddressseparator}{$\;\cdot\;$}
|
||||
\setkomavar{fromaddress}{An der Weberei 5 \usekomavar{backaddressseparator} 96047 Bamberg}
|
||||
\setkomavar{myref}{}
|
||||
\setkomavar{fromlogo}{\includegraphics[height=3cm]{./logo-uni.png}}
|
||||
\setkomavar{backaddress}{\usekomavar{union_short} \usekomavar{backaddressseparator} \usekomavar{fromaddress}}
|
||||
\setkomavar{fromname}{\usekomavar{contactperson} \\ \usekomavar{contactrole}}
|
||||
|
||||
% header
|
||||
\setkomafont{pageheadfoot}{\normalfont \scriptsize}
|
||||
\lohead{}
|
||||
\rohead{\thepage~/~\pageref{LastPage}}
|
||||
|
||||
% footer
|
||||
\lofoot{\usekomavar{backaddress}}
|
||||
\cofoot{}
|
||||
|
||||
% set main text length
|
||||
\setlength{\textwidth}{12cm}
|
||||
|
||||
% declare text parts
|
||||
|
||||
\newkomavar[Text: Brief- und Besuchsadresse]{text-visitoraddress}
|
||||
\setkomavar{text-visitoraddress}{Brief- und Besuchsadresse}
|
||||
|
||||
\newkomavar[Text: Datum]{text-date}
|
||||
\setkomavar{text-date}{Datum}
|
||||
|
||||
\newkomavar[Text: Paketadresse]{text-postaladdress}
|
||||
\setkomavar{text-postaladdress}{Paketadresse}
|
||||
|
||||
\newkomavar[Text: Bürozeiten]{text-officehours}
|
||||
\setkomavar{text-officehours}{Bürozeiten}
|
||||
|
||||
% define new letter header
|
||||
\firsthead{
|
||||
\begin{flushright}
|
||||
\color{uniblue}
|
||||
\LARGE \usekomavar{university}
|
||||
\usekomavar{fromlogo}
|
||||
\hspace*{.5cm} \\
|
||||
|
||||
\vspace{1.5cm}
|
||||
\usekomavar{logounion}
|
||||
\hspace*{.5cm}
|
||||
\end{flushright}
|
||||
\null\hfill
|
||||
\parbox[t][\headheight][t]{4cm}{%
|
||||
\raggedright
|
||||
\color[gray]{\grau}%
|
||||
{\sffamily%
|
||||
\scriptsize\textbf{\usekomavar{university}}
|
||||
|
||||
\vspace*{0.2cm}
|
||||
\usekomavar{union}
|
||||
|
||||
\vspace*{1.5cm}
|
||||
\textbf{\usekomavar{contactperson}}\\
|
||||
\vspace*{0.4cm}
|
||||
\textbf{\usekomavar{text-visitoraddress}}\\
|
||||
\usekomavar{visitoraddress}\\
|
||||
\vspace*{0.2cm}
|
||||
\usekomavar{fromphone}\\
|
||||
\usekomavar{fromemail}\\
|
||||
\usekomavar{fromurl}\\
|
||||
\vspace*{0.4cm}
|
||||
{\textbf{\usekomavar{text-officehours}}}\\
|
||||
\usekomavar{officehours}\\
|
||||
\vspace*{0.4cm}
|
||||
\textbf{\usekomavar{text-postaladdress}}\\
|
||||
\usekomavar{parceladdress}\\
|
||||
|
||||
\vspace*{1cm}
|
||||
\textbf{\usekomavar{text-date}: }\today
|
||||
|
||||
}\vspace*{0.5cm}
|
||||
}%
|
||||
}%
|
||||
|
||||
\nexthead{%
|
||||
\usekomavar{logounion}
|
||||
}
|
||||
|
||||
|
||||
BIN
logo-uni.png
Normal file
BIN
logo-uni.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 188 KiB |
BIN
logo-wiai.png
Normal file
BIN
logo-wiai.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 294 KiB |
Loading…
x
Reference in New Issue
Block a user