Revision c864fa6a
Von Marei (peiTeX) vor mehr als 3 Jahren hinzugefügt
templates/print/marei/bin_list.tex | ||
---|---|---|
1 |
\documentclass[twoside]{scrartcl} |
|
2 |
\usepackage[frame]{xy} |
|
3 |
\usepackage{tabularx} |
|
4 |
\usepackage[utf8]{inputenc} |
|
5 |
\usepackage{graphicx} |
|
6 |
\setlength{\voffset}{0.5cm} |
|
7 |
\setlength{\hoffset}{-2.0cm} |
|
8 |
\setlength{\topmargin}{0cm} |
|
9 |
\setlength{\headheight}{0.5cm} |
|
10 |
\setlength{\headsep}{1cm} |
|
11 |
\setlength{\topskip}{0pt} |
|
12 |
\setlength{\oddsidemargin}{1.0cm} |
|
13 |
\setlength{\evensidemargin}{1.0cm} |
|
14 |
\setlength{\textwidth}{17cm} |
|
15 |
\setlength{\textheight}{24.7cm} |
|
16 |
\setlength{\footskip}{1cm} |
|
17 |
\setlength{\parindent}{0pt} |
|
18 |
\renewcommand{\baselinestretch}{1} |
|
1 |
\documentclass[twoside,parskip=half-]{scrartcl} |
|
2 |
\usepackage[reffields,backaddress=false,addrfield=topaligned]{kiviletter} |
|
19 | 3 |
|
20 |
\begin{document} |
|
21 |
|
|
22 |
\pagestyle{myheadings} |
|
23 |
\thispagestyle{empty} |
|
24 |
|
|
25 |
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont |
|
26 |
|
|
27 |
\vspace*{-1.3cm} |
|
28 |
|
|
29 |
\parbox{\textwidth}{ |
|
30 |
\parbox[b]{.42\textwidth}{% |
|
31 |
<%company%>% |
|
32 |
|
|
33 |
<%address%>% |
|
34 |
}\hfill |
|
35 |
\begin{tabular}[b]{rr@{}} |
|
36 |
Tel & <%tel%>\\ |
|
37 |
Fax & <%fax%>% |
|
38 |
\end{tabular} |
|
39 |
|
|
40 |
\rule[1.5ex]{\textwidth}{0.5pt} |
|
41 |
} |
|
4 |
% Variablen, die in settings verwendet werden |
|
5 |
\newcommand{\lxlangcode} {<%template_meta.language.template_code%>} |
|
42 | 6 |
|
43 |
\vspace*{0.5cm} |
|
7 |
% settings: Einstellungen, Logo, Briefpapier, Kopfzeile, Fusszeile |
|
8 |
\input{insettings.tex} |
|
44 | 9 |
|
45 |
\parbox[t]{1cm}{\hfill} |
|
46 |
\parbox[t]{.5\textwidth}{ |
|
47 |
\textbf{Von} |
|
48 |
\vspace{0.7cm} |
|
10 |
\KOMAoptions{fontsize=10pt} |
|
11 |
\begin{document} |
|
49 | 12 |
|
50 |
<%name%> \\
|
|
51 |
<%street%> \\ |
|
52 |
<%zipcode%> \\ |
|
53 |
<%city%> \\
|
|
54 |
<%country%>%
|
|
55 |
} |
|
56 |
\parbox[t]{.4\textwidth}{
|
|
57 |
\textbf{Lieferanschrift}
|
|
58 |
\vspace{0.7cm}
|
|
59 |
|
|
60 |
<%shiptoname%> \\
|
|
61 |
<%shiptostreet%> \\
|
|
62 |
<%shiptozipcode%> \\
|
|
63 |
<%shiptocity%> \\
|
|
64 |
<%shiptocountry%>%
|
|
13 |
\setkomavar{title}{Lagerliste}
|
|
14 |
|
|
15 |
|
|
16 |
\setkomavar{firsthead}{
|
|
17 |
\normalsize
|
|
18 |
\noindent\begin{tabular}[t]{@{}l@{}}
|
|
19 |
<%company%>\strut\\
|
|
20 |
<%address%>
|
|
21 |
\end{tabular}
|
|
22 |
\hfill |
|
23 |
\begin{tabular}[t]{rr@{}}
|
|
24 |
Tel & <%tel%>\\
|
|
25 |
Fax & <%fax%>%
|
|
26 |
\end{tabular}
|
|
27 |
\rule{\linewidth}{\heavyrulewidth}
|
|
65 | 28 |
} |
66 |
\hfill |
|
67 |
|
|
68 |
\vspace{1cm} |
|
69 |
|
|
70 |
\textbf{L A G E R L I S T E} |
|
71 |
\hfill |
|
72 | 29 |
|
73 |
\vspace{1cm} |
|
74 |
|
|
75 |
\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline |
|
76 |
\textbf{BestellNr. \#} & \textbf{Datum} & \textbf{Kontakt} |
|
30 |
\makeatletter |
|
31 |
\setkomavar{location}{ |
|
32 |
\backaddr@format{\scriptsize\usekomafont{backaddress}% |
|
33 |
\strut\lieferanschrift |
|
34 |
} |
|
35 |
\par\medskip\setlength{\parskip}{\z@} |
|
36 |
\normalsize |
|
37 |
<%shiptoname%>\par |
|
38 |
<%if shiptocontact%> <%shiptocontact%><%end if%>\par |
|
39 |
<%shiptodepartment_1%>\par |
|
40 |
<%shiptodepartment_2%>\par |
|
41 |
<%shiptostreet%>\par |
|
42 |
<%shiptozipcode%> <%shiptocity%>% |
|
43 |
} |
|
44 |
\makeatother |
|
45 |
|
|
46 |
\begin{letter}{ |
|
47 |
<%name%>\ifhmode\\\fi |
|
48 |
<%street%>\ifhmode\\\fi |
|
49 |
<%zipcode%> <%city%>\ifhmode\\\fi |
|
50 |
<%country%> |
|
51 |
} |
|
52 |
|
|
53 |
\opening{} |
|
54 |
|
|
55 |
\begin{SimpleTabular}[colspec=*6X,headline={\bfseries\bestellnummer&\bfseries\datum&\bfseries\kontakt |
|
77 | 56 |
<%if warehouse%>% |
78 |
& \textbf{Lager}
|
|
57 |
&\bfseries\lager%
|
|
79 | 58 |
<%end warehouse%>% |
80 |
& \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5em] |
|
81 |
\hline |
|
59 |
&\bfseries\lagerplatz&\bfseries\lieferungMit}] |
|
82 | 60 |
|
83 | 61 |
<%ordnumber%>% |
62 |
&% |
|
84 | 63 |
<%if shippingdate%>% |
85 |
& <%shippingdate%>%
|
|
64 |
<%shippingdate%>%
|
|
86 | 65 |
<%end shippingdate%>% |
87 | 66 |
<%if not shippingdate%>% |
88 |
& <%orddate%>%
|
|
67 |
<%orddate%>%
|
|
89 | 68 |
<%end shippingdate%>% |
90 | 69 |
& <%employee%>% |
91 | 70 |
<%if warehouse%>% |
92 | 71 |
& <%warehouse%>% |
93 | 72 |
<%end warehouse%>% |
94 | 73 |
& <%shippingpoint%> & <%shipvia%> \\ |
95 |
\hline |
|
96 |
\end{tabularx} |
|
97 |
|
|
98 |
\vspace{1cm} |
|
74 |
\end{SimpleTabular} |
|
99 | 75 |
|
100 |
\begin{tabularx}{\textwidth}{@{}rlXllrrll@{}} |
|
101 |
\textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} & \textbf{Seriennumner} & & \textbf{Menge} & \textbf{Erh} & & \textbf{Lagerplatz} \\ |
|
76 |
\bigskip |
|
102 | 77 |
|
78 |
\begin{SimpleTabular}[colspec=rlXllrrll,headline={\bfseries\position&\bfseries\nummer&\bfseries\beschreibung&\bfseries\seriennummer & &\bfseries\menge&\bfseries\erh&&\bfseries\lagerplatz}] |
|
103 | 79 |
<%foreach number%>% |
104 | 80 |
<%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> & |
105 | 81 |
<%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\ |
106 | 82 |
<%end number%>% |
107 |
\end{tabularx} |
|
108 |
|
|
83 |
\end{SimpleTabular} |
|
109 | 84 |
|
110 |
\rule{\textwidth}{2pt}
|
|
85 |
\end{letter}
|
|
111 | 86 |
|
112 | 87 |
\end{document} |
113 | 88 |
|
Auch abrufbar als: Unified diff
marei: restructure bin_list.tex