summaryrefslogtreecommitdiff
path: root/templates/Brazilian_Portuguese-packing_list.tex
blob: f6f6d6999ac34e3faba7bc620752112c061e4eb8 (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  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}
  18. \begin{document}
  19. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  20. \newsavebox{\hdr}
  21. \sbox{\hdr}{
  22.   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  23. \parbox{\textwidth}{
  24. \parbox[b]{12cm}{
  25. <?lsmb company ?>
  26. <?lsmb address ?>}\hfill
  27. \begin{tabular}[b]{rr@{}}
  28. Telephone & <?lsmb tel ?>\\
  29. Facsimile & <?lsmb fax ?>
  30. \end{tabular}
  31. \rule[1.5ex]{\textwidth}{0.5pt}
  32. }
  33. }
  34. \fontfamily{cmss}\fontshape{n}\selectfont
  35. \markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. <?lsmb pagebreak 65 27 37 ?>
  39. \end{tabular*}
  40. \newpage
  41. \markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>}
  42. \vspace*{-12pt}
  43. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  44. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  45. \textbf{Unit} & \textbf{Bin} \\
  46. <?lsmb end pagebreak ?>
  47. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  48. \vspace*{2cm}
  49. <?lsmb shiptoname ?>
  50. <?lsmb shiptoaddress1 ?>
  51. <?lsmb shiptoaddress2 ?>
  52. <?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
  53. <?lsmb shiptocountry ?>
  54. \vspace{3.5cm}
  55. \textbf{LISTA DE PRODUTOS} \parbox{0.3cm}{\hfill} \textbf{L I S T}
  56. \hfill
  57. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  58. \textbf{Data} & <?lsmb invdate ?> \\
  59. \textbf{Número} & <?lsmb invnumber ?> \\
  60. \textbf{Cliente} & <?lsmb customer_id ?>
  61. \end{tabular}
  62. \vspace{1cm}
  63. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  64. \textbf{Número} & \textbf{Descrição} & \textbf{Quant.} &
  65. \textbf{Unid.} & \textbf{Bin} \\
  66. <?lsmb foreach number ?>
  67. <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  68. <?lsmb unit ?> & <?lsmb bin ?> \\
  69. <?lsmb end number ?>
  70. \end{tabular*}
  71. \parbox{\textwidth}{
  72. \rule{\textwidth}{2pt}
  73. \vspace{12pt}
  74. <?lsmb notes ?>
  75. }
  76. \end{document}