summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex')
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex55
1 files changed, 55 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex b/Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex
new file mode 100644
index 00000000000..9f15c9692f7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex
@@ -0,0 +1,55 @@
+% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Remove this comment section before using
+%
+% This FAX page is printed by 1) printing the time stamp 2) setting lengths
+% 3) 'to' section is printed. Each item involves a test of the value,
+% and is printed if non-blank 4) 'from' section is printed. Each item
+% involves a test of the value, and is printed if non-blank 5) possibly a
+% message is printed.
+%
+% To change this, please consider the current status of the FAX cover page,
+% 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*{\faxpage}{%
+ \newpage\c@page\@ne\interlinepenalty=200%
+ \thispagestyle{empty}% % Set page style
+ \begin{center}% % Center section
+ \framebox{\Huge{\@fax@cover@line}} \\% % FAX Cover Page (Default)
+ \vspace*{.5in}%
+ \Large{\@fax@page@count: \ref{totpage}} \\% Page count
+ \vspace*{.5in}%
+ \Large{\timestamp} \\% % Time of composition
+ \rule{\textwidth}{2pt}%
+ \end{center}%
+ \settowidth{\cmndlen}{\LARGE{\@hnto@phr:}}%
+ \settowidth{\extrlen}{\LARGE{\@hnfr@phr:}}%
+ \ifthenelse{\lengthtest{\cmndlen<\extrlen}}%
+ {\setlength{\cmndlen}{\extrlen}}{}%
+ \settowidth{\extrlen}{\LARGE{\@m@phr:}}%
+ \ifthenelse{\lengthtest{\cmndlen<\extrlen}}%
+ {\setlength{\cmndlen}{\extrlen}}{}%
+ \setlength{\extrlen}{\the\textwidth-\the\cmndlen}%
+ \begin{tabular}{p{\the\cmndlen}p{\the\extrlen}}%
+ \LARGE{\@hnto@phr:} & % % ``To'' section
+ \parbox[t]{\extrlen}{\@name@to \strut \\ \@addr@to \strut%
+ \ifempty{\@phn@to}{}{\\ \@phn@phr:\space\@phn@to \strut}%
+ \ifempty{\@phnb@to}{}{\\ \@phn@phr:\space\@phnb@to \strut}%
+ \ifempty{\@phnc@to}{}{\\ \@phn@phr:\space\@phnc@to \strut}%
+ \ifempty{\@phnd@to}{}{\\ \@phn@phr:\space\@phnd@to \strut}%
+ \ifempty{\@fax@to}{}{\\ \@fax@phr:\space\@fax@to \strut}} \\%
+ \hline \vspace*{5pt}%
+ \LARGE{\@hnfr@phr:} & \vspace*{5pt}% % ``From'' section
+ \parbox[t]{\extrlen}{\@name@fr \strut \\ \@addr@fr \strut %%
+ \ifempty{\@phn@fr}{}{\\ \@phn@phr:\space\@phn@fr \strut}%
+ \ifempty{\@phnb@fr}{}{\\ \@phn@phr:\space\@phnb@fr \strut}%
+ \ifempty{\@phnc@fr}{}{\\ \@phn@phr:\space\@phnc@fr \strut}%
+ \ifempty{\@phnd@fr}{}{\\ \@phn@phr:\space\@phnd@fr \strut}%
+ \ifempty{\@fax@fr}{}{\\ \@fax@phr:\space\@fax@fr \strut}} \\%
+ \hline%
+ \ifempty{\@fax@mssg}{}{ \strut% % FAX message section
+ \LARGE{\@m@phr:} \strut &%
+ \parbox[t]{\extrlen}{\strut \@fax@mssg} \strut \\ \hline}%
+ \end{tabular}%
+}%