summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/newlfm/addrset.sty
blob: 137868c2f257fc850fc48097069a2dd7fd98ac05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
%%
%% This is file `addrset.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% newlfm.dtx  (with options: `addrset')
%% 
%% \CharacterTable
%% {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%%  Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%%  Digits        \0\1\2\3\4\5\6\7\8\9
%%  Exclamation   \!     Double quote  \"     Hash (number) \#
%%  Dollar        \$     Percent       \%     Ampersand     \&
%%  Acute accent  \'     Left paren    \(     Right paren   \)
%%  Asterisk      \*     Plus          \+     Comma         \,
%%  Minus         \-     Point         \.     Solidus       \/
%%  Colon         \:     Semicolon     \;     Less than     \<
%%  Equals        \=     Greater than  \>     Question mark \?
%%  Commercial at \@     Left bracket  \[     Backslash     \\
%%  Right bracket \]     Circumflex    \^     Underscore    \_
%%  Grave accent  \`     Left brace    \{     Vertical bar  \|
%%  Right brace   \}     Tilde         \~}
\NeedsTeXFormat{LaTeX2e}[1996/06/01]
\ProvidesPackage{addrset}
              [2009/1/09 v9.1
               Address macros]%

\def\makeletterhead#1#2{\expandafter\newcommand\csname lth#1\endcsname{#2}}%
\def\makelth#1#2{\expandafter\newcommand\csname lth#1\endcsname{#2}}%
\def\makesignature#1#2{\expandafter\newcommand\csname sig#1\endcsname{#2}}%
\def\makesig#1#2{\expandafter\newcommand\csname sig#1\endcsname{#2}}%
\def\makeadr#1#2{\expandafter\newcommand\csname adr#1\endcsname{#2}}%
\def\makeaddress#1#2{\expandafter\newcommand\csname adr#1\endcsname{#2}}%
\def\addr#1{\protect\def\@addrxx{#1}}           \addr{}%
\def\addrfr#1{\protect\def\@addr@fr{#1}}        \addrfr{}%
\def\addrfrom#1{\protect\def\@addr@fr{#1}}      \addrfrom{}%
\def\addrto#1{\protect\def\@addr@to{#1}}        \addrto{}%
\def\cclist#1{\protect\def\@cc@item{#1}}        \cclist{---BLANK---}%  cc list
\def\city#1{\protect\def\@city{#1}}             \city{}%
\def\closeln#1{\protect\def\@closeline{#1}\setboolean{@use@close}{true}}%   Letter closing line
\def\closeline#1{\protect\def\@closeline{#1}\setboolean{@use@close}{true}}%
\def\dateset#1{\protect\def\@xdate{#1}}         \dateset{\today}% Letter date
\def\dept#1{\protect\def\@dept{#1}}             \dept{}%
\def\degree#1{\protect\def\@degree{#1}}         \degree{}%
\def\email#1{\protect\def\@email{#1}}           \email{}%
\def\emailb#1{\protect\def\@emailb{#1}}         \emailb{}%
\def\emailc#1{\protect\def\@emailc{#1}}         \emailc{}%
\def\emailbto#1{\protect\def\@emailb@to{#1}}    \emailbto{}%
\def\emailcto#1{\protect\def\@emailc@to{#1}}    \emailcto{}%
\def\emailbfr#1{\protect\def\@emailb@fr{#1}}    \emailbfr{}%
\def\emailcfr#1{\protect\def\@emailc@fr{#1}}    \emailcfr{}%
\def\emailfr#1{\protect\def\@email@fr{#1}}      \emailfr{}%
\def\emailfrom#1{\protect\def\@email@fr{#1}}    \emailfrom{}%
\def\emailto#1{\protect\def\@email@to{#1}}      \emailto{}%
\def\encllist#1{\protect\def\@encl@item{#1}}    \encllist{---BLANK---}%
\def\fax#1{\protect\def\@fax{#1}}               \fax{}%
\def\faxto#1{\protect\def\@fax@to{#1}}          \faxto{}%
\def\faxfr#1{\protect\def\@fax@fr{#1}}          \faxfr{}%
\def\faxfrom#1{\protect\def\@fax@fr{#1}}        \faxfrom{}%
\def\faxmssg#1{\protect\def\@fax@mssg{#1}}      \faxmssg{}%
\def\fname#1{\protect\def\@f@name{#1}}          \fname{}%
\def\fnameto#1{\protect\def\@f@name@to{#1}}     \fnameto{}%
\def\fnamefr#1{\protect\def\@f@name@fr{#1}}     \fnamefr{}%
\def\greet#1{\protect\def\@greet{#1}}           \greet{}%
\def\greetto#1{\protect\def\@greet@to{#1}}      \greetto{}%
\def\greetfr#1{\protect\def\@greet@fr{#1}}      \greetfr{}%
\def\initials#1{\protect\def\@init@item{#1}}    \initials{}%
\def\institute#1{\protect\def\@institute{#1}}   \institute{}%
\def\jtitle#1{\protect\def\@jtitle{#1}}         \jtitle{}%
\def\lname#1{\protect\def\@l@name{#1}}          \lname{}%
\def\lnameto#1{\protect\def\@l@name@to{#1}}     \lnameto{}%
\def\lnamefr#1{\protect\def\@l@name@fr{#1}}     \lnamefr{}%
\def\mname#1{\protect\def\@m@name{#1}}          \mname{}%
\def\mnameto#1{\protect\def\@m@name@to{#1}}     \mnameto{}%
\def\mnamefr#1{\protect\def\@m@name@fr{#1}}     \mnamefr{}%
\def\name#1{\protect\def\@namev{#1}}            \name{}%
\def\namefr#1{\protect\def\@name@fr{#1}}        \namefr{}%
\def\namefrom#1{\protect\def\@name@fr{#1}}      \namefrom{}%
\def\nameto#1{\protect\def\@name@to{#1}}        \nameto{}%
\def\organization#1{\protect\def\@org{#1}}      \organization{}%
\def\pager#1{\protect\def\@pager{#1}}           \pager{}%
\def\pagerto#1{\protect\def\@pager@to{#1}}      \pagerto{}%
\def\pagerfrom#1{\protect\def\@pager@fr{#1}}    \pagerfrom{}%
\def\pagerfr#1{\protect\def\@pager@fr{#1}}      \pagerfr{}%
\def\phone#1{\protect\def\@phn{#1}}             \phone{}%               Phone
\def\phonea#1{\protect\def\@phna{#1}}           \phonea{}%              Phone
\def\phoneb#1{\protect\def\@phnb{#1}}           \phoneb{}%              Phone
\def\phonec#1{\protect\def\@phnc{#1}}           \phonec{}%              Phone
\def\phoned#1{\protect\def\@phnd{#1}}           \phoned{}%              Phone
\def\phoneo#1{\protect\def\@phno{#1}}           \phoneo{}%              Phone
\def\phoneh#1{\protect\def\@phnh{#1}}           \phoneh{}%              Phone
\def\phonefr#1{\protect\def\@phn@fr{#1}}        \phonefr{}%            Phone from
\def\phonefrom#1{\protect\def\@phn@fr{#1}}      \phonefrom{}%          Phone from
\def\phoneafrom#1{\protect\def\@phn@fr{#1}}     \phoneafrom{}%         Phone from
\def\phoneafr#1{\protect\def\@phn@fr{#1}}       \phoneafrom{}%         Phone from
\def\phonebfrom#1{\protect\def\@phnb@fr{#1}}    \phonebfrom{}%         Phone from
\def\phonecfrom#1{\protect\def\@phnc@fr{#1}}    \phonecfrom{}%         Phone from
\def\phonedfrom#1{\protect\def\@phnd@fr{#1}}    \phonedfrom{}%         Phone from
\def\phonebfr#1{\protect\def\@phnb@fr{#1}}      \phonebfrom{}%         Phone from
\def\phonecfr#1{\protect\def\@phnc@fr{#1}}      \phonecfrom{}%         Phone from
\def\phonedfr#1{\protect\def\@phnd@fr{#1}}      \phonedfrom{}%         Phone from
\def\phoneto#1{\protect\def\@phn@to{#1}}        \phoneto{}%            Phone to
\def\phoneoto#1{\protect\def\@phno@to{#1}}      \phoneoto{}%            Phone to
\def\phonehfr#1{\protect\def\@phnh@fr{#1}}      \phonehfr{}%            Phone to
\def\phoneofr#1{\protect\def\@phno@fr{#1}}      \phoneofr{}%            Phone to
\def\phonehto#1{\protect\def\@phnh@to{#1}}      \phonehto{}%            Phone to
\def\phoneato#1{\protect\def\@phn@to{#1}}       \phoneto{}%           Phone to
\def\phonebto#1{\protect\def\@phnb@to{#1}}      \phonebto{}%           Phone to
\def\phonecto#1{\protect\def\@phnc@to{#1}}      \phonecto{}%           Phone to
\def\phonedto#1{\protect\def\@phnd@to{#1}}      \phonedto{}%           Phone to
\def\plngadj#1{\protect\def\@f@f{#1}}           \plngadj{0in}%
\def\position#1{\protect\def\@position{#1}}     \position{}%
\def\ppsitem#1{\protect\def\@pps@item{#1}}      \ppsitem{---BLANK---}%
\def\pppsitem#1{\protect\def\@ppps@item{#1}}    \pppsitem{---BLANK---}%
\def\psitem#1{\protect\def\@ps@item{#1}}        \psitem{---BLANK---}%
\def\re#1{\protect\def\@re@line{#1}}            \re{---BLANK---}%
\def\regarding#1{\setboolean{@pt@regard}{true}\protect\def\@regard@line{#1}}%
\def\role#1{\protect\def\@role{#1}}             \role{}%
\def\sender#1{\protect\def\@sender{#1}}         \sender{}%
\def\signature#1{\protect\def\@sig@fr{#1}\setboolean{@use@sig}{true}}%
\def\sigacross#1{\setcounter{@sig@tot}{#1}}%
\def\siglist#1{\protect\def\@sig@list{#1}\setboolean{@mult@sig}{true}%
\setboolean{@sig@l}{true}\setboolean{@sig@c}{false}}%
\def\signame#1{\protect\def\@sig@nm{#1}\setboolean{@use@sig@nm}{true}}%
\def\socsec#1{\protect\def\@socsec{#1}}         \socsec{}%
\def\SSnumto#1{\protect\def\@SS@num@to{#1}}     \SSnumto{}%
\def\state#1{\protect\def\@state{#1}}           \state{}%
\def\staddr#1{\protect\def\@staddr{#1}}         \staddr{}%
\def\subre#1{\protect\def\@sub@re@line{#1}}     \subre{}%
\def\subdept#1{\protect\def\@subdept{#1}}       \subdept{}%
\def\zip#1{\protect\def\@zip{#1}}               \zip{}%
\def\byline#1{\setboolean{@pr@by}{true}\protect\def\@pr@byline{#1}}%
\byline{}\setboolean{@pr@by}{false}%
\def\headline#1{\protect\def\@pr@headline{#1}%
                \protect\def\@pr@shorthead{#1}}  \headline{---BLANK---}%
\def\release#1{\protect\def\@pr@release{#1}}     \release{\@release@phr}%
\def\shorthead#1{\protect\def\@pr@shorthead{#1}}  % set by headline
\regarding{---BLANK---} \setboolean{@pt@regard}{false}%
\siglist{}%
\signature{}%
\sigacross{1}%
\closeline{}%
\setboolean{@use@sig}{false}%
\setboolean{@use@close}{false}%
\setboolean{@mult@sig}{false}%
\signame{}%
\setboolean{@use@sig@nm}{false}%
\def\fixadr#1{\expandafter\csname adr#1\endcsname}%
\def\setadrto#1{\global\protect\let\@addrxx\@empty%
\global\protect\let\@namev\@empty      \global\protect\let\@phn\@empty%
\global\protect\let\@phna\@empty       \global\protect\let\@phnb\@empty%
\global\protect\let\@phnc\@empty       \global\protect\let\@phnd\@empty%
\global\protect\let\@phno\@empty       \global\protect\let\@phnh\@empty%
\global\protect\let\@pager\@empty      \global\protect\let\@fax\@empty%
\global\protect\let\@greet\@empty      \global\protect\let\@email\@empty%
\global\protect\let\@emailb\@empty     \global\protect\let\@emailc\@empty%
\global\protect\let\@l@name\@empty     \global\protect\let\@f@name\@empty%
#1\txa{In setadrto - }\txa{Second}
\txa{\@addrxx}
\global\protect\let\@addr@to\@addrxx \txa{Z}  \global\protect\let\@name@to\@namev%
\txa{A1}
\global\protect\let\@phn@to\@phn       \global\protect\let\@phna@to\@phna%
\global\protect\let\@phnb@to\@phnb     \global\protect\let\@phnc@to\@phnc%
\txa{A2}
\global\protect\let\@phnd@to\@phnd     \global\protect\let\@phno@to\@phno%
\global\protect\let\@phnh@to\@phnh     \global\protect\let\@pager@to\@pager%
\txa{A3}
\global\protect\let\@fax@to\@fax       \global\protect\let\@greet@to\@greet%
\global\protect\let\@email@to\@email   \global\protect\let\@emailb@to\@emailb%
\txa{A4}
\global\protect\let\@emailc@to\@emailc \global\protect\let\@l@name@to\@l@name%
\global\protect\let\@f@name@to\@f@name%
\txa{End of setadrto}
}%
\def\setadrfr#1{\global\protect\let\@addrxx\@empty%
\global\protect\let\@namev\@empty      \global\protect\let\@phn\@empty%
\global\protect\let\@phna\@empty       \global\protect\let\@phnb\@empty%
\global\protect\let\@phnc\@empty       \global\protect\let\@phnd\@empty%
\global\protect\let\@phno\@empty       \global\protect\let\@phnh\@empty%
\global\protect\let\@pager\@empty      \global\protect\let\@fax\@empty%
\global\protect\let\@greet\@empty      \global\protect\let\@email\@empty%
\global\protect\let\@emailb\@empty     \global\protect\let\@emailc\@empty%
\global\protect\let\@l@name\@empty     \global\protect\let\@f@name\@empty%
#1\txa{In setadrfr}%
\global\protect\let\@addr@fr\@addrxx   \global\protect\let\@name@fr\@namev%
\global\protect\let\@phn@fr\@phn       \global\protect\let\@phna@fr\@phna%
\global\protect\let\@phnb@fr\@phnb     \global\protect\let\@phnc@fr\@phnc%
\global\protect\let\@phnd@fr\@phnd     \global\protect\let\@phno@fr\@phno%
\global\protect\let\@phnh@fr\@phnh     \global\protect\let\@pager@fr\@pager%
\global\protect\let\@fax@fr\@fax       \global\protect\let\@greet@fr\@greet%
\global\protect\let\@email@fr\@email   \global\protect\let\@emailb@fr\@emailb%
\global\protect\let\@emailc@fr\@emailc \global\protect\let\@l@name@fr\@l@name%
\global\protect\let\@f@name@fr\@f@name%
\txa{End of setadrfr}
}%
\DeclareRobustCommand*{\printnameto}{\@name@to}%
\DeclareRobustCommand*{\printaddrto}{\@addr@to}%
\DeclareRobustCommand*{\printphoneto}{\@phn@to}%
\DeclareRobustCommand*{\printphoneato}{\@phna@to}%
\DeclareRobustCommand*{\printphonebto}{\@phnb@to}%
\DeclareRobustCommand*{\printphonecto}{\@phnc@to}%
\DeclareRobustCommand*{\printphonedto}{\@phnd@to}%
\DeclareRobustCommand*{\printphoneoto}{\@phno@to}%
\DeclareRobustCommand*{\printphonehto}{\@phnh@to}%
\DeclareRobustCommand*{\printpagerto}{\@pager@to}%
\DeclareRobustCommand*{\printfaxto}{\@fax@to}%
\DeclareRobustCommand*{\printgreetto}{\@greet@to}%
\DeclareRobustCommand*{\printemailto}{\@email@to}%
\DeclareRobustCommand*{\printemailbto}{\@emailb@to}%
\DeclareRobustCommand*{\printemailcto}{\@emailc@to}%
\DeclareRobustCommand*{\printlnameto}{\@l@name@to}%
\DeclareRobustCommand*{\printfnameto}{\@f@name@to}%
\DeclareRobustCommand*{\printnamefrom}{\@name@fr}%
\DeclareRobustCommand*{\printaddrfrom}{\@addr@fr}%
\DeclareRobustCommand*{\printphonefrom}{\@phn@fr}%
\DeclareRobustCommand*{\printphoneafrom}{\@phna@fr}%
\DeclareRobustCommand*{\printphonebfrom}{\@phnb@fr}%
\DeclareRobustCommand*{\printphonecfrom}{\@phnc@fr}%
\DeclareRobustCommand*{\printphonedfrom}{\@phnd@fr}%
\DeclareRobustCommand*{\printphoneofrom}{\@phno@fr}%
\DeclareRobustCommand*{\printphonehfrom}{\@phnh@fr}%
\DeclareRobustCommand*{\printpagerfrom}{\@pager@fr}%
\DeclareRobustCommand*{\printfaxfrom}{\@fax@fr}%
\DeclareRobustCommand*{\printgreetfrom}{\@greet@fr}%
\DeclareRobustCommand*{\printemailfrom}{\@email@fr}%
\DeclareRobustCommand*{\printemailbfrom}{\@emailb@fr}%
\DeclareRobustCommand*{\printemailcfrom}{\@emailc@fr}%
\DeclareRobustCommand*{\printlnamefrom}{\@l@name@fr}%
\DeclareRobustCommand*{\printfnamefrom}{\@f@name@fr}%

%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:
\endinput
%%
%% End of file `addrset.sty'.