<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">%
%
%
\ProvidesClass{OTHRmemo}
%
\DeclareOption*{\PassOptionsToClass{useDepartmentLogo,\CurrentOption}{OTHRartcl}}
\ProcessOptions\relax
%
\LoadClass{OTHRartcl}
\RequirePackage{tabularx}
%
%\useDepartmentLogo%
\newcommand{\TheTos}{}
\newcommand{\TheFrom}{}
\newcommand{\TheCCs}{}
\newcommand{\TheSubject}{}
\newcommand{\TheDate}{\today}
%
\documenttype{Memo}
%
\author{}
\renewcommand{\to}[1]{\renewcommand{\TheTos}{#1}}
\newcommand{\To}[1]{\renewcommand{\TheTos}{#1}}
\newcommand{\from}[1]{\author{#1}}
\newcommand{\From}[1]{\author{#1}}
\newcommand{\cc}[1]{\renewcommand{\TheCCs}{#1}}
\newcommand{\CC}[1]{\renewcommand{\TheCCs}{#1}}
\renewcommand{\subject}[1]{\renewcommand{\TheSubject}{#1}}
\newcommand{\Subject}[1]{\renewcommand{\TheSubject}{#1}}
\renewcommand{\date}[1]{\renewcommand{\TheDate}{#1}}
%
\renewcommand{\maketitle}{\makehead\par\noindent
{\renewcommand{\arraystretch}{1.5}\sloppy
\begin{tabularx}{\textwidth}{@{}lX@{}}
\ifdefempty{\TheTos}{}{\bfseries An: &amp; \TheTos \\}
\ifdefempty{\TheCCs}{}{\bfseries Kopie: &amp; \TheCCs \\}
\ifdefempty{\@author}{}{\bfseries Von: &amp; \@author\\}
\ifdefempty{\TheSubject}{}{\bfseries Betreff: &amp; \TheSubject \\}
\ifdefempty{\TheDate}{}{\bfseries Datum: &amp; \TheDate \\}
\end{tabularx}}

\vspace{5mm plus 1 cm minus 2mm}

\hrule

\vspace{5mm plus 1 cm minus 2mm}}
%
\newcommand{\makememohead}{\maketitle}
%

</pre></body></html>