X-Git-Url: https://git.infodrom.org/?p=misc%2Fhallinta-metro;a=blobdiff_plain;f=ordersatz.tex;h=2db713c7b71387a4e97f567fe6681a938e890821;hp=2211b528bfb323e01af7fe02192978f20f3ccfa1;hb=refs%2Fheads%2Fmaster;hpb=f42b8b1c96ba18797cf2509ae91b7cd4d13ef55f diff --git a/ordersatz.tex b/ordersatz.tex index 2211b52..2db713c 100644 --- a/ordersatz.tex +++ b/ordersatz.tex @@ -3,6 +3,7 @@ \renewcommand*\familydefault{\sfdefault} \usepackage[T1]{fontenc} \usepackage[latin1]{inputenc} +\usepackage{ifthen} \usepackage{german} \usepackage{supertabular} @@ -14,7 +15,10 @@ % % Falls Drucker = Linstep Dell 17n % -% \addtolength{\textheight}{-0.5cm} +% \addtolength{\textheight}{-0.4cm} + +\addtolength{\oddsidemargin}{-1.0cm} +\addtolength{\textwidth}{1.5cm} \input ordersatz_vars @@ -41,8 +45,9 @@ \renewcommand{\headtoname}[0]{Kundenordersatz (\reise)} -\newcommand{\order}[5]{% -#2 & #1 & #3 & #5 & #4\\ \hline +\newcommand{\order}[6][]{% +#3 & #2 & #4 & #6 & #5 +\ifthenelse{\equal{#1}{l}}{\\\hline\hline}{\\\hline} } @@ -87,7 +92,7 @@ Bitte die Waren noch nicht durch die Kasse ziehen. \hline } -\begin{supertabular}{|l|r|p{11.8cm}|c|c|} +\begin{supertabular}{|l|r|p{12.4cm}|c|c|} \input ordersatz_items \end{supertabular}