2 %% Purpose: Multipage template for welcome letters
7 %% Asplen Management Ltd
13 %% 0.1 6/19/07 Created
15 \documentclass[letterpaper]{article}
18 \usepackage{fancyhdr,lastpage,ifthen,afterpage}
19 \usepackage{graphicx} % required for logo graphic
21 \addtolength{\voffset}{-0.0cm} % top margin to top of header
22 \addtolength{\hoffset}{-0.6cm} % left margin on page
23 \addtolength{\topmargin}{-1.25cm} % top margin to top of header
24 \setlength{\headheight}{2.0cm} % height of header
25 \setlength{\headsep}{1.0cm} % between header and text
26 \setlength{\footskip}{1.0cm} % bottom of footer from bottom of text
28 %\addtolength{\textwidth}{2.1in} % width of text
29 \setlength{\textwidth}{19.5cm}
30 \setlength{\textheight}{19.5cm}
31 \setlength{\oddsidemargin}{-0.9cm} % odd page left margin
32 \setlength{\evensidemargin}{-0.9cm} % even page left margin
34 \renewcommand{\headrulewidth}{0pt}
35 \renewcommand{\footrulewidth}{0pt}
37 % Adjust the inset of the mailing address
38 \newcommand{\addressinset}[1][]{\hspace{1.0cm}}
40 % Adjust the inset of the return address and logo
41 \newcommand{\returninset}[1][]{\hspace{-0.25cm}}
43 % New command for address lines i.e. skip them if blank
44 \newcommand{\addressline}[1]{\ifthenelse{\equal{#1}{}}{}{#1\newline}}
46 % Remove plain style header/footer
47 \fancypagestyle{plain}{
52 % Define fancy header/footer for first and subsequent pages
55 \ifthenelse{\equal{\thepage}{1}}
60 \small{\thepage\ of \pageref{LastPage}}
65 \ifthenelse{\equal{\thepage}{1}}
70 \includegraphics{[@-- $conf_dir --@]/logo.eps} &
71 \begin{minipage}[b]{5.5cm}
72 [@-- $returnaddress --@]
78 %\includegraphics{[@-- $conf_dir --@]/logo.eps} % Uncomment if you want the logo on all pages.
86 %% bch Bitsream Charter
88 %% phv Adobe Helvetica
89 %% pnc New Century Schoolbook
93 \renewcommand{\familydefault}{phv}
99 \addressinset \rule{0cm}{0cm} &
101 \begin{minipage}[t]{5.0cm}
103 \textbf{[@-- $payname --@]}\\
104 \addressline{[@-- $company --@]}
105 \addressline{[@-- $address1 --@]}
106 \addressline{[@-- $address2 --@]}
107 \addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]}
108 \addressline{[@-- $country --@]}
113 % Your content goes here
114 Dear [@-- $first --@] [@-- $last --@]:\\
116 Thank you for choosing [@-- $company_name --@]. We aim to meet all of your
117 needs. Please do not hesitate to contact us for any additional
118 services or assistance.\\