X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/64c836e6159e5bebb3fb8d78affe9d4e17609cfc..c5d397d9b1c2e13dfdaf644fbd98cd41d00a2909:/templates/print/RB/letter.tex

diff --git a/templates/print/RB/letter.tex b/templates/print/RB/letter.tex
index 67a26422c..f783eca1a 100644
--- a/templates/print/RB/letter.tex
+++ b/templates/print/RB/letter.tex
@@ -1,43 +1,20 @@
-\documentclass[twoside]{scrartcl}
-\usepackage{eurosym}
-\usepackage{tabularx}
-\usepackage[utf8]{inputenc}
-\setlength{\voffset}{0.5cm}
-\setlength{\hoffset}{-2.0cm}
-\setlength{\topmargin}{0cm}
-\setlength{\headheight}{0.5cm}
-\setlength{\headsep}{1cm}
-\setlength{\topskip}{0pt}
-\setlength{\oddsidemargin}{1.0cm}
-\setlength{\evensidemargin}{1.0cm}
-\setlength{\textwidth}{19.2cm}
-\setlength{\textheight}{24.5cm}
-\setlength{\footskip}{1cm}
-\setlength{\parindent}{0pt}
-\begin{document}
-
-\thispagestyle{empty}
+\input{inheaders.tex}
 
-\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
-\setlength{\parindent}{0cm}
 
-\fontfamily{cmss}\fontshape{n}\selectfont
+% Variablen, die in settings verwendet werden
+\newcommand{\lxlangcode} {<%template_meta.language.template_code%>}
+\newcommand{\lxmedia} {<%media%>}
+\newcommand{\lxcurrency} {<%currency%>}
+\newcommand{\lxtitlebar} {<%titlebar%>}
 
-<%pagebreak 80 28 37%>
-\end{tabularx}
+% settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile
+\input{insettings.tex}
 
-\newpage
+% laufende Kopfzeile:
+%\ourhead{}{}{<%subject%>}{<%letternumber%>}{<%date%>}
+\ourhead{}{}{}{}{}
 
-%\begin{tabularx}{\textwidth}{lrXrr}
-%  \hline
-%  \textbf{Pos} & \textbf{Menge} & \textbf{Bezeichnung} &
-%  \textbf{E-Preis/\euro} & \textbf{G-Preis/\euro} \\
-%  \hline
-%  <%foreach number%>
-%    <%runningnumber%> & <%qty%> <%unit%> & \raggedright <%description%> &
-%    <%sellprice%> & <%linetotal%>\\
-%  <%end number%>
-%<%end pagebreak%>
+\begin{document}
 
 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
@@ -49,25 +26,26 @@
 
   <%contact_formal%>
 
-  <%countrycode%> <%zipcode%> <%city%>
+  <%street%>
+
+  <%zipcode%> <%city%>
 
   <%country%>
 
 \end{minipage}
-\hfill
-\begin{minipage}{6cm}
-\end{minipage}
 
 \vspace{2.5cm}
+\hfill<%date%>
 
-\begin{minipage}{14cm}
-
-\textbf{<%reference%>}
+<%if reference%>
+\textbf{\ihrzeichen : <%reference%>}
+<%end if%>
 
 \vspace{1cm}
 
-
-\textbf{<%subject%>}
+<%if subject%>
+\textbf{\betreff : <%subject%>}
+<%end if%>
 
 \vspace{1cm}
 
@@ -83,28 +61,18 @@
 
   <%company_name%>
 
-\end{minipage}
-\hfill
-\begin{minipage}{6cm}
-  <%date%>
-
-\vspace{5cm}
-
-Anlagen | Attch.:
-\end{minipage}
-
 \vspace*{0.5cm}
 
 \begin{minipage}{6cm}
 
-\textbf{<%employee%>}
+\textbf{<%employee_name%>}
 
 <%employee_position%>
 
 \end{minipage}
 \begin{minipage}{6cm}
 
-\textbf{<%salesman%>}
+\textbf{<%salesman_name%>}
 
 <%salesman_position%>
 
