1 % config: use-template-toolkit=1
 
   2 % config: tag-style=$( )$
 
   5 $( SET customer = letter.customer_vendor )$
 
   7 $( KiviLatex.required_packages_for_html )$
 
   9 % Variablen, die in settings verwendet werden
 
  10 \newcommand{\lxlangcode}{$(template_meta.language.template_code)$}
 
  11 \newcommand{\lxmedia}{$(template_meta.media)$}
 
  12 \newcommand{\lxcurrency}{}
 
  13 \newcommand{\kivicompany}{$(employee_company)$}
 
  15 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
 
  16 \input{insettings.tex}
 
  19 %\ourhead{}{}{$( KiviLatex.filter(letter.subject) )$}{$( KiviLatex.filter(letter.letternumber) )$}{$( KiviLatex.filter(letter.date.to_kivitendo) )$}
 
  24 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
  28 \begin{minipage}{14cm}
 
  30   $( KiviLatex.filter(customer.name) )$
 
  32   $( KiviLatex.filter(letter.contact.formal_greeting) )$
 
  34   $( KiviLatex.filter(customer.street) )$
 
  36   $( KiviLatex.filter(customer.zipcode) )$ $( KiviLatex.filter(customer.city) )$
 
  38   $( KiviLatex.filter(customer.country) )$
 
  43 \hfill $( KiviLatex.filter(letter.date.to_kivitendo) )$
 
  45 $( IF letter.reference )$
 
  46 \textbf{\ihrzeichen : $( KiviLatex.filter(letter.reference) )$}
 
  51 $( IF letter.subject )$
 
  52 \textbf{\betreff : $( KiviLatex.filter(letter.subject) )$}
 
  57 $( KiviLatex.filter(letter.greeting) )$
 
  61 $( KiviLatex.filter_html(letter.body) )$
 
  67 \textbf{$( KiviLatex.filter(letter.employee.name) )$}
 
  72 \textbf{$( KiviLatex.filter(letter.salesman.name) )$}