\documentclass{scrartcl} \usepackage[latin1]{inputenc} \usepackage{tabularx} \usepackage[top=2cm,bottom=-1cm,left=2cm,right=1cm]{geometry} \usepackage{graphicx} \setlength{\parindent}{0pt} \begin{document} \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont \parbox[t]{12cm}{ <?lsmb company ?> <?lsmb address ?>} \hfill \parbox[t]{6cm}{\hfill <?lsmb source ?>} \vspace*{0.6cm} <?lsmb text_amount ?> \dotfill <?lsmb decimal ?>/100 \makebox[0.5cm]{\hfill} \vspace{0.5cm} \hfill <?lsmb datepaid ?> \makebox[2cm]{\hfill} <?lsmb amount ?> \vspace{0.5cm} <?lsmb name ?> <?lsmb address1 ?> <?lsmb if address2 ?> <?lsmb address2 ?> <?lsmb end address2 ?> <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?> <?lsmb if country ?> <?lsmb country ?> <?lsmb end country ?> \vspace{2.8cm} <?lsmb company ?> \vspace{0.5cm} <?lsmb name ?> \hfill <?lsmb datepaid ?> \hfill <?lsmb source ?> \vspace{0.5cm} \begin{tabularx}{\textwidth}{lXrr@{}} \textbf{N�mero da Fatura} & \textbf{Data da Fatura} & \textbf{Prazo} & \textbf{Aplica��o} \\ <?lsmb foreach invnumber ?> <?lsmb invnumber ?> & <?lsmb invdate ?> \dotfill & <?lsmb due ?> & <?lsmb paid ?> \\ <?lsmb end invnumber ?> \end{tabularx} \vfill <?lsmb message ?> \end{document}