summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newlfm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-14 00:14:05 +0000
committerKarl Berry <karl@freefriends.org>2009-01-14 00:14:05 +0000
commitc49b4326cde7ef42ae8571be9f7e12dbdf1ec6ac (patch)
tree50e1794f5291675c4def85e4c5c08a5174ecf144 /Master/texmf-dist/tex/latex/newlfm
parent8d86fd37cd58466c1da9f724f579b64db18b2158 (diff)
newlfm 9.1 (11jan09)
git-svn-id: svn://tug.org/texlive/trunk@11859 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/newlfm')
-rw-r--r--Master/texmf-dist/tex/latex/newlfm/addrset.sty2
-rw-r--r--Master/texmf-dist/tex/latex/newlfm/newlfm.cls897
-rw-r--r--Master/texmf-dist/tex/latex/newlfm/setdim.sty4
3 files changed, 311 insertions, 592 deletions
diff --git a/Master/texmf-dist/tex/latex/newlfm/addrset.sty b/Master/texmf-dist/tex/latex/newlfm/addrset.sty
index dc272c87f5e..137868c2f25 100644
--- a/Master/texmf-dist/tex/latex/newlfm/addrset.sty
+++ b/Master/texmf-dist/tex/latex/newlfm/addrset.sty
@@ -23,7 +23,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\ProvidesPackage{addrset}
- [2004/11/02 v8.3
+ [2009/1/09 v9.1
Address macros]%
\def\makeletterhead#1#2{\expandafter\newcommand\csname lth#1\endcsname{#2}}%
diff --git a/Master/texmf-dist/tex/latex/newlfm/newlfm.cls b/Master/texmf-dist/tex/latex/newlfm/newlfm.cls
index dcca9d4c458..7caedf822b3 100644
--- a/Master/texmf-dist/tex/latex/newlfm/newlfm.cls
+++ b/Master/texmf-dist/tex/latex/newlfm/newlfm.cls
@@ -23,7 +23,7 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\ProvidesClass{newlfm}
- [2004/11/02 v8.3
+ [2009/1/09 v9.1
Letter-Fax-Memo LaTeX Document Class]
\def\ifta{0}\def\iftb{0}%
@@ -78,8 +78,7 @@
\newlength{\@pre@memo@sp} \newlength{\@post@memo@sp} \newlength{\@sig@sk@b}%
\newlength{\@sig@sk@a} \newlength{\@sig@sp} \newlength{\@text@width}%
\newlength{\@sig@sk@c} \newlength{\@sig@sk@r}%
-\newlength{\@stock@height} \newlength{\@stock@width}%
-\newlength{\@fax@height} \newlength{\@fax@width}%
+\newlength{\@cls@sk@a} \newlength{\@cls@sk@b}%
\newlength{\@text@height} \newlength{\@unpr@tp} \newlength{\@unpr@bm}%
\newlength{\@unpr@rt} \newlength{\@unpr@lt} \newlength{\@util}%
\newlength{\@utila} \newlength{\@utilb} \newlength{\@utilc}%
@@ -87,7 +86,6 @@
\newlength{\@xda} \newlength{\@xdb} \newlength{\@xdc}%
\newlength{\@xdd} \newlength{\@xde} \newlength{\@xdf}%
\newlength{\@xdg} \newlength{\@xdh} \newlength{\@xdi}%
-\newlength{\extrarulesep}%
\setlength{\@cello@h}{1in} \setlength{\@cello@w}{3in}%
\setlength{\@cello@d}{2.5in} \setlength{\@cello@l}{1in}%
\setlength{\@marg@tp@s}{0in} \setlength{\@marg@bt@b}{0in}%
@@ -103,42 +101,15 @@
\setlength{\@Hrw}{1pt} \setlength{\@hrw}{1pt}%
\setlength{\@Frw}{1pt} \setlength{\@frw}{1pt}%
\setlength{\@sig@sk@a}{5pt} \setlength{\@sig@sk@b}{5pt}
+\setlength{\@cls@sk@a}{0pt} \setlength{\@cls@sk@b}{1em}
\setlength{\@sig@sk@c}{5pt} \setlength{\@sig@sk@r}{5pt}%
-\setlength{\@fax@height}{720pt}\setlength{\@fax@width}{432pt}%
-\setlength{\@extr@hor}{0pt}%
+\setlength{\@extr@hor}{0pt}
\newsavebox{\@sig@box@a}\newsavebox{\b@addr@fr}\newsavebox{\b@addr@to}%
-\newsavebox{\@x@c} \newsavebox{\@x@l} \newsavebox{\@x@r} \newsavebox{\@xdateb}%
-\newsavebox{\fba} \newsavebox{\adrfr} \newsavebox{\adrto} \newsavebox{\@sp@box}%
-\newsavebox{\@sig@box@b}\newsavebox{\@sig@box@c}\newsavebox{\@sig@box@d}%
-\newsavebox{\@sig@box@e}\newsavebox{\@sig@box@f}\newsavebox{\@sig@box@g}%
-\newsavebox{\@sig@box@h}\newsavebox{\@sig@box@i}\newsavebox{\@sig@box@j}%
-\newsavebox{\@hblk@aa}\newsavebox{\@hblk@ab}\newsavebox{\@hblk@ac}%
-\newsavebox{\@hblk@ba}\newsavebox{\@hblk@bb}\newsavebox{\@hblk@bc}%
-\newsavebox{\@hblk@ca}\newsavebox{\@hblk@cb}\newsavebox{\@hblk@cc}%
-\newsavebox{\@hblk@da}\newsavebox{\@hblk@db}\newsavebox{\@hblk@dc}%
-\newsavebox{\@hblk@ea}\newsavebox{\@hblk@eb}\newsavebox{\@hblk@ec}%
-\newsavebox{\@hblk@fa}\newsavebox{\@hblk@fb}\newsavebox{\@hblk@fc}%
-\newsavebox{\@hblk@ga}\newsavebox{\@hblk@gb}\newsavebox{\@hblk@gc}%
-\newsavebox{\@hblk@ha}\newsavebox{\@hblk@hb}\newsavebox{\@hblk@hc}%
-\newsavebox{\@hblk@ia}\newsavebox{\@hblk@ib}\newsavebox{\@hblk@ic}%
-\newlength{\@hblk@a@bef} \newlength{\@hblk@a@aft}%
-\newlength{\@hblk@b@bef} \newlength{\@hblk@b@aft}%
-\newlength{\@hblk@c@bef} \newlength{\@hblk@c@aft}%
-\newlength{\@hblk@d@bef} \newlength{\@hblk@d@aft}%
-\newlength{\@hblk@e@bef} \newlength{\@hblk@e@aft}%
-\newlength{\@hblk@f@bef} \newlength{\@hblk@f@aft}%
-\newlength{\@hblk@g@bef} \newlength{\@hblk@g@aft}%
-\newlength{\@hblk@h@bef} \newlength{\@hblk@h@aft}%
-\newlength{\@hblk@i@bef} \newlength{\@hblk@i@aft}%
-\setlength{\@hblk@a@bef}{0pt} \setlength{\@hblk@a@aft}{0pt}%
-\setlength{\@hblk@b@bef}{0pt} \setlength{\@hblk@b@aft}{0pt}%
-\setlength{\@hblk@c@bef}{0pt} \setlength{\@hblk@c@aft}{0pt}%
-\setlength{\@hblk@d@bef}{0pt} \setlength{\@hblk@d@aft}{0pt}%
-\setlength{\@hblk@e@bef}{0pt} \setlength{\@hblk@e@aft}{0pt}%
-\setlength{\@hblk@f@bef}{0pt} \setlength{\@hblk@f@aft}{0pt}%
-\setlength{\@hblk@g@bef}{0pt} \setlength{\@hblk@g@aft}{0pt}%
-\setlength{\@hblk@h@bef}{0pt} \setlength{\@hblk@h@aft}{0pt}%
-\setlength{\@hblk@i@bef}{0pt} \setlength{\@hblk@i@aft}{0pt}%
+\newsavebox{\@x@c} \newsavebox{\@x@l} \newsavebox{\@x@r}%
+\newsavebox{\fba} \newsavebox{\adrfr} \newsavebox{\adrto}%
+\newsavebox{\@sig@box@b}\newsavebox{\@sig@box@c}\newsavebox{\@sig@box@d}
+\newsavebox{\@sig@box@e}\newsavebox{\@sig@box@f}\newsavebox{\@sig@box@g}
+\newsavebox{\@sig@box@h}\newsavebox{\@sig@box@i}\newsavebox{\@sig@box@j}
\newcounter{@c@pos} \newcounter{figure} \newcounter{table}%
\newcounter{@sig@tot} \newcounter{@lab@tot@row}%
\newcounter{@lab@tot@col} \newcounter{@lab@cnt@row} \newcounter{@lab@cnt@col}%
@@ -146,16 +117,14 @@
\newcount\@nlfm@util%
\newcount\@nlfm@uta%
\newcount\@nlfm@utb%
-\newboolean{@af@c}%
-\newboolean{@af@l}%
-\newboolean{@af@p}%
+\newboolean{@addr@fr@l}%
+\newboolean{@addr@fr@p}%
\newboolean{@addr@fr@e} \setboolean{@addr@fr@e}{false}%
\newboolean{@addr@fr@f} \setboolean{@addr@fr@f}{false}%
\newboolean{@addr@fr@t} \setboolean{@addr@fr@t}{false}%
\newboolean{@addr@swtch} \setboolean{@addr@swtch}{true}%
-\newboolean{@at@c}%
-\newboolean{@at@l}%
-\newboolean{@at@p}%
+\newboolean{@addr@to@l}%
+\newboolean{@addr@to@p}%
\newboolean{@addr@to@f} \setboolean{@addr@to@f}{false}%
\newboolean{@addr@to@e} \setboolean{@addr@to@e}{false}%
\newboolean{@addr@to@t} \setboolean{@addr@to@t}{false}%
@@ -191,15 +160,6 @@
\newboolean{@fl} \setboolean{@fl}{true}%
\newboolean{@greet@p}%
\newboolean{@greet@l}%
-\newboolean{@hblk@a} \setboolean{@hblk@a}{false}%
-\newboolean{@hblk@b} \setboolean{@hblk@b}{false}%
-\newboolean{@hblk@c} \setboolean{@hblk@c}{false}%
-\newboolean{@hblk@d} \setboolean{@hblk@d}{false}%
-\newboolean{@hblk@e} \setboolean{@hblk@e}{false}%
-\newboolean{@hblk@f} \setboolean{@hblk@f}{false}%
-\newboolean{@hblk@g} \setboolean{@hblk@g}{false}%
-\newboolean{@hblk@h} \setboolean{@hblk@h}{false}%
-\newboolean{@hblk@i} \setboolean{@hblk@i}{false}%
\newboolean{@hl} \setboolean{@hl}{true}%
\newboolean{@in@tab}%
\newboolean{@in@makeenv} \setboolean{@in@makeenv}{false}%
@@ -241,7 +201,6 @@
\newboolean{@memo@n} \setboolean{@memo@n}{false}%
\newboolean{@no@cen} \setboolean{@no@cen}{false}%
\newboolean{@no@spc} \setboolean{@no@spc}{false}%
-\newboolean{@prnt@frm} \setboolean{@prnt@frm}{false}%
\newboolean{@ROf@use} \setboolean{@ROf@use}{false}%
\newboolean{@Rf@use} \setboolean{@Rf@use}{false}%
\newboolean{@rf@use} \setboolean{@rf@use}{false}%
@@ -268,44 +227,45 @@
\newboolean{@use@all@fr}%
\newboolean{@use@all@to}%
\newboolean{@use@envlab} \setboolean{@use@envlab}{false}%
+\newboolean{@use@water} \setboolean{@use@water}{false}%
\newboolean{@ztila} \newboolean{@ztilb}%
\newboolean{@pr@p} \setboolean{@pr@p}{false}%
\newboolean{@pr@by}
-\def\@d@pos#1{\def\@intd@pos{#1}}%
-\def\@t@pos#1{\def\@intt@pos{#1}}%
-\def\@f@pos#1{\def\@intf@pos{#1}}%
+\def\@d@pos#1{\def\@intd@pos{#1}}
+\def\@t@pos#1{\def\@intt@pos{#1}}
+\def\@f@pos#1{\def\@intf@pos{#1}}
\def\newlfmParam{\@ifnextchar[%]
-\newlx@i{\newlx@i[]}}%
-\def\newlx@i[#1]{{\setkeys{ov}{#1}}}%
-\def\Dimens{\@ifnextchar[%]%
-\Dimens@i{\Dimens@i[]}}%
-\def\Dimens@i[#1]{{\setkeys{ov}{#1}}}%
-\def\Language{\@ifnextchar[%]%
-\Lang@i{\Lang@i[]}}%
-\def\Lang@i[#1]{{\setkeys{ov}{#1}}}%
-\def\MemoParam{\@ifnextchar[%]%
-\MemoP@i{\MemoP@i[]}}%
-\def\MemoP@i[#1]{{\setkeys{ov}{#1}}}%
-\def\LetterParam{\@ifnextchar[%]%
-\LetrP@i{\LetrP@i[]}}%
-\def\LetrP@i[#1]{{\setkeys{ov}{#1}}}%
-\def\FAZParam{\@ifnextchar[%]%
-\FAXP@i{\FAXP@i[]}}%
-\def\FAXP@i[#1]{{\setkeys{ov}{#1}}}%
-\def\LetterP#1{\setkeys{ov}{#1}}%
-\def\newlfmP#1{\setkeys{ov}{#1}}%
-\def\LanguageP#1{\setkeys{ov}{#1}}%
-\def\FAXP#1{\setkeys{ov}{#1}}%
-\def\DimensP#1{\setkeys{ov}{#1}}%
-\def\MemoP#1{\setkeys{ov}{#1}}%
-\def\iffixt#1#2{\ifthenelse{\equal{#1}{true}}{\setboolean{#2}{true}}{}}%
-\def\iffixf#1#2{\ifthenelse{\equal{#1}{true}}{\setboolean{#2}{false}}{}}%
-\def\iffixq#1#2{\ifthenelse{\equal{#1}{true}}{#2}{}}%
+\newlx@i{\newlx@i[]}}
+\def\newlx@i[#1]{{\setkeys{ov}{#1}}}
+\def\Dimens{\@ifnextchar[%]
+\Dimens@i{\Dimens@i[]}}
+\def\Dimens@i[#1]{{\setkeys{ov}{#1}}}
+\def\Language{\@ifnextchar[%]
+\Lang@i{\Lang@i[]}}
+\def\Lang@i[#1]{{\setkeys{ov}{#1}}}
+\def\MemoParam{\@ifnextchar[%]
+\MemoP@i{\MemoP@i[]}}
+\def\MemoP@i[#1]{{\setkeys{ov}{#1}}}
+\def\LetterParam{\@ifnextchar[%]
+\LetrP@i{\LetrP@i[]}}
+\def\LetrP@i[#1]{{\setkeys{ov}{#1}}}
+\def\FAZParam{\@ifnextchar[%]
+\FAXP@i{\FAXP@i[]}}
+\def\FAXP@i[#1]{{\setkeys{ov}{#1}}}
+\def\LetterP#1{\setkeys{ov}{#1}}
+\def\newlfmP#1{\setkeys{ov}{#1}}
+\def\LanguageP#1{\setkeys{ov}{#1}}
+\def\FAXP#1{\setkeys{ov}{#1}}
+\def\DimensP#1{\setkeys{ov}{#1}}
+\def\MemoP#1{\setkeys{ov}{#1}}
+\def\iffixt#1#2{\ifthenelse{\equal{#1}{true}}{\setboolean{#2}{true}}{}}
+\def\iffixf#1#2{\ifthenelse{\equal{#1}{true}}{\setboolean{#2}{false}}{}}
+\def\iffixq#1#2{\ifthenelse{\equal{#1}{true}}{#2}{}}
\def\DatePhrase#1{\def\@date@phr{#1}}%
\def\PhrFAXcovp#1{\def\@fax@cover@line{#1}}%
\def\PhrFAXpgcnt#1{\def\@fax@page@count{#1}}%
\def\PhrEmail#1{\def\@email@phr{#1}}%
-\def\PhrFax#1{\def\@fax@phr{#1}}%
+\def\PhrFax#1{\def\@fax@phr{#1}}
\def\PhrPager#1{\def\@pager@phr{#1}}%
\def\PhrDocument#1{\def\@doc@phr{#1}}%
\def\PhrPhone#1{\def\@phn@phr{#1}}%
@@ -326,41 +286,58 @@
\def\PhrPRend#1{\def\@PRend@phr{#1}}%
\def\lth{}\def\sig{}\def\adr{}%
\def\letrh#1{\def\@ltr@head{#1}}%
+\def\waterpage#1{\def\@water@page{#1}\setboolean{@use@water}{true}}%
\define@key{ov}{letrh}{\def\@ltr@head{#1}}%
-\def\@adr@to{}\def\@adr@fr{}\def\@ltr@head{}\def\@sig@blok{}%
+\define@key{ov}{waterpage}{\def\@water@page{#1}\setboolean{@use@water}{true}}%
+\def\@adr@to{}\def\@adr@fr{}\def\@ltr@head{}\def\@sig@blok{}\def\@water@page{}%
\def\addrt#1{\def\@adr@to{#1}\setboolean{@over@setto}{true}}%
\define@key{ov}{addrt}{\def\@adr@to{#1}\setboolean{@over@setto}{true}}%
\def\addrf#1{\def\@adr@fr{#1}\setboolean{@over@setfr}{true}}%
\define@key{ov}{addrf}{\def\@adr@fr{#1}\setboolean{@over@setfr}{true}}%
-\def\sigtr#1{\def\@sig@blok{#1}\setboolean{@over@sigbl}{true}}%
+\def\sigtr#1{\def\@sig@blok{#1}\setboolean{@over@sigbl}{true}}%%
\define@key{ov}{sigtr}{\def\@sig@blok{#1}\setboolean{@over@sigbl}{true}}%
-\def\MinHead#1{\setlength{\@Min@Hgt@Head}{#1}}%
+\def\MinHead#1{\setlength{\@Min@Hgt@Head}{#1}}
\define@key{ov}{MinHead}{\setlength{\@Min@Hgt@Head}{#1}}%
-\def\minhead#1{\setlength{\@Min@Hgt@head}{#1}}%
+\def\minhead#1{\setlength{\@Min@Hgt@head}{#1}}
\define@key{ov}{minhead}{\setlength{\@Min@Hgt@head}{#1}}%
-\def\MinLeft#1{\setlength{\@Min@Hgt@Left}{#1}}%
+\def\MinLeft#1{\setlength{\@Min@Hgt@Left}{#1}}
\define@key{ov}{MinLeft}{\setlength{\@Min@Hgt@Left}{#1}}%
-\def\minleft#1{\setlength{\@Min@Hgt@left}{#1}}%
+\def\minleft#1{\setlength{\@Min@Hgt@left}{#1}}
\define@key{ov}{minleft}{\setlength{\@Min@Hgt@left}{#1}}%
-\def\MinFoot#1{\setlength{\@Min@Hgt@Foot}{#1}}%
+\def\MinFoot#1{\setlength{\@Min@Hgt@Foot}{#1}}
\define@key{ov}{MinFoot}{\setlength{\@Min@Hgt@Foot}{#1}}%
-\def\minfoot#1{\setlength{\@Min@Hgt@foot}{#1}}%
+\def\minfoot#1{\setlength{\@Min@Hgt@foot}{#1}}
\define@key{ov}{minfoot}{\setlength{\@Min@Hgt@foot}{#1}}%
-\def\MinRight#1{\setlength{\@Min@Hgt@Right}{#1}}%
+\def\MinRight#1{\setlength{\@Min@Hgt@Right}{#1}}
\define@key{ov}{MinRight}{\setlength{\@Min@Hgt@Right}{#1}}%
-\def\minright#1{\setlength{\@Min@Hgt@right}{#1}}%
+\def\minright#1{\setlength{\@Min@Hgt@right}{#1}}
\define@key{ov}{minright}{\setlength{\@Min@Hgt@right}{#1}}%
\def\@def@l{american}%
\def\@am@phr{%
- \DatePhrase{Date} \PhrFAXcovp{FAX Cover Page} \PhrFAXpgcnt{FAX Page Count}%
- \PhrFax{FAX} \PhrPager{Pager} \PhrEmail{E-mail}%
- \PhrDocument{Document} \PhrPhone{Telephone} \PhrRe{Re}%
- \PhrSubre{\ensuremath{\mathrm{Re}_2}} \PhrCc{cc}%
- \PhrPs{Ps} \PhrMessage{Message} \PhrPps{Pps}%
- \PhrPpps{Ppps} \PhrEncl{Encl} \PhrPager{Page}%
- \PhrTo{To} \PhrFrom{From} \PhrRegard{Regarding}%
- \PhrContact{Contact} \PhrRelease{For Immediate Release}%
- \PhrMore{--- more ---} \PhrPRend{\# \# \#}%
+ \DatePhrase{Date}%
+ \PhrFAXcovp{FAX Cover Page}%
+ \PhrFAXpgcnt{FAX Page Count}%
+ \PhrFax{FAX}%
+ \PhrPager{Pager}%
+ \PhrEmail{E-mail}%
+ \PhrDocument{Document}%
+ \PhrPhone{Telephone}%
+ \PhrRe{Re}%
+ \PhrSubre{\ensuremath{\mathrm{Re}_2}}%
+ \PhrCc{cc}%
+ \PhrPs{Ps}%
+ \PhrMessage{Message}%
+ \PhrPps{Pps}%
+ \PhrPpps{Ppps}%
+ \PhrEncl{Encl}%
+ \PhrPager{Page}%
+ \PhrTo{To}%
+ \PhrFrom{From}%
+ \PhrRegard{Regarding}%
+ \PhrContact{Contact}%
+ \PhrRelease{For Immediate Release}%
+ \PhrMore{--- more ---}%
+ \PhrPRend{\# \# \#}%
}
\InputIfFileExists{extracd.tex}%
{\typeout{Reading alternative macro definitions from extracd.tex}}%
@@ -388,9 +365,9 @@
{\def\@def@l{piglatin}\setboolean{@l@pi}{true} \@pl@phr}%
\define@key{ov}{piglatin}[true]%
{\iffixq{#1}{\def\@def@l{piglatin}\setboolean{@l@pi}{true} \@pl@phr}}%
-\define@key{ov}{textwidthsize}{\setlength{\@text@width}{#1}}%
+\define@key{ov}{textwidthsize}{\setlength{\@text@width}{#1}}
\def\textwidthsize#1{\setlength{\@text@width}{#1}}%
-\define@key{ov}{textheightsize}{\setlength{\@text@height}{#1}}%
+\define@key{ov}{textheightsize}{\setlength{\@text@height}{#1}}
\def\textheightsize#1{\setlength{\@text@height}{#1}}%
\define@key{ov}{bottommarginskip}{\setlength{\@marg@bt@a}{#1}}%
\def\bottommarginskip#1{\setlength{\@marg@bt@a}{#1}}%
@@ -442,12 +419,14 @@
\define@key{ov}{addrtoskipbefore}{\setlength{\@addr@to@sk@b}{#1}}%
\def\greettoskipafter#1{\setlength{\@greet@to@sk@a}{#1}}%
\define@key{ov}{greettoskipafter}{\setlength{\@greet@to@sk@a}{#1}}%
-\def\greettoskipbefore#1{\setlength{\@greet@to@sk@b}{#1}}%
-\define@key{ov}{greettoskipbefore}{\setlength{\@greet@to@sk@b}{#1}}%
\def\sigskipbefore#1{\setlength{\@sig@sk@b}{#1}}%
\define@key{ov}{sigskipbefore}{\setlength{\@sig@sk@b}{#1}}%
\def\sigskipafter#1{\setlength{\@sig@sk@a}{#1}}%
\define@key{ov}{sigskipafter}{\setlength{\@sig@sk@a}{#1}}%
+\def\closeskipbefore#1{\setlength{\@cls@sk@b}{#1}}%
+\define@key{ov}{closeskipbefore}{\setlength{\@cls@sk@b}{#1}}%
+\def\closeskipafter#1{\setlength{\@cls@sk@a}{#1}}%
+\define@key{ov}{closeskipafter}{\setlength{\@cls@sk@a}{#1}}%
\def\sigskipcolumn#1{\setlength{\@sig@sk@c}{#1}}%
\define@key{ov}{sigskipcolumn}{\setlength{\@sig@sk@c}{#1}}%
\def\sigskiprow#1{\setlength{\@sig@sk@r}{#1}}%
@@ -471,8 +450,8 @@
\def\unprleft#1{\setlength{\@unpr@lt}{#1}}
\define@key{ov}{unprleft}{\setlength{\@unpr@lt}{#1}}%
\def\@opt@stm{
-\setboolean{@af@p}{false}%
-\setboolean{@at@p}{false}%
+\setboolean{@addr@fr@p}{false}%
+\setboolean{@addr@to@p}{false}%
\setboolean{@memo@bl}{true}%
\setboolean{@greet@p}{false}%
\setboolean{@dt@l}{false}%
@@ -482,8 +461,8 @@
\setboolean{@sig@mp}{true}%
}%
\def\@opt@stpr{
-\setboolean{@af@p}{false}%
-\setboolean{@at@p}{false}%
+\setboolean{@addr@fr@p}{false}%
+\setboolean{@addr@to@p}{false}%
\setboolean{@memo@bl}{true}%
\setboolean{@greet@p}{false}%
\setboolean{@dt@l}{false}%
@@ -493,8 +472,8 @@
\setboolean{@sig@mp}{true}%
}%
\def\@opt@flm{
-\setboolean{@af@p}{false}%
-\setboolean{@at@p}{false}%
+\setboolean{@addr@fr@p}{false}%
+\setboolean{@addr@to@p}{false}%
\setboolean{@memo@bl}{true}%
\setboolean{@greet@p}{false}%
\setboolean{@dt@l}{false}%
@@ -535,19 +514,19 @@
\define@key{ov}{memofaxfrom}[true]{\iffixt{#1}{@memo@j}}%
\DeclareOption{memodate}{\setboolean{@dt@p}{true}}%
\define@key{ov}{memodate}[true]{\iffixt{#1}{@dt@p}}%
-\DeclareOption{memonofrom}{\setboolean{@memo@e}{false}}%
-\define@key{ov}{memonofrom}[false]{\iffixt{#1}{@memo@e}}%
-\DeclareOption{memonoto}{\setboolean{@memo@g}{false}}%
-\define@key{ov}{memonoto}[false]{\iffixt{#1}{@memo@g}}%
-\DeclareOption{memonore}{\setboolean{@memo@f}{false}}%
-\define@key{ov}{memonore}[false]{\iffixt{#1}{@memo@f}}%%
+\DeclareOption{memonofrom} {\setboolean{@memo@e}{true}}%
+\define@key{ov}{memonofrom}[true]{\iffixt{#1}{@memo@e}}%
+\DeclareOption{memonoto} {\setboolean{@memo@g}{true}}%
+\define@key{ov}{memonoto}[true]{\iffixt{#1}{@memo@g}}%
+\DeclareOption{memonore} {\setboolean{@memo@f}{true}}%
+\define@key{ov}{memonore}[true]{\iffixt{#1}{@memo@f}}%
\DeclareOption{fullmemo}{\@opt@flm}%
\define@key{ov}{fullmemo}[true]{\iffixq{#1}{\@opt@flm}}%
\DeclareOption{stdmemo}{\@opt@stm}%
\define@key{ov}{stdmemo}[true]{\iffixq{#1}{\@opt@stm}}%
\def\@opt@pr{
-\setboolean{@af@p}{true}%
-\setboolean{@at@p}{false}%
+\setboolean{@addr@fr@p}{true}%
+\setboolean{@addr@to@p}{false}%
\setboolean{@pr@p}{true}%
\setboolean{@greet@p}{false}%
\setboolean{@dt@l}{false}%
@@ -588,57 +567,17 @@
{\setboolean{@fax@blb}{true}\setboolean{@fax@bla}{false}}%
\define@key{ov}{faxblockb}[true]%
{\iffixq{#1}{\setboolean{@fax@blb}{true}\setboolean{@fax@bla}{false}}}%
-\providecommand{\speciala}[3]
- {\def\@spec@a{#1}\def\@row@a{#2}\def\@col@a{#3}\setboolean{@use@spec@a}{true}}%
-\def\@col@a{}\def\@row@a{}\def\@spec@a{}
-\newboolean{@use@spec@a}\setboolean{@use@spec@a}{false}%
-\providecommand{\specialb}[3]
- {\def\@spec@b{#1}\def\@row@b{#2}\def\@col@b{#3}\setboolean{@use@spec@b}{true}}%
-\def\@col@b{}\def\@row@b{}\def\@spec@b{}
-\newboolean{@use@spec@b}\setboolean{@use@spec@b}{false}%
-\providecommand{\specialc}[3]
- {\def\@spec@c{#1}\def\@row@c{#2}\def\@col@c{#3}\setboolean{@use@spec@c}{true}}%
-\def\@col@c{}\def\@row@c{}\def\@spec@c{}
-\newboolean{@use@spec@c}\setboolean{@use@spec@c}{false}%
-\providecommand{\speciald}[3]
- {\def\@spec@d{#1}\def\@row@d{#2}\def\@col@d{#3}\setboolean{@use@spec@d}{true}}%
-\def\@col@d{}\def\@row@d{}\def\@spec@d{}
-\newboolean{@use@spec@d}\setboolean{@use@spec@d}{false}%
-\providecommand{\speciale}[3]
- {\def\@spec@e{#1}\def\@row@e{#2}\def\@col@e{#3}\setboolean{@use@spec@e}{true}}%
-\def\@col@e{}\def\@row@e{}\def\@spec@e{}
-\newboolean{@use@spec@e}\setboolean{@use@spec@e}{false}%
-\providecommand{\specialf}[3]
- {\def\@spec@f{#1}\def\@row@f{#2}\def\@col@f{#3}\setboolean{@use@spec@f}{true}}%
-\def\@col@f{}\def\@row@f{}\def\@spec@f{}
-\newboolean{@use@spec@f}\setboolean{@use@spec@f}{false}%
-\providecommand{\specialg}[3]
- {\def\@spec@g{#1}\def\@row@g{#2}\def\@col@g{#3}\setboolean{@use@spec@g}{true}}%
-\def\@col@g{}\def\@row@g{}\def\@spec@g{}
-\newboolean{@use@spec@g}\setboolean{@use@spec@g}{false}%
-\providecommand{\specialh}[3]
- {\def\@spec@h{#1}\def\@row@h{#2}\def\@col@h{#3}\setboolean{@use@spec@h}{true}}%
-\def\@col@h{}\def\@row@h{}\def\@spec@h{}
-\newboolean{@use@spec@h}\setboolean{@use@spec@h}{false}%
-\providecommand{\spacespa}[2]{\def\@sp@bef@a{#1}\def\@sp@aft@a{#2}} \spacespa{0pt}{0pt}%
-\providecommand{\spacespb}[2]{\def\@sp@bef@b{#1}\def\@sp@aft@b{#2}} \spacespb{0pt}{0pt}%
-\providecommand{\spacespc}[2]{\def\@sp@bef@c{#1}\def\@sp@aft@c{#2}} \spacespc{0pt}{0pt}%
-\providecommand{\spacespd}[2]{\def\@sp@bef@d{#1}\def\@sp@aft@d{#2}} \spacespd{0pt}{0pt}%
-\providecommand{\spacespe}[2]{\def\@sp@bef@e{#1}\def\@sp@aft@e{#2}} \spacespe{0pt}{0pt}%
-\providecommand{\spacespf}[2]{\def\@sp@bef@f{#1}\def\@sp@aft@f{#2}} \spacespf{0pt}{0pt}%
-\providecommand{\spacespg}[2]{\def\@sp@bef@g{#1}\def\@sp@aft@g{#2}} \spacespg{0pt}{0pt}%
-\providecommand{\spacesph}[2]{\def\@sp@bef@h{#1}\def\@sp@aft@h{#2}} \spacesph{0pt}{0pt}%
\def\@opt@slr{
-\setboolean{@af@l}{false}%
-\setboolean{@af@p}{true}%
-\setboolean{@at@p}{true}%
+\setboolean{@addr@fr@l}{false}%
+\setboolean{@addr@fr@p}{true}%
+\setboolean{@addr@to@p}{true}%
\setboolean{@dt@p}{true}%
\setboolean{@dt@l}{false}%
\setboolean{@dt@c}{false}%
\setboolean{@greet@p}{true}%
\setboolean{@sig@p}{true}%
\setboolean{@sig@mp}{false}%
-\setboolean{@at@l}{true}%
+\setboolean{@addr@to@l}{true}%
\setboolean{@memo@bl}{false}%
\setboolean{@dt@l}{false}%
\setboolean{@sig@l}{false}%
@@ -646,16 +585,16 @@
\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}}
\DeclareOption{stdletter}{\@opt@slr}%
\define@key{ov}{stdletter}[true]{\iffixq{#1}{\@opt@slr}}%
-\def\@opt@sln{\setboolean{@af@l}{false} %
-\setboolean{@af@p}{false} %
-\setboolean{@at@p}{true} %
+\def\@opt@sln{\setboolean{@addr@fr@l}{false} %
+\setboolean{@addr@fr@p}{false} %
+\setboolean{@addr@to@p}{true} %
\setboolean{@dt@p}{true}%
\setboolean{@dt@l}{false}%
\setboolean{@dt@c}{false}%
\setboolean{@greet@p}{true}%
\setboolean{@sig@p}{true}%
\setboolean{@sig@mp}{false}%
-\setboolean{@at@l}{true} %
+\setboolean{@addr@to@l}{true} %
\setboolean{@memo@bl}{false}%
\setboolean{@dt@l}{false}%
\setboolean{@sig@l}{false}%
@@ -663,10 +602,10 @@
\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}}
\DeclareOption{stdletternofrom} {\@opt@sln}%
\define@key{ov}{stdletternofrom}[true]{\iffixq{#1}{\@opt@sln}}%
-\def\@opt@blr{\setboolean{@af@l}{true}%
-\setboolean{@af@p}{true}%
+\def\@opt@blr{\setboolean{@addr@fr@l}{true}%
+\setboolean{@addr@fr@p}{true}%
\setboolean{@memo@bl}{false}%
-\setboolean{@at@l}{true}%
+\setboolean{@addr@to@l}{true}%
\setboolean{@dt@l}{true}%
\setboolean{@dt@c}{false}%
\setboolean{@sig@l}{true}%
@@ -676,10 +615,10 @@
\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}}
\DeclareOption{busletter} {\@opt@blr}%
\define@key{ov}{busletter}[true]{\iffixq{#1}{\@opt@blr}}%
-\def\@opt@bln{\setboolean{@af@l}{true}%
-\setboolean{@af@p}{false}%
+\def\@opt@bln{\setboolean{@addr@fr@l}{true}%
+\setboolean{@addr@fr@p}{false}%
\setboolean{@memo@bl}{false}%
-\setboolean{@at@l}{true}%
+\setboolean{@addr@to@l}{true}%
\setboolean{@dt@l}{true}%
\setboolean{@dt@c}{false}%
\setboolean{@sig@l}{true}%
@@ -690,14 +629,14 @@
\DeclareOption{busletternofrom} {\@opt@bln}%
\newboolean{@test@opt}\setboolean{@test@opt}{false}
\define@key{ov}{busletternofrom}[true]{\iffixq{#1}{\@opt@bln}}%
-\DeclareOption{addrfromleft} {\setboolean{@af@l}{true}}%
-\define@key{ov}{addrfromleft}[true]{\iffixt{#1}{@af@l}}%
-\DeclareOption{addrfromright}{\setboolean{@af@l}{false}}%
-\define@key{ov}{addrfromright}[true]{\iffixf{#1}{@af@l}}%
-\DeclareOption{addrtoleft} {\setboolean{@at@l}{true}}%
-\define@key{ov}{addrtoleft}[true]{\iffixt{#1}{@at@l}}%
-\DeclareOption{addrtoright} {\setboolean{@at@l}{false}}%
-\define@key{ov}{addrtoright}[true]{\iffixf{#1}{@at@l}}%
+\DeclareOption{addrfromleft} {\setboolean{@addr@fr@l}{true}}%
+\define@key{ov}{addrfromleft}[true]{\iffixt{#1}{@addr@fr@l}}%
+\DeclareOption{addrfromright}{\setboolean{@addr@fr@l}{false}}%
+\define@key{ov}{addrfromright}[true]{\iffixf{#1}{@addr@fr@l}}%
+\DeclareOption{addrtoleft} {\setboolean{@addr@to@l}{true}}%
+\define@key{ov}{addrtoleft}[true]{\iffixt{#1}{@addr@to@l}}%
+\DeclareOption{addrtoright} {\setboolean{@addr@to@l}{false}}%
+\define@key{ov}{addrtoright}[true]{\iffixf{#1}{@addr@to@l}}%
\DeclareOption{addrtoemail} {\setboolean{@addr@to@e}{true}}%
\define@key{ov}{addrtoemail}[true]{\iffixt{#1}{@addr@to@e}}%
\DeclareOption{addrtophone} {\setboolean{@addr@to@t}{true}}%
@@ -721,7 +660,7 @@
\def\Alaba{\def\@labname{Avery5160,nolines,dateno}%
\setboolean{@set@env}{true}\setboolean{@use@envlab}{false} \def\@tab@just{rrr}\labpl{10.125in}%
\setcounter{@lab@tot@row}{10} \setcounter{@lab@tot@col}{3} \btwlb{5pt}%
- \boxht{73pt} \boxwd{164pt} \topht{90pt} \lftwd{-88pt} \setlength{\@Hgt@Foot}{0pt}}%
+ \boxht{67pt} \boxwd{174pt} \topht{38pt} \lftwd{-77pt} \setlength{\@Hgt@Foot}{0pt}}%
\def\Alabb{\def\@labname{Avery5161,nolines,dateno}%
\setboolean{@set@env}{true}\setboolean{@use@envlab}{false} \def\@tab@just{rr}\labpl{10.125in}%
\setcounter{@lab@tot@row}{10} \setcounter{@lab@tot@col}{2} \btwlb{8pt}%
@@ -780,13 +719,13 @@
\DeclareOption{margflush}{\setboolean{@marg@lt@fl@tp}{true}}%
\define@key{ov}{margflush}[true]{\iffixt{#1}{@marg@lt@fl@tp}}%
\DeclareOption{biggap}{\setboolean{@gap@small}{false}}%
-\DeclareOption{addrfromno}{\setboolean{@af@p}{false}}%
-\DeclareOption{noaddrfr}{\setboolean{@af@p}{false}}%
-\DeclareOption{noaddrfrom}{\setboolean{@af@p}{false}}%
-\define@key{ov}{noaddrfrom}[true]{\iffixf{#1}{@af@p}}%
-\DeclareOption{addrtono}{\setboolean{@at@p}{false}}%
-\DeclareOption{noaddrto}{\setboolean{@at@p}{false}}%
-\define@key{ov}{noaddrto}[true]{\iffixf{#1}{@at@p}}%
+\DeclareOption{addrfromno}{\setboolean{@addr@fr@p}{false}}%
+\DeclareOption{noaddrfr}{\setboolean{@addr@fr@p}{false}}%
+\DeclareOption{noaddrfrom}{\setboolean{@addr@fr@p}{false}}%
+\define@key{ov}{noaddrfrom}[true]{\iffixf{#1}{@addr@fr@p}}%
+\DeclareOption{addrtono}{\setboolean{@addr@to@p}{false}}%
+\DeclareOption{noaddrto}{\setboolean{@addr@to@p}{false}}%
+\define@key{ov}{noaddrto}[true]{\iffixf{#1}{@addr@to@p}}%
\DeclareOption{greetno}{\setboolean{@greet@p}{false}}%
\define@key{ov}{nogreet}[true]{\iffixf{#1}{@greet@p}}%
\DeclareOption{cellowindow}{\setboolean{@cello@win}{true}}%
@@ -832,16 +771,16 @@
\DeclareOption{signatureno}{\setboolean{@sig@p}{false}}%
\define@key{ov}{signatureno}[true]{\iffixf{#1}{@sig@p}}%
\def\@fix@all@fr{\setboolean{@use@all@fr}{true}
-\setboolean{@af@p}{true}%
-\setboolean{@af@l}{true}%
+\setboolean{@addr@fr@p}{true}%
+\setboolean{@addr@fr@l}{true}%
\setboolean{@addr@fr@f}{true}%
\setboolean{@addr@fr@e}{true}%
\setboolean{@addr@fr@t}{true}}%
\DeclareOption{printallfrom}{\@fix@all@fr}%
\define@key{ov}{printallfrom}[true]{\iffixq{#1}{\@fix@all@fr}}%
\def\@fix@all@to{\setboolean{@use@all@to}{true}
-\setboolean{@at@p}{true}%
-\setboolean{@at@l}{true}%
+\setboolean{@addr@to@p}{true}%
+\setboolean{@addr@to@l}{true}%
\setboolean{@addr@to@f}{true}%
\setboolean{@addr@to@e}{true}%
\setboolean{@addr@to@t}{true}}%
@@ -885,42 +824,24 @@
\setboolean{@B@h}{true}\setboolean{@B@r}{true}%
\setboolean{@b@f}{true}\setboolean{@b@l}{true}%
\setboolean{@b@h}{true}\setboolean{@b@r}{true}}}%
-\def\@set@pap#1#2#3{\def\@paper@type{#1}\setlength\@stock@height{#2}\setlength\@stock@width{#3}}%
\DeclareOption{useenvlab}{\setboolean{@set@env}{false}\setboolean{@use@envlab}{true}}%
\define@key{ov}{useenvlab}[true]{
\iffixq{#1}{\setboolean{@use@envlab}{true}\setboolean{@set@env}{false}}}%
-\DeclareOption{letterpaper}{\@set@pap{letterpaper}{11in}{8.5in}}%
-\define@key{ov}{letterpaper}[true]{\iffixq{#1}{\@set@pap{letterpaper}{11in}{8.5in}}}%
-\DeclareOption{bigpaper}{\@set@pap{bigpaper}{17in}{11in}}%
-\define@key{ov}{bigpaper}[true]{\iffixq{#1}{\@set@pap{bigpaper}{17in}{11in}}}%
-\DeclareOption{legalpaper}{\@set@pap{legalpaper}{14in}{8.5in}}%
-\define@key{ov}{legalpaper}[true]{\iffixq{#1}{\@set@pap{legalpaper}{14in}{8.5in}}}%
-\DeclareOption{executivepaper}{\@set@pap{executivepaper}{10.5in}{7.25in}}%
-\define@key{ov}{executivepaper}[true]{\iffixq{#1}{\@set@pap{executivepaper}{10.5in}{7.25in}}}%
-\DeclareOption{ebook}{\@set@pap{ebook}{9in}{6in}}%
-\define@key{ov}{ebook}[true]{\iffixq{#1}{\@set@pap{ebook}{9in}{6in}}}%
-\DeclareOption{a3paper}{\@set@pap{a3paper}{420mm}{297mm}}%
-\define@key{ov}{a3paper}[true]{\iffixq{#1}{\@set@pap{a3paper}{420mm}{297mm}}}%
-\DeclareOption{a4paper}{\@set@pap{a4paper}{297mm}{210mm}}%
-\define@key{ov}{a4paper}[true]{\iffixq{#1}{\@set@pap{a4paper}{297mm}{210mm}}}%
-\DeclareOption{a5paper}{\@set@pap{a5paper}{210mm}{148mm}}%
-\define@key{ov}{a5paper}[true]{\iffixq{#1}{\@set@pap{a5paper}{210mm}{148mm}}}%
-\DeclareOption{a6paper}{\@set@pap{a6paper}{148mm}{105mm}}%
-\define@key{ov}{a6paper}[true]{\iffixq{#1}{\@set@pap{a6paper}{148mm}{105mm}}}%
-\DeclareOption{b3paper}{\@set@pap{b3paper}{500mm}{353mm}}%
-\define@key{ov}{b3paper}[true]{\iffixq{#1}{\@set@pap{b3paper}{500mm}{353mm}}}%
-\DeclareOption{b4paper}{\@set@pap{b4paper}{353mm}{250mm}}%
-\define@key{ov}{b4paper}[true]{\iffixq{#1}{\@set@pap{b4paper}{353mm}{250mm}}}%
-\DeclareOption{b5paper}{\@set@pap{b5paper}{250mm}{176mm}}%
-\define@key{ov}{b5paper}[true]{\iffixq{#1}{\@set@pap{b5paper}{250mm}{176mm}}}%
-\DeclareOption{b6paper}{\@set@pap{b6paper}{176mm}{125mm}}%
-\define@key{ov}{b6paper}[true]{\iffixq{#1}{\@set@pap{b6paper}{176mm}{125mm}}}%
-\setkeys{ov}{textwidthsize=-1pt,textheightsize=-1pt,bottommarginskip=5pt,letterpaper,%
+\def\@paper@type{letterpaper}%
+\DeclareOption{letterpaper}{\def\@paper@type{letterpaper}}%
+\define@key{ov}{letterpaper}[true]{\iffixq{#1}{\def\@paper@type{letterpaper}}}%
+\DeclareOption{legalpaper}{\def\@paper@type{legalpaper}}
+\define@key{ov}{legalpaper}[true]{\iffixq{#1}{\def\@paper@type{legalpaper}}}%
+\DeclareOption{a4paper}{\def\@paper@type{a4paper}}
+\define@key{ov}{a4paper}[true]{\iffixq{#1}{\def\@paper@type{a4paper}}}%
+\DeclareOption{a3paper}{\def\@paper@type{a3paper}}
+\define@key{ov}{a3paper}[true]{\iffixq{#1}{\def\@paper@type{a3paper}}}%
+\setkeys{ov}{textwidthsize=-1pt,textheightsize=-1pt,bottommarginskip=5pt,%
headermarginskip=0pt,rightmarginsize=72pt,leftmarginsize=72pt,bottommarginskipbelow=5pt,%
leftmargintopdist=-1pt,addrtoskipafter=18pt,unprright=-1pt,labsize=\normalsize,%
-leftmarginskipleft=10pt,leftmarginskipright=10pt,dateskipbefore=0pt,%
-dateskipafter=0pt,addrfromskipafter=0pt,addrfromskipbefore=0pt,%
-greettoskipafter=0pt,sigskipbefore=12pt,sigskipafter=12pt,sigsize=72pt,%
+leftmarginskipleft=10pt,leftmarginskipright=10pt,dateskipbefore=20pt,%
+dateskipafter=36pt,addrfromskipafter=36pt,addrfromskipbefore=0pt,%
+greettoskipafter=18pt,sigskipbefore=12pt,sigskipafter=12pt,sigsize=72pt,%
postsigskipafter=10pt,memoskipafter=15pt,memoskipbefore=35pt,unprtop=-1pt,unprbottom=-1pt,%
unprleft=-1pt}%
\ExecuteOptions{\@paper@type,stdletter,american}%
@@ -1102,7 +1023,8 @@ unprleft=-1pt}%
\def\rmargin#1{\def\@rmarg{#1}\setboolean{@marg@ruse}{true}}%
\def\lmargin#1{\def\@lmarg{#1}\setboolean{@marg@luse}{true}}%
\newcommand{\Prnt@Chk}[7]{%
- \ifthenelse{\boolean{#1}}{\ifempty{#6}{}{\vspace*{-2\parskip}\vspace*{#6}}}{}%
+ \ifthenelse{\boolean{#1}}{\ifempty{#6}{}{%
+ \vspace*{-2\parskip}\vspace*{#6}}}{}%
\ifthenelse{\boolean{#1}}%
{\ifthenelse{\boolean{#2}}{\begin{flushleft}{#4}\end{flushleft}}%
{\ifthenelse{\boolean{#3}}%
@@ -1176,8 +1098,8 @@ unprleft=-1pt}%
\begin{flushleft}%
\rule{\textwidth}{1pt} \par \noindent%
\centerline{\LARGE \@pr@release \strut} \par\noindent%
-\rule{\textwidth}{1pt} \par \noindent%
-\txa{After first block}%
+\rule{\textwidth}{1pt} \par \noindent
+\txa{After first block}
\setlength{\tabcolsep}{0pt}%
\begin{tabular}{l@{\hspace{1em}}l}%
\textbf{\@contact@phr:} & \@name@fr \strut \\%
@@ -1190,22 +1112,22 @@ unprleft=-1pt}%
\textbf{Date:} & \@xdate%
\end{tabular}%
\end{flushleft}%
-\txa{After endflushleft}%
-\rule{\textwidth}{1pt} \par \noindent%
-\centerline{\textbf{\Large \@pr@headline}} \par \noindent%
-\rule{\textwidth}{1pt} \par \noindent%
+\txa{After endflushleft}
+\rule{\textwidth}{1pt} \par \noindent
+\centerline{\textbf{\Large \@pr@headline}} \par \noindent
+\rule{\textwidth}{1pt} \par \noindent
\ifthenelse{\boolean{@space@d}}{\begin{doublespace}}{\begin{singlespace}}%
-\ifthenelse{\boolean{@pr@by}}{\noindent \@pr@byline \\}{}%
-\noindent%
-\txa{end of pressbegin}%
+\ifthenelse{\boolean{@pr@by}}{\noindent \@pr@byline \\}{}
+\noindent
+\txa{end of pressbegin}
}%
\InputIfFileExists{prsrls.tex}%
{\typeout{Reading press release page setup from prsrls.tex}}%
{\typeout{Press release definitions stored in newlfm.cls}}%
-\txa{Next part}%
+\txa{Next part}
\newcommand*{\faxpage}{{%
\def\ifta{0}\showdim{Before setpage inside faxpage}%
-\lsetpage{\@fax@height}{\@fax@width}{1in}{0in}{.25in}{1in}{.75in}{.25in}{.25in}%
+\lsetpage{722pt}{6.5in}{1in}{0in}{.25in}{1in}{.75in}{.25in}{.25in}%
\showdim{After setpage}%
{\def\ifta{0}\showdim{Before fax page setup A}%
\setlength{\@utila}{\paperheight}\addtolength{\@utila}{-1in}%
@@ -1289,80 +1211,45 @@ unprleft=-1pt}%
\@re@phr: & \multicolumn{3}{l}{\parbox[t]{2in}{\@re@line}} \\%
\end{tabular}%
}}}}%
-\newcommand{\@set@col}[4]{\ifthenelse{\boolean{#1}}{
-\settowidth{\@utile}{\usebox{#2}}
-\ifthenelse{\lengthtest{\@utile>\@utila}}{\setlength{\@utila}{\@utile}}{}
-\settowidth{\@utile}{\usebox{#4}}
-\ifthenelse{\lengthtest{\@utile>\@utilb}}{\setlength{\@utilb}{\@utile}}{}
-}{}}%
-\newcommand{\@set@box}[6]{%
-\setboolean{@ztilb}{true}%
-\ifthenelse{\swtch=1}{%
-\setboolean{@ztila}{true}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=1}%
-{\renewcommand{#1}{a}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=2}%
-{\renewcommand{#1}{b}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=3}%
-{\renewcommand{#1}{c}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=4}%
-{\renewcommand{#1}{d}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=5}%
-{\renewcommand{#1}{e}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=6}%
-{\renewcommand{#1}{f}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=7}%
-{\renewcommand{#1}{g}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#1=8}%
-{\renewcommand{#1}{h}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}%
-{\typeout{Row index for Special #4 incorrect - print cancelled}%
-\setboolean{@ztilb}{false}}{}\setboolean{@ztila}{true}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#2=1}%
-{\renewcommand{#2}{a}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#2=2}%
-{\renewcommand{#2}{b}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}{\ifthenelse{#2=3}%
-{\renewcommand{#2}{c}\setboolean{@ztila}{false}}{}}{}%
-\ifthenelse{\boolean{@ztila}}%
-{\typeout{Column index for Special #4 incorrect - print cancelled}%
-\setboolean{@ztilb}{false}}{}}{}%
-\ifthenelse{\boolean{@ztilb}}{\sbox{\csname @hblk@#1#2\endcsname}{\usebox{#3}}%
-\setboolean{@hblk@#1}{true}%
-\addtolength{\csname @hblk@#1@bef\endcsname}{#5}%
-\addtolength{\csname @hblk@#1@aft\endcsname}{#6}}{}%
-}%
\newcommand{\ifempty}[3]{\ifthenelse{\equal{#1}{}}{#2}{#3}}%
\newcommand{\ifpempty}[3]{\ifthenelse{\equal{\protect#1}{}}{#2}{#3}}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\@open@lfm{%
+\newcommand{\@prnt@sec}[1]{% Actual printing of addresses here
+\ifthenelse{#1=\@intd@pos}%
+{\Prnt@Chk{@dt@p}{@dt@l}{@dt@c}{\@xdate}{}{\@dt@sk@b}{\@dt@sk@a}}{}%
+\ifthenelse{#1=\@intf@pos}%
+{\Prnt@Chk{@addr@fr@p}{@addr@fr@l}{@no@cen}%
+{\usebox{\b@addr@fr}}{}{\@addr@fr@sk@b}{\@addr@fr@sk@a}}{}%
+\ifthenelse{#1=\@intt@pos}%
+{\Prnt@Chk{@addr@to@p}{@addr@to@l}{@no@cen}%
+{\usebox{\b@addr@to}}{}{\@addr@to@sk@b}{\@addr@to@sk@a}}{}%
+}%
+\newcommand*{\openlfm}{%
+\ifthenelse{\boolean{@use@water}}
+{\ClearShipoutPicture
+\AddToShipoutPicture{\includegraphics[natheight=11in,natwidth=8.5in]{\@water@page}}
+}{}
\def\ifta{0}%
-\txa{Start of the @open@lfm}%
\ifthenelse{\boolean{@marg@Ruse}}% Here we set up right-side marginal notes
{\setlength{\@utile}{-\@Hgt@Head+\@marg@rt@tp@d}% Adjust column top to leftmargintopdist
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\normalmarginpar%
-\marginpar{\vspace*{\the\@utile}\hspace*{\@marg@rt@l}\hspace*{-\marginparsep}\@Rmarg}}{}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifthenelse{\boolean{@marg@Luse}}{% Here we set up left-side marginal notes
-\setlength{\@utile}{-\@Hgt@Head+\@marg@lt@tp@d}% Adjust column top to leftmargintopdist
-\reversemarginpar\txa{Left margin}% Switch margin printing to other side
-\marginpar{\vspace*{\the\@utile}\hspace*{\@marg@lt@l}\@Lmarg}}{}%
-\settoheight{\@utild}{Test testy}%
-\setlength{\@utile}{\headrulewidth}\addtolength{\@utile}{-3\@utild}
-\vspace*{\@utile}%
+\marginpar{\vspace*{\the\@utile} \hspace*{\@marg@rt@l}\hspace*{-\marginparsep} \@Rmarg}}{}
+\ifthenelse{\boolean{@marg@Luse}}% Here we set up left-side marginal notes
+{\setlength{\@utile}{-\@Hgt@Head+\@marg@lt@tp@d}% Adjust column top to leftmargintopdist
+\reversemarginpar\txa{Left margin}%
+\marginpar{\vspace*{\the\@utile} \hspace*{\@marg@lt@l} \@Lmarg}}{}%
+\ifpempty{\@LUheader}{}{\@LUheader \hfill}%
+\ifpempty{\@CUheader}{}{\hfill \@CUheader \hfill}%
+\ifpempty{\@RUheader}{}{\hfill \@RUheader}%
\txa{Running memosec}% Memo processing
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifthenelse{\boolean{@memo@bl}}%
-{{\memosec}\setboolean{@dt@p}{false}\setboolean{@no@spc}{true}}{}%Memo
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+{{\memosec}\setboolean{@dt@p}{false}%
+\setboolean{@no@spc}{true}}% %Memo
+{}%
\txa{Running pressbegin}%
\ifthenelse{\boolean{@pr@p}}%
{\pressbegin% Press release processing
-\txa{here we go again - out of pressbegin}%
-\setboolean{@no@spc}{true}}{}% % Press Release
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\txa{Fixing boxes}%
+\txa{here we go again - out of pressbegin}
+\setboolean{@no@spc}{true}} {}% % Press Release
\sbox{\b@addr@fr}{\noindent\setlength{\tabcolsep}{0pt}% Address-from into a box
\raggedleft\begin{tabular}{l@{}}%
\noindent\ignorespaces\@addr@fr%
@@ -1372,225 +1259,74 @@ unprleft=-1pt}%
\end{tabular}}%
\settowidth{\@utilc}{\usebox{\b@addr@fr}}%
\sbox{\b@addr@fr}{\noindent\setlength{\tabcolsep}{0pt}%
-\parbox[t]{\@utilc}{\noindent\setlength{\tabcolsep}{0pt}%
+\parbox[t]{\@utilc}{\noindent%
+\begin{tabular}{l@{}}%
\ignorespaces\@addr@fr%
\ifthenelse{\boolean{@addr@fr@t}}{\\ \@phn@phr: \@phn@fr}{}%
\ifthenelse{\boolean{@addr@fr@f}}{\\ \@fax@phr: \@fax@fr}{}%
\ifthenelse{\boolean{@addr@fr@e}}{\\ \@email@phr: \@email@fr}{}%
-}}%
-\txa{Done with box}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\sbox{\b@addr@to}{\noindent\setlength{\tabcolsep}{0pt}% Address-from into a box
+\end{tabular}}}%
+\sbox{\b@addr@to}{\noindent\setlength{\tabcolsep}{0pt}%Address-to into a box
\raggedleft\begin{tabular}{l@{}}%
-\noindent\ignorespaces\@name@to\strut\\\@addr@to%
+\noindent\ignorespaces\@name@to \strut \\ \@addr@to%
\ifthenelse{\boolean{@addr@to@t}}{\\ \@phn@phr: \@phn@to}{}%
\ifthenelse{\boolean{@addr@to@f}}{\\ \@fax@phr: \@fax@to}{}%
\ifthenelse{\boolean{@addr@to@e}}{\\ \@email@phr: \@email@to}{}%
\end{tabular}}%
-\settowidth{\@utilc}{\usebox{\b@addr@to}}%
+\settowidth{\@utild}{\usebox{\b@addr@to}}%
\sbox{\b@addr@to}{\noindent\setlength{\tabcolsep}{0pt}%
-\parbox[t]{\@utilc}{\noindent\setlength{\tabcolsep}{0pt}%
-\noindent\ignorespaces\@name@to\strut\\\@addr@to%
+\parbox[t]{\@utild}{\noindent%
+\begin{tabular}{l@{}}%
+\ignorespaces\@name@to \strut \\ \@addr@to%
\ifthenelse{\boolean{@addr@to@t}}{\\ \@phn@phr: \@phn@to}{}%
\ifthenelse{\boolean{@addr@to@f}}{\\ \@fax@phr: \@fax@to}{}%
\ifthenelse{\boolean{@addr@to@e}}{\\ \@email@phr: \@email@to}{}%
-}}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ifthenelse{\boolean{@no@spc}}{}{\@center@stuff}% Meat of the routine
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\txa{End of @open@lfm}%
-\noindent\par
+\end{tabular}}}%
+\ifthenelse{\boolean{@no@spc}}{}{%
+\ifthenelse{\boolean{@s@b@s}}{\par\noindent{\usebox{\b@addr@to} \hfill \usebox{\b@addr@fr}}}{}%
+\setcounter{@c@pos}{1} \@prnt@sec{\the@c@pos}% Print from and to addresses and date
+\setcounter{@c@pos}{2} \@prnt@sec{\the@c@pos}%
+\setcounter{@c@pos}{3} \@prnt@sec{\the@c@pos}%
+\setboolean{@greet@l}{true}%
+\ifthenelse{\boolean{@pt@regard}}{\@regard@phr: \@regard@line}{}%
+\Prnt@Chk{@greet@p}{@greet@l}{@no@cen}%
+{\par\@greet@to\par\nobreak}{}{}{\@greet@to@sk@a}%
+}%
+\txa{End of openlfm}%
}%
-\def\@center@stuff{\txa{centerstuff3}%
-\sbox{\@xdateb}{\@xdate}%
-\ifthenelse{\boolean{@s@b@s}}{\@d@pos{1}\@f@pos{2}\@t@pos{2}
-\setboolean{@at@c}{false}\setboolean{@af@c}{false}
-\setboolean{@at@l}{true}\setboolean{@af@l}{false}}{}
-\txa{\string\@intd@pos:\@intd@pos}
-\txa{\string\@intt@pos:\@intt@pos}
-\txa{\string\@intf@pos:\@intf@pos}
-\ifthenelse{\@intd@pos=1}{\def\@r@d{b}}{}%
-\ifthenelse{\@intd@pos=2}{\def\@r@d{d}}{}%
-\ifthenelse{\@intd@pos=3}{\def\@r@d{f}}{}%
-\ifthenelse{\@intt@pos=1}{\def\@r@t{b}}{}%
-\ifthenelse{\@intt@pos=2}{\def\@r@t{d}}{}%
-\ifthenelse{\@intt@pos=3}{\def\@r@t{f}}{}%
-\ifthenelse{\@intf@pos=1}{\def\@r@f{b}}{}%
-\ifthenelse{\@intf@pos=2}{\def\@r@f{d}}{}%
-\ifthenelse{\@intf@pos=3}{\def\@r@f{f}}{}%
-\ifthenelse{\boolean{@af@l}}{\def\@c@f{a}}{%
-\ifthenelse{\boolean{@af@c}}{\def\@c@f{b}}{\def\@c@f{c}}}%
-\ifthenelse{\boolean{@at@l}}{\def\@c@t{a}}{%
-\ifthenelse{\boolean{@at@c}}{\def\@c@t{b}}{\def\@c@t{c}}}%
-\ifthenelse{\boolean{@dt@l}}{\def\@c@d{a}}{%
-\ifthenelse{\boolean{@dt@c}}{\def\@c@d{b}}{\def\@c@d{c}}}%
-\txa{Here0}%
-\def\swtch{1}%
-\ifthenelse{\boolean{@use@spec@a}}%
-{\sbox{\@sp@box}{\@spec@a}%
-\@set@box{\@row@a}{\@col@a}{\@sp@box}{a}{\@sp@bef@a}{\@sp@aft@a}}{}%
-\ifthenelse{\boolean{@use@spec@b}}%
-{\sbox{\@sp@box}{\@spec@b}%
-\@set@box{\@row@b}{\@col@b}{\@sp@box}{b}{\@sp@bef@b}{\@sp@aft@b}}{}%
-\ifthenelse{\boolean{@use@spec@c}}%
-{\sbox{\@sp@box}{\@spec@c}%
-\@set@box{\@row@c}{\@col@c}{\@sp@box}{c}{\@sp@bef@c}{\@sp@aft@c}}{}%
-\ifthenelse{\boolean{@use@spec@d}}%
-{\sbox{\@sp@box}{\@spec@d}%
-\@set@box{\@row@d}{\@col@d}{\@sp@box}{d}{\@sp@bef@d}{\@sp@aft@d}}{}%
-\ifthenelse{\boolean{@use@spec@e}}%
-{\sbox{\@sp@box}{\@spec@e}%
-\@set@box{\@row@e}{\@col@e}{\@sp@box}{e}{\@sp@bef@e}{\@sp@aft@e}}{}%
-\ifthenelse{\boolean{@use@spec@f}}%
-{\sbox{\@sp@box}{\@spec@f}%
-\@set@box{\@row@f}{\@col@f}{\@sp@box}{f}{\@sp@bef@f}{\@sp@aft@f}}{}%
-\ifthenelse{\boolean{@use@spec@g}}%
-{\sbox{\@sp@box}{\@spec@g}%
-\@set@box{\@row@g}{\@col@g}{\@sp@box}{g}{\@sp@bef@g}{\@sp@aft@g}}{}%
-\ifthenelse{\boolean{@use@spec@h}}%
-{\sbox{\@sp@box}{\@spec@h}%
-\@set@box{\@row@h}{\@col@h}{\@sp@box}{h}{\@sp@bef@h}{\@sp@aft@h}}{}%
-\def\swtch{2}%
-\txa{HereA}%
-\ifthenelse{\boolean{@af@p}}%
-{\@set@box{\@r@t}{\@c@t}{\b@addr@to}{}{\@addr@to@sk@b}{\@addr@to@sk@a}}{}%
-\ifthenelse{\boolean{@af@p}}%
-{\@set@box{\@r@f}{\@c@f}{\b@addr@fr}{}{\@addr@fr@sk@b}{\@addr@fr@sk@a}}{}%
-\ifthenelse{\boolean{@dt@p}}%
-{\@set@box{\@r@d}{\@c@d}{\@xdateb}{}{\@dt@sk@b}{\@dt@sk@a}}{}%
-\txa{HereB}%
-\setlength{\@utila}{0pt}%
-\setlength{\@utilb}{0pt}%
-\@set@col{@hblk@a}{\@hblk@aa}{\@hblk@ab}{\@hblk@ac}%
-\@set@col{@hblk@b}{\@hblk@ba}{\@hblk@bb}{\@hblk@bc}%
-\@set@col{@hblk@c}{\@hblk@ca}{\@hblk@cb}{\@hblk@cc}%
-\@set@col{@hblk@d}{\@hblk@da}{\@hblk@db}{\@hblk@dc}%
-\@set@col{@hblk@e}{\@hblk@ea}{\@hblk@eb}{\@hblk@ec}%
-\@set@col{@hblk@f}{\@hblk@fa}{\@hblk@fb}{\@hblk@fc}%
-\@set@col{@hblk@g}{\@hblk@ga}{\@hblk@gb}{\@hblk@gc}%
-\setlength{\@utilc}{1pt}%
-\addtolength{\@utila}{5\@utilc}%
-\addtolength{\@utilb}{5\@utilc}%
-\setlength{\@utild}{\textwidth-\@utila-\@utilb-10\@utilc}%
-\txa{Lengths: \the\@utila -- \the\@utilb -- \the\@utilc -- \the\@utild}
-{\setlength{\tabcolsep}{0pt}\setlength{\arraycolsep}{0pt}%
-\setboolean{@prnt@frm}{false}%
-\ifthenelse{\boolean{@prnt@frm}}%
-{\def\@tab@set{|p{\@utila}|p{\@utild}|p{\@utilb}|}\def\@tab@line{\hline}}%
-{\def\@tab@set{p{\@utila}p{\@utild}p{\@utilb}}\def\@tab@line{}}%
-\txa{regarding}%
-\ifthenelse{\boolean{@pt@regard}}%
-{\setboolean{@hblk@h}{true}\sbox{\@hblk@ha}{\@regard@phr:\@regard@line}%
-\setlength{\@hblk@h@bef}{0pt}\setlength{\@hblk@h@aft}{0pt}}%
-{\setboolean{@hblk@h}{false}}%
-\txa{greeting}%
-\ifthenelse{\boolean{@greet@p}}%
-{\setboolean{@hblk@i}{true}\sbox{\@hblk@ia}{\@greet@to}%
-\setlength{\@hblk@i@bef}{\@greet@to@sk@a}\setlength{\@hblk@i@aft}{\@greet@to@sk@a}}%
-{\setboolean{@hblk@i}{false}}%
-\txa{Dimens: baselineskip:\the\baselineskip,@marg@tp@b:\the\@marg@tp@b}
-{\setlength{\baselineskip}{0pt}
-\settoheight{\@utile}{Test Testy grinch}
-\renewcommand{\arraystretch}{0}
-\txa{table start}
-\txa{extrarulesep:\the\extrarulesep}
-\setlength{\extrarulesep}{0pt}
-\begin{flushleft}%
-\begin{tabular}{\@tab@set}\@tab@line
-\@prnt@boxa{@hblk@a}{\@hblk@a@bef}{1}{\@hblk@aa}{\@hblk@ab}{\@hblk@ac}%
-{\@hblk@a@aft}{\@tab@line}{A}%
-\@prnt@boxa{@hblk@b}{\@hblk@b@bef}{2}{\@hblk@ba}{\@hblk@bb}{\@hblk@bc}%
-{\@hblk@b@aft}{\@tab@line}{B}%
-\@prnt@boxa{@hblk@c}{\@hblk@c@bef}{3}{\@hblk@ca}{\@hblk@cb}{\@hblk@cc}%
-{\@hblk@c@aft}{\@tab@line}{C}%
-\@prnt@boxa{@hblk@d}{\@hblk@d@bef}{4}{\@hblk@da}{\@hblk@db}{\@hblk@dc}%
-{\@hblk@d@aft}{\@tab@line}{D}%
-\@prnt@boxa{@hblk@e}{\@hblk@e@bef}{5}{\@hblk@ea}{\@hblk@eb}{\@hblk@ec}%
-{\@hblk@e@aft}{\@tab@line}{E}%
-\@prnt@boxa{@hblk@f}{\@hblk@f@bef}{6}{\@hblk@fa}{\@hblk@fb}{\@hblk@fc}%
-{\@hblk@f@aft}{\@tab@line}{F}%
-\@prnt@boxa{@hblk@g}{\@hblk@g@bef}{7}{\@hblk@ga}{\@hblk@gb}{\@hblk@gc}%
-{\@hblk@g@aft}{\@tab@line}{G}%
-\end{tabular}%
-\end{flushleft}%
-\txa{Box a:Before-\the\@hblk@a@bef, After-\the\@hblk@a@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@aa}}%
-\settoheight{\@utilb}{\usebox{\@hblk@ab}}%
-\settoheight{\@utilc}{\usebox{\@hblk@ac}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{Box b:Before-\the\@hblk@b@bef, After-\the\@hblk@b@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@ba}}%
-\settoheight{\@utilb}{\usebox{\@hblk@bb}}%
-\settoheight{\@utilc}{\usebox{\@hblk@bc}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{Box c:Before-\the\@hblk@c@bef, After-\the\@hblk@c@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@ca}}%
-\settoheight{\@utilb}{\usebox{\@hblk@cb}}%
-\settoheight{\@utilc}{\usebox{\@hblk@cc}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{Box d:Before-\the\@hblk@d@bef, After-\the\@hblk@d@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@da}}%
-\settoheight{\@utilb}{\usebox{\@hblk@db}}%
-\settoheight{\@utilc}{\usebox{\@hblk@dc}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{Box e:Before-\the\@hblk@e@bef, After-\the\@hblk@e@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@ea}}%
-\settoheight{\@utilb}{\usebox{\@hblk@eb}}%
-\settoheight{\@utilc}{\usebox{\@hblk@ec}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{Box f:Before-\the\@hblk@f@bef, After-\the\@hblk@f@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@fa}}%
-\settoheight{\@utilb}{\usebox{\@hblk@fb}}%
-\settoheight{\@utilc}{\usebox{\@hblk@fc}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{Box g:Before-\the\@hblk@g@bef, After-\the\@hblk@g@aft}%
-\settoheight{\@utila}{\usebox{\@hblk@ga}}%
-\settoheight{\@utilb}{\usebox{\@hblk@gb}}%
-\settoheight{\@utilc}{\usebox{\@hblk@gc}}%
-\txa{Heights: \the\@utila, \the\@utilb, \the\@utilc}%
-\txa{table end}
-\settowidth{\@utila}{\usebox{\@hblk@ha}}%
-\settoheight{\@utilb}{\usebox{\@hblk@ha}}%
-\txa{Greeting: \the\@utila, \the\@utilb}
-\txa{Box h:Before-\the\@hblk@h@bef, After-\the\@hblk@h@aft}%
-\noindent\par\ifthenelse{\boolean{@hblk@h}}%
-{\parbox[b][\@hblk@h@bef+\@hblk@h@aft][b]{\@utila}
-{\strut\raisebox{\@hblk@h@aft}{\usebox{\@hblk@ha}}}}{}%
-\settowidth{\@utila}{\usebox{\@hblk@ia}}%
-\settoheight{\@utilb}{\usebox{\@hblk@ia}}%
-\txa{Greeting: \the\@utila, \the\@utilb}
-\txa{Box i:Before-\the\@hblk@i@bef, After-\the\@hblk@i@aft}%
-\noindent\par\ifthenelse{\boolean{@hblk@i}}%
-{\parbox[b][\@hblk@i@bef+\@hblk@i@aft][b]{\@utila}
-{\strut\raisebox{\@hblk@i@aft}{\usebox{\@hblk@ia}}}}{}%
-\txa{end of centerstuff}%
-}}}%
-\newcommand{\@prnt@boxa}[9]{%
-\ifthenelse{\boolean{#1}}{
-\strut\rule{0pt}{#2+\@utile}\usebox{#4}&\usebox{#5}&\usebox{#6}\\[#7]#8}{}}%
-\newcommand{\@prnt@mboxa}[9]{%
-\ifthenelse{\boolean{#1}}{
-\strut\rule{0pt}{#2+\@utile}\multicolumn{3}{l}{\usebox{#4}}\\[#7]#8}{}}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\@fix@one@box{%
-\sbox{\@sig@box@b}{\begin{tabular}{l}%
+\settowidth{\@utila}{\setlength{\tabcolsep}{0pt}%
+\begin{tabular}{l}%
\ifthenelse{\boolean{@use@close}}{{\@closeline}\\}{}%
+\vspace*{\@cls@sk@a} \\%
\ifthenelse{\boolean{@use@sig}}%
{{\@sig@fr}\\}{\parbox[t][\the\@sig@sp][t]{.1pt}{\vspace*{\@sig@sp}}\\}%
\ifthenelse{\boolean{@use@sig@nm}}{\@sig@nm\\}{\@name@fr\\}%
-\end{tabular}}}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\@close@lfm{\def\ifta{0}\txa{In @close@lfm}%
+\end{tabular}%
+}%
+\sbox{\@sig@box@b} {%
+\setlength{\tabcolsep}{0pt}\noindent%
+\begin{tabular}{p{\the\@utila}}%
+\ifthenelse{\boolean{@use@close}}{{\@closeline}\\}{}%
+\vspace*{\@cls@sk@a} \\%
+\ifthenelse{\boolean{@use@sig}}%
+{{\@sig@fr}\\}{\parbox[t][\the\@sig@sp][t]{.1pt}{\vspace*{\@sig@sp}}\\}%
+\ifthenelse{\boolean{@use@sig@nm}}{\@sig@nm\\}{\@name@fr\\}%
+\end{tabular}%
+}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\closlfm{\def\ifta{0}\txa{In closlfm}%
\setlength{\@utila}{\@sig@sk@b}\addtolength{\@utila}{-1.5\baselineskip}%
\vspace*{\the\@utila}\noindent\setlength{\tabcolsep}{0pt}%
\ifthenelse{\boolean{@pr@p}}%
{\medskip\begin{center}\@PRend@phr\end{center}%
- \markboth{}{}
+\markboth{}{}%
}% markboth mechanism resets center footer
{}% note require {} to finish ifthenelse
%%%%%
\ifthenelse{\boolean{@mult@sig}}%
-{\begin{flushleft}%
+{%
\ifthenelse{\equal{\the@sig@tot}{1}}{\def\@sig@tab{l}}{}% Set multiple columns
\ifthenelse{\equal{\the@sig@tot}{2}}{\def\@sig@tab{ll}}{}%
\ifthenelse{\equal{\the@sig@tot}{3}}{\def\@sig@tab{lll}}{}%
@@ -1614,7 +1350,7 @@ unprleft=-1pt}%
\@for\@one@sig:=\@sig@list\do% Loop thru signature abbreviations
{\setboolean{@use@sig}{false}\setboolean{@use@close}{false}%
\setboolean{@use@sig@nm}{false}%
-\txa{\the\@utile}
+\txa{\the\@utile}%
\ifthenelse{\equal{\the@lab@cnt@col}{0}}{~\vspace*{\the\@utile}\\\noindent}{}%
\expandafter\csname sig\@one@sig\endcsname%
\ignorespaces \@fix@one@box\settoheight{\@utilc}{\usebox{\@sig@box@b}}%
@@ -1624,27 +1360,29 @@ unprleft=-1pt}%
\raisebox{-\the\@utilc/2}{\parbox[t]{\the\@utila}{\usebox{\@sig@box@b}}}%
\addtocounter{@lab@cnt@col}{1}%
\ifthenelse{\equal{\the@lab@cnt@col}{\the@sig@tot}}%
-{\txa{else condition}
+{\txa{else condition}%
\setcounter{@lab@cnt@col}{0}\setlength{\@utile}{\@sig@sk@r}}{\hspace*{\the\@sig@sk@c}}}%
-\vspace*{\the\@sig@sk@a}\end{flushleft}}%
+\vspace*{\the\@sig@sk@a}%
+}%
{% Print normal signature
-\@fix@one@box\settowidth{\@utila}{\usebox{\@sig@box@b}}% Set up box, measure
+\@fix@one@box%
\Prnt@Chk{@sig@p}{@sig@l}{@sig@c}%
-{\parbox{\@utila}{\usebox{\@sig@box@b}}}{}{\@sig@sk@b}{\@sig@sk@a}}%
+{\parbox{\@utila}{\usebox{\@sig@box@b}}}{}{\@cls@sk@b}{\@sig@sk@a}%
+}%
}%
\def\@post@sig@bl#1#2#3{%
\setlength{\@utilb}{\textwidth}%
\settowidth{\@utila}{{\small\normalfont #1: }}%
\addtolength{\@utilb}{-\@utila}%
\ifthenelse{\equal{#2}{#3}}{}{%
-\vspace*{\the\@post@sig@sp@b} \hspace*{.01pt} \\ \noindent%
+\vspace*{\the\@post@sig@sp@b} \hspace*{-.01pt} \\ \noindent%
\parbox[t]{\textwidth}{\@hangfrom{{\small\normalfont #1: }}%
\ignorespaces \parbox[t]{\@utilb}{{\small#2}}\strut}\par%
\vspace*{\the\@post@sig@sp@a}%
}}%
-\newif \if@read@one \@read@onetrue%
-\def\@ltr@info@name{letrinfo.tex}%
-\define@key{ov}{InfoFileName}{\def\@ltr@info@name{#1}}%
+\newif \if@read@one \@read@onetrue
+\def\@ltr@info@name{letrinfo.tex}
+\define@key{ov}{InfoFileName}{\def\@ltr@info@name{#1}}
\InputIfFileExists{\@ltr@info@name}%
{\typeout{Reading default letter definitions from \@ltr@info@name}}%
{\typeout{\@ltr@info@name\ not found. All letter definitions must be in newlfm.cls}}%
@@ -1657,20 +1395,20 @@ unprleft=-1pt}%
\DeclareRobustCommand*{\@env@label}[1]{#1\parbox[t][\@lab@bh][t]{\@lab@bw}%
{{\@name@to \\ \@addr@to} \hfill}}%
\DeclareRobustCommand*{\@env@oth}[2]{%
-\txa{box height:\the\@lab@bh, box width:\the\@lab@bw, between: \the\tabcolsep}%
+\txa{box height:\the\@lab@bh, box width:\the\@lab@bw, between: \the\tabcolsep}
\parbox[t][\@lab@bh][t]{\@lab@bw}{\@lab@size \strut #1 \\ #2 \strut}}%
-\DeclareRobustCommand*{\@env@row}[4]{\settowidth{\@utila}{\@hnfr@phr:}%
-\setlength{\tabcolsep}{0pt}%
-\fbox{\parbox[t][\@lab@bh][t]{\@lab@bw}{%
-\@lab@size \begin{tabular}{ll}{\Large\@hnfr@phr:}&{\Large\@hnto@phr:}\\%
-\parbox[t]{2.0in}{#3\\#4}&\parbox[t]{2.0in}{#1\\#2}%
+\DeclareRobustCommand*{\@env@row}[4]{\settowidth{\@utila}{\@hnfr@phr:}
+\setlength{\tabcolsep}{0pt}
+\fbox{\parbox[t][\@lab@bh][t]{\@lab@bw}{
+\@lab@size \begin{tabular}{ll}{\Large\@hnfr@phr:}&{\Large\@hnto@phr:}\\
+\parbox[t]{2.0in}{#3\\#4}&\parbox[t]{2.0in}{#1\\#2}
\end{tabular}\hfill}}}%
\DeclareRobustCommand*{\@env@col}[4]{\parbox[t][\@lab@bh][t]{\@lab@bw}{%
{\@lab@size{\Large\@hnfr@phr:}\\#3\\#4\\{\Large\@hnto@phr:}\\#1\\#2}}}%
\DeclareRobustCommand*{\x@env@col}[4]{\parbox[t][\@lab@bh][t]{\@lab@bw}{%
-{\@lab@size\begin{tabular}{p{.5in}p{3.25in}}{\Large\@hnfr@phr:}&#3\\&\parbox[t]{3.25in}{#4}%
+{\@lab@size\begin{tabular}{p{.5in}p{3.25in}}{\Large\@hnfr@phr:}&#3\\&\parbox[t]{3.25in}{#4}
\vspace*{10pt}\\{\Large\@hnto@phr:}&#1\\&\parbox[t]{3.25in}{#2}\\\end{tabular}}}}%
-\def\multletter#1{\@for\@addr@x:=#1\do{{\oneletter{\@addr@x}}}}%
+\def\multletter#1{\@for\@addr@x:=#1\do{{\oneletter{\@addr@x}}}}
\def\doletter#1{\setadrto{#1}\txa{ZA}%
\begin{newlfm}\@ltr@body\end{newlfm}\gdef\npind{D}\newpage}%
\def\oneletter#1{\txa{In oneletter}\setadrto{\csname adr#1\endcsname}\txa{ZB}\addrt{#1}%
@@ -1696,12 +1434,12 @@ unprleft=-1pt}%
\ifthenelse{\lengthtest{\@lab@th<12pt}}{\setlength{\@lab@th}{12.1pt}}{}%
\ifthenelse{\boolean{@use@envlab}}{%
\def\ifta{0}%
- \setpage{\@stock@height}{\@stock@width}{-1in}{72pt}{0in}{-1in}{120pt}{0in}{20pt}%
+ \setpage{11in}{8.5in}{-1in}{72pt}{0in}{-1in}{120pt}{0in}{20pt}%
\txa{use@envlab true}%
}%
{%
\gdef\npind{A3}%
- \setpage{\@lab@pl}{\@stock@width}{-1in}{\@lab@lm}{0in}{-1in}{\@lab@th}{0in}{20pt}%
+ \setpage{\@lab@pl}{8.5in}{-1in}{\@lab@lm}{0in}{-1in}{\@lab@th}{0in}{20pt}%
\txa{use@envlab false}%
\txa{headheight:\the\@lab@th}%
}%
@@ -1722,7 +1460,7 @@ unprleft=-1pt}%
\setboolean{@do@any}{true}%
\def\@onet{\csname @aadr@t\number\@nlfm@util\endcsname}%
\def\@onef{\csname @aadr@f\number\@nlfm@util\endcsname}%
- \txa{\string\@onet:\@onet -- \string\@onef:\@onef}%
+ \txa{\string\@onet:\@onet -- \string\@onef:\@onef}
\protect\setadrto{\csname adr\@onet\endcsname}\txa{ZD}%
\protect\setadrfr{\csname adr\@onef\endcsname}%
\def\ifta{0}%
@@ -1766,9 +1504,9 @@ unprleft=-1pt}%
\txa{Out of big loop: \arabic{@lab@cnt@col}}%
\def\ifta{0}%
\global\@nlfm@uta=\value{@lab@cnt@row}%
- \sbox{\@x@l}{\phantom{A}}%
- \ifthenelse{\boolean{@env@close} \and \boolean{@do@any}}%
- {\txa{\the@lab@cnt@col, \the@lab@cnt@row, \the@lab@tot@row}%
+ \sbox{\@x@l}{\phantom{A}}
+ \ifthenelse{\boolean{@env@close} \and \boolean{@do@any}}
+ {\txa{\the@lab@cnt@col, \the@lab@cnt@row, \the@lab@tot@row}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifthenelse{\equal{\arabic{@lab@cnt@col}}{0}}{}%
@@ -1776,42 +1514,42 @@ unprleft=-1pt}%
{\@env@oth{\usebox{\@x@l}}{\usebox{\@x@l}}%
\addtocounter{@lab@cnt@col}{1}%
\ifthenelse{\the@lab@cnt@col<\the@lab@tot@col}{&}{}} \\%
- \addtocounter{@lab@cnt@row}{1}%
+ \addtocounter{@lab@cnt@row}{1}
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\whiledo{\the@lab@cnt@row<\the@lab@tot@row}%
- {\setcounter{@lab@cnt@col}{0}%
+ {\setcounter{@lab@cnt@col}{0}
\whiledo{\the@lab@cnt@col<\the@lab@tot@col}%
{\@env@oth{\usebox{\@x@l}}{\usebox{\@x@l}}%
\addtocounter{@lab@cnt@col}{1}%
- \ifthenelse{\the@lab@cnt@col<\the@lab@tot@col}{&}{\\}%
- }%
+ \ifthenelse{\the@lab@cnt@col<\the@lab@tot@col}{&}{\\}
+ }
\addtocounter{@lab@cnt@row}{1}%
- \ifthenelse{\the@lab@cnt@row<\the@lab@tot@row}%
- {}%
- {\\ \end{tabular}\end{table} \newpage%
- \showdim{At the end of the table}}%
+ \ifthenelse{\the@lab@cnt@row<\the@lab@tot@row}
+ {}
+ {\\ \end{tabular}\end{table} \newpage
+ \showdim{At the end of the table}}
\setboolean{@env@close}{false}%
- \setboolean{@env@open}{true}%
+ \setboolean{@env@open}{true}
}%
}%
{}%
- \setboolean{@use@envlab}{false}%
+ \setboolean{@use@envlab}{false}
\end{newlfm}%
\def\ifta{0}%
}%
\newenvironment{newlfm}{% Start of fax environment, in fax class%
\if@read@one \global\@read@onefalse \fi%
- \def\ifta{0}\txa{Start of newlfm startup}%
- \txa{nameto: \@name@to}%
- \ifthenelse{\boolean{@over@all}}{\txa{overall: true}}{\txa{overall: false}}%
- \ifthenelse{\boolean{@over@setto}}{\txa{oversetto: true}}{\txa{oversetto: false}}%
- \txa{namefrom: \@name@fr}%
- \ifthenelse{\boolean{@over@setfr}}{\txa{oversetfr: true}}{\txa{oversetfr: false}}%
+ \def\ifta{0}\txa{Start of newlfm startup}
+ \txa{nameto: \@name@to}
+ \ifthenelse{\boolean{@over@all}}{\txa{overall: true}}{\txa{overall: false}}
+ \ifthenelse{\boolean{@over@setto}}{\txa{oversetto: true}}{\txa{oversetto: false}}
+ \txa{namefrom: \@name@fr}
+ \ifthenelse{\boolean{@over@setfr}}{\txa{oversetfr: true}}{\txa{oversetfr: false}}
\ifthenelse{\boolean{@over@all}}{%
\faxblocka%
- }{}%
+ }{}
\ifthenelse{\boolean{@fax@RA}}%
{\ifthenelse{\boolean{@fax@bla}}{\Rheader{\usebox{\fba}}}{}%
\ifthenelse{\boolean{@fax@blb}}{\Rheader{\faxblockb}}{}}{}%
@@ -1827,15 +1565,15 @@ unprleft=-1pt}%
\setadrfr{\expandafter\csname adr\@adr@fr \endcsname}}{\txa{false}}%
\ifthenelse{\boolean{@over@sigbl}}{\txa{True}%
\expandafter\csname sig\@sig@blok \endcsname}{\txa{false}}%
- \@set@em@up%
- }{}%
+ \@set@em@up
+ }{}
\txa{setting up ruh}%
\def\ifta{0}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \txa{name@to:\@name@to}%
- \ifthenelse{\boolean{@over@setto}}{\txa{oversetto:true}}{\txa{oversetto:false}}%
- \txa{name@fr:\@name@fr}%
- \ifthenelse{\boolean{@over@setfr}}{\txa{oversetfr:true}}{\txa{oversetfr:false}}%
+ \txa{name@to:\@name@to}
+ \ifthenelse{\boolean{@over@setto}}{\txa{oversetto:true}}{\txa{oversetto:false}}
+ \txa{name@fr:\@name@fr}
+ \ifthenelse{\boolean{@over@setfr}}{\txa{oversetfr:true}}{\txa{oversetfr:false}}
\retdims%
\ifthenelse{\boolean{@fax@hdr@pg}}%
{{\txa{FAX Page Setup}%
@@ -1851,36 +1589,36 @@ unprleft=-1pt}%
}}{}%
\rstdims%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
- \def\ifta{0}\showdim{After fax page section closes}\gdef\npind{G}%
+ \def\ifta{0}\showdim{After fax page section closes}\gdef\npind{G}
\if@twoside \ifodd\c@page%
\else\thispagestyle{empty}\null\newpage\fi \fi%
\c@page\@ne%
\interlinepenalty=200 % smaller than the TeXbook value%
\setlength{\headwidth}{\textwidth}%
\txa{Before Rfooter}\ifthenelse{\boolean{@B@f}}%
- {\Cfooter{} \Rfooter{} \Lfooter{}} {}%
+ {\Cfooter{\phantom{\Cfooter}} \Rfooter{\phantom{\Rfooter}} \Lfooter{\phantom{\Lfooter}}} {}%
\txa{Before Rheader}\ifthenelse{\boolean{@B@h}}%
- {\Rheader{} \Lheader{} \Cheader{}} {}%
+ {\Rheader{\phantom{\Rheader}} \Lheader{\phantom{\Lheader}} \Cheader{\phantom{\Cheader}}} {}%
\txa{Before Lmargin}\ifthenelse{\boolean{@B@l}}%
- {\ifempty{\@Lmarg}{}{\Lmargin{}}}{}%
+ {\ifempty{\@Lmarg}{}{\Lmargin{\phantom{\Lmargin}}}}{}%
\txa{Before Rmargin}\ifthenelse{\boolean{@B@r}}%
- {\ifempty{\@Rmarg}{}{\Rmargin{}}}{}%
+ {\ifempty{\@Rmarg}{}{\Rmargin{\phantom{\Rmargin}}}}{}%
\txa{Before rfooter}\ifthenelse{\boolean{@b@f}}%
- {\rfooter{} \lfooter{} \cfooter{}} {}%
+ {\rfooter{\phantom{\rfooter}} \lfooter{\phantom{\lfooter}} \cfooter{\phantom{\cfooter}}} {}%
\txa{Before rheader}\ifthenelse{\boolean{@b@h}}%
- {\rheader{} \lheader{} \cheader{}} {}%
+ {\rheader{\phantom{\rheader}} \lheader{\phantom{\lheader}} \cheader{\phantom{\cheader}}} {}%
\txa{Before lmargin}\ifthenelse{\boolean{@b@l}}%
- {\lmargin{}} {}%
+ {\lmargin{\phantom{\lmargin}}} {}%
\txa{Before rmargin}\ifthenelse{\boolean{@b@r}}%
- {\rmargin{}} {}%
+ {\rmargin{\phantom{\rmargin}}} {}%
\setlength{\textwidth}{\paperwidth-\@marg@rt-\@marg@lt-1pt}%
\txa{Before opening}%
\txa{\string\@marg@rt: \the\@marg@rt, \string\@marg@rt: \the\@marg@rt}%
\txa{\string\textwidth: \the\textwidth, \string\paperwidth: \the\paperwidth}%
- \@open@lfm%
+ \openlfm%
\def\ifta{0}%
- \txa{nameto:\@name@to}%
- \txa{namefr:\@name@fr}%
+ \txa{nameto:\@name@to}
+ \txa{namefr:\@name@fr}
\txa{\string\@marg@rt: \the\@marg@rt, \string\@marg@rt: \the\@marg@rt}%
\txa{\string\textwidth: \the\textwidth, \string\paperwidth: \the\paperwidth}%
\txa{After opening}%
@@ -1896,18 +1634,18 @@ unprleft=-1pt}%
\txa{Count: \number\@nlfm@addr -- To: \@adr@to -- From: \@adr@fr}
\expandafter\xdef\csname @aadr@t\number\@nlfm@addr\endcsname{\@adr@to}%
\expandafter\xdef\csname @aadr@f\number\@nlfm@addr\endcsname{\@adr@fr}%
- \txa{Count: \number\@nlfm@addr -- To: \@adr@to -- From: \@adr@fr}%
+ \txa{Count: \number\@nlfm@addr -- To: \@adr@to -- From: \@adr@fr}
\txa{@aadr@t\number\@nlfm@addr: \csname @aadr@t\number\@nlfm@addr\endcsname}%
\txa{To: \csname @aadr@t\number\@nlfm@addr\endcsname,\@adr@to}%
}%
\showdim{Dimensions at end of newlfm startup section}\def\ifta{0}%
}%
-{% Here we are at the processing of the close of the newlfm env - start
+{% Here we are at the processing of the close of the newlfm env
\def\ifta{0}\txa{At the start of the close of newlfm env}%
- \ifthenelse{\boolean{@pr@p}}{\@close@lfm}{}%
+ \ifthenelse{\boolean{@pr@p}}{\closlfm}{}%
\ifthenelse{\boolean{@sig@p}}%
{\txa{Before closing}%
- \ifthenelse{\boolean{@pr@p}}{}{\@close@lfm}%
+ \ifthenelse{\boolean{@pr@p}}{}{\closlfm}%
\txa{After closing}%
\showdim{Current Dimensions}%
\@post@sig@bl{\@ps@phr}{\@ps@item}{---BLANK---}%
@@ -1915,7 +1653,7 @@ unprleft=-1pt}%
\@post@sig@bl{\@ppps@phr}{\@ppps@item}{---BLANK---}%
\@post@sig@bl{\@encl@phr}{\@encl@item}{---BLANK---}%
\@post@sig@bl{\@cc@phr}{\@cc@item}{---BLANK---}}{}%
- \ifthenelse{\boolean{@sig@mp}}{%
+ \ifthenelse{\boolean{@sig@mp}}{
\@post@sig@bl{\@ps@phr}{\@ps@item}{---BLANK---}%
\@post@sig@bl{\@pps@phr}{\@pps@item}{---BLANK---}%
\@post@sig@bl{\@ppps@phr}{\@ppps@item}{---BLANK---}%
@@ -1929,11 +1667,11 @@ unprleft=-1pt}%
\@clear@box%
\global\@read@onetrue%
\setboolean{@s@b@s}{false}%
-\ifthenelse{\boolean{@pr@p}}{%
+\ifthenelse{\boolean{@pr@p}}{
\ifthenelse{\boolean{@space@d}}{\end{doublespace}}{\end{singlespace}}%
}{}%
-}% Here we are at the processing of the close of the newlfm env - end
-\def\@make@big@env{%
+}%
+\def\@make@big@env{
\@nlfm@util=0%
\def\ifta{0}%
\txa{In @make@big@env}%
@@ -1951,7 +1689,7 @@ unprleft=-1pt}%
\newpage%
\def\ifta{0}%
\gdef\npind{A4}%
- \setpage{\@stock@height}{\@stock@width}{1in}{1in}{0pt}{0in}{120in}{0in}{0in}%
+ \setpage{11in}{8.5in}{1in}{1in}{0pt}{0in}{120in}{0in}{0in}%
\txa{Actually using the makeenvelope...}%
\startlabels%
\@capitalizeaddressfalse%
@@ -1964,8 +1702,8 @@ unprleft=-1pt}%
\repeat%
\global\@nlfm@addr=0%
\txa{Count at end: \number\@nlfm@addr}%
-}%
-\def\@clear@box{%
+}
+\def\@clear@box{
\Backgrd{} \backgrd{} \Lfooter{} \Cfooter{} \Rfooter{} \LOfooter{}%
\COfooter{}\ROfooter{}\lfooter{} \cfooter{} \rfooter{} \Lheader{}%
\Cheader{} \Rheader{} \LUheader{}\CUheader{}\RUheader{}\lheader{}%
@@ -1976,19 +1714,20 @@ unprleft=-1pt}%
\pagenumbering{arabic}%
\raggedbottom%
\providecommand{\@texttop}{}%
-\DeclareRobustCommand*{\@texttop}{\ifnum\c@page=1\vskip \z@ plus.00006fil\relax\fi}%
+\DeclareRobustCommand*{\@texttop}
+ {\ifnum\c@page=1\vskip \z@ plus.00006fil\relax\fi}%
\onecolumn%
\def\@set@em@up{%
-\txa{Real start}%
+\txa{Real start}
\ifthenelse{\boolean{@pr@p}}{%
-\PhrMore{\thepage\ of \pageref{LastPage}}%
+\PhrMore{\thepage\ of \pageref{LastPage}}
\Cfooter{\@more@phr}\cfooter{\@more@phr}%
}{}%
\def\ifta{0}\txa{Start of @set@em@up}%
\ifthenelse{\boolean{@set@env}}{\makeenvst\txa{Making envelope}}{}%
-\ifthenelse{\boolean{@hl}}{\def\headrulewidth{\the\@Hrw}}%
+\ifthenelse{\boolean{@hl}}{\def\headrulewidth{\the\@Hrw}}
{\setlength{\@Hrw}{0pt}\def\headrulewidth{0pt}}%
-\ifthenelse{\boolean{@fl}}{\def\footrulewidth{\the\@Frw}}%
+\ifthenelse{\boolean{@fl}}{\def\footrulewidth{\the\@Frw}}
{\setlength{\@Frw}{0pt}\def\footrulewidth{0pt}}%
\def\ifta{0}\txa{Here in the middle}%
\sbox{\@x@c}{\@Cheader}\sbox{\@x@l}{\@Lheader}\sbox{\@x@r}{\@Rheader}%
@@ -2105,17 +1844,6 @@ unprleft=-1pt}%
{\setlength{\@Hgt@foot}{\@Hgt@f@r}}{}%
\ifthenelse{\lengthtest{\@Hgt@foot<\@Min@Hgt@foot}}%
{\setlength{\@Hgt@foot}{\@Min@Hgt@foot}}{}%
-\setboolean{@ztila}{false}
-\ifthenelse{\boolean{@LUh@use}}{\txa{zorth}\sbox{\@hblk@aa}{\@LUheader}%
-\setboolean{@hblk@a}{true}\setboolean{@ztila}{true}}{}%
-\ifthenelse{\boolean{@CUh@use}}{\txa{zorth}\sbox{\@hblk@ab}{\@CUheader}%
-\setboolean{@hblk@a}{true}\setboolean{@ztila}{true}}{}%
-\ifthenelse{\boolean{@RUh@use}}{\txa{zorth}\sbox{\@hblk@ac}{\@RUheader}%
-\setboolean{@hblk@a}{true}\setboolean{@ztila}{true}}{}%
-\ifthenelse{\boolean{@ztila}}
-{\ifthenelse{\lengthtest{\@hblk@a@aft<\@marg@tp@b}}
-{\setlength{\@hblk@a@aft}{\@marg@tp@b}}{}
-\setlength{\@marg@tp@b}{0pt}}{}%
\ifthenelse{\lengthtest{\@marg@lt@tp@d<1pt}}%
{\setlength{\@marg@lt@tp@d}{\@Hgt@Head+\@marg@tp@a}}{}%
\setlength{\@Plg}{\paperheight-\@Hgt@Head-\@Hgt@Foot-\@marg@tp@b-\@marg@tp@a-%
@@ -2215,8 +1943,6 @@ unprleft=-1pt}%
\addtolength{\@utile}{\@utilb}%
\txa{Left: \the\@utile}%
\gdef\npind{A5}%
-\txa{Plg:\the\@Plg,Pwd:\the\@Pwd,marg@rt:\the\@marg@rt,marg@lt:\the\@marg@lt}
-\txa{marg@tp@a:\the\@marg@tp@a,Hgt@head:\the\@Hgt@head,marg@tp@b:\the\@marg@tp@b,Hgt@foot:\the\@Hgt@foot}
\setpage{\@Plg}{\@Pwd}{\@marg@rt-1in}{\@marg@lt-1in}{10pt}%
{\@marg@tp@a-1in}{\@Hgt@Head}{\@marg@tp@b}{\@Hgt@Foot}%
\ifthenelse{\lengthtest{\@Hgt@head<10pt}}{\setlength{\@Hgt@head}{13pt}}{}%
@@ -2245,7 +1971,7 @@ unprleft=-1pt}%
\addtolength{\@utila}{-\@utile}%
\txa{7. \the\@utila,\the\@utile}
}{}}{}%
-\ifthenelse{\boolean{@af@p}}{\txa{Fixing from address}
+\ifthenelse{\boolean{@addr@fr@p}}{\txa{Fixing from address}
\ifthenelse{\@intf@pos<\@intt@pos}{%
\addtolength{\@utila}{-\@addr@fr@sk@b}%
\addtolength{\@utila}{-\@addr@fr@sk@a}%
@@ -2259,13 +1985,6 @@ unprleft=-1pt}%
\settoheight{\@utile}{\usebox{\b@addr@fr}}%
\addtolength{\@utila}{-\@utile}%
\txa{8. \the\@utila,\the\@utile}
-\sbox{\b@addr@fr}{\noindent\setlength{\tabcolsep}{0pt}% Address-from into a box
-\raggedleft\begin{tabular}{l@{}}%
-\noindent\ignorespaces\@addr@fr%
-\ifthenelse{\boolean{@addr@fr@t}}{\\ \@phn@phr: \@phn@fr}{}%
-\ifthenelse{\boolean{@addr@fr@f}}{\\ \@fax@phr: \@fax@fr}{}%
-\ifthenelse{\boolean{@addr@fr@e}}{\\ \@email@phr: \@email@fr}{}%
-\end{tabular}}%
}{}}{}%
\txa{9. \the\@utila}
\setlength{\@utilb}{\@cello@l}%
@@ -2422,7 +2141,7 @@ unprleft=-1pt}%
\def\ifta{0}%
\showdim{Before changeing dimensions}%
\gdef\npind{A6}%
-\setpage{\@stock@height}{\@stock@width}{-1in}{-1in}{0in}{-1in}{0in}{0in}{0in}%
+\setpage{11in}{8.5in}{-1in}{-1in}{0in}{-1in}{0in}{0in}{0in}%
\txa{Starting the call to makeenvfn}%
\makeenvfn%
\txa{After return from the call to makeenvfn}%
diff --git a/Master/texmf-dist/tex/latex/newlfm/setdim.sty b/Master/texmf-dist/tex/latex/newlfm/setdim.sty
index d0c5f660d08..27ea6a77f39 100644
--- a/Master/texmf-dist/tex/latex/newlfm/setdim.sty
+++ b/Master/texmf-dist/tex/latex/newlfm/setdim.sty
@@ -23,8 +23,8 @@
%% Right brace \} Tilde \~}
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\ProvidesPackage{setdim}
- [2004/11/02 v8.3
- Address macros]
+ [2009/1/09 v9.1
+ Dimension Setting macros]
\def\ifta{0}\def\iftb{0}%
\def\txa#1{\ifthenelse{\equal{\ifta}{1}}{\typeout{#1}}{}}%%