Files

1 line
3.3 KiB
Plaintext

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Letter Class Option to define letter head and foot
% of USC Bochum
%
\ProvidesFile{zah.lco}[%
2002/07/09 v0.9a LaTeX2e unsupported letter-class-option]
\@ifclassloaded{scrlttr2}{}{%
\GenericWarning{%
(infoblck.lco)\@spaces\@spaces\@spaces\@spaces\@spaces\@spaces%
}{%
Letter-class-option usc Warning:\space
This letter class option file was made\MessageBreak
only to be used with KOMA-Script letter\MessageBreak
class `scrlttr2'. Use with other classes\MessageBreak
may result in a lot of errors\@gobble
}%
}
\usepackage[utf8]{inputenc}
% Change of font of the back-address, because of
% corporated identity
\setkomafont{backaddress}{\rmfamily}
% Set some variable, which are always the same
\setkomavar{backaddress}{ITA/ZAH Uni HD, 69120 Heidelberg}
\setkomavar{backaddressseparator}{ $\cdot$ }
\setkomavar{place}{Heidelberg}
\setkomavar{fromlogo}{\includegraphics[height=3cm]{ZAH_logo}\hspace{1cm}\includegraphics*[height=3cm]{unihei_logo_4c}}
\setkomavar{location}{
\hspace{-2cm}
%\rlap{
\parbox[b]{\linewidth}{
\raggedright\small
\textbf{Zentrum für Astronomie\\Universität Heidelberg}\\
\usekomavar{department}\\
\usekomavar{fromname}\\
\footnotesize{\usekomavar{fromaddress}%
\if@phone\\
\usekomavar*{fromphone}\usekomavar{fromphone}\fi
\if@fax\\
\usekomavar*{fromfax}\usekomavar{fromfax}\fi
\if@email\\\usekomavar*{fromemail}\usekomavar{fromemail}\fi
\if@www\\\usekomavar*{fromurl}\usekomavar{fromurl}\fi
}
}
%}
}
% NOTE: You also need signet.eps and/or signet.png to
% use this.
% Load graphicx package.
% NOTE: You may use \PassOptionsToPackage or set global
% options, if you have to pass options to it.
\RequirePackage{graphicx}
% Define some new variable:
\newkomavar{department}% e.g. ``Institute of \LaTeX''
\newkomavar{bus}% how to arrive with bus
% Define a new letter head
% (with tricky use of \rlap to center the logo):
%%\firsthead{
%%\hspace*{\fill}%
%%\usekomavar{fromlogo}%
%%\rlap{\quad
%%\parbox[b]{\hsize}{\raggedright\small
%%\textbf{Zentrum für Astronomie\\Universität Heidelberg}\\
%%\usekomavar{department}\\
%%\usekomavar{fromname}\\
%%\footnotesize{\usekomavar{fromaddress}%
%%\if@phone\\
%%\usekomavar*{fromphone}\usekomavar{fromphone}\fi
%%\if@fax\\
%%\usekomavar*{fromfax}\usekomavar{fromfax}\fi
%%\if@email\\\usekomavar*{fromemail}\usekomavar{fromemail}\fi
%%\if@www\\\usekomavar*{fromurl}\usekomavar{fromurl}\fi
%%}}}%
%%\hspace*{\fill}%
%%}
\firsthead{
\hspace*{\fill}
\usekomavar{fromlogo}
}
% Define a new letter foot
% (with tricky use of tabulars but without centering middle tabular;
% if you need to center is, use \rlap to set first tabular and \llap
% to set third tabular):
\firstfoot{\scriptsize
% \rlap{%
\begin{tabular}{@{}l@{}}
Busverbindungen\\
\usekomavar{bus}\\
\end{tabular}%
% }\null
\hfill
\begin{tabular}{@{}l@{}}
Paketanschrift\\
\usekomavar{fromaddress}\\
\end{tabular}%
\hfill
% \llap{%
\begin{tabular}{@{}l@{}}
\usekomavar*{frombank}\\
\usekomavar{frombank}\\
\end{tabular}
% }\null
}
\endinput
%
% End of Letter Class Option uni-kstz
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%