% Style-File fuer Veroeffentlichungen des MuPAD-Projektes
% Definiert wird eine Titelseite und das Seitenlayout
% Autor: K. Morisse
% Letzte Aenderung: 19.02.92
%
\font\Mtensl=cmbxsl10 scaled \magstep 5
\font\Mtenrm=cmr10 scaled \magstep 0
\font\Mninesl=cmsl9 scaled \magstep 0
\font\Mtenbx=cmbx10 scaled \magstep 0
\font\Muni=unilogo scaled \magstep 0
%\font\Moutline=ocmss12 scaled \magstep 0




\font\mupfett=cmssi17 at 70.0truept
\font\mupssf=cmssbx10 scaled \magstep5
\font\mupsma=cmss12 scaled \magstep2
\font\mupvsma=cmss10 scaled \magstep2


\newcommand{\MTRtitle}[6][]{
%\def\MTR_title#1#2#3#4#5#6{
% 6 Parameter:
%	#2   Nummer
%	#3   Titel
%	#4   Autor
%	#5   Datum
%	#6   Ueberblick
%       #1   Versionsnummer (optional)
\def\sernum{#2}
\def\vernum{#1}
\begin{titlepage}

\vspace*{-3cm}
\begin{minipage}{\textwidth}
{\parbox[]{2cm}{{\Muni M}}}\hfill
{\parbox{9cm}{\flushright
{\sffamily Universit{\"a}t Gesamthochschule Paderborn}\\[5pt]
{\Huge\bfseries\sffamily A u t o m a t h}\\ 
{\footnotesize\sffamily Institut f{\"u}r Automatisierung und Instrumentelle Mathematik}}}\\[-2pt]
\rule{\textwidth}{0.5pt}
\end{minipage}
\flushright
\vspace*{2.0cm}
{\mupfett MuPAD}\\[3pt]
\vspace*{0.3cm}
{\mupvsma Multi Processing Algebra Data Tool}\\
\vspace*{5cm}
{\mupssf #3}\\
\vspace*{1.2cm}
{\mupsma #4}\\
\vspace*{0.5cm}
{\mupvsma #5}\\
\vfill
\ifx\@empty\sernum
%{\mupvsma {\Muni A} Automath \iflanguage{english}{Technical Report}{Technischer Bericht}}
{\mupvsma {\Muni A} Automath Technical Report}
\ifx\@empty\vernum
\else
\linebreak
{\mupvsma Version #1}
\fi
\else
%{\mupvsma {\Muni A} Automath \iflanguage{english}{Technical Report No #1}{Technischer Bericht Nr.\ #1}}
{\mupvsma {\Muni A} Automath Technical Report No #2}
\ifx\@empty\vernum
\else
\linebreak
{\mupvsma Version #1}
\fi
\fi
\end{titlepage}
%%\begin{titlepage}
%%\vspace*{1.0cm}
%%\flushright
%%{\mupfett MuPAD}\\[3pt]
%%\vspace*{0.3cm}
%%{\mupvsma Multi Processing Algebra Data Tool}\\
%%\vspace*{5cm}
%%{\mupssf #2}\\
%%\vspace*{1.2cm}
%%{\mupsma #3}\\
%%\vspace*{0.5cm}
%%{\mupvsma #4}\\
$ $\\
\vfill
\begin{abstract} \noindent #6 \end{abstract}
%%\end{titlepage}
\pagestyle{myheadings}
\markboth{#4 \hfill #3}{#4 \hfill #3}
}

%
% Altes Deckblatt
%
\def\MuPAD_title#1#2#3#4#5#6{
% 6 Parameter:
%       #1   Serie
%       #2   Nummer in der Serie
%       #3   Titel
%       #4   Autor
%       #5   Datum
%       #6   Ueberblick
\def\series{#1}
\def\sernum{#2}
\begin{titlepage}
\flushright
{\mupfett MuPAD}\\[3pt]
\vspace*{0.3cm}
{\mupvsma Multi Processing Algebra Data Tool}\\
\vspace*{5cm}
{\mupssf #3}\\
\vspace*{1.2cm}
{\mupsma #4}\\
\vspace*{0.5cm}
{\mupvsma #5}\\
\vspace*{0.5cm}

\ifx\@empty\series
\else
\ifx\@empty\sernum
{\mupvsma #1}\\
\else
{\mupvsma #1 / Nr. #2}\\
\fi
\fi
\vspace*{2cm}
\begin{abstract} \noindent #6 \end{abstract}
\end{titlepage}
\pagestyle{myheadings}
\ifx\@empty\series
\markboth{#3 \hfill}{#3 \hfill}
\else
\ifx\@empty\sernum
\markboth{#3 \hfill #1}{#3 \hfill #1}
\else
\markboth{#3 \hfill #1 / Nr. #2}{#3 \hfill #1 / Nr. #2}
\fi
\fi
}


\headheight 16pt
\def\@myline{\hbox to\hsize}
\def\@myheadlineodd#1{\vbox
{\hrule
        \@myline{\strut {\small\sffamily #1}}
\hrule}}
\def\@myheadlineeven#1{\vbox 
{\hrule
        \@myline{\strut {\small\sffamily #1}}
\hrule}}
\def\ps@myheadings{\let\@mkboth\@gobbletwo
\def\@oddhead{\@myheadlineodd\rightmark\hfill}
\def\@oddfoot{\hfill \Mtenrm \thepage\hfill}
\def\@evenhead{\@myheadlineeven\rightmark\hfill}
\def\@evenfoot{\hfill \Mtenrm \thepage\hfill}
\def\sectionmark##1{}
\def\subsectionmark##1{}}
