1 \documentclass[twoside]{scrartcl}
4 \usepackage[latin1]{inputenc}
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.5cm}
15 \setlength{\footskip}{1cm}
16 \setlength{\parindent}{0pt}
17 \renewcommand{\baselinestretch}{1}
20 \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
24 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
31 \begin{tabular}[b]{rr@{}}
36 \rule[1.5ex]{\textwidth}{0.5pt}
40 \fontfamily{cmss}\fontshape{n}\selectfont
42 \markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
44 \pagestyle{myheadings}
45 %\thispagestyle{empty} use this with letterhead paper
47 <%pagebreak 90 27 48%>
50 \rule{\textwidth}{2pt}
53 \begin{tabularx}{7cm}{Xr@{}}
54 \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
59 \markright{<%company%>\hfill <%ordnumber%>}
63 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
64 \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
65 \textbf{Enhet} & \textbf{Pris} & \textbf{Sum} \\
66 & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\
70 \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
74 \parbox[t]{1cm}{\hfill}
87 <%city%> <%state%> <%zipcode%>
118 <%if shiptoaddress2%>
120 <%end shiptoaddress2%>
122 <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
126 <%end shiptocountry%>
131 Attn: <%shiptocontact%>
133 <%end shiptocontact%>
149 \textbf{I N N K J Ø P S} \parbox{0.3cm}{\hfill} \textbf{O R D R E}
151 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
152 \textbf{Dato} & <%orddate%> \\
154 \textbf{Levers innen} & <%reqdate%> \\
156 \textbf{Ordrenr.} & <%ordnumber%>
161 \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrr@{}}
162 \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
163 \textbf{Enhet} & \textbf{Pris} & \textbf{Sum} \\
165 <%number%> & <%description%> & <%qty%> &
166 <%unit%> & <%sellprice%> & <%linetotal%> \\
172 \rule{\textwidth}{2pt}
177 \begin{tabularx}{7cm}{Xr@{}}
178 \textbf{Subtotal} & \textbf{<%subtotal%>} \\
180 <%taxdescription%> on <%taxbase%> & <%tax%>\\
183 \textbf{Total} & \textbf{<%ordtotal%>}\\
189 Alle priser i valuta \textbf{<%currency%>}.
200 %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
202 %\footnotetext[1]{\tiny }