1 \documentclass[twoside]{scrartcl}
3 \usepackage[frenchb]{babel}
4 \usepackage[latin1]{inputenc}
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}{19.2cm}
15 \setlength{\textheight}{24.5cm}
16 \setlength{\footskip}{1cm}
17 \setlength{\parindent}{0pt}
18 \renewcommand{\baselinestretch}{1}
21 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
25 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
32 \begin{tabular}[b]{rr@{}}
37 \rule[1.5ex]{\textwidth}{0.5pt}
41 \fontfamily{cmss}\fontshape{n}\selectfont
43 \markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
45 \pagestyle{myheadings}
46 %\thispagestyle{empty} use this with letterhead paper
48 <%pagebreak 90 27 48%>
51 \rule{\textwidth}{2pt}
54 \begin{tabularx}{7cm}{Xr@{}}
55 \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\
60 \markright{<%company%>\hfill <%ordnumber%>}
64 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
65 \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
66 \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
67 & reporté de la page <%lastpage%> & & & & <%sumcarriedforward%> \\
71 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
87 \textbf{B O N} \parbox{0.3cm}{\hfill} \textbf{D E} \parbox{0.3cm}{\hfill}
88 \textbf{C O M M A N D E}
90 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
91 \textbf{Date de la commande} & <%orddate%> \\
93 \textbf{Livrable le} & <%reqdate%> \\
95 \textbf{Numéro de commande} & <%ordnumber%>
100 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
101 \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
102 \textbf{Unité} & \textbf{Prix} & \textbf{Montant} \\
104 <%number%> & <%description%> & <%qty%> &
105 <%unit%> & <%sellprice%> & <%linetotal%> \\
111 \rule{\textwidth}{2pt}
116 \begin{tabularx}{7cm}{Xr@{}}
117 \textbf{Sous-total} & \textbf{<%subtotal%>} \\
119 <%taxdescription%> de <%taxbase%> & <%tax%>\\
122 \textbf{Total} & \textbf{<%ordtotal%>}\\
128 Tous les prix indiqués sont en \textbf{<%currency%>}.
139 %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
141 %\footnotetext[1]{\tiny }