summaryrefslogtreecommitdiff
path: root/templates/Italian-packing_list.tex
blob: 271d2906bedda671527eece0c2286f477d2ed8c2 (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. <%company%>
  26. <%address%>}\hfill
  27. \begin{tabular}[b]{rr@{}}
  28. Tel & <%tel%>\\
  29. Fac & <%fax%>
  30. \end{tabular}
  31. \rule[1.5ex]{\textwidth}{0.5pt}
  32. }
  33. }
  34. \fontfamily{cmss}\fontshape{n}\selectfont
  35. \markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. <%pagebreak 65 27 48%>
  39. \end{tabular*}
  40. \newpage
  41. \markright{<%company%>\hfill <%invnumber%>}
  42. \vspace*{-12pt}
  43. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  44. \textbf{Numero} & \textbf{Descrizione} & \textbf{Quantita'} &
  45. \textbf{Unita'} & \textbf{Bin} \\
  46. <%end pagebreak%>
  47. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  48. \vspace*{2cm}
  49. <%shiptoname%>
  50. <%shiptoaddr1%>
  51. <%shiptoaddr2%>
  52. <%shiptoaddr3%>
  53. <%shiptoaddr4%>
  54. \vspace{3.5cm}
  55. \textbf{L I S T A} \parbox{0.3cm}{\hfill} \textbf{E T I C H E T T E}
  56. \hfill
  57. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  58. \textbf{Data} & <%invdate%> \\
  59. \textbf{Numero} & <%invnumber%> \\
  60. \textbf{Cliente} & <%customer_id%>
  61. \end{tabular}
  62. \vspace{1cm}
  63. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  64. \textbf{Codice} & \textbf{Descrizione} & \textbf{Quantita'} &
  65. \textbf{Unita'} & \textbf{Bin} \\
  66. <%foreach number%>
  67. <%number%> & <%description%> & <%qty%> &
  68. <%unit%> & <%bin%> \\
  69. <%end number%>
  70. \end{tabular*}
  71. \parbox{\textwidth}{
  72. \rule{\textwidth}{2pt}
  73. \vspace{12pt}
  74. <%if notes%>
  75. <%notes%>
  76. <%end if%>
  77. }
  78. \vfill
  79. \end{document}