<?# PyCoCuMa Letter Template for LaTeX ?>
<?# Copyright (C) 2004  Henning Jacobs <henning@srcco.de> ?>
<?# http://www.srcco.de ?>
\documentclass[12pt]{dinbrief}
\usepackage{ngerman}
%% Umlaute richtig übersetzen:
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
%% Times New Roman as roman font and Courier as typewriter font:
\usepackage{times}
%% Select Helvetica as default font:
\renewcommand{\familydefault}{phv}

\signature{<?=MySignature?>}
\place{<?=MyPlace?>}
\address{\centerline{\scshape <?=' $\cdot$ '.join(MyAddress)?>}}
\backaddress{<?=' $\cdot$ '.join(MyBackAddress)?>}
\bottomtext{<?=MyBottomText?>}

<?if Date{?>
    \date{<?=Date?>}
<?}?>

\begin{document}
\begin{letter}{<?=Address[0]?>\\
               <?=Address[1]?>\\
               <?=Address[2]?>\\[\medskipamount]
          {\bf <?=Address[3]?>}}
               
<?if YourMail{?>
    \yourmail{<?=YourMail?>}
<?}?>

\subject{\bf <?=Subject?>}

\opening{<?=Opening?>}

<?=Body?>

\closing{<?=Closing?>}

<?if Enclosing{?>
    \encl{<?=Enclosing?>}
<?}?>

\end{letter}
\end{document}
