3 % Überarbeitet von Norbert Simon, n.simon@linet-services.de
4 % Version 2.5 vom 16.Oktober 2011
5 % Basiert auf der Arbeit von kmk@lilalaser.de / 2007
6 % Diese Vorlage steht unter der GPL-Lizenz, Version 3
7 % siehe http://www.gnu.de/licenses/gpl-3.0.html
9 % config: tag-style=$( )$
12 \documentclass[twoside]{scrartcl}
13 \usepackage[frame]{xy}
15 \usepackage[utf8]{inputenc}
17 \setlength{\voffset}{0.5cm}
18 \setlength{\hoffset}{-2.0cm}
19 \setlength{\topmargin}{0cm}
20 \setlength{\headheight}{0.5cm}
21 \setlength{\headsep}{1cm}
22 \setlength{\topskip}{0pt}
23 \setlength{\oddsidemargin}{1.0cm}
24 \setlength{\evensidemargin}{1.0cm}
25 \setlength{\textwidth}{17cm}
26 \setlength{\textheight}{24.7cm}
27 \setlength{\footskip}{1cm}
28 \setlength{\parindent}{0pt}
29 \renewcommand{\baselinestretch}{1}
33 \newlength{\descrwidth}\setlength{\descrwidth}{9cm}
34 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
36 \pagestyle{myheadings}
42 \parbox[b]{.42\textwidth}{
47 \begin{tabular}[b]{rr@{}}
52 \rule[1.5ex]{\textwidth}{0.5pt}
56 %$(pagebreak 90 27 37)$
61 \markboth{$(company)$\hfill $(ordnumber)$}{$(company)$\hfill $(ordnumber)$}
65 %\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rcll@{}}
66 % \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} &
67 % \textbf{Menge} & \textbf{Lagerausgang} & & \textbf{Lagerplatz} \\
73 \parbox[t]{1cm}{\hfill}
74 \parbox[t]{.5\textwidth}{
75 \textbf{Lieferanschrift}
80 \parbox[t]{1cm}{\hfill}
81 \parbox[t]{.5\textwidth}{
89 \parbox[t]{.4\textwidth}{
106 \textbf{S A M M E L L I S T E}
111 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
112 \textbf{BestellNr. \#} &
115 $(if warehouse)$ \textbf{Lager} & $(end warehouse)$
116 \textbf{Lagerplatz} &
117 \textbf{Lieferung mit} \\ [0.5em]
120 $(if shippingdate)$ $(shippingdate)$ &$(end shippingdate)$
121 $(if not shippingdate)$ $(orddate)$ &$(end shippingdate)$
123 $(if warehouse)$ $(warehouse)$ &$(end warehouse)$
131 %\begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
132 \setlength{\tabcolsep}{0mm}
133 \begin{tabularx}{\textwidth}{p{1.5cm}p{6cm}p{2cm}p{2cm}p{4cm}p{1.5cm}}
135 \textbf{Beschreibung} &
139 \textbf{Lagerplatz} \\
142 $(foreach si_number)$
145 $(si_chargenumber)$ &
146 \hfill $(si_qty)$ $(si_unit)$ &
154 \hfill $(qty)$ $(unit)$ &
161 \rule{\textwidth}{2pt}