1 \documentclass[twoside]{scrartcl}
5 \setlength{\voffset}{0.5cm}
6 \setlength{\hoffset}{-1.9cm}
7 \setlength{\topmargin}{0cm}
8 \setlength{\headheight}{0.5cm}
9 \setlength{\headsep}{1cm}
10 \setlength{\topskip}{0pt}
11 \setlength{\oddsidemargin}{1.0cm}
12 \setlength{\evensidemargin}{1.0cm}
13 \setlength{\textwidth}{19.2cm}
14 \setlength{\textheight}{24.7cm}
15 \setlength{\footskip}{1cm}
16 \setlength{\parindent}{0pt}
17 \renewcommand{\baselinestretch}{1}
20 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
21 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
23 \pagestyle{myheadings}
29 \parbox[b]{.42\textwidth}{
34 \parbox[b]{.2\textwidth}{
35 \includegraphics[scale=0.3]{sql-ledger}
37 \begin{tabular}[b]{rr@{}}
42 \rule[1.5ex]{\textwidth}{0.5pt}
46 <%pagebreak 90 27 48%>
49 \rule{\textwidth}{2pt}
52 \begin{tabularx}{7cm}{Xr@{}}
53 Subtotal & <%sumcarriedforward%> \\
58 \markright{<%company%>\hfill <%ordnumber%>}
62 \begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
63 \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
64 \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
65 & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
71 \parbox[t]{1cm}{\hfill}
72 \parbox[t]{.45\textwidth}{
82 <%city%> <%state%> <%zipcode%>
103 \parbox[t]{.45\textwidth}{
113 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
120 Attn: <%shiptocontact%>
122 <%end shiptocontact%>
138 \textbf{P U R C H A S E} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
142 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
143 \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
145 <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
151 \begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
152 \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
153 \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
155 <%number%> & <%description%> & <%qty%> &
156 <%unit%> & <%sellprice%> & <%linetotal%> \\
162 \rule{\textwidth}{2pt}
167 \begin{tabularx}{7cm}{Xr@{}}
168 Subtotal & <%subtotal%> \\
170 <%taxdescription%> on <%taxbase%> & <%tax%>\\
173 Total & <%ordtotal%>\\
179 All prices in \textbf{<%currency%>}.
190 %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
192 %\footnotetext[1]{\tiny }