blob: aac488b895409c68c9da44c8dcae51a6425886d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Remove this comment section before using
%
% This memo block is printed by 1) setting lengths
% 2) 'to' section is printed. Each item involves a test of the value,
% and is printed if non-blank 3) 'from' section is printed. Each item
% involves a test of the value, and is printed if non-blank 4) possibly a
% message is printed.
%
% To change this, please consider the current status of the memo status,
% and then make alterations as desired. To implement these changes, save
% this file after alteration as faxpage.tex. This will direct newlfm.cls to
% read in the file.
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*{\memosec}{%
\renewcommand{\ifta}{0}% % Set up spaces
\noindent\ignorespaces%
\newlength{\pa}\newlength{\pb}%
\newlength{\pc}\newlength{\pd}%
\settowidth{\pa}{{\large\bf \@hnfr@phr:\hspace*{1.25em}}}%
\setlength{\pb}{\textwidth-\pa-.1em}%
\settowidth{\pc}{\@phn@phr:\hspace*{2em}}%
\settowidth{\pd}{\@fax@phr:\hspace*{2em}}%
\ifthenelse{\lengthtest{\pc<\pd}}{\setlength{\pc}{\the\pd}}{}%
\settowidth{\pd}{\@pager@phr:\hspace*{2em}}
\ifthenelse{\lengthtest{\pc<\pd}}{\setlength{\pc}{\the\pd}}{}%
\settowidth{\pd}{\@email@phr:\hspace*{2em}}
\ifthenelse{\lengthtest{\pc<\pd}}{\setlength{\pc}{\the\pd}}{}%
{ \Large \vspace*{-1em}\setlength{\tabcolsep}{0pt}%
\setboolean{@memo@a}{false}%
\begin{flushleft}% % Set memo block up as flushleft tabular
\begin{tabular}{p{\the\pa}l}
\ifthenelse{\boolean{@memo@g}}{\setboolean{@memo@a}{true}%
\strut {\bf \@hnto@phr:} & \@name@to% % ``To'' section
\ifthenelse{\boolean{@dt@p}}{\hspace{\fill}\@xdate}{} \strut \\%
\ifthenelse{\boolean{@memo@b}}{\strut &%
\parbox[t]{\the\pb}{\@addr@to \strut} \strut \\}{}%
\ifthenelse{\boolean{@memo@c}}{\fixphr{\@phn@phr:}{\@phn@to}}{}%
\ifthenelse{\boolean{@memo@d}}{\fixphr{\@fax@phr:}{\@fax@to}}{}%
\ifthenelse{\boolean{@memo@n}}{\fixphr{\@pager@phr:}{\@pager@to}}{}%
\ifthenelse{\boolean{@memo@k}}{\fixphr{\@email@phr:}{\@email@to}}{}%
}{}%
\ifthenelse{\boolean{@memo@e}}{\setboolean{@memo@a}{true}%
\strut {\bf \@hnfr@phr:} & {\@name@fr} \strut \\% % ``From'' section
\ifthenelse{\boolean{@memo@h}}{\strut &%
\parbox[t]{\the\pb}{\@addr@fr \strut} \strut \\}{}%
\ifthenelse{\boolean{@memo@i}}{\fixphr{\@phn@phr:}{\@phn@fr}}{}%
\ifthenelse{\boolean{@memo@j}}{\fixphr{\@fax@phr:}{\@fax@fr}}{}%
\ifthenelse{\boolean{@memo@m}}{\fixphr{\@pager@phr:}{\@pager@fr}}{}%
\ifthenelse{\boolean{@memo@l}}{\fixphr{\@email@phr:}{\@email@fr}}{}%
}{}%
\ifthenelse{\boolean{@memo@f}}{\setboolean{@memo@a}{true}%
\strut {\bf \@re@phr:} & {\@re@line} \\%
}{}%
\ifthenelse{\boolean{@memo@a}}{\hline}{}%
\end{tabular}%
\end{flushleft}%
}%
\vspace*{\@post@memo@sp}\noindent\par%
}%
|