1 \documentclass[twoside]{scrartcl}
5 \setlength{\voffset}{0.5cm}
6 \setlength{\hoffset}{-2.0cm}
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}
47 \parbox[t]{1cm}{\hfill}
48 \parbox[t]{.45\textwidth}{
69 Tel: <%customerphone%>
81 \textbf{Q U O T A T I O N}
86 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
87 \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
89 <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
95 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
96 \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
97 \textbf{Unit} & \textbf{Price} & \textbf{Disc} & \textbf{Amount} \\
99 <%number%> & <%description%> & <%qty%> &
100 <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
106 \rule{\textwidth}{2pt}
111 \begin{tabularx}{7cm}{Xr@{}}
112 Subtotal & <%subtotal%> \\
114 <%taxdescription%> on <%taxbase%> & <%tax%>\\
117 Total & <%quototal%>\\
123 All prices in \textbf{<%currency%>}.