1 \documentclass[twoside]{scrartcl}
 
   6 \usepackage[utf8]{inputenc}
 
   7 \setlength{\voffset}{0.5cm}
 
   8 \setlength{\hoffset}{-2.0cm}
 
   9 \setlength{\topmargin}{0cm}
 
  10 \setlength{\headheight}{0.5cm}
 
  11 \setlength{\headsep}{1cm}
 
  12 \setlength{\topskip}{0pt}
 
  13 \setlength{\oddsidemargin}{1.0cm}
 
  14 \setlength{\evensidemargin}{1.0cm}
 
  15 \setlength{\textwidth}{17cm}
 
  16 \setlength{\textheight}{24.7cm}
 
  17 \setlength{\footskip}{1cm}
 
  18 \setlength{\parindent}{0pt}
 
  19 \renewcommand{\baselinestretch}{1}
 
  22 \newlength{\descrwidth}\setlength{\descrwidth}{12cm}
 
  23 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
 
  25 \pagestyle{myheadings}
 
  31   \parbox[b]{.42\textwidth}{
 
  36   \begin{tabular}[b]{rr@{}}
 
  41   \rule[1.5ex]{\textwidth}{0.5pt}
 
  45 <%pagebreak 90 27 48%>
 
  48   \rule{\textwidth}{2pt}
 
  51   \begin{tabularx}{7cm}{Xr@{}}
 
  52   \textbf{Zwischenzumme} & \textbf{<%sumcarriedforward%>} \\
 
  57 \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
 
  61 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rl}
 
  62   \textbf{Nummer} & \textbf{Beschreibung} & \textbf{Menge} & \\
 
  68 \parbox[t]{1cm}{\hfill}
 
  69 \parbox[t]{.45\textwidth}{
 
 101 \parbox[t]{.45\textwidth}{
 
 102 \textbf{Lieferanschrift}
 
 119 <%end shiptocontact%>
 
 135 \textbf{A N F R A G E}
 
 140 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
 
 141   \textbf{AnfrageNr. \#} & \textbf{Datum} & \textbf{Benötigt am} & \textbf{Kontakt} & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5ex]
 
 143   <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
 
 149 Bitte nennen Sie uns für folgende Artikel Preis und Liefertermin:
 
 153 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rl}
 
 154   \textbf{Nummer} & \textbf{Beschreibung} & \textbf{Menge} & \\
 
 156   <%number%> & <%description%> & <%qty%> & <%unit%> \\
 
 162 \rule{\textwidth}{2pt}