1 % config: use-template-toolkit=1
2 % config: tag-style=$( )$
5 $( SET customer = letter.customer_vendor )$
6 \documentclass[paper=a4,fontsize=10pt]{scrartcl}
7 \usepackage{kiviletter}
8 $( KiviLatex.required_packages_for_html )$
10 % Variablen, die in settings verwendet werden
11 \newcommand{\lxlangcode}{$(template_meta.language.template_code)$}
12 \newcommand{\lxmedia}{$(template_meta.media)$}
13 \newcommand{\lxcurrency}{}
14 \newcommand{\kivicompany}{$(employee_company)$}
16 % settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
17 \input{insettings.tex}
20 %\ourhead{}{}{$( KiviLatex.filter(letter.subject) )$}{$( KiviLatex.filter(letter.letternumber) )$}{$( KiviLatex.filter(letter.date.to_kivitendo) )$}
25 \setkomavar{date}{$( KiviLatex.filter(letter.date.to_kivitendo) )$}
27 $( IF letter.reference )$
28 \setkomavar*{yourref}{\ihrzeichen}
29 \setkomavar{yourref}{$( KiviLatex.filter(letter.reference) )$}
32 $( IF letter.subject )$
33 \setkomavar{subject}{$( KiviLatex.filter(letter.subject) )$}
37 $( KiviLatex.filter(customer.name) )$\strut\\
38 $( KiviLatex.filter(letter.contact.formal_greeting) )$\strut\\
39 $( KiviLatex.filter(customer.street) )$\strut\\
40 $( KiviLatex.filter(customer.zipcode) )$ $( KiviLatex.filter(customer.city) )$\strut\\
41 $( KiviLatex.filter(customer.country) )$%
44 \opening{$( KiviLatex.filter(letter.greeting) )$}
46 $( KiviLatex.filter_html(letter.body) )$