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
|
%ACM format
%flag. author. title. etc. volume, no., (date) pages, gov't no., other.
\Refstd\Citebrackets\Smallcapsaand%set general formats for reference list and citations
\def\Tomefont{\sl}\def\Volfont{\sl}%redefine some fonts
\def\Flagstyle#1{\hangindent\parindent\indent\hbox to0pt{\hss{\Flagfont#1}.\hskip.5em}}%flag style
\def\Initper{. }%
\catcode`$=11 %next 3 lines to get at last token in replacement text
\def\$top{\$top}\def\Zstr#1{\let\ne$t\$can\expandafter\$can#1\$top}%
\def\$can#1{\ifx#1\$top\def\ne$t{}%
\else\def\zstr{#1}\let\ne$t\$can\fi\ne$t}\catcode`$=3%
\def\journalarticleformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
\sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
\par\vfil\penalty-200\vfilneg%\filbreak
\if\Ftest\present\Flagstyle\Fstr\fi%
\if\Atest\present\bgroup\Authfont\Astr\def\Initper{.}\Zstr\Astr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}\fi%
\if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
\if\etest\present(\bgroup\estr\egroup)\fi%
\if\Jtest\present\Comma\bgroup\Tomefont\Jstr\/\egroup\def\Comma{, }\fi%
\if\Vtest\present\hskip.2em\bgroup\Volfont\Vstr\egroup\def\Comma{, }\fi%
\if\Ntest\present\bgroup\Nstr\egroup\def\Comma{, }\fi%
\if\Dtest\present\hskip.2em(\bgroup\Dstr\egroup)\def\Comma{, }\fi%
\if\Ptest\present\Comma\bgroup\Pstr\egroup\def\Comma{, }\fi%
\if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{. }\fi%
\if\jtest\present\if\ttest\present\Comma\else. \fi\bgroup\Tomefont\jstr\/\egroup\def\Comma{, }\fi%
\if\vtest\present\hskip.2em\bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
\if\ntest\present\bgroup\nstr\egroup\def\Comma{, }\fi%
\if\dtest\present\hskip.2em(\bgroup\dstr\egroup)\def\Comma{, }\fi%
\if\ptest\present\Comma\bgroup\pstr\egroup\def\Comma{, }\fi%
\if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
\if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
\vskip3ptplus1ptminus1pt}%\smallskip
\def\conferencereportformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
\sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
\par\vfil\penalty-200\vfilneg%\filbreak
\if\Ftest\present\Flagstyle\Fstr\fi%
\if\Atest\present\bgroup\Authfont\Astr\def\Initper{.}\Zstr\Astr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}\fi%
\if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
\if\Jtest\present\Comma Presented at \bgroup\Tomefont\Jstr\egroup\def\Comma{, }\fi%
\if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
\if\Dtest\present\hskip.2em(\bgroup\Dstr\egroup)\def\Comma{, }\fi%
\if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
\vskip3ptplus1ptminus1pt}%\smallskip
\def\bookarticleformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
\sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
\par\vfil\penalty-200\vfilneg%\filbreak
\if\Ftest\present\Flagstyle\Fstr\fi%
\if\Atest\present\bgroup\Authfont\Astr\def\Initper{.}\Zstr\Astr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}\fi%
\if\Ttest\present\Comma\bgroup\Tomefont\Tstr\egroup\def\Comma{. }\fi%
\if\etest\present(\bgroup\estr\egroup)\def\Comma{\unskip. }\fi%
\if\Btest\present\Comma In \bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip. }\fi%
\if\otest\present\ \bgroup\ostr\egroup\fi%
\if\Etest\present, \bgroup\Estr\egroup\unskip, \ifnum\Ecnt>1Eds.\else Ed.\fi\def\Comma{\ }\fi%
\if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
\if\Vtest\present\Comma vol. \bgroup\Vstr\egroup\def\Comma{, }\fi%
\if\Ntest\present\Comma no. \bgroup\Nstr\egroup\def\Comma{, }\fi%
\if\Itest\present\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
\if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
\if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
\if\Ptest\present\Comma\Pstr\def\Comma{, }\fi%
\if\ttest\present. \bgroup\Tomefont\tstr\egroup\def\Comma{. }\fi%
\if\btest\present\Comma in \bgroup\Tomefont\bstr\egroup\def\Comma{. }\fi%
\if\atest\present\Comma\bgroup\astr\unskip, \if\acnt\present Eds.\else Ed.\fi\def\Comma{\ }\fi%
\if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
\if\vtest\present\Comma vol. \bgroup\vstr\egroup\def\Comma{, }\fi%
\if\ntest\present\Comma no. \bgroup\nstr\egroup\def\Comma{, }\fi%
\if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
\if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
\if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
\if\ptest\present\Comma\pstr\def\Comma{, }\fi%
\if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
\if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
\vskip3ptplus1ptminus1pt}%\smallskip
\def\bookformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
\sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
\par\vfil\penalty-200\vfilneg%\filbreak
\if\Ftest\present\Flagstyle\Fstr\fi%
\if\Atest\present\bgroup\Authfont\Astr\def\Initper{.}\Zstr\Astr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}%
\else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr\egroup\unskip, \ifnum\Ecnt>1Eds.\else Ed.\fi\def\Comma{\unskip\hskip.75em}%
\else\if\Itest\present\bgroup\Authfont\Istr\def\Initper{.}\Zstr\Istr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}\fi\fi\fi%
\if\Ttest\present\Comma\bgroup\Tomefont\Tstr\/\egroup\def\Comma{\unskip. }%
\else\if\Btest\present\Comma\bgroup\Tomefont\Bstr\/\egroup\def\Comma{\unskip. }\fi\fi%
\if\otest\present\ \bgroup\ostr\egroup\fi%
\if\etest\present\hskip.2em(\bgroup\estr\egroup)\fi%
\if\Stest\present\Comma\bgroup\Sstr\egroup\def\Comma{, }\fi%
\if\Vtest\present\Comma vol. \bgroup\Vstr\egroup\def\Comma{, }\fi%
\if\Ntest\present\Comma no. \bgroup\Nstr\egroup\def\Comma{, }\fi%
\if\Atest\present\if\Itest\present
\Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi%
\else\if\Etest\present\if\Itest\present
\Comma\bgroup\Istr\egroup\def\Comma{\unskip, }\fi\fi\fi%
\if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
\if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
\if\ttest\present. \bgroup\Tomefont\tstr\egroup\def\Comma{. }%
\else\if\btest\present. \bgroup\Tomefont\bstr\egroup\def\Comma{, }\fi\fi%
\if\stest\present\Comma\bgroup\sstr\egroup\def\Comma{, }\fi%
\if\vtest\present\Comma vol. \bgroup\Volfont\vstr\egroup\def\Comma{, }\fi%
\if\ntest\present\Comma no. \bgroup\Volfont\nstr\egroup\def\Comma{, }\fi%
\if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
\if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
\if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
\if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
\if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
\vskip3ptplus1ptminus1pt}%\smallskip
\def\technicalreportformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
\sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
\par\vfil\penalty-200\vfilneg%\filbreak
\if\Ftest\present\Flagstyle\Fstr\fi%
\if\Atest\present\bgroup\Authfont\Astr\def\Initper{.}\Zstr\Astr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}%
\else\if\Etest\present\bgroup\def\Eand{\Aand}\def\Eandd{\Aandd}\Authfont\Estr%
\def\Initper{.}\Zstr\Estr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}%
\else\if\Itest\present\bgroup\Authfont\Istr\def\Initper{.}\Zstr\Istr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}\fi\fi\fi%
\if\Ttest\present\Comma\bgroup\Titlefont\Tstr\egroup\def\Comma{. }\fi%
\if\Atest\present\if\Itest\present
\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
\else\if\Etest\present\if\Itest\present
\Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
\if\Rtest\present\Comma\bgroup\Rstr\egroup\def\Comma{, }\fi%
\if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
\if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
\if\ttest\present. \bgroup\Titlefont\tstr\egroup\def\Comma{. }\fi%
\if\itest\present\Comma\bgroup\istr\egroup\def\Comma{, }\fi%
\if\rtest\present\bgroup\rstr\egroup\def\Comma{, }\fi%
\if\ctest\present\Comma\bgroup\cstr\egroup\def\Comma{, }\fi%
\if\dtest\present\Comma\bgroup\dstr\egroup\def\Comma{, }\fi%
\if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
\if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
\vskip3ptplus1ptminus1pt}%\smallskip
\def\otherformat{\Reffont\let\uchyph=1\parindent=1pc\def\Comma{}%
\sfcode`\.=1000\sfcode`\?=1000\sfcode`\!=1000\sfcode`\:=1000\sfcode`\;=1000\sfcode`\,=1000%\frenchspacing
\par\vfil\penalty-200\vfilneg%\filbreak
\if\Ftest\present\Flagstyle\Fstr\fi%
\if\Atest\present\bgroup\Authfont\Astr\def\Initper{.}\Zstr\Astr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}%
\else\if\Etest\present\def\Eand{\Aand}\def\Eandd{\Aandd}\bgroup\Authfont\Estr%
\def\Initper{.}\Zstr\Estr\if\zstr.\else.\fi\egroup\def\Comma{\unskip\hskip.75em}%
\else\if\Itest\present\bgroup\Authfont\Istr\def\Initper{.}\Zstr\Istr\if\zstr.\else.\fi\egroup\def\Comma{, }\fi\fi\fi%
\if\Ttest\present\Comma\bgroup\Titlefont\tstr\egroup\def\Comma{. }\fi%
\if\Atest\present\if\Itest\present
\Comma\bgroup\Istr\egroup\def\Comma{, }\fi%
\else\if\Etest\present\if\Itest\present
\Comma\bgroup\Istr\egroup\def\Comma{, }\fi\fi\fi%
\if\Ctest\present\Comma\bgroup\Cstr\egroup\def\Comma{, }\fi%
\if\Dtest\present\Comma\bgroup\Dstr\egroup\def\Comma{, }\fi%
\if\Gtest\present{\Comma Gov't ordering no. }\bgroup\Gstr\egroup\def\Comma{, }\fi%
\if\Otest\present{\Comma\bgroup\Ostr\egroup.}\else{.}\fi%
\vskip3ptplus1ptminus1pt}%\smallskip
|