summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/README390
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/chk1.tex16
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/demoa.tex13
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/hletrinf.tex337
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/letrinfo.tex27
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/manual.pdfbin0 -> 202609 bytes
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/newlfm.pdfbin206925 -> 319636 bytes
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/problems.tex115
-rwxr-xr-xMaster/texmf-dist/doc/latex/newlfm/prx.bat3
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/test1.tex6
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/test5.tex2
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/testms.pdfbin0 -> 12016 bytes
-rw-r--r--Master/texmf-dist/doc/latex/newlfm/testz.tex43
-rw-r--r--Master/texmf-dist/source/latex/newlfm/newlfm.dtx1237
-rw-r--r--Master/texmf-dist/source/latex/newlfm/newlfm.ins110
-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
18 files changed, 1488 insertions, 1714 deletions
diff --git a/Master/texmf-dist/doc/latex/newlfm/README b/Master/texmf-dist/doc/latex/newlfm/README
index 6ec2268b014..15096cfde89 100644
--- a/Master/texmf-dist/doc/latex/newlfm/README
+++ b/Master/texmf-dist/doc/latex/newlfm/README
@@ -1,195 +1,195 @@
-readme
-
-This file describes setting up newlfm.cls, the class file which contains the
-information about the new letter, fax and memo class newlfm. newlfm creates
-two additional .sty files, addrset.sty and setdim.sty. These support the
-processing performed by newlfm.
-
-newlfm uses a number of external .sty files to perform various functions.
-Please get the current version of these .sty files from better CTAN
-locations everywhere, install them as requested and update your configuration as
-necessary.
-
-These files are as follows:
-
-.sty File CTAN Location Retrieve?
-mdwlist macros/latex/contrib/supported/mdwtools Entire subdirectory
-fancyhdr macros/latex/contrib/supported/fancyhdr Entire subdirectory
-envlab macros/latex/contrib/supported/envlab Entire subdirectory
-graphics dviware/ln03/rmcs Specific file
-
-Setup procedure:
-
-1) Use a temporary working subdirectory. Unpack the newlfm archive file by
-using an appropriate tool, if you have an archive file. These tools are
-widely available. If you do not have them, please check CTAN. Otherwise
-just copy the files from the newlfm archive location in CTAN.
-
-2) Start up a OS command frame (MS-DOS command prompt, unix console). The OS
-command frame must be able to access some TeX version, and that is your
-responsibility. The setup procedure here requires access to TeX and more
-specifically to LaTeX.
-
-3) The setup utility assumes that you are running dvips as your printer
-driver. If not, you must change make_win.bat or make_unix.
-
-4) make .cls and .sty files:
-
-This acts to setup the program, by running the various components in the
-correct order.
-
-a) Win family: type
-
-make_win
-
-To check on commands:
-
-type make_win.bat
-
-b) unix/linux family: type
-
-make_unix
-
-To check on commands:
-
-more make_unix
-
-5) After running the make utility, print copies of the demonstration letters test1
-- test7. Print these letters and examine them. Here is a brief description:
-
-(a) test1 is a standard letter, with a little palm tree in the left header
-and a motto in Large bf text in the footer. A signature is printed in the signature
-block. It has a FAX cover page.
-
-(b) test2 is a standard memo, with a large palm tree at an odd angle in the
-top margin, centered. It is written in pig latin, or ig-pay atin-lay. This
-is a dialect of American English popular among 8 year olds.
-
-(c) test3 is a full memo, with a smaller memo space (144pt margins on either
-side). It has all address information in both the "from" and "to" sections
-of the memo.
-
-(d) test4 is a business letter with a header file containing a small palm
-tree and a firm identification section in the left margin.
-
-(e) test5 is a business letter with a header file containing a small palm
-tree and a firm identification section in the left margin. It also has a
-table, built in the standard table fashion, included.
-
-(f) test6 is a form letter, which prints letters to two different persons,
-including a fax header page for each.
-
-(g) test7 is a form letter file, which prints letters to two different persons,
-including a fax header page for each. In addition, it changes the order of
-the date and from addresses, and fiddles with the spacing.
-
-(h) test8 is a form letter file, which prints letters to three different
-persons from a list command multletter, including a fax header page for
-each. In addition, it changes the order of the date and from addresses, and
-fiddles with the spacing. This file also illustrates the use of the stored
-letter dimensional information, stored in the letters database letrinfo.tex.
-
-(i) test9 is a form letter file, which prints letters to three different
-persons from a list command multletter, including a fax header page for
-each. In addition, it changes the order of the date and from addresses, and
-fiddles with the spacing. This file also illustrates the use of the stored
-letter dimensional information, stored in the letters database letrinfo.tex.
-
-(j) test10 is a letter showing inclusion of nameto and namefr options
-directly rather than through the letrinfo file. It prints them in cello-window form.
-
-(k) test11 is a press release.
-
-6) newlfm.zip includes all files necessary to perform the demos.
-(a) After executing the setup utility, all files in these packages should
-be placed on your LaTeX path. You may wish to place them in your "local
-site" tree, which is the LaTeX storage location for local files. Ensure
-that the local LaTeX path is executed or searched after the default LaTeX
-path.
-
-(b) Place all files newlfm.* on the "local site" tree, in the location for
-LaTeX files. In addition, letrinfo.tex and extracd.tex are both placed on
-the "local site" tree. They should probably for simplicity be placed at the
-same location as is newlfm.cls.
-
-In that way, when you replace or upgrade, information for the use of newlfm
-(in particular, your letrinfo.tex file) will not be deleted inadvertantly.
-
-7) newlfm.dvi (and probably newlfm.ps) are produced by the setup utility.
-This is a result of the docstrip program's extraction from newlfm.dtx of the
-instructions for the newlfm.dtx class. Please print this and check it for
-simple information about the class.
-
-8) Bugs and problems may be reported to
-
-Paul A. Thompson, Ph.D.
-Div of Biostatistics
-Box 8067, Washington University School of Medicine
-St. Louis, MO 63110
-
-paul@wubios.wustl.edu
-
-If you wish me to examine anything, please send a gzipped tar file
-containing all sources (this includes letrinfo.tex and extracd.tex). I will
-try to run your example. NOTE: First step of debugging is to ensure that
-newlfm.cls is the same as mine; I don't look at your version of my class
-file. Please be sure that you have read the documentation first, however.
-
-MANIFEST OF ALL NEWLFM COMPONENTS
-
-This is a manifest of all files currently used in newlfm. It can serve as a
-checklist for users to ensure that all files for the class are present.
-
-extracd.tex Pattern file to enable users to change phrases for letter components
-letrinfo.tex Letter database file for examples
-lvb.eps Signature of Ludwig von Beetfonten
-makeclean_win.bat Clean up the subdirectory on a Windows box
-make_clean Clean up the subdirectory on a unix box
-make_unix Make .cls, .sty, manual and all examples on unix box
-make_win.bat Make .cls, .sty, manual and all examples on Windows box
-newlfm.dtx Source for newlfm and all associated program
-newlfm.ins File to produce newlfm.cls
-newlfm.txt A blurb about newlfm
-newlfm.zip .zip file containing all parts of the system
-palm.eps Palm tree used in examples
-README Instructions for setting up system
-sfaxpage.tex Pattern for FAX header page, modifiable by the user
-smemosec.tex Pattern for the memo block, modifiable by the user
-sprsrls.tex Pattern for the press release, modifiable by the user
-test1.tex Example file 1
-test2.tex Example file 2
-test3.tex Example file 3
-test4.tex Example file 4
-test5.tex Example file 5
-test6.tex Example file 6
-test7.tex Example file 7
-test8.tex Example file 8
-test9.tex Example file 9
-test10.tex Example file 10
-test11.tex Example file 11
-test12.tex Example file 12
-test1alt.tex Example file 1, alternative option specification (old style)
-test2alt.tex Example file 2, alternative option specification (old style)
-test3alt.tex Example file 3, alternative option specification (old style)
-test4alt.tex Example file 4, alternative option specification (old style)
-test5alt.tex Example file 5, alternative option specification (old style)
-test6alt.tex Example file 6, alternative option specification (old style)
-test7alt.tex Example file 7, alternative option specification (old style)
-test8alt.tex Example file 8, alternative option specification (old style)
-wine.eps Picture of some wine bottles
-
-newlfm uses internally defined macros to set up fax header pages, memo
-header blocks and press releases. To customize these for yourself:
-
-1) Change sfaxpage.tex to faxpage.tex for the fax page and modify it as needed; or
-2) Change smemosec.tex to memosec.tex for the memo block and modify it as needed;
-3) Change sprsrls.tex to prsrls.tex for the press release and modify it as needed.
-
-Modification of the files is in the hands of the user. Your mileage may
-vary. As developer and supporter of newlfm, I specifically exclude support
-for user modifications, but will consider a consulting arrangement at the
-user's discretion.
-
-
-
-
+readme
+
+This file describes setting up newlfm.cls, the class file which contains the
+information about the new letter, fax and memo class newlfm. newlfm creates
+two additional .sty files, addrset.sty and setdim.sty. These support the
+processing performed by newlfm.
+
+newlfm uses a number of external .sty files to perform various functions.
+Please get the current version of these .sty files from better CTAN
+locations everywhere, install them as requested and update your configuration as
+necessary.
+
+These files are as follows:
+
+.sty File CTAN Location Retrieve?
+mdwlist macros/latex/contrib/supported/mdwtools Entire subdirectory
+fancyhdr macros/latex/contrib/supported/fancyhdr Entire subdirectory
+envlab macros/latex/contrib/supported/envlab Entire subdirectory
+graphics dviware/ln03/rmcs Specific file
+
+Setup procedure:
+
+1) Use a temporary working subdirectory. Unpack the newlfm archive file by
+using an appropriate tool, if you have an archive file. These tools are
+widely available. If you do not have them, please check CTAN. Otherwise
+just copy the files from the newlfm archive location in CTAN.
+
+2) Start up a OS command frame (MS-DOS command prompt, unix console). The OS
+command frame must be able to access some TeX version, and that is your
+responsibility. The setup procedure here requires access to TeX and more
+specifically to LaTeX.
+
+3) The setup utility assumes that you are running dvips as your printer
+driver. If not, you must change make_win.bat or make_unix.
+
+4) make .cls and .sty files:
+
+This acts to setup the program, by running the various components in the
+correct order.
+
+a) Win family: type
+
+make_win
+
+To check on commands:
+
+type make_win.bat
+
+b) unix/linux family: type
+
+make_unix
+
+To check on commands:
+
+more make_unix
+
+5) After running the make utility, print copies of the demonstration letters test1
+- test7. Print these letters and examine them. Here is a brief description:
+
+(a) test1 is a standard letter, with a little palm tree in the left header
+and a motto in Large bf text in the footer. A signature is printed in the signature
+block. It has a FAX cover page.
+
+(b) test2 is a standard memo, with a large palm tree at an odd angle in the
+top margin, centered. It is written in pig latin, or ig-pay atin-lay. This
+is a dialect of American English popular among 8 year olds.
+
+(c) test3 is a full memo, with a smaller memo space (144pt margins on either
+side). It has all address information in both the "from" and "to" sections
+of the memo.
+
+(d) test4 is a business letter with a header file containing a small palm
+tree and a firm identification section in the left margin.
+
+(e) test5 is a business letter with a header file containing a small palm
+tree and a firm identification section in the left margin. It also has a
+table, built in the standard table fashion, included.
+
+(f) test6 is a form letter, which prints letters to two different persons,
+including a fax header page for each.
+
+(g) test7 is a form letter file, which prints letters to two different persons,
+including a fax header page for each. In addition, it changes the order of
+the date and from addresses, and fiddles with the spacing.
+
+(h) test8 is a form letter file, which prints letters to three different
+persons from a list command multletter, including a fax header page for
+each. In addition, it changes the order of the date and from addresses, and
+fiddles with the spacing. This file also illustrates the use of the stored
+letter dimensional information, stored in the letters database letrinfo.tex.
+
+(i) test9 is a form letter file, which prints letters to three different
+persons from a list command multletter, including a fax header page for
+each. In addition, it changes the order of the date and from addresses, and
+fiddles with the spacing. This file also illustrates the use of the stored
+letter dimensional information, stored in the letters database letrinfo.tex.
+
+(j) test10 is a letter showing inclusion of nameto and namefr options
+directly rather than through the letrinfo file. It prints them in cello-window form.
+
+(k) test11 is a press release.
+
+6) newlfm.zip includes all files necessary to perform the demos.
+(a) After executing the setup utility, all files in these packages should
+be placed on your LaTeX path. You may wish to place them in your "local
+site" tree, which is the LaTeX storage location for local files. Ensure
+that the local LaTeX path is executed or searched after the default LaTeX
+path.
+
+(b) Place all files newlfm.* on the "local site" tree, in the location for
+LaTeX files. In addition, letrinfo.tex and extracd.tex are both placed on
+the "local site" tree. They should probably for simplicity be placed at the
+same location as is newlfm.cls.
+
+In that way, when you replace or upgrade, information for the use of newlfm
+(in particular, your letrinfo.tex file) will not be deleted inadvertantly.
+
+7) newlfm.dvi (and probably newlfm.ps) are produced by the setup utility.
+This is a result of the docstrip program's extraction from newlfm.dtx of the
+instructions for the newlfm.dtx class. Please print this and check it for
+simple information about the class.
+
+8) Bugs and problems may be reported to
+
+Paul A. Thompson, Ph.D.
+Div of Biostatistics
+Box 8067, Washington University School of Medicine
+St. Louis, MO 63110
+
+paul@wubios.wustl.edu
+
+If you wish me to examine anything, please send a gzipped tar file
+containing all sources (this includes letrinfo.tex and extracd.tex). I will
+try to run your example. NOTE: First step of debugging is to ensure that
+newlfm.cls is the same as mine; I don't look at your version of my class
+file. Please be sure that you have read the documentation first, however.
+
+MANIFEST OF ALL NEWLFM COMPONENTS
+
+This is a manifest of all files currently used in newlfm. It can serve as a
+checklist for users to ensure that all files for the class are present.
+
+extracd.tex Pattern file to enable users to change phrases for letter components
+letrinfo.tex Letter database file for examples
+lvb.eps Signature of Ludwig von Beetfonten
+makeclean_win.bat Clean up the subdirectory on a Windows box
+make_clean Clean up the subdirectory on a unix box
+make_unix Make .cls, .sty, manual and all examples on unix box
+make_win.bat Make .cls, .sty, manual and all examples on Windows box
+newlfm.dtx Source for newlfm and all associated program
+newlfm.ins File to produce newlfm.cls
+newlfm.txt A blurb about newlfm
+newlfm.zip .zip file containing all parts of the system
+palm.eps Palm tree used in examples
+README Instructions for setting up system
+sfaxpage.tex Pattern for FAX header page, modifiable by the user
+smemosec.tex Pattern for the memo block, modifiable by the user
+sprsrls.tex Pattern for the press release, modifiable by the user
+test1.tex Example file 1
+test2.tex Example file 2
+test3.tex Example file 3
+test4.tex Example file 4
+test5.tex Example file 5
+test6.tex Example file 6
+test7.tex Example file 7
+test8.tex Example file 8
+test9.tex Example file 9
+test10.tex Example file 10
+test11.tex Example file 11
+test12.tex Example file 12
+test1alt.tex Example file 1, alternative option specification (old style)
+test2alt.tex Example file 2, alternative option specification (old style)
+test3alt.tex Example file 3, alternative option specification (old style)
+test4alt.tex Example file 4, alternative option specification (old style)
+test5alt.tex Example file 5, alternative option specification (old style)
+test6alt.tex Example file 6, alternative option specification (old style)
+test7alt.tex Example file 7, alternative option specification (old style)
+test8alt.tex Example file 8, alternative option specification (old style)
+wine.eps Picture of some wine bottles
+
+newlfm uses internally defined macros to set up fax header pages, memo
+header blocks and press releases. To customize these for yourself:
+
+1) Change sfaxpage.tex to faxpage.tex for the fax page and modify it as needed; or
+2) Change smemosec.tex to memosec.tex for the memo block and modify it as needed;
+3) Change sprsrls.tex to prsrls.tex for the press release and modify it as needed.
+
+Modification of the files is in the hands of the user. Your mileage may
+vary. As developer and supporter of newlfm, I specifically exclude support
+for user modifications, but will consider a consulting arrangement at the
+user's discretion.
+
+
+
+
diff --git a/Master/texmf-dist/doc/latex/newlfm/chk1.tex b/Master/texmf-dist/doc/latex/newlfm/chk1.tex
new file mode 100644
index 00000000000..d9a0ea1d489
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/chk1.tex
@@ -0,0 +1,16 @@
+\documentclass[stdletter,11pt]{newlfm}
+\nameto{George Bush}
+\addrto{\parbox{2in}{The White House \\ Washington, DC}}
+\namefrom{My Self}
+\newlfmP{addrf=testADR%% OK
+,addrfromphone%% Produced error [1]
+,addrfromfax%% Produces error [2]
+,printallfrom,addrfromright,orderdatefromto% Ignored [3]
+}%%
+\begin{document}
+\closeline{Sincerely yours,}
+\greetto{Dear Mr. Bush,}
+\begin{newlfm}
+How are the azaleas?
+\end{newlfm}
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/newlfm/demoa.tex b/Master/texmf-dist/doc/latex/newlfm/demoa.tex
new file mode 100644
index 00000000000..2177651bb31
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/demoa.tex
@@ -0,0 +1,13 @@
+\documentclass[busletter]{newlfm} %Renders correctly
+%\documentclass[busletternofrom]{newlfm} %Renders incorrectly
+\newlfmP{letrh=HEAVEN,addrt=SATAN}
+\begin{document}
+\begin{newlfm}
+
+I don't want to talk to you no more, you empty-headed animal food trough
+wiper! I fart in your general direction! Your mother was a hamster and your
+father smelt of elderberries!
+
+\end{newlfm}
+\end{document}
+
diff --git a/Master/texmf-dist/doc/latex/newlfm/hletrinf.tex b/Master/texmf-dist/doc/latex/newlfm/hletrinf.tex
new file mode 100644
index 00000000000..1e1cc13caad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/hletrinf.tex
@@ -0,0 +1,337 @@
+%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%% This file contains all items normally stuffed into a letter, but which
+%% are tedious to type on a frequent basis. See newlfm.sty or newlfm.tex for
+%% a more complete description
+%%
+%% Description
+%% \Name{your name here; include title, if you wish}
+%% \addrfr{your mailing address here}
+%% \Lfooter{left side footer, first letter page}
+%% \lfooter{left side footer, other pages}
+%% \Rfooter{right side footer, first letter page}
+%% \rfooter{right side footer, other pages}
+%% \Cfooter{center footer, first letter page}
+%% \cfooter{center footer, other pages}
+%% \sender{name and address, in special form for fax cover page}
+%% \signature{your signature here}
+%% \closeline{closing line for letter}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%
+%%
+%% Set graphics path to whereever you store your graphics
+%% Naturally, you KNOW that you must un-comment the line, yes?
+%%
+%% \graphicspath{c:/emtex/texinput/other}%
+%%
+\unprbottom{10pt}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% fxwine
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\fxWine}
+\savebox{\fxWine}{\parbox[t]{8.5in}%
+{\includegraphics[scale=1,clip=20 20 100 100]{wine}}%
+}%
+\newsavebox{\fyWine}
+\savebox{\fyWine}{\parbox[t]{8.5in}%
+{\includegraphics[scale=.25]{wine}}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Lpalms
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Lpalms}%
+\ifpdf
+\savebox{\Lpalms}{\parbox[t][.2in][t]{1in}{}//\parbox[t][.35in][t]{1.0in}%
+{\framebox{\includegraphics[scale=.150,viewport=85 624 560 700]{palm}}}}%
+\else
+\savebox{\Lpalms}{\parbox[t]{1.0in}%
+{\framebox{\includegraphics[scale=.150,bb=61 273 350 768]{palm}}}}%
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Lpalmb
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Lpalmb}%
+\savebox{\Lpalmb}{\fbox{\parbox[t]{1.3in}%
+{\includegraphics[scale=.115]{palmb}}}}%
+\newcommand{\addrz}{\\ \rule{1.25in}{2pt} \\ 25 Signal Hill Blvd \\Belleville, IL 62223}%
+\newcommand{\addrzq}{}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Lpalmd
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Lpalmd}%
+\ifpdf
+\savebox{\Lpalmd}{\hspace{1pt}\\\parbox[t][2.55in][t]{1.70in}%
+{\hspace*{.75in}\vspace*{.65in}
+\includegraphics[scale=.25,viewport=225 600 400 800]{palm}\\
+\vspace*{.4in}\addrz}}%
+\else
+\savebox{\Lpalmd}{\hspace{.1in}\fbox{\parbox[t][2.2in][t]{2.85in}%
+{\vspace{.2in}\includegraphics[scale=.2]{palm}\addrz}}}%
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Lpalme
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Lpalme}%
+\ifpdf
+\savebox{\Lpalme}{\parbox[t][1in][t]{2in}%
+{\includegraphics[scale=.1,viewport=135 624 360 700]{palm}\vspace{.5in} \\
+\rule{2in}{2pt} \\
+25 Signal Hill Blvd}
+}
+\else
+\savebox{\Lpalme}{\parbox[t]{2in}%
+{\includegraphics[scale=.1]{palm} \\
+\rule{2in}{2pt} \\
+25 Signal Hill Blvd}
+}
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Lpalmh
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Lpalmh}%
+\savebox{\Lpalmh}{\parbox[t]{3in}{\includegraphics[scale=.35]{palm}}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Lmarg
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Lmarg}
+\savebox{\Lmarg}{\parbox[t]{1.3in}{
+{\Huge The Font \\ Institute} \\
+We Do Fonts Right \\
+\vspace*{.35in} \hspace*{.1pt} \\
+{\bf Board of Directors} \vspace*{.125in} \\
+V. Lenin \\
+\hspace*{3pt}\parbox[t]{1.2in}{\textit{Director of Fontal \\ Correctness}}
+\vspace*{.0625in}\\
+L. Trotsky \\
+\hspace*{3pt}\parbox[t]{1.2in}{\textit{First Minister of \\ Fontal Orientation}}
+\vspace*{.0625in} \\
+J. Djugashvili \\
+\hspace*{3pt}\parbox[t]{1.2in}{\textit{First Secretary of \\the Protectorate}}
+\vspace*{.0625in} \\
+P. Molotov \\
+\hspace*{3pt}\parbox[t]{1.2in}{\textit{F\"uhrer of Volatile \\ Cocktails}}
+\vspace*{.0625in} \\
+J. Krupskaya \\
+\hspace*{3pt}\parbox[t]{1.2in}{\textit{Leader of People's \\ Orchestra}}
+\vspace*{.0625in}
+}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Rmarg
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newsavebox{\Rmarg}
+\savebox{\Rmarg}{\parbox[t]{1.4in}{
+{\Huge The Front \\ Institute} \\
+We Do Fonz Wrong}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% SigLvB
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\plngadj{40pt}
+\newsavebox{\SigLvB}
+\ifpdf
+\savebox{\SigLvB}{\parbox[t]{1.45in}%
+{\includegraphics[clip,viewport=35 724 160 750,scale=.85]%
+{lvb}}}
+\else
+\savebox{\SigLvB}{\parbox[t]{1.45in}%
+{\includegraphics[clip]%
+{lvb}}}
+\fi
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Signatures
+% sLvBa
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makesignature{sLvBa}{%
+\closeline{Yours in fontal health,}
+\signature{\usebox{\SigLvB}}%
+\signame{{\parbox[t]{2.4in}{%
+Ludwig von Beetfonten \\ Research Associate Professor \\%
+Division of Font Music Insertions \\ Test \\ Test \\ Test \\ Vienna University}}}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% sLvBf
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makesignature{sLvBf}{%
+\signature{\usebox{\SigLvB}}%
+\signame{{\parbox[t]{2.4in}{%
+Ludwig von Beetfonten \\ Research Associate Professor \\%
+Division of Font Music Insertions \\ Test \\ Test \\ Test \\ Vienna University}}}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% sLvBb
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makesignature{sLvBb}{%
+\signame{L. von Beetfonten}%
+\signature{\usebox{\SigLvB}}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% sLvBc
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makesignature{sLvBc}{%
+\signame{Luddy the Beet}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Addresses
+% LVB
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeaddress{LVB}{%
+\name{Ludwig von Beetfonten}%
+\addr{\# 5 Fifth Ave. \\ New Font City, New Fontiac \\%
+United Fontagraphy 12345-6789}%
+%\addr{D}
+\phone{030-1234567}%
+\fax{030-55535552}%
+\email{luddy@symphony.font.org}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% PIT
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeaddress{PIT}{%
+\name{Pyotr Ilyitch Tchyfontski}%
+\addr{Research Associate Professor \\ Division of Fontal Conversion \\%
+St. Leninberg University}
+%\addr{C}
+%\addr{test}
+\phone{505-555-1234}%
+\phoneb{505-666-1234}%
+\closeline{Yours in fontal health,}%
+\greet{Tovarich Pyotr:}%
+\Lheader{\usebox{\Lpalmd}}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% PITx
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeaddress{PITx}{%
+\name{Pyotr Ilyitch Tchyfontski}%
+\addr{Research Associate Professor \\ Division of Fontal Conversion \\%
+St. Leninberg University}%
+%\addr{B}
+\phone{505-555-1234}%
+\phoneb{505-666-1234}%
+\closeline{Yours in fontal health,}%
+\greet{Tovarich Pyotr:}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% CCR
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeaddress{CCR}{%
+\name{Carmen ``Cacciatore'' Rodriguez}%
+\addr{Assistant Associate Professor \\ Division of Chicken Informatics%
+\\ Cuba National University \\ Guantanemo Bay, Cuba}%
+\addr{Assistant Associate Professor \\
+Division of Chicken Informatics}
+%\addr{A}
+\Lheader{\usebox{\Lpalmd}}%
+\lheader{\usebox{\Lpalmh}}%
+\Rheader{\usebox{\Lpalmb}}%
+%\Rheader{}\Lheader{}
+\closeline{Yours in fontal health,}%
+\greet{Senora Rodriguez:}%
+\lthmastd
+\newlfmP{addrf=LVB}%
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% CCX
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeaddress{CCX}{%
+\name{Carmen ``Cacciatore'' Rodriguez}%
+\addr{Assistant Associate Professor \\ Division of Chicken Informatics%
+\\ Cuba National University \\ Guantanemo Bay, Cuba}%
+\addr{Assistant Associate Professor \\
+Division of Chicken Informatics}
+%\addr{A}
+\Rheader{\usebox{\Lpalmb}}%
+%\Rheader{}\Lheader{}
+\closeline{Yours in fontal health,}%
+\greet{Senora Rodriguez:}%
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% JXL
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeaddress{JXL}{%
+\name{Johannes Xavier Ligatur\"e}%
+\addr{Digital Letter Connectors \\%
+12 E. 13th St \\%
+Prague, Czech Republic}%
+\Rheader{\fbox{\usebox{\Lpalmd}}}%
+\Lheader{}\Cheader{}
+\closeline{Yours in fontal health,}%
+\greet{Gn\"adiger Herr:}
+\newlfmP{topmarginskip=.4in}
+\newlfmP{faxheaderpage}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Letterheads
+% masta
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{masta}{%
+\Lheader{\usebox{\Lpalme}}%
+\Cheader{}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastb
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{mastb}{%
+\Lheader{\usebox{\Lpalmb}}%
+\newlfmP{addrf=LVB}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastc
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{mastc}{%
+\leftmargintopdist{.25in}
+\Lmargin{\usebox{\Lmarg}}%
+\Lheader{\usebox{\Lpalms}}%
+\newlfmP{addrf=LVB}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastd
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{mastd}{%
+%\Lheader{\usebox{\Lpalmd}}%
+\newlfmP{addrf=LVB}%
+%\Backgrd{\usebox{\fxWine}}%
+\Rmargin{\usebox{\Rmarg}}%
+\Lmargin{\usebox{\Lmarg}}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% maste
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{maste}{%
+\Lheader{\usebox{\Lpalmb}}%
+%Rmargin{\usebox{\Rmarg}}%
+%\Lmargin{\usebox{\Lmarg}}\Rmargin{}%
+\newlfmP{addrf=LVB}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastf
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{mastf}{%
+\Lheader{\usebox{\Lpalme}}%
+\Cheader{}%
+\newlfmP{addrf=LVB}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% mastg
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{mastg}{%
+\Lheader{\usebox{\Lpalmd}}%
+\Lheader{\usebox{\Lpalms}}%
+\Rheader{\parbox[b][1in]{1in}{Position A} }%
+\Cheader{}%
+\newlfmP{addrf=LVB}%
+}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% masth
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\makeletterhead{masth}{%
+\Backgrd{\usebox{\fxWine}}%
+\Cfooter{\Large{Wine, Wine, Wine!!}}
+}%
+%
+%%% Local Variables:
+%%% mode: plain-tex
+%%% TeX-master: t
+%%% TeX-master: "dd"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/newlfm/letrinfo.tex b/Master/texmf-dist/doc/latex/newlfm/letrinfo.tex
index f2f4b1af184..0a2305941ae 100644
--- a/Master/texmf-dist/doc/latex/newlfm/letrinfo.tex
+++ b/Master/texmf-dist/doc/latex/newlfm/letrinfo.tex
@@ -1,3 +1,30 @@
+ \makeaddress{GOD}{\name{Jesus Christ}%
+ \addr{Heavenly Mansions\\%
+ 777 Divine Avenue\\%
+ Heaven\\}%
+ }%
+ %
+ \makesignature{ME}{\signame{Jesus Christ, SoG}%
+ \closeline{Yours sincerely,}%
+ }%
+ %
+ \makeletterhead{HEAVEN}{%
+ \sigME%
+ \setadrfr{\adrGOD}%
+ }%
+ %
+ \makeaddress{SATAN}{%
+ \name{Old Nick}%
+ \addr{666 Sulphur Street\\%
+ Brimstone Rise,\\
+ Hell}%
+ \greet{Dear Nick,}%
+ }%
+
+%%%%%%%%%% Example ends
+
+
+
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
diff --git a/Master/texmf-dist/doc/latex/newlfm/manual.pdf b/Master/texmf-dist/doc/latex/newlfm/manual.pdf
new file mode 100644
index 00000000000..448118358f8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/manual.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/newlfm/newlfm.pdf b/Master/texmf-dist/doc/latex/newlfm/newlfm.pdf
index 1f2e99bf70c..2a7e2d9d67c 100644
--- a/Master/texmf-dist/doc/latex/newlfm/newlfm.pdf
+++ b/Master/texmf-dist/doc/latex/newlfm/newlfm.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/newlfm/problems.tex b/Master/texmf-dist/doc/latex/newlfm/problems.tex
new file mode 100644
index 00000000000..231bd7c34a2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/problems.tex
@@ -0,0 +1,115 @@
+<x-flowed>
+Thank you for promulgating the newlfm.cls letter/fax/memo class. I am
+gearing up to use it in my daily work, and am also using it to try to
+improve my LaTeX and (nearly-nonexistent) TeX skills.
+
+I am having the following problem in the "Regarding" section, which I
+believe is due to a bug.
+
+In the attached testmemo.tex file, when I use the option "stdletter",
+the "Regarding" line prints out "Testing"; however, when I use the
+option "stdmemo", the "Re" line prints out "---BLANK---". As near
+as I can tell, the @re@line variable is not being set correctly, but
+with my basic and rudimentary TeX skills, I'm at a loss to figure out how.
+
+Attached are extracd.tex, letrinfo.tex, and my test case,
+testmemo.tex. I am using newlfm v 8.3, downloaded this past week from
+CTAN.
+
+Any help would be appreciated. Thanks again.
+
+
+ James
+James K. Gruetzner, Ph.D.
+
+Resolution: Fixed - cannot duplicate
+
+---------------------------------------------------------------------
+> > I've been using newlfm over quite a few incarnations, and have
+> > discovered a bug/feature on which you may be able to comment.
+> >
+> > While it may not be your preferred or recommended means of
+> > operation, in my role as secretary of an organisation, I sometimes
+> > choose to place all the letters arising from a particular meeting in
+
+
+> > the one file (eg Letters_2004_10_29.tex). What seems to happen is
+> > that when the file is processed, I get the first letter then its
+> > envelope, then the second letter and the envelopes for the FIRST and
+
+
+> > second letters, then the third letter and the envelopes for the
+> > FIRST, SECOND, and third letters, end so on. I think this behaviour
+
+
+> > started about the time that you added the required functiuonality
+> > from the geometry package. As far as I can tell, my file is not
+> > bizarre, just a series of \begin{newlfm} ... \end{newlfm}
+> > environments with the necessary addresses and phrase customisations
+> > etc. Likewise, the same effect occurred with a form letter just
+> > recently so I suspect a glitch in the
+>
+> > interface between newlfm and envlab.
+> >
+> > I may have misunderstood some parameter settings, or may have an old
+
+Fixed
+----------------------------------------------------------------
+Dear Dr. Thompson,
+
+I have just begun using your newlfm package and have already found it
+highly useful. Thank you very much for making it available to us.
+
+I am writing today to inform you that newlfm may have a minor bug. The
+newlfm that I am using is of version "2004/11/02 v8.3". It seems that
+this version ignores the memonoto, memonofrom, and memono
+options. Looking at the code of newlfm, I think that "true" in lines
+513, 515, and 517 should be replaced with "false".
+
+
+ 513: \DeclareOption{memonofrom} {\setboolean{@memo@e}{true}}%
+ ^^^^
+ 514: \define@key{ov}{memonofrom}[true]{\iffixt{#1}{@memo@e}}%
+ 515: \DeclareOption{memonoto} {\setboolean{@memo@g}{true}}%
+ ^^^^
+ 516: \define@key{ov}{memonoto}[true]{\iffixt{#1}{@memo@g}}%
+ 517: \DeclareOption{memonore} {\setboolean{@memo@f}{true}}%
+ ^^^^
+ 518: \define@key{ov}{memonore}[true]{\iffixt{#1}{@memo@f}}%
+
+
+Thanks again for your offering the wonderful newlfm.
+
+-----------------------------------
+Fixed
+
+
+-----------------------------------
+
+I just started using 2004/11/02 v8.3 of newlfm. Nice job!
+
+
+I'm having a small problem though. I have specified a custom header
+with graphics and that is working properly. If I try to specify the
+Blankheader option to turn it off, the file fails to format and I get
+an error. I have a feeling that I'm not specifying this option
+properly and I couldn't find it in any of your examples.
+
+
+How do I invoke this option?
+
+
+Thanks,
+
+
+Rick Zaccone
+Computer Science Department
+Bucknell University
+
+----
+FIxed
+
+%%% Local Variables:
+%%% mode: latex
+%%% TeX-master: "d"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/newlfm/prx.bat b/Master/texmf-dist/doc/latex/newlfm/prx.bat
new file mode 100755
index 00000000000..89bb2699664
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/prx.bat
@@ -0,0 +1,3 @@
+latex newlfm.ins
+latex test4
+dvips test4
diff --git a/Master/texmf-dist/doc/latex/newlfm/test1.tex b/Master/texmf-dist/doc/latex/newlfm/test1.tex
index 1deba20212b..22a5d1dbf51 100644
--- a/Master/texmf-dist/doc/latex/newlfm/test1.tex
+++ b/Master/texmf-dist/doc/latex/newlfm/test1.tex
@@ -4,17 +4,21 @@
topmarginskip=3pt,bottommarginskip=5pt,% % Margin specifications
dateskipbefore=-10pt,dateskipafter=.45in,% % Date locations
addrfromskipafter=35pt,bottommarginskipbelow=-5pt,% % Spacing in document
-addrfromskipbefore=0pt,addrtoskipafter=13pt,greettoskipafter=.25in,%% Spacing in document
+addrfromskipbefore=10pt,addrtoskipafter=13pt,greettoskipafter=.25in,%% Spacing in document
+addrtoskipbefore=13pt,%
Avery5160,setuplabel,useenvlab,% % Print 8 x 11 envelope
letrh=mastg,addrt=PIT,sigtr=sLvBa,% % letterhead, to, signature
letterpaper,busletter,dateno,% % Paper and style
addrfromright,addrfromleft,orderfromtodate,faxheaderpage,% % Justification and order
%unprtop=25pt,
+usenamefrom,%
sigright,Headlinewd=2pt}
\rheader{New header text!!}
\lheader{The Font Institute --- Propaganda Release 3993921.2}
+\re{Passing values to the memo page}
+
\closeline{Yours in fontal health,}
\Cfooter{\parbox{3in}{{\Large\bfseries\itshape Your font is my font!!}}}
diff --git a/Master/texmf-dist/doc/latex/newlfm/test5.tex b/Master/texmf-dist/doc/latex/newlfm/test5.tex
index 4148f48e19f..3250a6a0e7e 100644
--- a/Master/texmf-dist/doc/latex/newlfm/test5.tex
+++ b/Master/texmf-dist/doc/latex/newlfm/test5.tex
@@ -4,7 +4,7 @@
\re{Fonts and music}
\closeline{Yours in fontal health,}
-\newlfmP{stdletter,faxheaderpage,leftmargintopdist=1.65in}
+\newlfmP{stdletter,faxheaderpage,leftmargintopdist=1.65in,closelnbefore=0in}
\begin{document}
\begin{newlfm}
diff --git a/Master/texmf-dist/doc/latex/newlfm/testms.pdf b/Master/texmf-dist/doc/latex/newlfm/testms.pdf
new file mode 100644
index 00000000000..4f8229b6b28
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/newlfm/testms.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/newlfm/testz.tex b/Master/texmf-dist/doc/latex/newlfm/testz.tex
deleted file mode 100644
index eab21c25f80..00000000000
--- a/Master/texmf-dist/doc/latex/newlfm/testz.tex
+++ /dev/null
@@ -1,43 +0,0 @@
-\documentclass{article}
-\usepackage{graphicx}
-\usepackage{ifpdf}
-
-\begin{document}
-\newsavebox{\Lpalmb}%
-\savebox{\Lpalmb}{\fbox{\parbox[t]{1.3in}%
-{\includegraphics[scale=.115]{palmb}}}}%
-\newcommand{\addrz}{\\ \rule{1.25in}{2pt} \\ 25 Signal Hill Blvd \\Belleville, IL 62223}%
-\newcommand{\addrzq}{}%
-\newsavebox{\Lpalmd}%
-\ifpdf
-\savebox{\Lpalmd}{\hspace{1pt}\\\parbox[t][2.55in][t]{1.70in}%
-{\hspace*{.75in}\vspace*{.65in}
-\includegraphics[scale=.25,viewport=225 600 400 800]{palm}\\
-\vspace*{.4in}\addrz}}%
-\else
-\savebox{\Lpalmd}{\hspace{.1in}\fbox{\parbox[t][2.2in][t]{2.85in}%
-{\vspace{.2in}\includegraphics[scale=.2]{palm}\addrz}}}%
-\fi
-\newsavebox{\Lpalme}%
-\ifpdf
-\savebox{\Lpalme}{\parbox[t][1in][t]{2in}%
-{\includegraphics[scale=.1,viewport=135 624 360 700]{palm}\vspace{.5in} \\
-\rule{2in}{2pt} \\
-25 Signal Hill Blvd}
-}
-\else
-\savebox{\Lpalme}{\parbox[t]{2in}%
-{\includegraphics[scale=.1]{palm} \\
-\rule{2in}{2pt} \\
-25 Signal Hill Blvd}
-}
-\fi
-
-\usebox{\Lpalmd}
-
-\end{document}
-
-%%% Local Variables:
-%%% mode: latex
-%%% TeX-master: "d"
-%%% End:
diff --git a/Master/texmf-dist/source/latex/newlfm/newlfm.dtx b/Master/texmf-dist/source/latex/newlfm/newlfm.dtx
index 7e135a1c558..434da7d7455 100644
--- a/Master/texmf-dist/source/latex/newlfm/newlfm.dtx
+++ b/Master/texmf-dist/source/latex/newlfm/newlfm.dtx
@@ -22,7 +22,7 @@
% ltrfax.cls -- Paul A. Thompson
% lfmp.cls -- Ross Boylan
%
-% Copyright 1998-2005 Paul A. Thompson
+% Copyright 1998-2009 Paul A. Thompson
%
% IMPORTANT NOTICE:
%
@@ -71,12 +71,12 @@
%<*driver>
\ProvidesFile{newlfm.drv}
%</driver>
-%<+package> [2004/11/02 v8.3
+%<+package> [2009/1/09 v9.1
%<+package> Letter-Fax-Memo LaTeX Document Class]
-%<+addrset> [2004/11/02 v8.3
+%<+addrset> [2009/1/09 v9.1
%<+addrset> Address macros]%
-%<+setdim> [2004/11/02 v8.3
-%<+setdim> Address macros]
+%<+setdim> [2009/1/09 v9.1
+%<+setdim> Dimension Setting macros]
% \end{macrocode}
%
% \section{The documentation driver file}
@@ -152,19 +152,8 @@
% Boylan. Thanks, Ross.}
% \changes{v8.3}{2004/11/02}{Election special. Cello-window option added.}
% \changes{v8.4}{2004/11/06}{Fixed a number of other errors, including
-% multiple repeated envelope labels. Specials added to printing. Address
-% printing converted to the use of the table notation. Specials and
-% address components work together to print a variety of components in the
-% ``address-area'' of the letter.}
-% \changes{v9.0}{2004/06/16}{Revised address space method, going to a
-% tabular approach. This greatly simplifies the method for setting up the
-% multiple repeated envelope labels. Specials added to printing. Address
-% printing converted to the use of the table notation. Specials and
-% address components work together to print a variety of components in the
-% ``address-area'' of the letter.}
-% \changes{v9.1}{2004/09/16}{Fixed a number of very small bugs - including
-% errors in memonofrom and friends, Blankheader and friends, and several
-% other small problems.}
+% multiple repeated envelope labels.}
+% \changes{v1.1}{2009/1/09}{Added ability to add letterhead paper as 'watermark' .eps file}
%
% \iffalse
% \begin{macrocode}
@@ -312,7 +301,7 @@
% it is much more convenient to put this information in an address
% database.
%
-% \subsection{Option specification}
+% \subsection{Option specification}
% \label{sec:opt}
% The |newlfm| package features a wide variety of options to specify
% options for letters, faxes and memos.
@@ -359,22 +348,8 @@
% in order of encounter, so the last option encountered over-rides
% earlier ones.
%
-% \subsection{Basic ideas of newlfm}
-% A letter has a number of components. These include the to-address,
-% the from-address, the salutation or greeting, the body or main part
-% of the letter, the closing and the signature. In addition, there are
-% components of the header section, the left-margin, the right-margin and
-% the footer section. In |newlfm|, the header and footer sections are
-% managed using the basic tools provided by |fancyhdr|. The left- and
-% right-margins are managed using the margin specification tools of
-% \LaTeX. For the remaining components, |newlfm| structures the
-% placement using the |tabular| methodology of \LaTeX. Using this
-% approach, items are placed into cells of a |tabular| structure, and
-% spacing is adjusted accordingly. The further implications of this
-% structure is discussed below in Section \ref{sec:struct}.
-%
-% \section{Available styles}
-% \subsection{Letter styles}
+% \section{Available styles}
+% \subsection{Letter styles}
% \label{sec:let}%
% |newlfm| defines several letter styles. These styles are chosen using
% options (in either selection method). Letters include some or all of the following components:
@@ -382,7 +357,7 @@
% closing phrase, 6) signature, and 7) name and title of signer.
% Justification of the components is shown in \tabr{addrloc} below.
%
-% \subsection{Memo styles}
+% \subsection{Memo styles}
% \label{sec:mem}
% Memos are headed as:
% \begin{center}
@@ -399,7 +374,7 @@
% \tabr{addrloc} below. The user may use their
% own version of the memo block.
%
-% \subsection{A list of styles in \texttt{newlfm}}
+% \subsection{A list of styles in \texttt{newlfm}}
% \tabr{addrloc} shows the components of a letter, and indicates when
% they will be used in letters:
%
@@ -434,7 +409,7 @@
% \label{sec:leto}
% In |newlfm|, the various components of the letter can be modified.
% This is done using options (placed in the ``document-header'' or
-% ``keyed-value'' approaches).
+% ``keyed-value'' approaches).
%
% The following example illustrates option placement in the document
% header line:
@@ -508,37 +483,10 @@
% \end{tabular}
% \end{center}
%
-% \subsection{Letter components}
-% \label{sec:struct}
-% Items are placed in the address block section using a |tabular|
-% structure. The first item(s) is(are) placed in Row 2, the second
-% sequentially occurring is placed in Row 4 and the last in Row 6. The
-% |tabular| block has three columns, and the choice of columns for
-% printing is determined by justification of the items. Other items may
-% optionally be placed in other locations of the |tabular| block using
-% a special item:
-% \begin{verbatim}
-% \speciala{text}{row}{col}
-% \spacespa{space-before-a}{space-after-a}
-% \end{verbatim}
-% Using this approach, optional text may be placed into an optional
-% location in the header section. If special spacing is desired, it is
-% defined using the |\spacespa| construction. In |newlfm|, special text
-% may be added using |speciala|, |specialb|, |specialc|, |speciald|,
-% |speciale|, |specialf|, |specialg|, and |specialh|. Each of these
-% special text tools is paired with a |spacespx| construction, where |x|
-% is the same letter as the |special| tool. The |tabular| structure has
-% a total of 7 addressable rows, allowing optional items to be placed
-% before the first letter element (in Row 1), after the last letter
-% element (in Row 7), or between letter elements (in Rows 3 and 5).
-% Optional items may also be placed on the same rows as standard letter
-% elements. Note, however, that the placement of items in the same
-% position as standard letter elements will be ignored.
-%
% \subsection{Memo options}
% \label{sec:memo}
-% Memo options involve the inclusion of elements into from-address
-% and to-address blocks (including email and telephone numbers) and
+% Memo options involve the inclusion of elements into ``from-address''
+% and ``to-address'' blocks (including email and telephone numbers) and
% the placement of blocks on the page. Blocks may also be omitted. These
% may be placed either in the ``document-header'' option section, or in
% the command |\newlfmP|.
@@ -757,6 +705,7 @@
% Text Block & & |textheight| & & \\
% Left Margin Block & |\Lmargin| & & |leftmargintopdist| & \\
% Right Margin Block& |\Rmargin| & & |rightmargintopdist| & \\
+% Close line & |\closeline| & & |closeskipbefore| & |closeskipafter| \\
% Signature & |\signature| & |sigsize| & |sigskipbefore| & |sigskipafter| \\
% & |\siglist| & & & \\
% |Ps|, |PPs|, etc & Various & & |postsigskipbefore| & |postsigskipafter| \\
@@ -976,7 +925,6 @@
% \hdr{Page} & \hdr{Location} & \hdr{Left} & \hdr{Center} & \hdr{Right} \\ \hline
% Letterhead & Footer & |\Lfooter| & |\Cfooter| & |\Rfooter| \\
% & Header & |\Lheader| & |\Cheader| & |\Rheader| \\
-% & Under Header & |\LUheader| & |\CUheader| & |\RUheader| \\
% & Margin & |\Lmargin| & & |\Rmargin| \\
% \hline \hline
% Page & Location & Left & Center & Right \\ \hline
@@ -993,14 +941,8 @@
% In order for this to work, {\bfseries \itshape all \info{} for the
% header and footer must be included in boxed formats}. That is, to use a
% letterhead, logos, pictures, addresses, whatever must be placed in a
-% \LaTeX\ box structure. The boxed formatted items may be included in a
-% wrapper program.
-%
-% Under-header items are placed into boxes and placed just under the
-% header section. This allows items to be effectively divided into two
-% sections, those placed in the actual header, and those placed in
-% another header-like section just under the true header section. This
-% enables a more flexible and general letter to be written.
+% \LaTeX\ box structure. The boxed formatted items
+% may be included in a wrapper program.
%
% For example, if a logo is to be included from an external file, this
% should be inserted into an |\sbox| and used as follows:
@@ -1535,16 +1477,6 @@
% \end{enumerate*}
%
% \section{Miscellaneous topics}
-% \subsection{Paper sizes}
-% Paper sizes are the generally available ones. The following may be
-% specified: letterpaper (8.5in $\times$ 11in), legalpaper (8.5in
-% $\times$ 14in), executivepaper (7.25in $\times$ 10.5in), bigpaper (11in
-% $\times$ 17in), ebook(6in $\times$ 9in), a3paper (297mm $\times$
-% 420mm), a4paper (210mm $\times$ 297mm), a5paper (148mm $\times$ 210mm),
-% a6paper (105mm $\times$ 148mm), b3paper (353mm $\times$ 500mm), b4paper
-% (250mm $\times$ 353mm), b5paper (176mm $\times$ 250mm), and b6paper
-% (125mm $\times$ 176mm).
-%
% \subsection{Lines}
% By default, |newlfm| demarcates the header and footer sections with
% lines. These may be eliminated using the commands |noheadline|,
@@ -1789,6 +1721,7 @@
% either in the document-header option block or in the
% |\newlfmP| command)
% \item \textbf{Letter date information:} |\dateset|
+% \item \textbf{Water-mark page:} |\waterpage|
% \item \textbf{Memo styles:} |stdmemo|, |fullmemo| (\tabpagr{memoopt})
% \item \textbf{Memo options:} |memoaddrto|, |memoemailto|, |memophoneto|,
% |memofaxto|, |memoaddrfrom|, |memoemailfrom|, |memophonefrom|,
@@ -1838,6 +1771,7 @@
% |\dateskipbefore|, |\dateskipafter|, |\addrfromskipbefore|,
% |\addrfromskipafter|, |\addrtoskipbefore|, |\addrtoskipafter|,
% |\greettoskipbefore|, |\greettoskipafter|, |\textheight|,
+% |\closeskipbefore|, |\closeskipafter|,
% |\sigskipbefore|, |\sigsize|, |\sigskipafter|,|\sigskipcolumn|,
% |\sigskiprow|, |\postsigskipbefore|,
% |\postsigskipafter|, |\bottommarginskip|, |\footermarginsize|,
@@ -1881,7 +1815,7 @@
%
% \StopEventually
%
-% \section{Code (excluded from manual)}
+% \section{Code}
% \begin{macrocode}
%<*package>
% \end{macrocode}
@@ -1964,8 +1898,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}%
@@ -1973,11 +1906,10 @@
\newlength{\@xda} \newlength{\@xdb} \newlength{\@xdc}%
\newlength{\@xdd} \newlength{\@xde} \newlength{\@xdf}%
\newlength{\@xdg} \newlength{\@xdh} \newlength{\@xdi}%
-\newlength{\extrarulesep}%
-% \end{macrocode}%
-% \paragraph{\texttt{newlength} default values:}%
-% Begin by defining all newlength commands here:%
-% \begin{macrocode}%
+% \end{macrocode}
+% \paragraph{\texttt{newlength} default values:}
+% Begin by defining all newlength commands here:
+% \begin{macrocode}
\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}%
@@ -1993,50 +1925,23 @@
\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}%
-% \end{macrocode}%
-% \paragraph{\texttt{newsavebox} definitions:}%
-% Define all newsavebox commands here:%
-% \begin{macrocode}%
+\setlength{\@extr@hor}{0pt}
+% \end{macrocode}
+% \paragraph{\texttt{newsavebox} definitions:}
+% Define all newsavebox commands here:
+% \begin{macrocode}
\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}%
-% \end{macrocode}%
-% \paragraph{\texttt{newcounter} definitions:}%
-% Define all newcounter commands here:%
-% \begin{macrocode}%
+\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}
+% \end{macrocode}
+% \paragraph{\texttt{newcounter} definitions:}
+% Define all newcounter commands here:
+% \begin{macrocode}
\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}%
@@ -2044,22 +1949,20 @@
\newcount\@nlfm@util%
\newcount\@nlfm@uta%
\newcount\@nlfm@utb%
-% \end{macrocode}%
-% \paragraph{\texttt{newboolean} definitions:}%
-% Boolean variables are defined here. Package |ifthen| defines%
-% |\newboolean|. Booleans are a good approach for simple decision-making support. In%
-% many cases, a default value is set after the boolean is declared.%
-% \begin{macrocode}%
-\newboolean{@af@c}%
-\newboolean{@af@l}%
-\newboolean{@af@p}%
+% \end{macrocode}
+% \paragraph{\texttt{newboolean} definitions:}
+% Boolean variables are defined here. Package |ifthen| defines
+% |\newboolean|. Booleans are a good approach for simple decision-making support. In
+% many cases, a default value is set after the boolean is declared.
+% \begin{macrocode}
+\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}%
@@ -2095,15 +1998,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}%
@@ -2145,7 +2039,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}%
@@ -2172,69 +2065,70 @@
\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}
-% \end{macrocode}%
+% \end{macrocode}
%
-% \subsection{newlfm commands}%
-% Now begin defining new commands.%
-% \paragraph{Ordering of date, from-address and to-address:}%
-% These commands allow the ordering of date, to-block and from-block:%
-% \begin{macrocode}%
-\def\@d@pos#1{\def\@intd@pos{#1}}%
-\def\@t@pos#1{\def\@intt@pos{#1}}%
-\def\@f@pos#1{\def\@intf@pos{#1}}%
-% \end{macrocode}%
+% \subsection{newlfm commands}
+% Now begin defining new commands.
+% \paragraph{Ordering of date, from-address and to-address:}
+% These commands allow the ordering of date, to-block and from-block:
+% \begin{macrocode}
+\def\@d@pos#1{\def\@intd@pos{#1}}
+\def\@t@pos#1{\def\@intt@pos{#1}}
+\def\@f@pos#1{\def\@intf@pos{#1}}
+% \end{macrocode}
%
-% \paragraph{\texttt{keyval} processing:} When using the |keyval|%
-% approach to option specification, something similar to the next code%
-% must be used. At this point, this is not 100 \% correct, and so it%
-% will be altered as soon as I can figger it out.%
-% \begin{macrocode}%
+% \paragraph{\texttt{keyval} processing:} When using the |keyval|
+% approach to option specification, something similar to the next code
+% must be used. At this point, this is not 100 \% correct, and so it
+% will be altered as soon as I can figger it out.
+% \begin{macrocode}
\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}{}}%
-% \end{macrocode}%
+\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}{}}
+% \end{macrocode}
%
-% \paragraph{Language option definitions:}%
-% These options define the language for the letter. These macros are not%
-% frequently manipulated. Basically, the strings defined here%
-% set up the printing of structural elements of a memo or letter, such as%
-% the ``From'' or ``To'' strings.%
-% These terms are used at various points in printing letters and memos.%
-% They are American terms; your mileage may vary. Inclusion of other%
-% terms is encouraged, especially when another language group is served.%
-% \begin{macrocode}%
+% \paragraph{Language option definitions:}
+% These options define the language for the letter. These macros are not
+% frequently manipulated. Basically, the strings defined here
+% set up the printing of structural elements of a memo or letter, such as
+% the ``From'' or ``To'' strings.
+% These terms are used at various points in printing letters and memos.
+% They are American terms; your mileage may vary. Inclusion of other
+% terms is encouraged, especially when another language group is served.
+% \begin{macrocode}
\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}}%
@@ -2254,42 +2148,59 @@
\def\PhrMore#1{\def\@more@phr{#1}}%
\def\PhrPRend#1{\def\@PRend@phr{#1}}%
\def\lth{}\def\sig{}\def\adr{}%
-\def\letrh#1{\def\@ltr@head{#1}}%
-\define@key{ov}{letrh}{\def\@ltr@head{#1}}%
-\def\@adr@to{}\def\@adr@fr{}\def\@ltr@head{}\def\@sig@blok{}%
-\def\addrt#1{\def\@adr@to{#1}\setboolean{@over@setto}{true}}%
+\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}}%
+\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}}%
-\define@key{ov}{sigtr}{\def\@sig@blok{#1}\setboolean{@over@sigbl}{true}}%
-\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}}%
-\define@key{ov}{minhead}{\setlength{\@Min@Hgt@head}{#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}}%
-\define@key{ov}{minleft}{\setlength{\@Min@Hgt@left}{#1}}%
-\def\MinFoot#1{\setlength{\@Min@Hgt@Foot}{#1}}%
+\define@key{ov}{addrf}{\def\@adr@fr{#1}\setboolean{@over@setfr}{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}}
+\define@key{ov}{MinHead}{\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}}
+\define@key{ov}{MinLeft}{\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}}
\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}}%
@@ -2317,17 +2228,17 @@
{\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}}%
-% \end{macrocode}%
+% \end{macrocode}
%
-% \begin{macro}{Lengths}%
-% Length definitions are set up here. This is done by setting options mostly.%
-% These commands are either internal (begin with |@|) or user-optional (do%
-% not begin with |@|). User-optional commands are defined in the text%
-% above. %
-% \begin{macrocode}%
-\define@key{ov}{textwidthsize}{\setlength{\@text@width}{#1}}%
+% \begin{macro}{Lengths}
+% Length definitions are set up here. This is done by setting options mostly.
+% These commands are either internal (begin with |@|) or user-optional (do
+% not begin with |@|). User-optional commands are defined in the text
+% above.
+% \begin{macrocode}
+\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}}%
@@ -2357,18 +2268,18 @@
{\setlength{\@marg@rt@tp@d}{#1}\setboolean{@marg@rt@fl@tp}{true}}%
\define@key{ov}{leftmarginskipleft}%
{\setlength{\@marg@lt@l}{#1}\setboolean{@marg@lt@fl@tp}{false}}%
-\def\leftmarginskipleft#1{\setlength{\@marg@lt@l}{#1}}%
+\def\leftmarginskipleft#1{\setlength{\@marg@lt@l}{#1}}%
\define@key{ov}{rightmarginskipleft}%
{\setlength{\@marg@rt@l}{#1}\setboolean{@marg@lt@fl@tp}{false}}%
-\def\rightmarginskipleft#1{\setlength{\@marg@rt@l}{#1}}%
-\def\leftmarginskipright#1{\setlength{\@marg@lt@r}{#1}}%
-\define@key{ov}{leftmarginskipright}{\setlength{\@marg@lt@r}{#1}}%
-\def\rightmarginskipright#1{\setlength{\@marg@rt@r}{#1}}%
-\define@key{ov}{rightmarginskipright}{\setlength{\@marg@rt@r}{#1}}%
-\def\dateskipbefore#1{\setlength{\@dt@sk@b}{#1}}%
-\define@key{ov}{dateskipbefore}{\setlength{\@dt@sk@b}{#1}}%
-\def\dateskipafter#1{\setlength{\@dt@sk@a}{#1}}%
-\define@key{ov}{dateskipafter}{\setlength{\@dt@sk@a}{#1}}%
+\def\rightmarginskipleft#1{\setlength{\@marg@rt@l}{#1}}%
+\def\leftmarginskipright#1{\setlength{\@marg@lt@r}{#1}}%
+\define@key{ov}{leftmarginskipright}{\setlength{\@marg@lt@r}{#1}}%
+\def\rightmarginskipright#1{\setlength{\@marg@rt@r}{#1}}%
+\define@key{ov}{rightmarginskipright}{\setlength{\@marg@rt@r}{#1}}%
+\def\dateskipbefore#1{\setlength{\@dt@sk@b}{#1}}%
+\define@key{ov}{dateskipbefore}{\setlength{\@dt@sk@b}{#1}}%
+\def\dateskipafter#1{\setlength{\@dt@sk@a}{#1}}%
+\define@key{ov}{dateskipafter}{\setlength{\@dt@sk@a}{#1}}%
\def\addrfromskipafter#1{\setlength{\@addr@fr@sk@a}{#1}}%
\define@key{ov}{addrfromskipafter}{\setlength{\@addr@fr@sk@a}{#1}}%
\def\addrfromskipbefore#1{\setlength{\@addr@fr@sk@b}{#1}}%
@@ -2379,12 +2290,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}}%
@@ -2422,8 +2335,8 @@
%
% \begin{macrocode}
\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}%
@@ -2433,8 +2346,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}%
@@ -2444,8 +2357,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}%
@@ -2464,37 +2377,37 @@
\setboolean{@memo@m}{true}%
\setboolean{@memo@n}{true}%
}%
-\DeclareOption{memoaddrto}{\setboolean{@memo@b}{true}}%
+\DeclareOption{memoaddrto}{\setboolean{@memo@b}{true}}%
\define@key{ov}{memoaddrto}[true]{\iffixt{#1}{@memo@b}}%
-\DeclareOption{memoemailto}{\setboolean{@memo@k}{true}}%
+\DeclareOption{memoemailto}{\setboolean{@memo@k}{true}}%
\define@key{ov}{memoemailto}[true]{\iffixt{#1}{@memo@k}}%
-\DeclareOption{memophoneto}{\setboolean{@memo@c}{true}}%
+\DeclareOption{memophoneto}{\setboolean{@memo@c}{true}}%
\define@key{ov}{memophoneto}[true]{\iffixt{#1}{@memo@c}}%
-\DeclareOption{memopagerto}{\setboolean{@memo@n}{true}}%
+\DeclareOption{memopagerto}{\setboolean{@memo@n}{true}}%
\define@key{ov}{memopagerto}[true]{\iffixt{#1}{@memo@n}}%
-\DeclareOption{memofaxto}{\setboolean{@memo@d}{true}}%
+\DeclareOption{memofaxto}{\setboolean{@memo@d}{true}}%
\define@key{ov}{memofaxto}[true]{\iffixt{#1}{@memo@d}}%
-\DeclareOption{memoaddrfrom}{\setboolean{@memo@h}{true}}%
+\DeclareOption{memoaddrfrom}{\setboolean{@memo@h}{true}}%
\define@key{ov}{memoaddrfrom}[true]{\iffixt{#1}{@memo@h}}%
-\DeclareOption{memoemailfrom}{\setboolean{@memo@l}{true}}%
+\DeclareOption{memoemailfrom}{\setboolean{@memo@l}{true}}%
\define@key{ov}{memoemailfrom}[true]{\iffixt{#1}{@memo@l}}%
-\DeclareOption{memopagerfrom}{\setboolean{@memo@m}{true}}%
+\DeclareOption{memopagerfrom}{\setboolean{@memo@m}{true}}%
\define@key{ov}{memopagerfrom}[true]{\iffixt{#1}{@memo@m}}%
-\DeclareOption{memophonefrom}{\setboolean{@memo@i}{true}}%
+\DeclareOption{memophonefrom}{\setboolean{@memo@i}{true}}%
\define@key{ov}{memophonefrom}[true]{\iffixt{#1}{@memo@i}}%
-\DeclareOption{memofaxfrom}{\setboolean{@memo@j}{true}}%
+\DeclareOption{memofaxfrom}{\setboolean{@memo@j}{true}}%
\define@key{ov}{memofaxfrom}[true]{\iffixt{#1}{@memo@j}}%
-\DeclareOption{memodate}{\setboolean{@dt@p}{true}}%
+\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{fullmemo}{\@opt@flm}%
+\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}%
+\DeclareOption{stdmemo}{\@opt@stm}%
\define@key{ov}{stdmemo}[true]{\iffixq{#1}{\@opt@stm}}%
% \end{macrocode}
% \end{macro}
@@ -2505,8 +2418,8 @@
%
% \begin{macrocode}
\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}%
@@ -2557,57 +2470,6 @@
% \end{macrocode}
% \end{macro}
%
-% \begin{macro}{Specials}
-% Special definitions. These commands define the tools for including
-% specials into a letter. A special is a piece of text not covered by
-% the usual definitions. Specials can be included by the command
-% |\speciala{textx}{row}{col}|. The special is printed in the
-% ``address-area'' of the letter. The ``address-area'' is divided into a
-% grid that is 6 rows by 3 columns.
-% \begin{macrocode}
-\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}%
-% \end{macrocode}%
-% \end{macro}
-%
% \begin{macro}{Letters}
% Letter definitions. These commands define the overall structures for
% standard letters (with and without from-addresses). There are commands
@@ -2616,16 +2478,16 @@
% types of information.
% \begin{macrocode}
\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}%
@@ -2633,16 +2495,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}%
@@ -2650,10 +2512,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}%
@@ -2663,10 +2525,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}%
@@ -2677,14 +2539,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}}%
@@ -2708,7 +2570,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}%
@@ -2770,14 +2632,14 @@
% Set the marginal gap 20p
\DeclareOption{biggap}{\setboolean{@gap@small}{false}}%
% Do not print from-address.
-\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{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}}%
% Do not print to-address.
-\DeclareOption{addrtono}{\setboolean{@at@p}{false}}%
-\DeclareOption{noaddrto}{\setboolean{@at@p}{false}}%
-\define@key{ov}{noaddrto}[true]{\iffixf{#1}{@at@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}}%
% Do not print greeting
\DeclareOption{greetno}{\setboolean{@greet@p}{false}}%
\define@key{ov}{nogreet}[true]{\iffixf{#1}{@greet@p}}%
@@ -2837,8 +2699,8 @@
\define@key{ov}{signatureno}[true]{\iffixf{#1}{@sig@p}}%
% Print all fr \info.
\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}}%
@@ -2847,8 +2709,8 @@
\define@key{ov}{printallfrom}[true]{\iffixq{#1}{\@fix@all@fr}}%
% Print all to \info.
\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}}%
@@ -2897,62 +2759,28 @@
\setboolean{@B@h}{true}\setboolean{@B@r}{true}%
\setboolean{@b@f}{true}\setboolean{@b@l}{true}%
\setboolean{@b@h}{true}\setboolean{@b@r}{true}}}%
-% Use envelopes
-\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}}}%
-% Use letterpaper
-\DeclareOption{letterpaper}{\@set@pap{letterpaper}{11in}{8.5in}}%
-\define@key{ov}{letterpaper}[true]{\iffixq{#1}{\@set@pap{letterpaper}{11in}{8.5in}}}%
-% Use letterpaper
-\DeclareOption{bigpaper}{\@set@pap{bigpaper}{17in}{11in}}%
-\define@key{ov}{bigpaper}[true]{\iffixq{#1}{\@set@pap{bigpaper}{17in}{11in}}}%
-% Use legalpaper
-\DeclareOption{legalpaper}{\@set@pap{legalpaper}{14in}{8.5in}}%
-\define@key{ov}{legalpaper}[true]{\iffixq{#1}{\@set@pap{legalpaper}{14in}{8.5in}}}%
-% Use executivepaper
-\DeclareOption{executivepaper}{\@set@pap{executivepaper}{10.5in}{7.25in}}%
-\define@key{ov}{executivepaper}[true]{\iffixq{#1}{\@set@pap{executivepaper}{10.5in}{7.25in}}}%
-% Use ebook
-\DeclareOption{ebook}{\@set@pap{ebook}{9in}{6in}}%
-\define@key{ov}{ebook}[true]{\iffixq{#1}{\@set@pap{ebook}{9in}{6in}}}%
-% Use a3
-\DeclareOption{a3paper}{\@set@pap{a3paper}{420mm}{297mm}}%
-\define@key{ov}{a3paper}[true]{\iffixq{#1}{\@set@pap{a3paper}{420mm}{297mm}}}%
-% Use a4
-\DeclareOption{a4paper}{\@set@pap{a4paper}{297mm}{210mm}}%
-\define@key{ov}{a4paper}[true]{\iffixq{#1}{\@set@pap{a4paper}{297mm}{210mm}}}%
-% Use a5
-\DeclareOption{a5paper}{\@set@pap{a5paper}{210mm}{148mm}}%
-\define@key{ov}{a5paper}[true]{\iffixq{#1}{\@set@pap{a5paper}{210mm}{148mm}}}%
-% Use a6
-\DeclareOption{a6paper}{\@set@pap{a6paper}{148mm}{105mm}}%
-\define@key{ov}{a6paper}[true]{\iffixq{#1}{\@set@pap{a6paper}{148mm}{105mm}}}%
-% Use b3
-\DeclareOption{b3paper}{\@set@pap{b3paper}{500mm}{353mm}}%
-\define@key{ov}{b3paper}[true]{\iffixq{#1}{\@set@pap{b3paper}{500mm}{353mm}}}%
-% Use b4
-\DeclareOption{b4paper}{\@set@pap{b4paper}{353mm}{250mm}}%
-\define@key{ov}{b4paper}[true]{\iffixq{#1}{\@set@pap{b4paper}{353mm}{250mm}}}%
-% Use b5
-\DeclareOption{b5paper}{\@set@pap{b5paper}{250mm}{176mm}}%
-\define@key{ov}{b5paper}[true]{\iffixq{#1}{\@set@pap{b5paper}{250mm}{176mm}}}%
-% Use b6
-\DeclareOption{b6paper}{\@set@pap{b6paper}{176mm}{125mm}}%
-\define@key{ov}{b6paper}[true]{\iffixq{#1}{\@set@pap{b6paper}{176mm}{125mm}}}%
-% Set default options here
-\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}%
% \end{macrocode}%
% \end{macro}
-%
% \subsection{Executing Options}
% Here we execute the default options to initialize certain variables.
% \begin{macrocode}
@@ -3211,7 +3039,6 @@ unprleft=-1pt}%
%<*setdim>
\def\ifta{0}\def\iftb{0}%
\def\txa#1{\ifthenelse{\equal{\ifta}{1}}{\typeout{#1}}{}}%%
-% Set text margin parameters
\def\settext#1#2#3#4#5{%
\txa{\string\textheight: #1}\txa{\string\textwidth: #2}%
\global\setlength{\textheight}{#1}%
@@ -3221,7 +3048,6 @@ unprleft=-1pt}%
\global\setlength{\columnsep}{#5}%
\@change@text%
}
-% Set text margin parameters locally, not globally
\def\lsettext#1#2#3#4#5{%
\txa{\string\textheight: #1}\txa{\string\textwidth: #2}%
\setlength{\textheight}{#1}%
@@ -3231,7 +3057,6 @@ unprleft=-1pt}%
\setlength{\columnsep}{#5}%
\@lchange@text%
}
-% Change text margin parameters
\def\@change@text{%
\global\setlength{\@colht}{\textheight}%
\txa{\string\@colht:\the\@colht}%
@@ -3245,7 +3070,6 @@ unprleft=-1pt}%
\global\setlength{\hsize}{\columnwidth}%
\global\setlength{\linewidth}{\hsize}%
}%
-% Change text margin parameters locally, not globally
\def\@lchange@text{%
\setlength{\@colht}{\textheight}%
\txa{\string\@colht:\the\@colht}%
@@ -3259,7 +3083,6 @@ unprleft=-1pt}%
\setlength{\hsize}{\columnwidth}%
\setlength{\linewidth}{\hsize}%
}%
-% Retain dimensions for change at a point, and later restoration
\def\retdims{%
\showdim{Setpage A}%
\txa{In setpage: \npind}%
@@ -3273,7 +3096,6 @@ unprleft=-1pt}%
\global\setlength{\@xdh}{\headsep}%
\global\setlength{\@xdi}{\footskip}%
}
-% Restore dimensions from change at a point
\def\rstdims{%
\showdim{Setpage A}%
\txa{In setpage: \npind}%
@@ -3288,7 +3110,6 @@ unprleft=-1pt}%
\global\setlength{\footskip}{\@xdi}%
\@change@text%
}
-% Set all dimensions
\def\setpage#1#2#3#4#5#6#7#8#9{%
\showdim{Setpage A}%
\txa{In setpage: \npind}%
@@ -3437,7 +3258,8 @@ unprleft=-1pt}%
% \end{enumerate}
% \begin{macrocode}
\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}}%
@@ -3555,8 +3377,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 \\%
@@ -3569,14 +3391,14 @@ 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}}%
@@ -3598,10 +3420,10 @@ unprleft=-1pt}%
% \end{enumerate}
%
% \begin{macrocode}
-\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}%
@@ -3707,7 +3529,7 @@ unprleft=-1pt}%
% \end{macrocode}
% \end{macro}
% \subsection{Start of letter document}
-% \begin{macro}{\@open@lfm}
+% \begin{macro}{\openlfm}
% Begin letter here. First check for left margin boxes; if one has been
% specified, set it into the margin, and change the margin spacing
% accordingly. After that, the left, right and center under-margin boxes
@@ -3715,90 +3537,48 @@ unprleft=-1pt}%
% Finally, we print (optionally) date, from-address, to-address and opening
% salutation.
% \begin{macrocode}
-\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}}%
+\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}}{}%
+}%
% \end{macrocode}
% This is the actual section for openlfm.
% \begin{macrocode}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\def\@open@lfm{%
+\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
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Set margin par stuff printed in margin
\normalmarginpar%
-\marginpar{\vspace*{\the\@utile}\hspace*{\@marg@rt@l}\hspace*{-\marginparsep}\@Rmarg}}{}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Print in the left margin?
-\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
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Print memo block?
\ifthenelse{\boolean{@memo@bl}}%
-{{\memosec}\setboolean{@dt@p}{false}\setboolean{@no@spc}{true}}{}%Memo
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Press release
+{{\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
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Set the from info into a box - on first pass, measure - second pass, fit
-% parbox to the measure
-%A2%
-\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%
@@ -3808,228 +3588,45 @@ 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}%
-%B1%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Set the to info into a box - on first pass, measure - second pass, fit
-% parbox to the measure
-\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}{}%
-}}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Now print the three components of the address in the three possible positions
-\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}%
-% Set up date
-\sbox{\@xdateb}{\@xdate}%
-% Set up side-by-side
-\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}
-% Set up the rows for printing of the date, from and to
-\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}}{}%
-% Set up the columns corresponding to the positions for header elements
-\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}}}%
-% Set up the columns for each of the specials, if specials there are%
-\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}%
-% Set up the columns for each of the components%
-\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}%
-% Measure the columns for specification
-\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}%
-% Define the lengths for the tabular - add just a tiny bit to each column
-\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}
-%VALUE D
-{\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{}}%
-%\rule{\textwidth}{.5pt}\par\nointerlineskip
-\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}}%
-%Here finally print the header section
-% Very ungainly here - multicolumn does not like the ifthenelse construction
-\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}%
-%\@prnt@mboxa{@hblk@h}{\@hblk@h@bef}{8}{\@hblk@ha}{\@hblk@hb}{\@hblk@hc}%
-%{\@hblk@h@aft}{\@tab@line}{H}%
-\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}{}}%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \end{macrocode}
% \end{macro}
% \subsection{Close of document section}
-% \begin{macro}{@clos@lfm}
+% \begin{macro}{closlfm}
% In this section, the letter is terminated. Several things happen here:
% \begin{enumerate}
% \item If signature block is to be printed, it is printed
@@ -4044,24 +3641,38 @@ unprleft=-1pt}%
% \end{enumerate}
% \begin{macrocode}
\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}}{}%
@@ -4094,7 +3705,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}}%
@@ -4104,13 +3715,15 @@ 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}%
+}%
}%
% \end{macrocode}
% \end{macro}
@@ -4125,7 +3738,7 @@ unprleft=-1pt}%
\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}%
@@ -4380,11 +3993,11 @@ unprleft=-1pt}%
% included in a letter. That way, it need not be entered separately into
% each different letter.
%
-% \begin{macrocode}%
-\newif \if@read@one \@read@onetrue%
-\def\@ltr@info@name{letrinfo.tex}%
+% \begin{macrocode}
+\newif \if@read@one \@read@onetrue
+\def\@ltr@info@name{letrinfo.tex}
%\DeclareOption{InfoFileName}[1]{\renewcommand{\@ltr@info@name}{#1}}
-\define@key{ov}{InfoFileName}{\def\@ltr@info@name{#1}}%
+\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}}%
@@ -4419,20 +4032,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}%
@@ -4458,12 +4071,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}%
}%
@@ -4484,7 +4097,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}%
@@ -4528,9 +4141,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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Finish off current row first
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4539,29 +4152,29 @@ 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}
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Add remaining rows, each with all columns
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\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}%
}%
@@ -4588,15 +4201,15 @@ unprleft=-1pt}%
% \begin{macrocode}
\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}}{}}{}%
@@ -4612,15 +4225,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}%
@@ -4636,46 +4249,38 @@ 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}}} {}%
+ {\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}}} {}%
+ {\Rheader{\phantom{\Rheader}} \Lheader{\phantom{\Lheader}} \Cheader{\phantom{\Cheader}}} {}%
\txa{Before Lmargin}\ifthenelse{\boolean{@B@l}}%
- {\ifempty{\@Lmarg}{}{\Lmargin{}}}{}%
-% {\ifempty{\@Lmarg}{}{\Lmargin{\phantom{\Lmargin}}}}{}%
+ {\ifempty{\@Lmarg}{}{\Lmargin{\phantom{\Lmargin}}}}{}%
\txa{Before Rmargin}\ifthenelse{\boolean{@B@r}}%
- {\ifempty{\@Rmarg}{}{\Rmargin{}}}{}%
-% {\ifempty{\@Rmarg}{}{\Rmargin{\phantom{\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}}} {}%
+ {\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}}} {}%
+ {\rheader{\phantom{\rheader}} \lheader{\phantom{\lheader}} \cheader{\phantom{\cheader}}} {}%
\txa{Before lmargin}\ifthenelse{\boolean{@b@l}}%
- {\lmargin{}} {}%
-% {\lmargin{\phantom{\lmargin}}} {}%
+ {\lmargin{\phantom{\lmargin}}} {}%
\txa{Before rmargin}\ifthenelse{\boolean{@b@r}}%
- {\rmargin{}} {}%
-% {\rmargin{\phantom{\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}%
% \ifthenelse{\boolean{@over@all}}{%
- \@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}%
@@ -4691,7 +4296,7 @@ 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}%
}%
@@ -4712,12 +4317,12 @@ unprleft=-1pt}%
% code path does as well.
%
% \begin{macrocode}
-{% 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---}%
@@ -4725,7 +4330,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---}%
@@ -4749,11 +4354,11 @@ unprleft=-1pt}%
%
% Only the press release uses that environment.
% \begin{macrocode}
-\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}%
@@ -4771,7 +4376,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%
@@ -4784,8 +4389,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{}%
@@ -4800,7 +4405,8 @@ 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{%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4808,9 +4414,9 @@ unprleft=-1pt}%
% Much of this is in contravention of the philosophy of newlfm - since
% it displaces information that might have been placed into the blocks
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\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}%
}{}%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -4821,9 +4427,9 @@ unprleft=-1pt}%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% First, set the header and footer widths
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\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}}%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Now, set the contents of the header and footer sections into boxes
@@ -4977,20 +4583,6 @@ unprleft=-1pt}%
\ifthenelse{\lengthtest{\@Hgt@foot<\@Min@Hgt@foot}}%
{\setlength{\@Hgt@foot}{\@Min@Hgt@foot}}{}%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% Check the under boxes here
-% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\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}}{}%
-% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Set the printable length as the difference of all those others
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifthenelse{\lengthtest{\@marg@lt@tp@d<1pt}}%
@@ -5109,8 +4701,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}}{}%
@@ -5139,7 +4729,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}%
@@ -5153,13 +4743,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}%
@@ -5317,7 +4900,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/source/latex/newlfm/newlfm.ins b/Master/texmf-dist/source/latex/newlfm/newlfm.ins
index 9d3f1b078c4..f7a8f1788d8 100644
--- a/Master/texmf-dist/source/latex/newlfm/newlfm.ins
+++ b/Master/texmf-dist/source/latex/newlfm/newlfm.ins
@@ -1,55 +1,55 @@
-%%
-%% This file will generate fast loadable files and documentation
-%% driver files from the file `newlfm.cls' in this package when run through
-%% LaTeX or TeX.
-%%
-%% Copyright 1998 Paul A. Thompson
-%%
-%% IMPORTANT NOTICE:
-%%
-%% You are not allowed to change this file.
-%%
-%% If you do change the file, you must change the name.
-%
-% -----------------------------------------------------------------
-%%
-%% ---- Start of docstrip commands
-%%
-\input docstrip
-\preamble
-\endpreamble
-\keepsilent
-\askforoverwritefalse
-\Msg{*** Generating newlfm class file ***}
-\generate{\file{newlfm.cls}{\from{newlfm.dtx}{package}}}
-\generate{\file{addrset.sty}{\from{newlfm.dtx}{addrset}}}
-\generate{\file{setdim.sty}{\from{newlfm.dtx}{setdim}}}
-\ifToplevel{
-\Msg{***********************************************************}
-\Msg{*}
-\Msg{* To finish the installation you have to move the following}
-\Msg{* files into a directory searched by TeX:}
-\Msg{*}
-\Msg{* \space\space newlfm.cls}
-\Msg{* \space\space addrset.sty}
-\Msg{* \space\space setdim.sty}
-\Msg{*}
-\Msg{* This should be either the main install tree (if done automatically)}
-\Msg{* or the local tree (if done by user separately).}
-\Msg{*}
-\Msg{* Prefered location: root/tex/latex/newlfm}
-\Msg{*}
-\Msg{* After moving the files to the location, register the new files using}
-\Msg{* the installation configuration utility.}
-\Msg{*}
-\Msg{* To produce the documentation run the file `newlfm.dtx'}
-\Msg{* through LaTeX.}
-\Msg{*}
-\Msg{* Happy TeXing!}
-\Msg{***********************************************************}
-}
-
-\endbatchfile
-
-
-
+%%
+%% This file will generate fast loadable files and documentation
+%% driver files from the file `newlfm.cls' in this package when run through
+%% LaTeX or TeX.
+%%
+%% Copyright 1998 Paul A. Thompson
+%%
+%% IMPORTANT NOTICE:
+%%
+%% You are not allowed to change this file.
+%%
+%% If you do change the file, you must change the name.
+%
+% -----------------------------------------------------------------
+%%
+%% ---- Start of docstrip commands
+%%
+\input docstrip
+\preamble
+\endpreamble
+\keepsilent
+\askforoverwritefalse
+\Msg{*** Generating newlfm class file ***}
+\generate{\file{newlfm.cls}{\from{newlfm.dtx}{package}}}
+\generate{\file{addrset.sty}{\from{newlfm.dtx}{addrset}}}
+\generate{\file{setdim.sty}{\from{newlfm.dtx}{setdim}}}
+\ifToplevel{
+\Msg{***********************************************************}
+\Msg{*}
+\Msg{* To finish the installation you have to move the following}
+\Msg{* files into a directory searched by TeX:}
+\Msg{*}
+\Msg{* \space\space newlfm.cls}
+\Msg{* \space\space addrset.sty}
+\Msg{* \space\space setdim.sty}
+\Msg{*}
+\Msg{* This should be either the main install tree (if done automatically)}
+\Msg{* or the local tree (if done by user separately).}
+\Msg{*}
+\Msg{* Prefered location: root/tex/latex/newlfm}
+\Msg{*}
+\Msg{* After moving the files to the location, register the new files using}
+\Msg{* the installation configuration utility.}
+\Msg{*}
+\Msg{* To produce the documentation run the file `newlfm.dtx'}
+\Msg{* through LaTeX.}
+\Msg{*}
+\Msg{* Happy TeXing!}
+\Msg{***********************************************************}
+}
+
+\endbatchfile
+
+
+
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}}{}}%%