%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% "Schein"-Style for written exams with ECTS (studienbegleitend)
% used by klausurauswertung.sty
% Institut fuer Informatik, Georg-August Universit"at G"ottingen
% Wolfgang May, 21.7.2005
%
%
% Dieses Scheinlayout fuer DIN A5 Klausurscheine benoetigt die 
% folgenden Attribute :
%
% \vorname, \name, \semester, \vorlesung, \datum, \dozent, \ects, \comment
%
%

\RequirePackage{goe-ifi}
\def\datum{\today}
\def\vorlesung{}
\def\comment{}
\newcommand{\klcomment}[1]{\renewcommand{\comment}{#1}}
\newcommand{\klpraktikum}[1]{\renewcommand{\praktikum}{#1}}

\newcommand{\scheinDoIt}{%
  \setbox\scheinbox=\vbox to 13cm{%
    \parindent0pt\parskip2ex%
    %%% Institute header %%%%%%%%%%%%%%%%%%%%% 
    \def\personOrGroup{\dozent}%
    \institutehead%
    %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
    \smallskip

    \ifthenelse{\equal{\geschlecht}{none}}%
      {Herr/Frau}      
      {\ifthenelse{\equal{\geschlecht}{w
         }}{Frau}{Herr}}
      \quad {\large\bf \vorname\ \name} 
    \quad Matrikel-Nr.\quad{\large\bf \matrikel} \\[2ex]
    %
    hat im \semester \\[2ex]
    %
    erfolgreich an der Klausur zum Modul
    \begin{center}
    {\large\bf \vorlesung}                     
    \end{center}
    teilgenommen.  
    Der Umfang des Moduls betr"agt \ects\ ECTS-Punkte.

    \ifbenotet{Die Klausur am \datum\ wurde mit der 
               Note \note\ bewertet.}\fi
    \bigskip\bigskip
    
    G"ottingen, \datum
    \hfill 
    \parbox[t]{.5\textwidth}{\centering
      ............................................\\ 
      %
      \dozent
      }
    \vfill}
  }
