| 1 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% Remove this comment section before using |
| 3 |
% |
| 4 |
% This FAX page is printed by 1) printing the time stamp 2) setting lengths |
| 5 |
% 3) 'to' section is printed. Each item involves a test of the value, |
| 6 |
% and is printed if non-blank 4) 'from' section is printed. Each item |
| 7 |
% involves a test of the value, and is printed if non-blank 5) possibly a |
| 8 |
% message is printed. |
| 9 |
% |
| 10 |
% To change this, please consider the current status of the FAX cover page, |
| 11 |
% and then make alterations as desired. To implement these changes, save |
| 12 |
% this file after alteration as faxpage.tex. This will direct newlfm.cls to |
| 13 |
% read in the file. |
| 14 |
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 15 |
\renewcommand*{\faxpage}{% |
| 16 |
\newpage\c@page\@ne\interlinepenalty=200% |
| 17 |
\thispagestyle{empty}% % Set page style |
| 18 |
\begin{center}% % Center section |
| 19 |
\framebox{\Huge{\@fax@cover@line}} \\% % FAX Cover Page (Default) |
| 20 |
\vspace*{.5in}% |
| 21 |
\Large{\@fax@page@count: \ref{totpage}} \\% Page count |
| 22 |
\vspace*{.5in}% |
| 23 |
\Large{\timestamp} \\% % Time of composition |
| 24 |
\rule{\textwidth}{2pt}% |
| 25 |
\end{center}% |
| 26 |
\settowidth{\cmndlen}{\LARGE{\@hnto@phr:}}% |
| 27 |
\settowidth{\extrlen}{\LARGE{\@hnfr@phr:}}% |
| 28 |
\ifthenelse{\lengthtest{\cmndlen<\extrlen}}% |
| 29 |
{\setlength{\cmndlen}{\extrlen}}{}% |
| 30 |
\settowidth{\extrlen}{\LARGE{\@m@phr:}}% |
| 31 |
\ifthenelse{\lengthtest{\cmndlen<\extrlen}}% |
| 32 |
{\setlength{\cmndlen}{\extrlen}}{}% |
| 33 |
\setlength{\extrlen}{\the\textwidth-\the\cmndlen}% |
| 34 |
\begin{tabular}{p{\the\cmndlen}p{\the\extrlen}}% |
| 35 |
\LARGE{\@hnto@phr:} & % % ``To'' section |
| 36 |
\parbox[t]{\extrlen}{\@name@to \strut \\ \@addr@to \strut% |
| 37 |
\ifempty{\@phn@to}{}{\\ \@phn@phr:\space\@phn@to \strut}% |
| 38 |
\ifempty{\@phnb@to}{}{\\ \@phn@phr:\space\@phnb@to \strut}% |
| 39 |
\ifempty{\@phnc@to}{}{\\ \@phn@phr:\space\@phnc@to \strut}% |
| 40 |
\ifempty{\@phnd@to}{}{\\ \@phn@phr:\space\@phnd@to \strut}% |
| 41 |
\ifempty{\@fax@to}{}{\\ \@fax@phr:\space\@fax@to \strut}} \\% |
| 42 |
\hline \vspace*{5pt}% |
| 43 |
\LARGE{\@hnfr@phr:} & \vspace*{5pt}% % ``From'' section |
| 44 |
\parbox[t]{\extrlen}{\@name@fr \strut \\ \@addr@fr \strut %% |
| 45 |
\ifempty{\@phn@fr}{}{\\ \@phn@phr:\space\@phn@fr \strut}% |
| 46 |
\ifempty{\@phnb@fr}{}{\\ \@phn@phr:\space\@phnb@fr \strut}% |
| 47 |
\ifempty{\@phnc@fr}{}{\\ \@phn@phr:\space\@phnc@fr \strut}% |
| 48 |
\ifempty{\@phnd@fr}{}{\\ \@phn@phr:\space\@phnd@fr \strut}% |
| 49 |
\ifempty{\@fax@fr}{}{\\ \@fax@phr:\space\@fax@fr \strut}} \\% |
| 50 |
\hline% |
| 51 |
\ifempty{\@fax@mssg}{}{ \strut% % FAX message section |
| 52 |
\LARGE{\@m@phr:} \strut &% |
| 53 |
\parbox[t]{\extrlen}{\strut \@fax@mssg} \strut \\ \hline}% |
| 54 |
\end{tabular}% |
| 55 |
}% |