<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">\documentclass[twoside]{scrartcl}
\usepackage[frame]{xy}
\usepackage{tabularx}
\usepackage{graphicx}
\setlength{\voffset}{0.5cm}
\setlength{\hoffset}{-1.9cm}
\setlength{\topmargin}{0cm}
\setlength{\headheight}{0.5cm}
\setlength{\headsep}{1cm}
\setlength{\topskip}{0pt}
\setlength{\oddsidemargin}{1.0cm}
\setlength{\evensidemargin}{1.0cm}
\setlength{\textwidth}{19.2cm}
\setlength{\textheight}{24.7cm}
\setlength{\footskip}{1cm}
\setlength{\parindent}{0pt}
\renewcommand{\baselinestretch}{1}
\begin{document}

\newlength{\descrwidth}\setlength{\descrwidth}{10cm}
\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

\pagestyle{myheadings}
\thispagestyle{empty}

\vspace*{-1.3cm}

\parbox{\textwidth}{
  \parbox[b]{.42\textwidth}{
    &lt;%company%&gt;
    
    &lt;%address%&gt;
  }
  \parbox[b]{.2\textwidth}{
    \includegraphics[scale=0.3]{ledger-smb}
  }\hfill
  \begin{tabular}[b]{rr@{}}
  Telephone &amp; &lt;%tel%&gt;\\
  Facsimile &amp; &lt;%fax%&gt;
  \end{tabular}

  \rule[1.5ex]{\textwidth}{0.5pt}
}


&lt;%pagebreak 65 27 48%&gt;
\end{tabular*}

  \rule{\textwidth}{2pt}
  
  \hfill
  \begin{tabularx}{7cm}{Xr@{}}
  \textbf{Subtotal} &amp; \textbf{&lt;%sumcarriedforward%&gt;} \\
  \end{tabularx}

\newpage

\markboth{&lt;%company%&gt;\hfill &lt;%quonumber%&gt;}{&lt;%company%&gt;\hfill &lt;%quonumber%&gt;}

\vspace*{-12pt}

\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  \textbf{Nummer} &amp; \textbf{Beskrivning} &amp; \textbf{Antal} &amp;
    \textbf{Enhet} &amp; \textbf{Pris} &amp; \textbf{Rabatt \%} &amp; \textbf{Belopp} \\
  &amp; carried forward from &lt;%lastpage%&gt; &amp; &amp; &amp; &amp; &amp; &lt;%sumcarriedforward%&gt; \\
&lt;%end pagebreak%&gt;


\vspace*{0.5cm}

\parbox[t]{1cm}{\hfill}
\parbox[t]{.45\textwidth}{

&lt;%name%&gt;

&lt;%address1%&gt;

&lt;%address2%&gt;

&lt;%city%&gt; &lt;%state%&gt; &lt;%zipcode%&gt;

&lt;%country%&gt;

\vspace{0.3cm}

&lt;%contact%&gt;

\vspace{0.2cm}

&lt;%if customerphone%&gt;
Tel: &lt;%customerphone%&gt;
&lt;%end customerphone%&gt;

&lt;%if customerfax%&gt;
Fax: &lt;%customerfax%&gt;
&lt;%end customerfax%&gt;

&lt;%email%&gt;
}

\vspace{1cm}

\textbf{K V O T E R I N G}
\hfill

\vspace{1cm}

\begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  \textbf{Kvot \#} &amp; \textbf{Datum} &amp; \textbf{Giltig till} &amp; \textbf{Kontakt} &amp; \textbf{Fraktdestination} &amp; \textbf{Fraktas via} \\ [0.5ex]
  \hline
  &lt;%quonumber%&gt; &amp; &lt;%quodate%&gt; &amp; &lt;%reqdate%&gt; &amp; &lt;%employee%&gt; &amp; &lt;%shippingpoint%&gt; &amp; &lt;%shipvia%&gt; \\
  \hline
\end{tabularx}
  
\vspace{1cm}

\begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  \textbf{Nummer} &amp; \textbf{Beskrivning} &amp; \textbf{Antal} &amp;
    \textbf{Enhet} &amp; \textbf{Pris} &amp; \textbf{Rabatt \%} &amp; \textbf{Totalt} \\
&lt;%foreach number%&gt;
  &lt;%number%&gt; &amp; &lt;%description%&gt; &amp; &lt;%qty%&gt; &amp;
    &lt;%unit%&gt; &amp; &lt;%sellprice%&gt; &amp; &lt;%discountrate%&gt; &amp; &lt;%linetotal%&gt; \\
&lt;%end number%&gt;
\end{tabular*}


\parbox{\textwidth}{
\rule{\textwidth}{2pt}

\vspace{0.2cm}

\hfill
\begin{tabularx}{7cm}{Xr@{}}
  Subtotal &amp; &lt;%subtotal%&gt; \\
&lt;%foreach tax%&gt;
  &lt;%taxdescription%&gt; on &lt;%taxbase%&gt; &amp; &lt;%tax%&gt;\\
&lt;%end tax%&gt;
  \hline
  Total &amp; &lt;%quototal%&gt;\\
\end{tabularx}

\vspace{0.3cm}

\hfill
  Alla pricer i \textbf{&lt;%currency%&gt;}.

\vspace{12pt}

&lt;%notes%&gt;

}

\vfill

\end{document}


</pre></body></html>