Revision ecdc6333
Von Marei Peischl vor fast 5 Jahren hinzugefügt
letter.tex | ||
---|---|---|
22 | 22 |
|
23 | 23 |
\begin{document} |
24 | 24 |
|
25 |
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont |
|
26 |
|
|
27 |
\vspace*{1cm} |
|
28 |
|
|
29 |
\begin{minipage}{14cm} |
|
30 |
|
|
31 |
$( KiviLatex.filter(customer.name) )$ |
|
32 |
|
|
33 |
$( KiviLatex.filter(letter.contact.formal_greeting) )$ |
|
34 |
|
|
35 |
$( KiviLatex.filter(customer.street) )$ |
|
36 |
|
|
37 |
$( KiviLatex.filter(customer.zipcode) )$ $( KiviLatex.filter(customer.city) )$ |
|
38 |
|
|
39 |
$( KiviLatex.filter(customer.country) )$ |
|
40 |
|
|
41 |
\end{minipage} |
|
42 |
|
|
43 |
\vspace{2.5cm} |
|
44 |
\hfill $( KiviLatex.filter(letter.date.to_kivitendo) )$ |
|
25 |
\setkomavar{date}{$( KiviLatex.filter(letter.date.to_kivitendo) )$} |
|
45 | 26 |
|
46 | 27 |
$( IF letter.reference )$ |
47 |
\textbf{\ihrzeichen : $( KiviLatex.filter(letter.reference) )$} |
|
48 |
|
|
49 |
\vspace{1cm} |
|
28 |
\setkomavar*{yourref}{\ihrzeichen} |
|
29 |
\setkomavar{yourref}{$( KiviLatex.filter(letter.reference) )$} |
|
50 | 30 |
$( END )$ |
51 | 31 |
|
52 | 32 |
$( IF letter.subject )$ |
53 |
\textbf{\betreff : $( KiviLatex.filter(letter.subject) )$} |
|
54 |
|
|
55 |
\vspace{1cm} |
|
33 |
\setkomavar{subject}{$( KiviLatex.filter(letter.subject) )$} |
|
56 | 34 |
$( END )$ |
57 | 35 |
|
58 |
$( KiviLatex.filter(letter.greeting) )$ |
|
36 |
\begin{letter}{ |
|
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) )$ |
|
42 |
} |
|
59 | 43 |
|
60 |
\vspace{0.5cm}
|
|
44 |
\opening{$( KiviLatex.filter(letter.greeting) )$}
|
|
61 | 45 |
|
62 |
$( KiviLatex.filter_html(letter.body) )$ |
|
63 | 46 |
|
64 |
\vspace{0.5cm} |
|
65 |
|
|
66 |
\begin{minipage}{6cm} |
|
67 |
|
|
68 |
\textbf{$( KiviLatex.filter(letter.employee.name) )$} |
|
47 |
$( KiviLatex.filter_html(letter.body) )$ |
|
69 | 48 |
|
70 |
\end{minipage} |
|
71 |
\begin{minipage}{6cm} |
|
72 | 49 |
|
73 |
\textbf{$( KiviLatex.filter(letter.salesman.name) )$}
|
|
50 |
\closing{\gruesse}
|
|
74 | 51 |
|
75 |
\end{minipage}
|
|
52 |
\end{letter}
|
|
76 | 53 |
|
77 | 54 |
\end{document} |
Auch abrufbar als: Unified diff
new structure for letter.tex