diff options
author | Karl Berry <karl@freefriends.org> | 2009-04-12 23:13:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-04-12 23:13:28 +0000 |
commit | b4c2a162bb8aa0937f3c029e5e103055f55ae3ae (patch) | |
tree | 50433f639d4debcf93ef7208819d685d640488eb /Master/texmf-dist/tex | |
parent | 1075ee7a0a680571e5f5f3d6f2a6cc8865ef3b70 (diff) |
newlfm update (12apr09)
git-svn-id: svn://tug.org/texlive/trunk@12704 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/newlfm/addrset.sty | 9 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newlfm/newlfm.cls | 607 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/newlfm/setdim.sty | 2 |
3 files changed, 347 insertions, 271 deletions
diff --git a/Master/texmf-dist/tex/latex/newlfm/addrset.sty b/Master/texmf-dist/tex/latex/newlfm/addrset.sty index e8a00a5fab9..63cbe16dff7 100644 --- a/Master/texmf-dist/tex/latex/newlfm/addrset.sty +++ b/Master/texmf-dist/tex/latex/newlfm/addrset.sty @@ -24,7 +24,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1996/06/01] \ProvidesPackage{addrset} - [2009/03/24 v9.3 + [2009/04/10 v9.4 Address macros]% \def\makeletterhead#1#2{\expandafter\newcommand\csname lth#1\endcsname{#2}}% @@ -121,7 +121,8 @@ \def\sender#1{\protect\def\@sender{#1}}\sender{}% \def\signature#1{\protect\def\@sig@fr{#1}\setboolean{@use@sig}{true}}% \def\sigacross#1{\setcounter{@sig@tot}{#1}}% -\def\siglist#1{\protect\def\@sig@list{#1}\setboolean{@mult@sig}{true}% +\def\siglist#1{\txa{In siglist}% +\protect\def\@sig@list{#1}\setboolean{@mult@sig}{true}% \setboolean{@sig@l}{true}\setboolean{@sig@c}{false}}% \def\signame#1{\protect\def\@sig@nm{#1}\setboolean{@use@sig@nm}{true}}% \def\socsec#1{\protect\def\@socsec{#1}}\socsec{}% @@ -136,9 +137,9 @@ \def\headline#1{\protect\def\@pr@headline{#1}% \protect\def\@pr@shorthead{#1}}\headline{---BLANK---}% \def\release#1{\protect\def\@pr@release{#1}}\release{\@release@phr}% -\def\shorthead#1{\protect\def\@pr@shorthead{#1}}\regarding{---BLANK---}% +\def\shorthead#1{\protect\def\@pr@shorthead{#1}} +\regarding{---BLANK---}% \setboolean{@pt@regard}{false}% -\siglist{}% \signature{}% \sigacross{1}% \closeline{}% diff --git a/Master/texmf-dist/tex/latex/newlfm/newlfm.cls b/Master/texmf-dist/tex/latex/newlfm/newlfm.cls index c46862199b9..c4731a89d63 100644 --- a/Master/texmf-dist/tex/latex/newlfm/newlfm.cls +++ b/Master/texmf-dist/tex/latex/newlfm/newlfm.cls @@ -24,7 +24,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1996/06/01] \ProvidesClass{newlfm} - [2009/03/24 v9.3 + [2009/04/10 v9.4 Letter-Fax-Memo LaTeX Document Class] \def\ifta{0}\def\iftb{0}% @@ -39,9 +39,9 @@ \RequirePackage{setspace}% \RequirePackage{lastpage}% \@ifundefined{ps@@empty}{% - \ClassError{newlfm}{Version of fancyhdr.sty is not current. \MessageBreak Please obtain - a recent copy of fancyhdr.sty (Version 1.99d or later) from CTAN.} {Go to CTAN and - download the current version of fancyhdr.sty}}{} + \ClassError{newlfm}{Version of fancyhdr.sty is not current. \MessageBreak Please obtain% + a recent copy of fancyhdr.sty (Version 1.99d or later) from CTAN.} {Go to CTAN and% + download the current version of fancyhdr.sty}}{}% \RequirePackage{calc}[1997/11/11]% \RequirePackage{graphicx}[1997/06/09]% \RequirePackage{rotating}[1997/06/09]% @@ -155,6 +155,13 @@ \newlength{\@utilc}\setlength{\@utilc}{0in}% \newlength{\@utild}\setlength{\@utild}{0in}% \newlength{\@utile}\setlength{\@utile}{0in}% +\newlength{\@utilf}\setlength{\@utilf}{0in}% +\newlength{\@utilg}\setlength{\@utilg}{0in}% +\newlength{\@utilh}\setlength{\@utilh}{0in}% +\newlength{\@utili}\setlength{\@utili}{0in}% +\newlength{\@utilj}\setlength{\@utilj}{0in}% +\newlength{\@utilk}\setlength{\@utilk}{0in}% +\newlength{\@utill}\setlength{\@utill}{0in}% \newlength{\@xda}\setlength{\@xda}{0in}% \newlength{\@xdb}\setlength{\@xdb}{0in}% \newlength{\@xdc}\setlength{\@xdc}{0in}% @@ -290,8 +297,8 @@ \newboolean{@set@env}\setboolean{@set@env}{false}% \newboolean{@sig@p}% \newboolean{@sig@mp}% -\newboolean{@sig@l}\setboolean{@sig@l}{true}% -\newboolean{@sig@c}\setboolean{@sig@l}{false}% +\newboolean{@sig@l}\setboolean{@sig@l}{false}% +\newboolean{@sig@c}\setboolean{@sig@c}{false}% \newboolean{@space@d}\setboolean{@space@d}{true}% \newboolean{@space@s}\setboolean{@space@s}{false}% \newboolean{@mult@sig}\setboolean{@mult@sig}{false}% @@ -341,7 +348,7 @@ \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}}% @@ -379,21 +386,21 @@ \define@key{ov}{addrf}{\def\@adr@f{#1}\setboolean{@ov@f}{true}}% \def\sigtr#1{\def\@sig@b{#1}\setboolean{@ov@s}{true}}%% \define@key{ov}{sigtr}{\def\@sig@b{#1}\setboolean{@ov@s}{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{% @@ -421,7 +428,7 @@ \PhrRelease{For Immediate Release}% \PhrMore{--- more ---}% \PhrPRend{\# \# \#}% -} +}% \InputIfFileExists{extracd.tex}% {\typeout{Reading alternative macro definitions from extracd.tex}}% {\typeout{All language information must be in newlfm.cls}}% @@ -448,9 +455,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}}% @@ -525,26 +532,26 @@ \def\memoskipbefore#1{\setlength{\@pre@memo@sp}{#1}}% \define@key{ov}{memoskipbefore}{\setlength{\@pre@memo@sp}{#1}}% \def\restletter#1{\setboolean{@resta@l}{true}% -\begin{lrbox}{\@resta@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}} +\begin{lrbox}{\@resta@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}}% \def\restlettera#1{\setboolean{@resta@l}{true}% -\begin{lrbox}{\@resta@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}} +\begin{lrbox}{\@resta@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}}% \def\restletterb#1{\setboolean{@restb@l}{true}% -\begin{lrbox}{\@restb@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}} +\begin{lrbox}{\@restb@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}}% \def\restletterc#1{\setboolean{@restc@l}{true}% -\begin{lrbox}{\@restc@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}} +\begin{lrbox}{\@restc@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}}% \def\restletterd#1{\setboolean{@restd@l}{true}% -\begin{lrbox}{\@restd@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}} +\begin{lrbox}{\@restd@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}}% \def\restlettere#1{\setboolean{@reste@l}{true}% -\begin{lrbox}{\@reste@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}} -\def\unprtop#1{\setlength{\@unpr@tp}{#1}} +\begin{lrbox}{\@reste@ltr}\begin{minipage}{\textwidth}#1\end{minipage}\end{lrbox}}% +\def\unprtop#1{\setlength{\@unpr@tp}{#1}}% \define@key{ov}{unprtop}{\setlength{\@unpr@tp}{#1}}% -\def\unprbottom#1{\setlength{\@unpr@bm}{#1}} +\def\unprbottom#1{\setlength{\@unpr@bm}{#1}}% \define@key{ov}{unprbottom}{\setlength{\@unpr@bm}{#1}}% \def\unprright#1{\setlength{\@unpr@rt}{#1}}% \define@key{ov}{unprright}{\setlength{\@unpr@rt}{#1}}% -\def\unprleft#1{\setlength{\@unpr@lt}{#1}} +\def\unprleft#1{\setlength{\@unpr@lt}{#1}}% \define@key{ov}{unprleft}{\setlength{\@unpr@lt}{#1}}% -\def\@opt@stm{ +\def\@opt@stm{% \setboolean{@addr@fr@p}{false}% \setboolean{@addr@to@p}{false}% \setboolean{@memo@bl}{true}% @@ -555,7 +562,7 @@ \setboolean{@sig@p}{false}% \setboolean{@sig@mp}{true}% }% -\def\@opt@stpr{ +\def\@opt@stpr{% \setboolean{@addr@fr@p}{false}% \setboolean{@addr@to@p}{false}% \setboolean{@memo@bl}{true}% @@ -566,7 +573,7 @@ \setboolean{@sig@p}{false}% \setboolean{@sig@mp}{true}% }% -\def\@opt@flm{ +\def\@opt@flm{% \setboolean{@addr@fr@p}{false}% \setboolean{@addr@to@p}{false}% \setboolean{@memo@bl}{true}% @@ -619,7 +626,7 @@ \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{ +\def\@opt@pr{% \setboolean{@addr@fr@p}{true}% \setboolean{@addr@to@p}{false}% \setboolean{@pr@p}{true}% @@ -662,7 +669,7 @@ {\setboolean{@fax@blb}{true}\setboolean{@fax@bla}{false}}% \define@key{ov}{faxblockb}[true]% {\iffixq{#1}{\setboolean{@fax@blb}{true}\setboolean{@fax@bla}{false}}}% -\def\@opt@slr{ +\def\@opt@slr{% \setboolean{@addr@fr@l}{false}% \setboolean{@addr@fr@p}{true}% \setboolean{@addr@to@p}{true}% @@ -675,26 +682,28 @@ \setboolean{@addr@to@l}{true}% \setboolean{@memo@bl}{false}% \setboolean{@dt@l}{false}% +\txa{In @opt@slr}% \setboolean{@sig@l}{false}% \setboolean{@sig@c}{false}% -\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}} +\@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{@addr@fr@l}{false} % -\setboolean{@addr@fr@p}{false} % -\setboolean{@addr@to@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{@addr@to@l}{true} % +\setboolean{@addr@to@l}{true}% \setboolean{@memo@bl}{false}% \setboolean{@dt@l}{false}% +\txa{In @opt@sln}% \setboolean{@sig@l}{false}% \setboolean{@sig@c}{false}% -\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}} +\@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{@addr@fr@l}{true}% @@ -703,11 +712,12 @@ \setboolean{@addr@to@l}{true}% \setboolean{@dt@l}{true}% \setboolean{@dt@c}{false}% +\txa{In @opt@blr}% \setboolean{@sig@l}{true}% \setboolean{@sig@c}{false}% \setboolean{@sig@p}{true}% \setboolean{@sig@mp}{false}% -\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}} +\@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{@addr@fr@l}{true}% @@ -716,13 +726,14 @@ \setboolean{@addr@to@l}{true}% \setboolean{@dt@l}{true}% \setboolean{@dt@c}{false}% +\txa{In @opt@bln}% \setboolean{@sig@l}{true}% \setboolean{@sig@p}{true}% \setboolean{@sig@mp}{false}% \setboolean{@sig@c}{false}% -\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}} +\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}}% \DeclareOption{busletternofrom} {\@opt@bln}% -\newboolean{@test@opt}\setboolean{@test@opt}{false} +\newboolean{@test@opt}\setboolean{@test@opt}{false}% \define@key{ov}{busletternofrom}[true]{\iffixq{#1}{\@opt@bln}}% \DeclareOption{addrfromleft} {\setboolean{@addr@fr@l}{true}}% \define@key{ov}{addrfromleft}[true]{\iffixt{#1}{@addr@fr@l}}% @@ -743,14 +754,14 @@ \define@key{ov}{addrfromphone}[true]{\iffixt{#1}{@addr@fr@t}}% \DeclareOption{addrfromfax} {\setboolean{@addr@fr@f}{true}}% \define@key{ov}{addrfromfax}[true]{\iffixt{#1}{@addr@fr@f}}% -\providecommand{\boxht}{} \providecommand{\boxwd}{} \providecommand{\btwlb}{}% -\providecommand{\topht}{} \providecommand{\lftwd}{}% -\def\labpl#1{\setlength{\@lab@pl}{#1}} -\def\boxht#1{\setlength{\@lab@bh}{#1}} -\def\boxwd#1{\setlength{\@lab@bw}{#1}} -\def\topht#1{\setlength{\@lab@th}{#1}} -\def\lftwd#1{\setlength{\@lab@lm}{#1}} -\def\btwlb#1{\setlength{\@lab@bl}{#1}} +\providecommand{\boxht}{}\providecommand{\boxwd}{}\providecommand{\btwlb}{}% +\providecommand{\topht}{}\providecommand{\lftwd}{}% +\def\labpl#1{\setlength{\@lab@pl}{#1}}% +\def\boxht#1{\setlength{\@lab@bh}{#1}}% +\def\boxwd#1{\setlength{\@lab@bw}{#1}}% +\def\topht#1{\setlength{\@lab@th}{#1}}% +\def\lftwd#1{\setlength{\@lab@lm}{#1}}% +\def\btwlb#1{\setlength{\@lab@bl}{#1}}% \def\@labname{nolines,dateno}% \def\Alaba{\def\@labname{Avery5160,nolines,dateno}% \setboolean{@set@env}{true}\setboolean{@use@envlab}{false} \def\@tab@just{rrr}\labpl{10.125in}% @@ -782,7 +793,7 @@ \DeclareOption{labto}{\setboolean{@lab@t}{true}}% \DeclareOption{labrowfrto}{\setboolean{@lab@rft}{true}\setboolean{@lab@t}{false}}% \DeclareOption{labcolfrto}{\setboolean{@lab@cft}{true}\setboolean{@lab@t}{false}}% -\def\labsize#1{\def\@lab@size{#1}} +\def\labsize#1{\def\@lab@size{#1}}% \define@key{ov}{Avery5160}[true]{\iffixq{#1}{\Alaba}}% \define@key{ov}{Avery5161}[true]{\iffixq{#1}{\Alabb}}% \define@key{ov}{Avery5261}[true]{\iffixq{#1}{\Alabb}}% @@ -797,7 +808,7 @@ \define@key{ov}{labcolfrto}[true]{\iffixq{#1}% {\setboolean{@lab@cft}{true}\setboolean{@lab@t}{false}}}% \DeclareOption{setuplabel}{\setboolean{@set@env}{true}\setboolean{@use@envlab}{false}}% -\define@key{ov}{setuplabel}[true]{ +\define@key{ov}{setuplabel}[true]{% \iffixq{#1}{\setboolean{@set@env}{true}\setboolean{@use@envlab}{false}}}% \def\@dodtf{\@d@pos{1}\@t@pos{3}\@f@pos{2}\setboolean{@s@b@s}{false}}% \def\@dofdt{\@d@pos{2}\@t@pos{3}\@f@pos{1}\setboolean{@s@b@s}{false}}% @@ -834,51 +845,50 @@ \define@key{ov}{cellodown}{\cellodown{#1}}% \define@key{ov}{celloleft}{\celloleft{#1}}% \DeclareOption{dateright}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{false}}% -\define@key{ov}{dateright}[true]% -{\iffixq{#1}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{false}}}% +\define@key{ov}{dateright}[true]{\iffixq{#1}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{false}}}% +\def\dateright#1{\iffixq{#1}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{false}}}% \DeclareOption{dateleft}{\setboolean{@dt@l}{true}\setboolean{@dt@c}{false}}% -\define@key{ov}{dateleft}[true]% -{\iffixq{#1}{\setboolean{@dt@l}{true}\setboolean{@dt@c}{false}}}% +\define@key{ov}{dateleft}[true]{\iffixq{#1}{\setboolean{@dt@l}{true}\setboolean{@dt@c}{false}}}% +\def\dateleft#1{\iffixq{#1}{\setboolean{@dt@l}{true}\setboolean{@dt@c}{false}}}% \DeclareOption{datecenter}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{true}}% -\define@key{ov}{datecenter}[true]% -{\iffixq{#1}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{true}}}% +\define@key{ov}{datecenter}[true]{\iffixq{#1}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{true}}}% +\def\datecenter#1{\iffixq{#1}{\setboolean{@dt@l}{false}\setboolean{@dt@c}{true}}}% \DeclareOption{dateno}{\setboolean{@dt@p}{false}}% \define@key{ov}{dateno}[true]{\iffixf{#1}{@dt@p}}% +\def\dateno#1{\iffixf{#1}{@dt@p}}% \DeclareOption{dateyes}{\setboolean{@dt@p}{true}}% -\DeclareOption{signatureleft}{\setboolean{@sig@l}{true}\setboolean{@sig@c}{false}}% -\define@key{ov}{signatureleft}[true]% -{\iffixq{#1}{\setboolean{@sig@l}{true}\setboolean{@sig@c}{false}}}% -\DeclareOption{signleft}{\setboolean{@sig@l}{true}\setboolean{@sig@c}{false}}% -\define@key{ov}{sigleft}[true]% -{\iffixq{#1}{\setboolean{@sig@l}{true}\setboolean{@sig@c}{false}}}% -\DeclareOption{signaturecenter}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{true}}% -\define@key{ov}{signaturecenter}[true]% -{\iffixq{#1}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{true}}}% -\DeclareOption{sigcenter}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{true}}% -\define@key{ov}{sigcenter}[true]% -{\iffixq{#1}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{true}}}% -\DeclareOption{signatureright}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{false}}% -\define@key{ov}{signatureright}[true]% -{\iffixq{#1}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{false}}}% -\DeclareOption{sigright}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{false}}% -\define@key{ov}{sigright}[true]% -{\iffixq{#1}{\setboolean{@sig@l}{false}\setboolean{@sig@c}{false}}}% +\def\setsigl{\setboolean{@sig@l}{true}\setboolean{@sig@c}{false}} +\def\setsigc{\setboolean{@sig@l}{false}\setboolean{@sig@c}{true}} +\def\setsigr{\setboolean{@sig@l}{false}\setboolean{@sig@c}{false}} +\DeclareOption{signatureleft}{\txa{DO fsignl}\setsigl}% +\define@key{ov}{signatureleft}[true]{\iffixq{#1}{\txa{DK fsignl}\setsigl}}% +\def\signatureleft#1{\txa{SO fsignl}\setsigl}% +\DeclareOption{sigleft}{\txa{DO asignl}\setsigl}% +\define@key{ov}{sigleft}[true]{\iffixq{#1}{\txa{DK asignl}\setsigl}}% +\def\sigleft#1{\txa{SO asignl}\setsigl}% +\DeclareOption{signaturecenter}{\txa{DO fsignc}\setsigc}% +\define@key{ov}{signaturecenter}[true]{\iffixq{#1}{\txa{DK fsignc}\setsigc}}% +\def\signaturecenter#1{\txa{SO fsignc}\setsigc}% +\DeclareOption{sigcenter}{\txa{DO asignc}\setsigc}% +\define@key{ov}{sigcenter}[true]{\iffixq{#1}{\txa{DK asignc}\setsigc}}% +\def\sigcenter#1{\txa{SO asignc}\setsigc}% +\DeclareOption{signatureright}{\txa{DO fsignr}\setsigr}% +\define@key{ov}{signatureright}[true]{\iffixq{#1}{\txa{DK fsignr}\setsigr}}% +\def\signatureright#1{\txa{SO fsignr}\setsigr}% +\DeclareOption{sigright}{\txa{DO asignr}\setsigr}% +\define@key{ov}{sigright}[true]{\iffixq{#1}{\txa{DK asignr}\setsigr}}% +\def\sigright#1{\txa{SO asignr}\setsigr}% \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{@addr@fr@p}{true}% -\setboolean{@addr@fr@l}{true}% -\setboolean{@addr@fr@f}{true}% -\setboolean{@addr@fr@e}{true}% -\setboolean{@addr@fr@t}{true}}% +\define@key{ov}{signatureno}[true]{\iffixf{#1}{\setboolean{@sig@p}{false}}}% +\def\signatureno#1{\setboolean{@sig@p}{false}}% +\def\@fix@all@fr{% +\setboolean{@use@all@fr}{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{@addr@to@p}{true}% -\setboolean{@addr@to@l}{true}% -\setboolean{@addr@to@f}{true}% -\setboolean{@addr@to@e}{true}% -\setboolean{@addr@to@t}{true}}% +\def\@fix@all@to{ +\setboolean{@use@all@to}{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}}% \DeclareOption{printallto}{\@fix@all@to}% \define@key{ov}{printallto}[true]{\iffixq{#1}{\@fix@all@to}}% \DeclareOption{blankheader}{\setboolean{@b@h}{true}}% @@ -899,52 +909,50 @@ \define@key{ov}{blankrightmargin}[true]{\iffixt{#1}{@b@r}}% \DeclareOption{Blankrightmargin}{\setboolean{@B@r}{true}}% \define@key{ov}{Blankrightmargin}[true]{\iffixt{#1}{@B@r}}% -\DeclareOption{Blankall}{\setboolean{@B@f}{true}\setboolean{@B@l}{true} +\DeclareOption{Blankall}{\setboolean{@B@f}{true}\setboolean{@B@l}{true}% \setboolean{@B@h}{true}\setboolean{@B@r}{true}}% \define@key{ov}{Blankall}[true]% -{\iffixq{#1}{\setboolean{@B@f}{true}\setboolean{@B@l}{true} +{\iffixq{#1}{\setboolean{@B@f}{true}\setboolean{@B@l}{true}% \setboolean{@B@h}{true}\setboolean{@B@r}{true}}}% -\DeclareOption{blankall}{\setboolean{@b@f}{true}\setboolean{@b@l}{true} +\DeclareOption{blankall}{\setboolean{@b@f}{true}\setboolean{@b@l}{true}% \setboolean{@b@h}{true}\setboolean{@b@r}{true}}% \define@key{ov}{blankall}[true]% -{\iffixq{#1}{\setboolean{@b@f}{true}\setboolean{@b@l}{true} +{\iffixq{#1}{\setboolean{@b@f}{true}\setboolean{@b@l}{true}% \setboolean{@b@h}{true}\setboolean{@b@r}{true}}}% \DeclareOption{BlankTotal}% Fixed -{\setboolean{@B@f}{true}\setboolean{@B@l}{true}% -\setboolean{@B@h}{true}\setboolean{@B@r}{true}% -\setboolean{@b@f}{true}\setboolean{@b@l}{true}% -\setboolean{@b@h}{true}\setboolean{@b@r}{true}}% +{\setboolean{@B@f}{true}\setboolean{@B@l}{true}\setboolean{@B@h}{true}\setboolean{@B@r}{true}% +\setboolean{@b@f}{true}\setboolean{@b@l}{true}\setboolean{@b@h}{true}\setboolean{@b@r}{true}}% \define@key{ov}{BlankTotal}[true]% -{\iffixq{#1}{\setboolean{@B@f}{true}\setboolean{@B@l}{true}% -\setboolean{@B@h}{true}\setboolean{@B@r}{true}% +{\iffixq{#1}{\setboolean{@B@f}{true}\setboolean{@B@l}{true}\setboolean{@B@h}{true}\setboolean{@B@r}{true}% \setboolean{@b@f}{true}\setboolean{@b@l}{true}% \setboolean{@b@h}{true}\setboolean{@b@r}{true}}}% \DeclareOption{useenvlab}{\setboolean{@set@env}{false}\setboolean{@use@envlab}{true}}% -\define@key{ov}{useenvlab}[true]{ +\define@key{ov}{useenvlab}[true]{% \iffixq{#1}{\setboolean{@use@envlab}{true}\setboolean{@set@env}{false}}}% \def\@paper@type{letterpaper}% +\def\ifta{0} \DeclareOption{letterpaper}{\def\@paper@type{letterpaper}}% \define@key{ov}{letterpaper}[true]{\iffixq{#1}{\def\@paper@type{letterpaper}}}% -\DeclareOption{legalpaper}{\def\@paper@type{legalpaper}} +\DeclareOption{legalpaper}{\def\@paper@type{legalpaper}}% \define@key{ov}{legalpaper}[true]{\iffixq{#1}{\def\@paper@type{legalpaper}}}% -\DeclareOption{a4paper}{\def\@paper@type{a4paper}} +\DeclareOption{a4paper}{\def\@paper@type{a4paper}}% \define@key{ov}{a4paper}[true]{\iffixq{#1}{\def\@paper@type{a4paper}}}% -\DeclareOption{a3paper}{\def\@paper@type{a3paper}} +\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,% +\setkeys{ov}{textwidthsize=0pt,textheightsize=0pt,bottommarginskip=5pt,% headermarginskip=0pt,rightmarginsize=72pt,leftmarginsize=72pt,bottommarginskipbelow=5pt,% -leftmargintopdist=-1pt,addrtoskipafter=18pt,unprright=-1pt,labsize=\normalsize,% +leftmargintopdist=0pt,addrtoskipafter=18pt,unprright=0pt,labsize=\normalsize,% 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}% +postsigskipafter=10pt,memoskipafter=15pt,memoskipbefore=35pt,unprtop=0pt,unprbottom=0pt,% +unprleft=0pt}% \ExecuteOptions{\@paper@type,stdletter,american}% -\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}} -\ProcessOptions +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{letter}}% +\ProcessOptions% \def\showdim#1{% -\txa{ * * * } -\txa{*****************************************************************************} +\txa{ * * * }% +\txa{*****************************************************************************}% \txa{Dimensions: #1}% \txa{\string\headheight: \the\headheight, \string\headsep: \the\headsep}% \txa{\string\paperheight: \the\paperheight, \string\paperwidth: \the\paperwidth}% @@ -956,8 +964,8 @@ unprleft=-1pt}% \txa{\string\oddsidemargin: \the\oddsidemargin, \string\columnsep: \the\columnsep}% \txa{\string\topmargin: \the\topmargin}% \txa{\string\marginparpush: \the\marginparpush, \string\marginparsep: \the\marginparsep}% -\txa{*****************************************************************************} -\txa{ * * * } +\txa{*****************************************************************************}% +\txa{ * * * }% }% \showdim{Before LoadClass}% \PassOptionsToClass{\@paper@type,oneside,final}{letter}% @@ -966,7 +974,7 @@ unprleft=-1pt}% \RequirePackage{addrset}% \IfFileExists{afterpage.sty}{\RequirePackage{afterpage}}{}% \IfFileExists{envlab.sty}{\RequirePackage{envlab}}{}% -\showdim{After LoadClass} +\showdim{After LoadClass}% \setlength{\voffset}{0in}% \setlength{\itemsep}{.2em}% \setlength{\topsep}{.2em}% @@ -1024,9 +1032,9 @@ unprleft=-1pt}% \count0 = \time \divide\count0 by 60% \count2 = \count0 % the hour% \count4 = \time \multiply\count0 by 60% -\advance\count4 by -\count0 % the minute% -\ifnum\count4<10 \toks1 = {0} \else \toks1 = {}\fi% -\ifnum\count2<12 \toks0 = {A.M.} % +\advance\count4 by -\count0% the minute% +\ifnum\count4<10 \toks1 = {0} \else \toks1 = {}\fi% +\ifnum\count2<12 \toks0 = {A.M.}% \else \toks0 = {P.M.}\advance\count2 by -12\fi% \ifnum\count2=0 \count2 = 12 \fi % make midnight 12% {\number\count2:\the\toks1 \number\count4% @@ -1147,19 +1155,19 @@ unprleft=-1pt}% \newcommand{\fixphr}[2]{\strut & \parbox[t]{\the\@utilc}{#1} #2 \\}% \def\ifta{0}% \def\memosec{% - \def\ifta{0}\txa{Start of memosec}% - \noindent\ignorespaces% - \settowidth{\@utila}{{\bf \@hnfr@phr:\hspace*{1.25em}}}% - \setlength{\@utilb}{\textwidth-\@utila-.1em}% - \addtolength{\@utilb}{-5pt}% - \settowidth{\@utilc}{\@phn@phr:\hspace*{2em}}% - \settowidth{\@utild}{\@fax@phr:\hspace*{2em}}% - \ifthenelse{\lengthtest{\@utilc<\@utild}}{\setlength{\@utilc}{\the\@utild}}{}% - \settowidth{\@utild}{\@pager@phr:\hspace*{2em}} - \ifthenelse{\lengthtest{\@utilc<\@utild}}{\setlength{\@utilc}{\the\@utild}}{}% - \settowidth{\@utild}{\@email@phr:\hspace*{2em}} - \ifthenelse{\lengthtest{\@utilc<\@utild}}{\setlength{\@utilc}{\the\@utild}}{}% -\txa{After length tests} +\def\ifta{0}\txa{Start of memosec}% +\noindent\ignorespaces% +\settowidth{\@utila}{{\bf \@hnfr@phr:\hspace*{1.25em}}}% +\setlength{\@utilb}{\textwidth-\@utila-.1em}% +\addtolength{\@utilb}{-5pt}% +\settowidth{\@utilc}{\@phn@phr:\hspace*{2em}}% +\settowidth{\@utild}{\@fax@phr:\hspace*{2em}}% +\ifthenelse{\lengthtest{\@utilc<\@utild}}{\setlength{\@utilc}{\the\@utild}}{}% +\settowidth{\@utild}{\@pager@phr:\hspace*{2em}}% +\ifthenelse{\lengthtest{\@utilc<\@utild}}{\setlength{\@utilc}{\the\@utild}}{}% +\settowidth{\@utild}{\@email@phr:\hspace*{2em}}% +\ifthenelse{\lengthtest{\@utilc<\@utild}}{\setlength{\@utilc}{\the\@utild}}{}% +\txa{After length tests}% {\vspace*{-1em}\setlength{\tabcolsep}{0pt}% \setboolean{@memo@a}{false}% \vspace*{\@pre@memo@sp}\noindent\par% @@ -1345,7 +1353,7 @@ unprleft=-1pt}% \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}}{} +\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}% @@ -1362,7 +1370,7 @@ unprleft=-1pt}% \ifthenelse{\boolean{@pr@p}}% {\pressbegin% Press release processing \txa{here we go again - out of pressbegin} -\setboolean{@no@spc}{true}} {}% % Press Release +\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% @@ -1407,10 +1415,11 @@ unprleft=-1pt}% }% \txa{End of openlfm}% }% +\def\ifta{0} \def\@fix@one@box{% \settowidth{\@utila}{\setlength{\tabcolsep}{0pt}% \begin{tabular}{l}% -\hspace*{1pt} +\hspace*{1pt}% \vspace*{\@cls@sk@b} \\% \ifthenelse{\boolean{@use@close}}{{\@closeline}\\}{}% \vspace*{\@cls@sk@a} \\% @@ -1477,7 +1486,10 @@ unprleft=-1pt}% \vspace*{\the\@sig@sk@a}%\end{flushleft} }% {% Print normal signature +\def\ifta{0} \@fix@one@box\settowidth{\@utila}{\usebox{\@sig@box@b}}% Set up box, measure +\ifthenelse{\boolean{@sig@l}}{\txa{@sig@l:true}}{\txa{@sig@l:false}} +\ifthenelse{\boolean{@sig@c}}{\txa{@sig@c:true}}{\txa{@sig@c:false}} \Prnt@Chk{@sig@p}{@sig@l}{@sig@c}% {\parbox{\@utila}{\usebox{\@sig@box@b}}}{}{\@cls@sk@b}{\@sig@sk@a}}% \ifthenelse{\boolean{@resta@l}}{\newpage\usebox{\@resta@ltr}}{}% @@ -1643,40 +1655,71 @@ unprleft=-1pt}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \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}{&}{\\} -} +}% \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}} +{}% +{\\ \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}% }% + +\newcommand{\@zfancyvbox}[2]{ +\gdef\@zpqutil{1pt} +\setbox0\vbox{#2}\ifdim\ht0>#1 +\setlength{\@utill}{\the\ht0} +\addtolength{\@utill}{-#1} +\addtolength{\@utill}{5.0pt} +\txa{utill:\the\@utill} +\xdef\@zpqutil{\the\@utill} +\txa{@zpqutil:\@zpqutil} +\fi +} +\newcommand{\@zfancyhead}[5]{#1\hbox to\headwidth{\fancy@reset + \@zfancyvbox\headheight{\hbox + {\rlap{\parbox[b]{\headwidth}{\raggedright#2}}\hfill + \parbox[b]{\headwidth}{\centering#3}\hfill + \llap{\parbox[b]{\headwidth}{\raggedleft#4}}}\zheadrule}}#5} + +\newcommand{\@zfancyfoot}[5]{#1\hbox to\headwidth{\fancy@reset + \@zfancyvbox\footskip{\zfootrule + \hbox{\rlap{\parbox[t]{\headwidth}{\raggedright#2}}\hfill + \parbox[t]{\headwidth}{\centering#3}\hfill + \llap{\parbox[t]{\headwidth}{\raggedleft#4}}}}}#5} + +\newcommand{\zheadrule}{{\if@fancyplain\let\headrulewidth\plainheadrulewidth\fi + \hrule\@height\headrulewidth\@width\headwidth \vskip-\headrulewidth}} + +\newcommand{\zfootrule}{{\if@fancyplain\let\footrulewidth\plainfootrulewidth\fi + \vskip-\footruleskip\vskip-\footrulewidth + \hrule\@width\headwidth\@height\footrulewidth\vskip\footruleskip}} + \newenvironment{newlfm}{% Start of fax environment, in fax class% \if@read@one \global\@read@onefalse \fi% -\def\ifta{0}\txa{Start of newlfm startup} -\ifthenelse{\boolean{@ov@a}}{\txa{oa: t}}{\txa{oa: f}} -\ifthenelse{\boolean{@ov@t}}{\txa{ot: t}}{\txa{ot: f}} -\ifthenelse{\boolean{@ov@f}}{\txa{of: t}}{\txa{of: f}} -\ifthenelse{\boolean{@ov@l}}{\txa{ol: t}}{\txa{ol: f}} -\ifthenelse{\boolean{@ov@s}}{\txa{os: t}}{\txa{os: f}} -\txa{nameto: \@name@to} -\txa{namefrom: \@name@fr} +\def\ifta{0}\txa{Start of newlfm startup}% +\ifthenelse{\boolean{@ov@a}}{\txa{oa: t}}{\txa{oa: f}}% +\ifthenelse{\boolean{@ov@t}}{\txa{ot: t}}{\txa{ot: f}}% +\ifthenelse{\boolean{@ov@f}}{\txa{of: t}}{\txa{of: f}}% +\ifthenelse{\boolean{@ov@l}}{\txa{ol: t}}{\txa{ol: f}}% +\ifthenelse{\boolean{@ov@s}}{\txa{os: t}}{\txa{os: f}}% +\txa{nameto: \@name@to}% +\txa{namefrom: \@name@fr}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Begin with fax cover page %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\ifthenelse{\boolean{@ov@a}}{\faxblocka}{} +\ifthenelse{\boolean{@ov@a}}{\faxblocka}{}% \ifthenelse{\boolean{@fax@RA}}% {\ifthenelse{\boolean{@fax@bla}}{\Rheader{\usebox{\fba}}}{}% \ifthenelse{\boolean{@fax@blb}}{\Rheader{\faxblockb}}{}}{}% @@ -1690,14 +1733,14 @@ unprleft=-1pt}% \ifthenelse{\boolean{@ov@f}}{\setadrfr{\expandafter\csname adr\@adr@f \endcsname}}{}% \ifthenelse{\boolean{@ov@s}}{\expandafter\csname sig\@sig@b \endcsname}{}% \@set@em@up -}{} +}{}% \txa{setting up ruh}% \def\ifta{0}% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\txa{name@to:\@name@to} -\ifthenelse{\boolean{@ov@t}}{\txa{oversetto:true}}{\txa{oversetto:false}} -\txa{name@fr:\@name@fr} -\ifthenelse{\boolean{@ov@f}}{\txa{oversetfr:true}}{\txa{oversetfr:false}} +\txa{name@to:\@name@to}% +\ifthenelse{\boolean{@ov@t}}{\txa{oversetto:true}}{\txa{oversetto:false}}% +\txa{name@fr:\@name@fr}% +\ifthenelse{\boolean{@ov@f}}{\txa{oversetfr:true}}{\txa{oversetfr:false}}% \retdims% \ifthenelse{\boolean{@fax@hdr@pg}}% {{\txa{FAX Page Setup}% @@ -1713,7 +1756,7 @@ 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% @@ -1741,8 +1784,8 @@ unprleft=-1pt}% \txa{\string\textwidth: \the\textwidth, \string\paperwidth: \the\paperwidth}% \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}% @@ -1755,7 +1798,7 @@ unprleft=-1pt}% \txa{After pagestyle}% \ifthenelse{\boolean{@in@makeenv}}{\txa{makeenv true}}{\txa{makeenv false}% \global\advance \@nlfm@addr by1% -\txa{Count: \number\@nlfm@addr -- To: \@adr@t -- From: \@adr@f} +\txa{Count: \number\@nlfm@addr -- To: \@adr@t -- From: \@adr@f}% \expandafter\xdef\csname @aadr@t\number\@nlfm@addr\endcsname{\@adr@t}% \expandafter\xdef\csname @aadr@f\number\@nlfm@addr\endcsname{\@adr@f}% \txa{Count: \number\@nlfm@addr -- To: \@adr@t -- From: \@adr@f} @@ -1777,7 +1820,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---}% @@ -1791,11 +1834,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}}% }{}% }% -\def\@make@big@env{ +\def\@make@big@env{% \@nlfm@util=0% \def\ifta{0}% \txa{In @make@big@env}% @@ -1826,8 +1869,8 @@ unprleft=-1pt}% \repeat% \global\@nlfm@addr=0% \txa{Count at end: \number\@nlfm@addr}% -} -\def\@clear@box{ +}% +\def\@clear@box{% \Background{}\background{}\Lfooter{}\Cfooter{}\Rfooter{}\LOfooter{}% \COfooter{}\ROfooter{}\lfooter{}\cfooter{}\rfooter{}\Lheader{}% \Cheader{}\Rheader{}\LUheader{}\CUheader{}\RUheader{}\lheader{}% @@ -1842,7 +1885,7 @@ unprleft=-1pt}% {\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}} \Cfooter{\@more@phr}\cfooter{\@more@phr}% @@ -1856,18 +1899,31 @@ unprleft=-1pt}% {\def\footrulewidth{\the\@Frw}}% {\setlength{\@Frw}{0pt}\def\footrulewidth{0pt}}% \def\ifta{0}\txa{Here in the middle}% -\begin{lrbox}{\@x@c}\begin{minipage}{\textwidth}\@Cheader\end{minipage}\end{lrbox}% -\begin{lrbox}{\@x@l}\begin{minipage}{\textwidth}\@Lheader\end{minipage}\end{lrbox}% -\begin{lrbox}{\@x@r}\begin{minipage}{\textwidth}\@Rheader\end{minipage}\end{lrbox}% +\settowidth{\@utili}{\@Lheader}% +\settowidth{\@utilj}{\@Cheader}% +\settowidth{\@utilk}{\@Rheader}% +\begin{lrbox}{\@x@l}\begin{minipage}{\@utili}\@Lheader\end{minipage}\end{lrbox}% +\begin{lrbox}{\@x@c}\begin{minipage}{\@utilj}\@Cheader\end{minipage}\end{lrbox}% +\begin{lrbox}{\@x@r}\begin{minipage}{\@utilk}\@Rheader\end{minipage}\end{lrbox}% \ifthenelse{\boolean{@Ch@use}}% {\settoheight{\@Hgt@H@C}{\strut\usebox{\@x@c}\strut}\settodepth{\@Dth@H@C}{\strut\usebox{\@x@c}\strut}% -\addtolength{\@Hgt@H@C}{\@Dth@H@C}}{\setlength{\@Hgt@H@C}{0pt}}% +\addtolength{\@Hgt@H@C}{\@Dth@H@C}}{\setlength{\@Hgt@H@C}{0pt}\setlength{\@Dth@H@C}{0pt}}% \ifthenelse{\boolean{@Rh@use}}% {\settoheight{\@Hgt@H@R}{\strut\usebox{\@x@r}\strut}\settodepth{\@Dth@H@R}{\strut\usebox{\@x@r}\strut}% -\addtolength{\@Hgt@H@R}{\@Dth@H@R}}{\setlength{\@Hgt@H@R}{0pt}}% +\addtolength{\@Hgt@H@R}{\@Dth@H@R}}{\setlength{\@Hgt@H@R}{0pt}\setlength{\@Dth@H@R}{0pt}}% \ifthenelse{\boolean{@Lh@use}}% {\settoheight{\@Hgt@H@L}{\strut\usebox{\@x@l}\strut}\settodepth{\@Dth@H@L}{\strut\usebox{\@x@l}\strut}% -\addtolength{\@Hgt@H@L}{\@Dth@H@L}}{\setlength{\@Hgt@H@L}{0pt}}% +\addtolength{\@Hgt@H@L}{\@Dth@H@L}}{\setlength{\@Hgt@H@L}{0pt}\setlength{\@Dth@H@L}{0pt}}% +\settoheight{\@utilf}{ +\vbox{\llap{\hbox{\parbox{\@utili}{\raggedright\usebox{\@x@l}}\hfill +\parbox{\@utilj}{\centering\usebox{\@x@c}}\hfill +\rlap{\parbox{\@utilk}{\raggedleft\usebox{\@x@r}}}}}}} +\settodepth{\@utilg}{ +\vbox{\hbox{\llap{\parbox{\@utili}{\raggedright\usebox{\@x@l}}\hfill +\parbox{\@utilj}{\centering\usebox{\@x@c}}\hfill +\rlap{\parbox{\@utilk}{\raggedleft\usebox{\@x@r}}}}}}} +\addtolength{\@utilh}{\@utilf} +\addtolength{\@utilh}{\@utilg} \begin{lrbox}{\@x@c}\begin{minipage}{\textwidth}\@cheader\end{minipage}\end{lrbox}% \begin{lrbox}{\@x@l}\begin{minipage}{\textwidth}\@lheader\end{minipage}\end{lrbox}% \begin{lrbox}{\@x@r}\begin{minipage}{\textwidth}\@rheader\end{minipage}\end{lrbox}% @@ -1875,37 +1931,37 @@ unprleft=-1pt}% \txa{\@rheader}% \ifthenelse{\boolean{@ch@use}}% {\settoheight{\@Hgt@h@c}{\strut\usebox{\@x@c}\strut}\settodepth{\@Dth@h@c}{\strut\usebox{\@x@c}\strut}% -\addtolength{\@Hgt@h@c}{\@Dth@h@c}}{\setlength{\@Hgt@h@c}{0pt}}% +\addtolength{\@Hgt@h@c}{\@Dth@h@c}}{\setlength{\@Hgt@h@c}{0pt}\setlength{\@Dth@h@c}{0pt}}% \ifthenelse{\boolean{@rh@use}}% {\settoheight\@Hgt@h@r{\strut\usebox{\@x@r}\strut}\settodepth\@Dth@h@r{\strut\usebox{\@x@r}\strut}% -\addtolength\@Hgt@h@r{\@Dth@h@r}}{\setlength\@Hgt@h@r{0pt}}% +\addtolength\@Hgt@h@r{\@Dth@h@r}}{\setlength\@Hgt@h@r{0pt}\setlength\@Dth@h@r{0pt}}% \ifthenelse{\boolean{@lh@use}}% {\settoheight\@Hgt@h@l{\strut\usebox{\@x@l}\strut}\settodepth\@Dth@h@l{\strut\usebox{\@x@l}\strut}% -\addtolength\@Hgt@h@l{\@Dth@h@l}}{\setlength\@Hgt@h@l{0pt}}% +\addtolength\@Hgt@h@l{\@Dth@h@l}}{\setlength\@Hgt@h@l{0pt}\setlength\@Dth@h@l{0pt}}% \begin{lrbox}{\@x@c}\begin{minipage}{\textwidth}\@Cfooter\end{minipage}\end{lrbox}% \begin{lrbox}{\@x@l}\begin{minipage}{\textwidth}\@Lfooter\end{minipage}\end{lrbox}% \begin{lrbox}{\@x@r}\begin{minipage}{\textwidth}\@Rfooter\end{minipage}\end{lrbox}% \ifthenelse{\boolean{@Cf@use}}% {\settoheight{\@Hgt@F@C}{\strut\usebox{\@x@c}\strut}\settodepth{\@Dth@F@C}{\strut\usebox{\@x@c}\strut}% -\addtolength{\@Hgt@F@C}{\@Dth@F@C}}{\setlength{\@Hgt@F@C}{0pt}}% +\addtolength{\@Hgt@F@C}{\@Dth@F@C}}{\setlength{\@Hgt@F@C}{0pt}\setlength{\@Dth@F@C}{0pt}}% \ifthenelse{\boolean{@Rf@use}}% {\settoheight{\@Hgt@F@R}{\strut\usebox{\@x@r}\strut}\settodepth{\@Dth@F@R}{\strut\usebox{\@x@r}\strut}% -\addtolength{\@Hgt@F@R}{\@Dth@F@R}}{\setlength{\@Hgt@F@R}{0pt}}% +\addtolength{\@Hgt@F@R}{\@Dth@F@R}}{\setlength{\@Hgt@F@R}{0pt}\setlength{\@Dth@F@R}{0pt}}% \ifthenelse{\boolean{@Lf@use}}% {\settoheight{\@Hgt@F@L}{\strut\usebox{\@x@l}\strut}\settodepth{\@Dth@F@L}{\strut\usebox{\@x@l}\strut}% -\addtolength{\@Hgt@F@L}{\@Dth@F@L}}{\setlength{\@Hgt@F@L}{0pt}}% +\addtolength{\@Hgt@F@L}{\@Dth@F@L}}{\setlength{\@Hgt@F@L}{0pt}\setlength{\@Dth@F@L}{0pt}}% \begin{lrbox}{\@x@c}\begin{minipage}{\textwidth}\@cfooter\end{minipage}\end{lrbox}% \begin{lrbox}{\@x@l}\begin{minipage}{\textwidth}\@lfooter\end{minipage}\end{lrbox}% \begin{lrbox}{\@x@r}\begin{minipage}{\textwidth}\@rfooter\end{minipage}\end{lrbox}% \ifthenelse{\boolean{@ch@use}}% {\settoheight{\@Hgt@f@c}{\strut\usebox{\@x@c}\strut}\settodepth{\@Dth@f@c}{\strut\usebox{\@x@c}\strut}% -\addtolength{\@Hgt@f@c}{\@Dth@f@c}}{\setlength{\@Hgt@f@c}{0pt}}% +\addtolength{\@Hgt@f@c}{\@Dth@f@c}}{\setlength{\@Hgt@f@c}{0pt}\setlength{\@Dth@f@c}{0pt}}% \ifthenelse{\boolean{@rh@use}}% {\settoheight{\@Hgt@f@r}{\strut\usebox{\@x@r}\strut}\settodepth{\@Dth@f@r}{\strut\usebox{\@x@r}\strut}% -\addtolength{\@Hgt@f@r}{\@Dth@f@r}}{\setlength{\@Hgt@f@r}{0pt}}% +\addtolength{\@Hgt@f@r}{\@Dth@f@r}}{\setlength{\@Hgt@f@r}{0pt}\setlength{\@Dth@f@r}{0pt}}% \ifthenelse{\boolean{@lh@use}}% {\settoheight{\@Hgt@f@l}{\strut\usebox{\@x@l}\strut}\settodepth{\@Dth@f@l}{\strut\usebox{\@x@l}\strut}% -\addtolength{\@Hgt@f@l}{\@Dth@f@l}}{\setlength{\@Hgt@f@l}{0pt}}% +\addtolength{\@Hgt@f@l}{\@Dth@f@l}}{\setlength{\@Hgt@f@l}{0pt}\setlength{\@Dth@f@l}{0pt}}% \txa{Height of letterhead header}% \ifthenelse{\lengthtest{\@Hgt@H@L<\@Hgt@H@C}}% {\setlength{\@Hgt@Head}{\@Hgt@H@C}}{\setlength{\@Hgt@Head}{\@Hgt@H@L}}% @@ -1925,7 +1981,6 @@ unprleft=-1pt}% \addtolength{\@Hgt@Head}{\@marg@tp@a}% \txa{7) @Hgt@Head: \the\@Hgt@Head}% \addtolength{\@Hgt@Head}{\@Hrw}% -\addtolength{\@Hgt@Head}{2.60005pt}% \addtolength{\@Hgt@Head}{\@unpr@tp}% \ifthenelse{\lengthtest{\@Hrw<2pt}}{\addtolength{\@Hgt@Head}{2.0pt}}{}% \txa{8) @Hgt@Head: \the\@Hgt@Head,\the\@Hrw,\headrulewidth}% @@ -1933,6 +1988,7 @@ unprleft=-1pt}% \txa{Left: \the\@Hgt@H@L, Center: \the\@Hgt@H@C, Right: \the\@Hgt@H@R}% \txa{Min: \the\@Min@Hgt@Head, Total: \the\@Hgt@Head}% \txa{Marg: \the\@marg@tp, Marga: \the\@marg@tp@a, Unpr: \the\@unpr@tp}% +\txa{@Hgt@Head: \the\@Hgt@Head,@utilf:\the\@utilf,@utilg:\the\@utilg,@utilh:\the\@utilh} \txa{Height of non-letterhead header}% \ifthenelse{\lengthtest{\@Hgt@h@l<\@Hgt@h@c}}% {\setlength{\@Hgt@head}{\@Hgt@h@c}}% @@ -1980,13 +2036,13 @@ unprleft=-1pt}% \setlength{\@plg}{\paperheight-\@Hgt@head-\@Hgt@foot-\@marg@tp@b-\@marg@tp@a-% \@marg@bt@a-\@marg@bt@b-\@f@f-\@hrw-\@frw}% \ifthenelse{\lengthtest{\@text@height>.1pt}}{\setlength{\@Plg}{\@text@height}}{}% -\ifthenelse{\boolean{@Bg@use}} -{\ClearShipoutPicture -\AddToShipoutPicture{\includegraphics[natheight=11in,natwidth=8.5in]{\@Backgrnd}}} -{\ifthenelse{\boolean{@bg@use}} -{\ClearShipoutPicture -\AddToShipoutPicture{\includegraphics[natheight=11in,natwidth=8.5in]{\@backgrnd}} -}{}} +\ifthenelse{\boolean{@Bg@use}}% +{\ClearShipoutPicture% +\AddToShipoutPicture{\includegraphics[natheight=11in,natwidth=8.5in]{\@Backgrnd}}}% +{\ifthenelse{\boolean{@bg@use}}% +{\ClearShipoutPicture% +\AddToShipoutPicture{\includegraphics[natheight=11in,natwidth=8.5in]{\@backgrnd}}% +}{}}% \def\ifta{0}% \txa{\string\@Hgt@H@C: \the\@Hgt@H@C, \string\@Hgt@H@R: \the\@Hgt@H@R}% \txa{\string\@Hgt@H@L: \the\@Hgt@H@L, \string\@Hgt@Head: \the\@Hgt@Head}% @@ -2077,17 +2133,36 @@ unprleft=-1pt}% \settodepth{\@utilb}{\@Lheader}% \addtolength{\@utile}{\@utilb}% \txa{Left: \the\@utile}% +\txa{marg-tp-a: \the\@marg@tp@a}% \gdef\npind{A5}% +\ifthenelse{\lengthtest{\@Hgt@head<10pt}}{\setlength{\@Hgt@head}{13pt}}{}% \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}}{}% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + \vspace*{\the\@marg@tp@a} +\txa{headrulewidth:\headrulewidth} +\@zfancyhead{\relax}{\f@ncyolh}{\f@ncyolh}{\f@ncyorh}{\relax} +\txa{HgtHead:\the\@Hgt@Head,utill:\the\@utill,zpqutil:\@zpqutil} +\addtolength{\@Hgt@Head}{\@utill} +\addtolength{\@Hgt@Head}{\@zpqutil} +\txa{HgtHead:\the\@Hgt@Head} +\setpage{\@Plg}{\@Pwd}{\@marg@rt-1in}{\@marg@lt-1in}{10pt}% +{\@marg@tp@a-1in}{\@Hgt@Head}{\@marg@tp@b}{\@Hgt@Foot}% +\txa{headheight:\the\headheight} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \txa{After Setting page 1}% \fixhh{\@Hgt@head}% \fixth{\@plg}% \showdim{After setpage}% \setlength{\headwidth}{\textwidth}% \def\ifta{0}% -\ifthenelse{\boolean{@cello@win}} { +\ifthenelse{\boolean{@cello@win}} {% \setlength{\@utila}{\@cello@d}% \txa{1. \the\@utila} \addtolength{\@utila}{-\@Hgt@Head}% @@ -2096,17 +2171,17 @@ unprleft=-1pt}% \txa{3. \the\@utila,\the\@marg@tp@a} \addtolength{\@utila}{-\@marg@tp@b}% \txa{4. \the\@utila,\the\@marg@tp@b} -\ifthenelse{\boolean{@dt@p}}{\txa{Fixing date} +\ifthenelse{\boolean{@dt@p}}{\txa{Fixing date}% \ifthenelse{\@intd@pos<\@intt@pos}{% \addtolength{\@utila}{-\@dt@sk@b}% -\txa{5. \the\@utila,\the\@dt@sk@b} +\txa{5. \the\@utila,\the\@dt@sk@b}% \addtolength{\@utila}{-\@dt@sk@a}% \txa{6. \the\@utila,\the\@dt@sk@a} -\settoheight{\@utile}{\@xdate} +\settoheight{\@utile}{\@xdate}% \addtolength{\@utila}{-\@utile}% -\txa{7. \the\@utila,\the\@utile} +\txa{7. \the\@utila,\the\@utile}% }{}}{}% -\ifthenelse{\boolean{@addr@fr@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}% @@ -2119,33 +2194,33 @@ unprleft=-1pt}% \end{tabular}}% \settoheight{\@utile}{\usebox{\b@addr@fr}}% \addtolength{\@utila}{-\@utile}% -\txa{8. \the\@utila,\the\@utile} +\txa{8. \the\@utila,\the\@utile}% }{}}{}% -\txa{9. \the\@utila} +\txa{9. \the\@utila}% \setlength{\@utilb}{\@cello@l}% -\txa{10. Horizontal position} -\txa{11. Start: \the\@utilb} +\txa{10. Horizontal position}% +\txa{11. Start: \the\@utilb}% \addtolength{\@utilb}{-\@marg@lt}% -\txa{12. \the\@utilb,\the\@marg@lt} -\txa{13. \the\@utilb} -\ifthenelse{\lengthtest{\@utila > 0pt}}{\setboolean{@ztila}{true}} -{\typeout{Cello window requested, but cannot be used.} -\typeout{'To-address' cannot be placed vertically. Suggestions:} -\typeout{1. Make letterhead components smaller.} -\typeout{2. Eliminate date or 'from-address' from letter.} -\typeout{3. Move date or 'from-address' below 'to-address'.} +\txa{12. \the\@utilb,\the\@marg@lt}% +\txa{13. \the\@utilb}% +\ifthenelse{\lengthtest{\@utila > 0pt}}{\setboolean{@ztila}{true}}% +{\typeout{Cello window requested, but cannot be used.}% +\typeout{'To-address' cannot be placed vertically. Suggestions:}% +\typeout{1. Make letterhead components smaller.}% +\typeout{2. Eliminate date or 'from-address' from letter.}% +\typeout{3. Move date or 'from-address' below 'to-address'.}% \setboolean{@ztila}{false}% -} -\ifthenelse{\lengthtest{\@utilb > 0pt}}{\setboolean{@ztilb}{true}} -{\typeout{Cello window requested, but cannot be used.} -\typeout{'To-address' cannot be placed horizontally. Suggestions:} -\typeout{1. Make left-margin width smaller.} -\typeout{2. Eliminate margin components.} -\setboolean{@ztilb}{false}% -} -\ifthenelse{\boolean{@ztila} \and \boolean{@ztilb}}{ -\setlength{\@addr@to@sk@b}{\@utila} -\setlength{\@extr@hor}{\@utila}}{} +}% +\ifthenelse{\lengthtest{\@utilb > 0pt}}{\setboolean{@ztilb}{true}}% +{\typeout{Cello window requested, but cannot be used.}% +\typeout{'To-address' cannot be placed horizontally. Suggestions:}% +\typeout{1. Make left-margin width smaller.}% +\typeout{2. Eliminate margin components.}% +\setboolean{@ztilb}{false}%% +}% +\ifthenelse{\boolean{@ztila} \and \boolean{@ztilb}}{% +\setlength{\@addr@to@sk@b}{\@utila}% +\setlength{\@extr@hor}{\@utila}}{}% }{\setboolean{@cello@win}{false}\setlength{\@extr@hor}{0pt}}% \def\ifta{0}% \txa{End of @set@em@up}% @@ -2192,56 +2267,56 @@ unprleft=-1pt}% \txa{npind:\npind}% \showdim{New page - before shipout}% \begingroup% % the \endgroup is put in by \aftergroup - \let \protect \noexpand - \@resetactivechars - \global\let\@@if@newlist\if@newlist - \global\@newlistfalse - \@parboxrestore -\txa{topmargin:\the\topmargin} -\txa{Before shipout...} - \showdim{New page - immediately before shipout} - \shipout \vbox{% - \set@typeset@protect - \aftergroup \endgroup - \aftergroup \set@typeset@protect% correct? or just restore by ending the group - \if@specialpage - \global\@specialpagefalse\@nameuse{ps@\@specialstyle}% - \fi - \if@twoside - \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot - \let\@themargin\oddsidemargin - \else \let\@thehead\@evenhead - \let\@thefoot\@evenfoot \let\@themargin\evensidemargin - \fi - \fi - \reset@font - \normalsize -\txa{Before normalsfcodes} - \normalsfcodes - \let\label\@gobble - \let\index\@gobble - \let\glossary\@gobble - \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@ - \@begindvi - \vskip \topmargin - \moveright\@themargin \vbox {% - \setbox\@tempboxa \vbox to\headheight{% - \vfil - \color@hbox - \normalcolor - \hb@xt@\textwidth{\@thehead}% - \color@endbox - }% %% 22 Feb 87 - \dp\@tempboxa \z@ - \box\@tempboxa - \vskip \headsep - \box\@outputbox - \baselineskip \footskip - \color@hbox - \normalcolor - \hb@xt@\textwidth{\@thefoot}% - \color@endbox - }% + \let \protect \noexpand% + \@resetactivechars% + \global\let\@@if@newlist\if@newlist% + \global\@newlistfalse% + \@parboxrestore% +\txa{topmargin:\the\topmargin}% +\txa{Before shipout...}% + \showdim{New page - immediately before shipout}% + \shipout \vbox{%% + \set@typeset@protect% + \aftergroup \endgroup% + \aftergroup \set@typeset@protect% correct? or just restore by ending the group% + \if@specialpage% + \global\@specialpagefalse\@nameuse{ps@\@specialstyle}%% + \fi% + \if@twoside% + \ifodd\count\z@ \let\@thehead\@oddhead \let\@thefoot\@oddfoot% + \let\@themargin\oddsidemargin% + \else \let\@thehead\@evenhead% + \let\@thefoot\@evenfoot \let\@themargin\evensidemargin% + \fi% + \fi% + \reset@font% + \normalsize% +\txa{Before normalsfcodes}% + \normalsfcodes% + \let\label\@gobble% + \let\index\@gobble% + \let\glossary\@gobble% + \baselineskip\z@skip \lineskip\z@skip \lineskiplimit\z@% + \@begindvi% + \vskip \topmargin% + \moveright\@themargin \vbox {%% + \setbox\@tempboxa \vbox to\headheight{%% + \vfil% + \color@hbox% + \normalcolor% + \hb@xt@\textwidth{\@thehead}%% + \color@endbox% + }% %% 22 Feb 87% + \dp\@tempboxa \z@% + \box\@tempboxa% + \vskip \headsep% + \box\@outputbox% + \baselineskip \footskip% + \color@hbox% + \normalcolor% + \hb@xt@\textwidth{\@thefoot}%% + \color@endbox% + }%% }% \txa{After shipout}% \global\let\if@newlist\@@if@newlist% diff --git a/Master/texmf-dist/tex/latex/newlfm/setdim.sty b/Master/texmf-dist/tex/latex/newlfm/setdim.sty index 247d1dba9de..dd943c949fa 100644 --- a/Master/texmf-dist/tex/latex/newlfm/setdim.sty +++ b/Master/texmf-dist/tex/latex/newlfm/setdim.sty @@ -24,7 +24,7 @@ %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e}[1996/06/01] \ProvidesPackage{setdim} - [2009/03/24 v9.3 + [2009/04/10 v9.4 Address macros] \def\ifta{0}\def\iftb{0}% |