diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/newlfm/sfaxpage.tex | 55 |
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}% +}% |