| |
1
| +++ a/imsart.sty |
| @@ -0,0 +1,2936 @@ |
| @@ -0,0 +1,2936 @@ |
| |
1
| +%% This is file `imsart.sty'
|
| |
2
| +%%
|
| |
3
| +%% LaTeX 2e style file for the processing of LaTeX2e files
|
| |
4
| +%% of the following IMS/BS journals:
|
| |
5
| +%%
|
| |
6
| +%% The Annals of Probability
|
| |
7
| +%% The Annals of Applied Probability
|
| |
8
| +%% The Annals of Statistics
|
| |
9
| +%% The Annals of Applied Statistics
|
| |
10
| +%% Statistical Science
|
| |
11
| +%% Probability Surveys
|
| |
12
| +%% Statistics Surveys
|
| |
13
| +%% Electronic Journal of Statistics
|
| |
14
| +%% IMS Lecture Notes-Monograph Series
|
| |
15
| +%% IMS Collections
|
| |
16
| +%% Bernoulli
|
| |
17
| +%% Annales de l'Institut Henri Poincar\'e - Probabilit\'es et Statistiques
|
| |
18
| +%% Brazilian Journal of Probability and Statistics
|
| |
19
| +%% Stochastic Systems
|
| |
20
| +%%
|
| |
21
| +%% Institute of Mathematical Statistics, U.S.A.
|
| |
22
| +%% Bernoulli Society
|
| |
23
| +%% Institut Henry Poincare
|
| |
24
| +%% Brazilian Statistical Association
|
| |
25
| +%%
|
| |
26
| +%% Macros written by Vytas Statulevicius, VTeX, Lithuania
|
| |
27
| +%% for Institute of Mathematical Statistics, U.S.A.
|
| |
28
| +%% Please submit bugs or your comments to vytas@vtex.lt
|
| |
29
| +%%
|
| |
30
| +%% The original distribution is located at:
|
| |
31
| +%% http://www.e-publications.org/ims/support
|
| |
32
| +%%
|
| |
33
| +%% This style file contains additional macros and is designed to use
|
| |
34
| +%% with standart "article.cls"
|
| |
35
| +%%
|
| |
36
| +%% You are free to use this style file as you see fit, provided
|
| |
37
| +%% that you do not make changes to the file.
|
| |
38
| +%% If you DO make changes, you are required to rename this file.
|
| |
39
| +%%
|
| |
40
| +%% It may be distributed under the terms of the LaTeX Project Public
|
| |
41
| +%% License, as described in lppl.txt in the base LaTeX distribution.
|
| |
42
| +%% Either version 1.0 or, at your option, any later version.
|
| |
43
| +%%
|
| |
44
| +%% \CharacterTable
|
| |
45
| +%% {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
|
| |
46
| +%% 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
|
| |
47
| +%% Digits \0\1\2\3\4\5\6\7\8\9
|
| |
48
| +%% Exclamation \! Double quote \" Hash (number) \#
|
| |
49
| +%% Dollar \$ Percent \% Ampersand \&
|
| |
50
| +%% Acute accent \' Left paren \( Right paren \)
|
| |
51
| +%% Asterisk \* Plus \+ Comma \,
|
| |
52
| +%% Minus \- Point \. Solidus \/
|
| |
53
| +%% Colon \: Semicolon \; Less than \<
|
| |
54
| +%% Equals \= Greater than \> Question mark \?
|
| |
55
| +%% Commercial at \@ Left bracket \[ Backslash \\
|
| |
56
| +%% Right bracket \] Circumflex \^ Underscore \_
|
| |
57
| +%% Grave accent \` Left brace \{ Vertical bar \|
|
| |
58
| +%% Right brace \} Tilde \~}
|
| |
59
| +%%
|
| |
60
| +%%
|
| |
61
| +%% Bug fixes and changes: at end of file
|
| |
62
| +
|
| |
63
| +% TeX programming: Vytas Statulevicius, VTeX, Lithuania, vytas@vtex.lt
|
| |
64
| +% Requires Latex2e, ver.2000.06
|
| |
65
| +
|
| |
66
| +\def\imsfmt@name{imsart}
|
| |
67
| +\def\imsfmt@version{2011/01/24}
|
| |
68
| +
|
| |
69
| +\ProvidesFile{imsart.sty}
|
| |
70
| + [\imsfmt@version IMS article style (VS)]
|
| |
71
| +
|
| |
72
| +% hyperref must be loaded after:
|
| |
73
| +\@ifpackageloaded{hyperref}{\@latex@error{Package 'hyperref' must be loaded after 'imsart'!}\@ehc}{}
|
| |
74
| +
|
| |
75
| +% Passoptions to hyperref:
|
| |
76
| +
|
| |
77
| +\PassOptionsToPackage{colorlinks,citecolor=blue,urlcolor=blue,linkcolor=blue,pagecolor=blue,linktocpage=true}{hyperref}
|
| |
78
| +
|
| |
79
| +% General options:
|
| |
80
| +
|
| |
81
| +% Put keywords as footnote
|
| |
82
| +\newif\if@keywordsasfootnote
|
| |
83
| +\DeclareOption{keywordsasfootnote}{\@keywordsasfootnotetrue}
|
| |
84
| +
|
| |
85
| +% Put history as footnote
|
| |
86
| +\newif\if@historyasfootnote
|
| |
87
| +\DeclareOption{historyasfootnote}{\@historyasfootnotetrue}
|
| |
88
| +
|
| |
89
| +% Put address as footnote
|
| |
90
| +\newif\if@addressasfootnote
|
| |
91
| +\DeclareOption{addressasfootnote}{\@addressasfootnotetrue}
|
| |
92
| +
|
| |
93
| +% Put addresses at end of document
|
| |
94
| +\newif\if@addressatend
|
| |
95
| +\DeclareOption{addressatend}{\@addressatendtrue}
|
| |
96
| +
|
| |
97
| +% Put "." after inline section headings:
|
| |
98
| +\newif\if@autosecdot
|
| |
99
| +\DeclareOption{autosecdot} {\@autosecdottrue}
|
| |
100
| +\DeclareOption{noautosecdot}{\AtBeginDocument{\@autosecdotfalse}}
|
| |
101
| +
|
| |
102
| +% Load amsmath style with corerect settings:
|
| |
103
| +\newif\if@load@amsmath
|
| |
104
| +\DeclareOption{amsmath}{\@load@amsmathtrue}
|
| |
105
| +
|
| |
106
| +% Load amsthm style with corerect settings:
|
| |
107
| +\newif\if@load@amsthm
|
| |
108
| +\DeclareOption{amsthm}{\@load@amsthmtrue}
|
| |
109
| +
|
| |
110
| +% Load amsmath with leqno option
|
| |
111
| +\newif\if@amsmath@leqno
|
| |
112
| +
|
| |
113
| +% Load natbib with correct settings:
|
| |
114
| +\newif\if@load@natbib
|
| |
115
| +\DeclareOption{natbib}{\@load@natbibtrue}
|
| |
116
| +
|
| |
117
| +% For LNMS we need to create a TOC of book, so we will
|
| |
118
| +% enable writing to .aux
|
| |
119
| +
|
| |
120
| +\newif\if@supertoc \@supertocfalse
|
| |
121
| +
|
| |
122
| +% Information about journals
|
| |
123
| +
|
| |
124
| +\def\set@generic{\def\@tempa{-generic}\ifx\journal@id\@tempa\let\affiliation\@gobble\fi}
|
| |
125
| +
|
| |
126
| +\DeclareOption{generic}{%
|
| |
127
| + \AtEndOfPackage{\set@generic}
|
| |
128
| + \def\journal@id{-generic}}
|
| |
129
| +
|
| |
130
| +\DeclareOption{ps}{%
|
| |
131
| + \def\journal@id{-ps}
|
| |
132
| + \def\journal@name{Probability Surveys }
|
| |
133
| + \def\journal@issn{ISSN: 1549-5787}
|
| |
134
| + \def\journal@url{http://www.i-journals.org/ps}
|
| |
135
| + \AtEndOfPackage{\let\affiliation\@gobble}}
|
| |
136
| +
|
| |
137
| +% Information about journals
|
| |
138
| +\DeclareOption{ss}{%
|
| |
139
| + \def\journal@id{-ss}
|
| |
140
| + \def\journal@name{Statistics Surveys }
|
| |
141
| + \def\journal@issn{ISSN: 1935-7516}
|
| |
142
| + \def\journal@url{http://www.i-journals.org/ss}
|
| |
143
| + \AtEndOfPackage{\let\affiliation\@gobble}}
|
| |
144
| +
|
| |
145
| +% Information about journals
|
| |
146
| +\DeclareOption{ejs}{%
|
| |
147
| + \def\journal@id{-ejs}
|
| |
148
| + \def\journal@name{Electronic Journal of Statistics }
|
| |
149
| + \def\journal@issn{ISSN: 1935-7524}
|
| |
150
| + \def\journal@url{http://projecteuclid.org/ejs}
|
| |
151
| + \AtEndOfPackage{\let\affiliation\@gobble}}
|
| |
152
| +
|
| |
153
| +\DeclareOption{lnms}{%
|
| |
154
| + \def\journal@id{-lnms}
|
| |
155
| + \def\journal@name{IMS Lecture Notes--Monograph Series }
|
| |
156
| + \@twosidetrue
|
| |
157
| + \def\copyrightowner@text{Institute of Mathematical Statistics}
|
| |
158
| + \def\journal@issn{$\copyright$~\ims@href{http://www.imstat.org}{\copyrightowner@text}, \@copyrightyear}%
|
| |
159
| + \def\journal@url{http://www.imstat.org/publications/lecnotes.htm}
|
| |
160
| + \set@page@layout{30pc}{610pt}% 30pc * 51 line
|
| |
161
| + \input{leqno.clo}% formula numbers at left
|
| |
162
| + \@amsmath@leqnotrue
|
| |
163
| + \@historyasfootnotetrue
|
| |
164
| + \@keywordsasfootnotetrue
|
| |
165
| + \@addressasfootnotetrue
|
| |
166
| + \@supertoctrue
|
| |
167
| + \AtBeginDocument{%
|
| |
168
| + \setattribute{title} {skip} {28\p@}
|
| |
169
| + \setattribute{keywordname}{size}{\itshape}
|
| |
170
| + }
|
| |
171
| +}
|
| |
172
| +
|
| |
173
| +\DeclareOption{coll}{%
|
| |
174
| + \def\journal@id{-coll}
|
| |
175
| + \def\journal@name{IMS Collections }
|
| |
176
| + \@twosidetrue
|
| |
177
| + \def\copyrightowner@text{Institute of Mathematical Statistics}
|
| |
178
| + \def\journal@issn{$\copyright$~\ims@href{http://www.imstat.org}{\copyrightowner@text}, \@copyrightyear}%
|
| |
179
| + \def\journal@url{http://www.imstat.org/publications/imscollections.htm}
|
| |
180
| + \set@page@layout{30pc}{610pt}% 30pc * 51 line
|
| |
181
| + \input{leqno.clo}% formula numbers at left
|
| |
182
| + \@amsmath@leqnotrue
|
| |
183
| + \@historyasfootnotetrue
|
| |
184
| + \@keywordsasfootnotetrue
|
| |
185
| + \@addressasfootnotetrue
|
| |
186
| + \@supertoctrue
|
| |
187
| + \AtBeginDocument{%
|
| |
188
| + \setattribute{title} {skip} {28\p@}
|
| |
189
| + \setattribute{keywordname}{size}{\itshape}
|
| |
190
| + }
|
| |
191
| +}
|
| |
192
| +
|
| |
193
| +
|
| |
194
| +% Options for the IMS journals:
|
| |
195
| +
|
| |
196
| +\DeclareOption{aap}{%
|
| |
197
| + \def\journal@id{-aap}
|
| |
198
| + \def\journal@name{Submitted to the Annals of Applied Probability }
|
| |
199
| + \def\journal@url{http://www.imstat.org/aap/}
|
| |
200
| + \set@page@layout{30pc}{550pt}% 30pc * 46 line
|
| |
201
| + \@twosidetrue
|
| |
202
| + \input{leqno.clo}% formula numbers at left
|
| |
203
| + \@amsmath@leqnotrue
|
| |
204
| + \@historyasfootnotetrue
|
| |
205
| + \@keywordsasfootnotetrue
|
| |
206
| + \@addressatendtrue
|
| |
207
| + \@imslayouttrue
|
| |
208
| + \@autosecdottrue
|
| |
209
| +}
|
| |
210
| +
|
| |
211
| +\DeclareOption{aop}{%
|
| |
212
| + \def\journal@id{-aop}
|
| |
213
| + \def\journal@name{Submitted to the Annals of Probability }
|
| |
214
| + \def\journal@url{http://www.imstat.org/aop/}
|
| |
215
| + \set@page@layout{30pc}{550pt}% 30pc * 46 line
|
| |
216
| + \@twosidetrue
|
| |
217
| + \input{leqno.clo}% formula numbers at left
|
| |
218
| + \@amsmath@leqnotrue
|
| |
219
| + \@historyasfootnotetrue
|
| |
220
| + \@keywordsasfootnotetrue
|
| |
221
| + \@addressatendtrue
|
| |
222
| + \@imslayouttrue
|
| |
223
| + \@autosecdottrue
|
| |
224
| +}
|
| |
225
| +
|
| |
226
| +\DeclareOption{aos}{%
|
| |
227
| + \def\journal@id{-aos}
|
| |
228
| + \def\journal@name{Submitted to the Annals of Statistics }
|
| |
229
| + \def\journal@url{http://www.imstat.org/aos/}
|
| |
230
| + \set@page@layout{30pc}{550pt}% 30pc * 46 line
|
| |
231
| + \@twosidetrue
|
| |
232
| + \input{leqno.clo}% formula numbers at left
|
| |
233
| + \@amsmath@leqnotrue
|
| |
234
| + \@historyasfootnotetrue
|
| |
235
| + \@keywordsasfootnotetrue
|
| |
236
| + \@addressatendtrue
|
| |
237
| + \@imslayouttrue
|
| |
238
| + \@autosecdottrue
|
| |
239
| +}
|
| |
240
| +
|
| |
241
| +\DeclareOption{aoas}{%
|
| |
242
| + \def\journal@id{-aoas}
|
| |
243
| + \def\journal@name{Submitted to the Annals of Applied Statistics }
|
| |
244
| + \def\journal@url{http://www.imstat.org/aoas/}
|
| |
245
| + \set@page@layout{30pc}{550pt}% 30pc * 46 line
|
| |
246
| + \@twosidetrue
|
| |
247
| + \input{leqno.clo}% formula numbers at left
|
| |
248
| + \@amsmath@leqnotrue
|
| |
249
| + \@historyasfootnotetrue
|
| |
250
| + \@keywordsasfootnotetrue
|
| |
251
| + \@addressatendtrue
|
| |
252
| + \@imslayouttrue
|
| |
253
| + \@autosecdottrue
|
| |
254
| +}
|
| |
255
| +
|
| |
256
| +
|
| |
257
| +\DeclareOption{sts}{%
|
| |
258
| + \def\journal@id{-sts}
|
| |
259
| + \def\journal@name{Submitted to the Statistical Science }
|
| |
260
| + \def\journal@url{http://www.imstat.org/sts/}
|
| |
261
| + \set@page@layout{32pc}{658pt}% 32pc * 55 line
|
| |
262
| + \@twosidetrue
|
| |
263
| + \input{leqno.clo}% formula numbers at left
|
| |
264
| + \@amsmath@leqnotrue
|
| |
265
| + \@stslayouttrue
|
| |
266
| + \AtBeginDocument{\if@twocolumn\set@page@layout{42pc}{658pt}\fi}
|
| |
267
| +}
|
| |
268
| +
|
| |
269
| +\DeclareOption{bj}{%
|
| |
270
| + \def\journal@id{-bj}
|
| |
271
| + \def\journal@name{Submitted to the Bernoulli}
|
| |
272
| + \def\journal@url{http://isi.cbs.nl/bernoulli/}
|
| |
273
| + \set@page@layout{32pc}{526pt}% 32pc * 44 line
|
| |
274
| + \@twosidetrue
|
| |
275
| + \@bjlayouttrue
|
| |
276
| + \AtEndOfPackage{\let\affiliation\@gobble}
|
| |
277
| +}
|
| |
278
| +
|
| |
279
| +\DeclareOption{aihp}{%
|
| |
280
| + \def\journal@id{-aihp}
|
| |
281
| + \def\journal@name{Submitted to the Annales de l'Institut Henri Poincar\'e - Probabilit\'es et Statistiques}
|
| |
282
| + \def\journal@url{http://www.imstat.org/aihp}
|
| |
283
| + \set@page@layout{39pc}{622pt}% 39pc * 52 line
|
| |
284
| + \@twosidetrue
|
| |
285
| + \@aihplayouttrue
|
| |
286
| + \AtEndOfPackage{\let\affiliation\@gobble}
|
| |
287
| +}
|
| |
288
| +
|
| |
289
| +\DeclareOption{bjps}{%
|
| |
290
| + \def\journal@id{-bjps}
|
| |
291
| + \def\journal@name{Submitted to the Brazilian Journal of Probability and Statistics}
|
| |
292
| + \def\journal@url{http://www.redeabe.org.br}
|
| |
293
| + \set@page@layout{30pc}{550pt}% 30pc * 46 line
|
| |
294
| + \@twosidetrue
|
| |
295
| + \@historyasfootnotetrue
|
| |
296
| + \@keywordsasfootnotetrue
|
| |
297
| + \@addressatendtrue
|
| |
298
| + \@bjpslayouttrue
|
| |
299
| +}
|
| |
300
| +
|
| |
301
| +
|
| |
302
| +\DeclareOption{ssy}{%
|
| |
303
| + \def\journal@id{-ssy}
|
| |
304
| + \def\journal@name{Stochastic Systems }
|
| |
305
| + \def\journal@url{http://www.i-journals.org/ssy/}
|
| |
306
| + \def\copyrightowner@text{Institute of Mathematical Statistics}
|
| |
307
| + \def\journal@issn{$\copyright$~\ims@href{http://www.imstat.org}{\copyrightowner@text}, \@copyrightyear}%
|
| |
308
| + \set@page@layout{30pc}{550pt}% 30pc * 46 line
|
| |
309
| + \@twosidetrue
|
| |
310
| + \input{leqno.clo}% formula numbers at left
|
| |
311
| + \@amsmath@leqnotrue
|
| |
312
| + \@historyasfootnotetrue
|
| |
313
| + \@keywordsasfootnotetrue
|
| |
314
| + \@addressatendtrue
|
| |
315
| + \@imslayouttrue
|
| |
316
| + \@autosecdottrue
|
| |
317
| + \AtEndOfPackage{%
|
| |
318
| + \setattribute{copyright}{text}{%
|
| |
319
| + \url@fmt{}{\itshape}{\journal@name}{\journal@url}\break%
|
| |
320
| + \@ifnonempty{\@pubyear\@volume\@issue\@pagerange\break}%
|
| |
321
| + \doi@text\break%
|
| |
322
| + }}
|
| |
323
| +}
|
| |
324
| +
|
| |
325
| +%% Layouts:
|
| |
326
| +% IMS journals AAP, AOP, AOS has a different layout:
|
| |
327
| +
|
| |
328
| +\newif\if@imslayout \@imslayoutfalse
|
| |
329
| +
|
| |
330
| +\DeclareOption{imslayout}{
|
| |
331
| + \def\journal@id{-imsgeneric}
|
| |
332
| + \input{leqno.clo}% formula numbers at left
|
| |
333
| + \@amsmath@leqnotrue
|
| |
334
| + \@historyasfootnotetrue
|
| |
335
| + \@keywordsasfootnotetrue
|
| |
336
| + \@addressatendtrue
|
| |
337
| + \@imslayouttrue
|
| |
338
| + \@autosecdottrue}
|
| |
339
| +
|
| |
340
| +% IMS STS journal layout also specific
|
| |
341
| +\newif\if@stslayout \@stslayoutfalse
|
| |
342
| +\DeclareOption{stslayout}{
|
| |
343
| + \def\journal@id{-stsgeneric}
|
| |
344
| + \set@page@layout{32pc}{658pt}% 32pc * 55 line
|
| |
345
| + \@twosidetrue
|
| |
346
| + \input{leqno.clo}% formula numbers at left
|
| |
347
| + \@amsmath@leqnotrue
|
| |
348
| + \@stslayouttrue
|
| |
349
| + \AtBeginDocument{\if@twocolumn\set@page@layout{42pc}{658pt}\fi}}
|
| |
350
| +
|
| |
351
| +% BS BJ journal layout also specific:
|
| |
352
| +\newif\if@bjlayout \@bjlayoutfalse
|
| |
353
| +
|
| |
354
| +% AIHP journal layout also specific:
|
| |
355
| +\newif\if@aihplayout \@aihplayoutfalse
|
| |
356
| +
|
| |
357
| +% BJPS journal layout also specific:
|
| |
358
| +\newif\if@bjpslayout \@bjpslayoutfalse
|
| |
359
| +
|
| |
360
| +% Spacing
|
| |
361
| +\DeclareOption{doublespacing}{\doublespacing}
|
| |
362
| +\DeclareOption{singlespacing}{\singlespacing}
|
| |
363
| +
|
| |
364
| +\def\singlespacing{\renewcommand{\baselinestretch}{}\large\normalsize}
|
| |
365
| +\def\doublespacing{\renewcommand{\baselinestretch}{1.6}\large\normalsize}
|
| |
366
| +
|
| |
367
| +% Do not print id line at bottom of the page:
|
| |
368
| +\DeclareOption{noinfoline}{\AtBeginDocument{\let\info@line\@empty}}
|
| |
369
| +\DeclareOption{infoline} {\AtBeginDocument{\let\info@line\infoline@text}}
|
| |
370
| +
|
| |
371
| +% Put lines numbers in margins
|
| |
372
| +\newif\ifnumberlines@ \numberlines@false
|
| |
373
| +\DeclareOption{linenumbers}{\numberlines@true}
|
| |
374
| +\DeclareOption{nolinenumbers}{\numberlines@false}
|
| |
375
| +
|
| |
376
| +% Combined options:
|
| |
377
| +
|
| |
378
| +% Use this option for submission for pier review:
|
| |
379
| +\DeclareOption{submission}{%
|
| |
380
| + \singlespacing
|
| |
381
| + \AtBeginDocument{\let\info@line\infoline@text}
|
| |
382
| + \numberlines@false}
|
| |
383
| +
|
| |
384
| +% use this option for pre-publication (preprint):
|
| |
385
| +
|
| |
386
| +\DeclareOption{preprint}{%
|
| |
387
| + \singlespacing
|
| |
388
| + \AtBeginDocument{\let\info@line\@empty}
|
| |
389
| + \numberlines@false}
|
| |
390
| +
|
| |
391
| +
|
| |
392
| +
|
| |
393
| +% Initiate some info:
|
| |
394
| +\def\journal@name{}
|
| |
395
| +\def\journal@url{}
|
| |
396
| +\def\journal@issn{}
|
| |
397
| +\def\journal@id{}
|
| |
398
| +\def\paper@url{}
|
| |
399
| +\def\info@line{}
|
| |
400
| +\def\copyrightowner@text{}
|
| |
401
| +
|
| |
402
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% set@page@layout
|
| |
403
| +
|
| |
404
| +% \set@page@layout{\textwidth}{\textheight}
|
| |
405
| +
|
| |
406
| +\def\set@page@layout#1#2{%
|
| |
407
| +%
|
| |
408
| + \setlength\textwidth{#1}
|
| |
409
| + \@settopoint\textwidth
|
| |
410
| + \setlength\textheight{#2}
|
| |
411
| + \@settopoint\textheight
|
| |
412
| +%
|
| |
413
| +% make side margins equal:
|
| |
414
| + \setlength\@tempdima {\paperwidth}
|
| |
415
| + \addtolength\@tempdima {-\textwidth}
|
| |
416
| + \setlength\oddsidemargin {.5\@tempdima}
|
| |
417
| + \addtolength\oddsidemargin {-1in}
|
| |
418
| + \setlength\evensidemargin {\oddsidemargin}
|
| |
419
| + \@settopoint\oddsidemargin
|
| |
420
| + \@settopoint\evensidemargin
|
| |
421
| +%
|
| |
422
| +% topmargin
|
| |
423
| + \setlength\topmargin{\paperheight}
|
| |
424
| + \addtolength\topmargin{-2in}
|
| |
425
| + \addtolength\topmargin{-\headheight}
|
| |
426
| + \addtolength\topmargin{-\headsep}
|
| |
427
| + \addtolength\topmargin{-\textheight}
|
| |
428
| + \addtolength\topmargin{-\footskip} % this might be wrong!
|
| |
429
| + \addtolength\topmargin{-.5\topmargin}
|
| |
430
| + \@settopoint\topmargin
|
| |
431
| +}
|
| |
432
| +
|
| |
433
| +
|
| |
434
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Load imsart.cnf with additional options:
|
| |
435
| +\@input{\imsfmt@name.cnf}
|
| |
436
| +
|
| |
437
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Execute options
|
| |
438
| +
|
| |
439
| +\ExecuteOptions{generic,infoline}
|
| |
440
| +\ProcessOptions
|
| |
441
| +
|
| |
442
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% dimensions
|
| |
443
| +
|
| |
444
| +\setlength\parindent {12\p@}
|
| |
445
| +\setlength\headsep {14\p@}
|
| |
446
| +\setlength\footskip {14\p@}
|
| |
447
| +
|
| |
448
| +\setlength\smallskipamount{6\p@ \@plus 1\p@ \@minus 1\p@}
|
| |
449
| +\setlength\medskipamount {12\p@ \@plus 3\p@ \@minus 3\p@}
|
| |
450
| +\setlength\bigskipamount {18\p@ \@plus 3\p@ \@minus 3\p@}
|
| |
451
| +
|
| |
452
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% setattribute, getattribute, do@option@list
|
| |
453
| +
|
| |
454
| +\def\setattribute{\@ifnextchar[\@setattribute{\@setattribute[]}}
|
| |
455
| +\def\@setattribute[#1]#2#3#4{\expandafter\gdef\csname #2@#3\endcsname{#4}}
|
| |
456
| +\def\getattribute#1#2{\csname #1@#2\endcsname}
|
| |
457
| +\def\sep@key@value#1=#2/?/#3{\setattribute{#3}{#1}{#2}}
|
| |
458
| +\def\do@option@list#1#2{%
|
| |
459
| + \@for\curr@option:={#2}\do{%
|
| |
460
| + \expandafter\sep@key@value\curr@option/?/{#1}\relax
|
| |
461
| + }%
|
| |
462
| +}
|
| |
463
| +
|
| |
464
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% newpseudoenvironment
|
| |
465
| +% same as \newenvironment, but new environment do not have additional groups \bgroup \egroup
|
| |
466
| +% (i.e. all definitions are not local
|
| |
467
| +
|
| |
468
| +\let\org@begin\begin
|
| |
469
| +\let\org@end\end
|
| |
470
| +\def\begin#1{%
|
| |
471
| + \@ifundefined{pseudo@#1}%
|
| |
472
| + {\org@begin{#1}}{\csname pseudo@#1\endcsname[0]\relax}%
|
| |
473
| + }
|
| |
474
| +\def\end#1{%
|
| |
475
| + \@ifundefined{pseudo@#1}%
|
| |
476
| + {\org@end{#1}}{\csname pseudo@#1\endcsname[1]\relax}%
|
| |
477
| + }
|
| |
478
| +\def\newpseudoenvironment#1#2#3{%
|
| |
479
| + \expandafter\gdef\csname pseudo@#1\endcsname[##1]{%
|
| |
480
| + \relax\ifcase##1\relax\def\@@next@@{#2}\or\def\@@next@@{#3}\else\let\@@next@@\relax\fi\@@next@@}%
|
| |
481
| + }
|
| |
482
| +
|
| |
483
| +
|
| |
484
| +
|
| |
485
| +
|
| |
486
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% pubyear, volume, paperno
|
| |
487
| +
|
| |
488
| +\def\pubyear#1{\gdef\@pubyear{(#1) }\gdef\@copyrightyear{#1 }}
|
| |
489
| + \def\@pubyear{}
|
| |
490
| + \def\@copyrightyear{}
|
| |
491
| +
|
| |
492
| +\def\volumetitle#1{\gdef\volume@title{#1 }}
|
| |
493
| +
|
| |
494
| +\def\volume#1{\gdef\@volume{Vol. #1 }}
|
| |
495
| + \gdef\@volume{}
|
| |
496
| +
|
| |
497
| +\def\issue#1{\gdef\@issue{No. #1 }}
|
| |
498
| + \gdef\@issue{}
|
| |
499
| +
|
| |
500
| +\def\paperno#1{\gdef\@paperno{Paper no. #1 }}
|
| |
501
| + \gdef\@paperno{00}
|
| |
502
| +
|
| |
503
| +
|
| |
504
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% firstpage, lastpage, pagerange
|
| |
505
| +
|
| |
506
| +\newcounter{firstpage}
|
| |
507
| +\newcounter{lastpage}
|
| |
508
| +
|
| |
509
| +\def\firstpage#1{\def\@tempa{#1}\ifx\@tempa\@empty\else
|
| |
510
| + \global\c@firstpage=#1
|
| |
511
| + \global\c@lastpage=#1
|
| |
512
| + \global\c@page=#1 \ignorespaces\fi}
|
| |
513
| +
|
| |
514
| +\def\lastpage#1{\def\@tempa{#1}\ifx\@tempa\@empty\else
|
| |
515
| + \global\c@lastpage=#1
|
| |
516
| + \ignorespaces\fi}
|
| |
517
| +
|
| |
518
| +\def\pagerange@sep{--}
|
| |
519
| +
|
| |
520
| +\def\set@pagerange{%
|
| |
521
| + \ifnum\c@firstpage=0%
|
| |
522
| + \else%
|
| |
523
| + \ifnum\c@firstpage=\c@lastpage%
|
| |
524
| + \gdef\@pagerange{\thefirstpage}%
|
| |
525
| + \else%
|
| |
526
| + \gdef\@pagerange{\thefirstpage\pagerange@sep\thelastpage}%
|
| |
527
| + \fi%
|
| |
528
| + \fi}
|
| |
529
| +
|
| |
530
| +\def\@pagerange{}
|
| |
531
| +
|
| |
532
| +\def\pagenumbering#1{%
|
| |
533
| + \gdef\thefirstpage{\csname @#1\endcsname\c@firstpage}%
|
| |
534
| + \gdef\thelastpage{\csname @#1\endcsname\c@lastpage}%
|
| |
535
| + \gdef\thepage{\csname @#1\endcsname\c@page}%
|
| |
536
| +}
|
| |
537
| +
|
| |
538
| +% hyperref redefines \pagenumbering, so we must override hyperref definition:
|
| |
539
| +\let\ims@pagenumbering\pagenumbering
|
| |
540
| +
|
| |
541
| +
|
| |
542
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% startlocaldefs, endlocaldefs
|
| |
543
| +
|
| |
544
| +\def\startlocaldefs{\makeatletter}
|
| |
545
| +\def\endlocaldefs{\makeatother}
|
| |
546
| +
|
| |
547
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% thanksref, thanksmark, thankslabel, thankstext
|
| |
548
| +% to be safe with hyperref we will use original LaTeX definitions:
|
| |
549
| +%
|
| |
550
| +
|
| |
551
| +\def\saferef#1{\expandafter\safe@setref\csname r@#1\endcsname\@firstoftwo{#1}}
|
| |
552
| +\let\safe@setref\@setref
|
| |
553
| +
|
| |
554
| +\def\safelabel#1{\@bsphack
|
| |
555
| + \protected@write\@auxout{}%
|
| |
556
| + {\string\thanksnewlabel{#1}{{\@currentlabel}{\thepage}}}%
|
| |
557
| + \@esphack}
|
| |
558
| +
|
| |
559
| +\long\def\safe@footnotetext#1{\insert\footins{%
|
| |
560
| + \reset@font\footnotesize
|
| |
561
| + \interlinepenalty\interfootnotelinepenalty
|
| |
562
| + \splittopskip\footnotesep
|
| |
563
| + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
|
| |
564
| + \hsize\columnwidth \@parboxrestore
|
| |
565
| + \color@begingroup
|
| |
566
| + \def\@thefnmark{}%
|
| |
567
| + \@makefntext{%
|
| |
568
| + \rule\z@\footnotesep\ignorespaces #1\@finalstrut\strutbox}%
|
| |
569
| + \color@endgroup}}%
|
| |
570
| +
|
| |
571
| +
|
| |
572
| +\long\def\orig@footnotetext#1{\insert\footins{%
|
| |
573
| + \reset@font\footnotesize
|
| |
574
| + \interlinepenalty\interfootnotelinepenalty
|
| |
575
| + \splittopskip\footnotesep
|
| |
576
| + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM
|
| |
577
| + \hsize\columnwidth \@parboxrestore
|
| |
578
| + \protected@edef\@currentlabel{%
|
| |
579
| + \csname p@footnote\endcsname\@thefnmark
|
| |
580
| + }%
|
| |
581
| + \color@begingroup
|
| |
582
| + \@makefntext{%
|
| |
583
| + \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}%
|
| |
584
| + \color@endgroup}}%
|
| |
585
| +
|
| |
586
| +
|
| |
587
| +
|
| |
588
| +\let\thanksnewlabel\newlabel
|
| |
589
| +
|
| |
590
| +% we want to use various counters:
|
| |
591
| +\def\usethankscounter#1{%
|
| |
592
| + \@ifundefined{current@thankscounter}{\gdef\previous@thankscounter{#1}}{\xdef\previous@thankscounter{\current@thankscounter}}%
|
| |
593
| + \def\current@thankscounter{#1}}
|
| |
594
| +
|
| |
595
| +\def\restorethankscounter{\xdef\current@thankscounter{\previous@thankscounter}}
|
| |
596
| +
|
| |
597
| +\newcounter{thanks}
|
| |
598
| +\def\thethanks{\@fnsymbol\c@thanks}
|
| |
599
| +\usethankscounter{thanks}
|
| |
600
| +
|
| |
601
| +% address ref:
|
| |
602
| +\newcounter{addressref}
|
| |
603
| +\def\theaddressref{\arabic{addressref}}
|
| |
604
| +
|
| |
605
| +
|
| |
606
| +%\def\thanksmark@fmt#1{\hbox{$^{#1}$}}
|
| |
607
| +\def\thanksmark@fmt#1{\@textsuperscript{\normalfont#1}}
|
| |
608
| +\def\thanksref@sep{,}
|
| |
609
| +
|
| |
610
| +% hooks for the hyperref:
|
| |
611
| +\def\thankref@hyperlink#1{\saferef{#1thanks}}
|
| |
612
| +\def\thanks@hypertarget#1{}
|
| |
613
| +
|
| |
614
| +% Isvedame zymes
|
| |
615
| +\def\thanksref{\@ifnextchar[{\@tempswatrue\@thanksref}{\@tempswafalse\@thanksref[]}}
|
| |
616
| +
|
| |
617
| +\def\@thanksref[#1]#2{%
|
| |
618
| + \if@tempswa% []
|
| |
619
| + \thanksmark@fmt{#1}%
|
| |
620
| + \else%
|
| |
621
| + \let\@tempa\@empty%
|
| |
622
| + \thanksmark@fmt{\@for\@tempb:=#2\do{%
|
| |
623
| + \@tempa\let\@tempa\thanksref@sep%
|
| |
624
| + \edef\@tempb{\expandafter\@firstofone\@tempb\@empty}%
|
| |
625
| + \thankref@hyperlink{\@tempb}}}%
|
| |
626
| + \fi}
|
| |
627
| +
|
| |
628
| +% Suformuojame ir isvedame zyme
|
| |
629
| +\def\thanksmark{\@ifnextchar[{\@tempswatrue\@thanksmark}{\@tempswafalse\@thanksmark[]}}
|
| |
630
| +
|
| |
631
| +\def\@thanksmark[#1]#2{%
|
| |
632
| + \@thankslabel[#1]{#2}%
|
| |
633
| + \safelabel{#2thanks}%
|
| |
634
| + \thanksmark@fmt{\expandafter\saferef{#2thanks}\thanks@hypertarget{#2}}}
|
| |
635
| +
|
| |
636
| +% Suformuojame tik zyme
|
| |
637
| +\def\thankslabel{\@ifnextchar[{\@tempswatrue\@thankslabel}{\@tempswafalse\@thankslabel[]}}
|
| |
638
| +
|
| |
639
| +\def\@thankslabel[#1]#2{%
|
| |
640
| + \if@tempswa% []
|
| |
641
| + \protected@edef\@currentlabel{#1}%
|
| |
642
| + \else%
|
| |
643
| + \refstepcounter{\current@thankscounter}%
|
| |
644
| + \fi%
|
| |
645
| + \safelabel{#2thanks}}%
|
| |
646
| +
|
| |
647
| +% Suformuojame zyme ir idedame teksta i \@thanks:
|
| |
648
| +\def\thankstext{\@ifnextchar[{\@tempswatrue\@thankstext}{\@tempswafalse\@thankstext[]}}
|
| |
649
| +
|
| |
650
| +\def\@thankstext[#1]#2#3{%
|
| |
651
| + \@thankslabel[#1]{#2}%
|
| |
652
| + \protected@xdef\@thanks{\@thanks\protect\thanks@thefnmark{#2thanks}%
|
| |
653
| + \protect\orig@footnotetext{\thanks@hypertarget{#2}#3}}}%
|
| |
654
| +
|
| |
655
| +\def\thanks@thefnmark#1{\begingroup\unrestored@protected@xdef\@thefnmark{\saferef{#1}}\endgroup}%
|
| |
656
| +
|
| |
657
| +
|
| |
658
| +
|
| |
659
| +% ST makrosas savo numeracijos sistemos sukurimui
|
| |
660
| +\def\setvaluelist#1#2{\@tempcnta=0\relax
|
| |
661
| + \@for\@curr@val:=#2\do{%
|
| |
662
| + \advance\@tempcnta by1\relax
|
| |
663
| + \expandafter\protected@xdef\csname #1@item@\the\@tempcnta\endcsname{\@curr@val}%
|
| |
664
| + }%
|
| |
665
| + \expandafter\protected@xdef\csname #1@item@0\endcsname{\the\@tempcnta}%
|
| |
666
| +}
|
| |
667
| +\xdef\getitemvalue#1#2{\noexpand\csname #1@item@#2\endcsname}
|
| |
668
| +
|
| |
669
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \ead, \printead
|
| |
670
| +
|
| |
671
| +\RequirePackage{keyval}
|
| |
672
| +
|
| |
673
| +\def\email@text{e-mail: }
|
| |
674
| +\def\url@text{url: }
|
| |
675
| +\def\fullurl@text{url: }
|
| |
676
| +\def\ead@sep{;~}
|
| |
677
| +\let\ead@size\relax
|
| |
678
| +\def\printead@fmt#1{#1}
|
| |
679
| +
|
| |
680
| +% for BJ journal:
|
| |
681
| +\newcounter{emailref}
|
| |
682
| +\setvaluelist{emailmarks}{*,**,\textdagger,\textdaggerdbl}
|
| |
683
| +\def\theemailref{\getitemvalue{emailmarks}{\the\c@emailref}}
|
| |
684
| +\define@key{ead}{mark}[true]{\usethankscounter{emailref}\thankslabel{\ead@label}}
|
| |
685
| +
|
| |
686
| +
|
| |
687
| +% naudojame keyval paketa
|
| |
688
| +\define@key{ead}{email}[true]{\def\ead@type{email}}
|
| |
689
| +\define@key{ead}{url}[true]{\def\@tempa{fullurl}\ifx\ead@type\@tempa\else\def\ead@type{url}\fi}
|
| |
690
| +\define@key{ead}{label}{\def\ead@label{#1}}
|
| |
691
| +
|
| |
692
| +\define@key{ead}{text}{%
|
| |
693
| + \bgroup%
|
| |
694
| + \def\\{\string\break}
|
| |
695
| + \def\break{\string\break}%
|
| |
696
| + \protected@edef\@currentlabel{#1}%
|
| |
697
| + \safelabel{\ead@label @\ead@type text}%
|
| |
698
| + \egroup}
|
| |
699
| +
|
| |
700
| +\define@key{ead}{nopdflink}[true]{%
|
| |
701
| + \protected@edef\@currentlabel{nolink}%
|
| |
702
| + \safelabel{\ead@label @nopdflink}}
|
| |
703
| +
|
| |
704
| +
|
| |
705
| +\DeclareRobustCommand\ead[2][label= ,email]{{%
|
| |
706
| + \def\ead@type{email}% default
|
| |
707
| + \checkead@prefix#2://\end%
|
| |
708
| + \def\texttildelow{\noexpand\texttildelow}%
|
| |
709
| + \setkeys{ead}{#1}%
|
| |
710
| + \protected@edef\@currentlabel{#2}%
|
| |
711
| + \safelabel{\ead@label @\ead@type}}}
|
| |
712
| +
|
| |
713
| +\def\checkead@prefix#1://#2\end{\ifx.#2.\else\def\ead@type{fullurl}\fi}
|
| |
714
| +
|
| |
715
| +\newif\ifnot@ead@star
|
| |
716
| +\newif\if@printead@opt
|
| |
717
| +
|
| |
718
| +\DeclareRobustCommand{\printead}{\@ifstar{\not@ead@starfalse\@printead}{\not@ead@startrue\@printead}}
|
| |
719
| +
|
| |
720
| +\def\@printead{\@ifnextchar[{\@printead@opttrue\@@printead}{\@printead@optfalse\@@printead[]}}
|
| |
721
| +
|
| |
722
| +\def\@@printead[#1]#2{{%
|
| |
723
| + \if@printead@opt%[]
|
| |
724
| + \def\ims@href@text{#1}%
|
| |
725
| + \not@ead@starfalse%
|
| |
726
| + \fi%
|
| |
727
| + \let\prev@ead@text\relax%
|
| |
728
| + \let\@ead@sep\relax%
|
| |
729
| + \let\ead@text\relax%
|
| |
730
| + \let\ead@prefix\relax%
|
| |
731
| + \def\ead@type{}%
|
| |
732
| + \@tempcnta=0%
|
| |
733
| + \let\sv@ims@href\ims@href%
|
| |
734
| + \printead@fmt{\@for\ead@ref:=#2\do{%
|
| |
735
| + \advance\@tempcnta by1%
|
| |
736
| + \let\ims@href\sv@ims@href%
|
| |
737
| + \@ead@sep\let\@ead@sep\ead@sep%
|
| |
738
| + \@ifundefined{r@\ead@ref @nopdflink}{}{\def\ims@href##1##2{##2}}%
|
| |
739
| + \@ifundefined{r@\ead@ref @email}{}{\let\ead@text\email@text\def\ead@type{email}\def\ead@prefix{mailto:}}%
|
| |
740
| + \@ifundefined{r@\ead@ref @url}{}{\let\ead@text\url@text\def\ead@type{url}\def\ead@prefix{http://}}%
|
| |
741
| + \@ifundefined{r@\ead@ref @fullurl}{}{\let\ead@text\fullurl@text\def\ead@type{fullurl}\def\ead@prefix{}}%
|
| |
742
| + \ifx\prev@ead@text\ead@text\let\ead@text\relax\fi%
|
| |
743
| + \if@printead@opt\ifnum\@tempcnta>1\@latex@error{Command \@backslashchar printead[]{e1} could have only one parameter "e1"!}\@eha\fi%
|
| |
744
| + \else\@ifundefined{r@\ead@ref @\ead@type text}{\def\ims@href@text{\@ifundefined{r@\ead@ref thanks}{}{\thanksref{\ead@ref}}\saferef{\ead@ref @\ead@type}}}{\def\ims@href@text{\@ifundefined{r@\ead@ref thanks}{}{\thanksref{\ead@ref}}\saferef{\ead@ref @\ead@type text}}}\fi%
|
| |
745
| + \ifnot@ead@star\ead@text\fi{\ead@size\def\null{}\ims@href{\ead@prefix\saferef{\ead@ref @\ead@type}}{\ims@href@text}}%
|
| |
746
| + \@ifundefined{ead@text}{}{\let\prev@ead@text\ead@text}}}%
|
| |
747
| +}}
|
| |
748
| +
|
| |
749
| +
|
| |
750
| +
|
| |
751
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \copyrightowner, \corref
|
| |
752
| +
|
| |
753
| +\def\copyrightowner#1{\def\copyrightowner@text{#1}}
|
| |
754
| +
|
| |
755
| +
|
| |
756
| +% for corresponding author
|
| |
757
| +\def\corref#1{}
|
| |
758
| +
|
| |
759
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% normaltext, nohyphen, today
|
| |
760
| +
|
| |
761
| +% normalus tekstas (justify)
|
| |
762
| +\def\normaltext{\let\\=\@normalcr%
|
| |
763
| + \leftskip\z@ \@rightskip\z@ \rightskip\@rightskip%
|
| |
764
| + \parfillskip\@flushglue}
|
| |
765
| +
|
| |
766
| +% skiemenavimo isjungimas
|
| |
767
| +\def\nohyphen{\pretolerance=\@M \tolerance=\@M \hyphenpenalty=\@M \exhyphenpenalty=\@M}
|
| |
768
| +
|
| |
769
| +
|
| |
770
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \@ifemptyhbox
|
| |
771
| +
|
| |
772
| +\def\@ifnonempty#1{%
|
| |
773
| + \setbox\@tempboxa\hbox{\ignorespaces #1}%
|
| |
774
| + \ifdim\wd\@tempboxa>1pt #1\fi}
|
| |
775
| +
|
| |
776
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\pagestyle{imsheadings} \thispagestyle{copyright}
|
| |
777
| +
|
| |
778
| +
|
| |
779
| +\if@twoside
|
| |
780
| +
|
| |
781
| +\def\ps@imsheadings{%
|
| |
782
| + \def\@oddfoot{\hfill\info@line}%
|
| |
783
| + \let\@evenfoot\@oddfoot%
|
| |
784
| + \def\@evenhead{\runninghead@size\rlap{\pagenumber@size\thepage}\evenhead@fmt{\leftmark}}%
|
| |
785
| + \def\@oddhead{\runninghead@size\oddhead@fmt{\rightmark}\llap{\pagenumber@size\thepage}}}
|
| |
786
| +\else
|
| |
787
| +\def\ps@imsheadings{%
|
| |
788
| + \def\@oddfoot{\hfill\info@line}%
|
| |
789
| + \let\@evenfoot\@oddfoot%
|
| |
790
| + \def\@evenhead{\runninghead@size\hfill\leftmark\rightmark\hfill\llap{\pagenumber@size\thepage}}%
|
| |
791
| + \def\@oddhead{\runninghead@size\hfill\leftmark\rightmark\hfill\llap{\pagenumber@size\thepage}}}
|
| |
792
| +% \def\@evenhead{\runninghead@size\hfill\leftmark/\rightmark\hfill\llap{\pagenumber@size\thepage}}%
|
| |
793
| +% \def\@oddhead{\runninghead@size\hfill\leftmark/\rightmark\hfill\llap{\pagenumber@size\thepage}}}
|
| |
794
| +\fi
|
| |
795
| +
|
| |
796
| +\def\ps@copyright{\let\@mkboth\@gobbletwo%
|
| |
797
| + \def\@evenhead{\parbox[t]{\textwidth}{\copyright@size\copyright@text}}%
|
| |
798
| + \let\@oddhead\@evenhead%
|
| |
799
| + \def\@oddfoot{\hfill\pagenumber@size\thepage\hfill\llap{\info@line}}%
|
| |
800
| + \let\@evenfoot\@oddfoot}
|
| |
801
| +
|
| |
802
| +\def\evenhead@fmt#1{\hfill#1\hfill}
|
| |
803
| +\def\oddhead@fmt#1{\hfill#1\hfill}
|
| |
804
| +
|
| |
805
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% url@fmt
|
| |
806
| +
|
| |
807
| +
|
| |
808
| +\def\journalurl#1{\def\journal@url{#1}}
|
| |
809
| +\def\paperurl#1{\def\paper@url{#1}}
|
| |
810
| +
|
| |
811
| +% DOI
|
| |
812
| +
|
| |
813
| +\def\doi#1{%
|
| |
814
| + \gdef\@doi{#1}%
|
| |
815
| + \gdef\doi@text{\url@fmt{DOI: }{\ttfamily}{#1}{\doi@base\@doi}}%
|
| |
816
| +}
|
| |
817
| +
|
| |
818
| +\let\@doi\relax
|
| |
819
| +
|
| |
820
| +\def\doi@base{http://dx.doi.org/}
|
| |
821
| +
|
| |
822
| +% arXiv
|
| |
823
| +
|
| |
824
| +
|
| |
825
| +\def\arxiv#1{%
|
| |
826
| + \gdef\@arxiv{#1}%
|
| |
827
| + \gdef\doi@text{\url@fmt{arXiv: }{\ttfamily}{#1}{\arxiv@base\@arxiv}}%
|
| |
828
| +}
|
| |
829
| +
|
| |
830
| +\let\@arxiv\relax
|
| |
831
| +
|
| |
832
| +% http://arxiv.org/abs/math.PR/0603300
|
| |
833
| +
|
| |
834
| +\def\arxiv@base{http://arxiv.org/abs/}
|
| |
835
| +
|
| |
836
| +
|
| |
837
| +% {url}{text}
|
| |
838
| +\def\ims@href#1#2{#2}
|
| |
839
| +
|
| |
840
| +% {prefix}{font}{text}{url}
|
| |
841
| +
|
| |
842
| +\def\url@fmt#1#2#3#4{%
|
| |
843
| + \edef\@tempa{#3}%
|
| |
844
| + \ifx\@tempa\@empty%
|
| |
845
| + \else%
|
| |
846
| + #1{#2\ims@href{#4}{#3}}%
|
| |
847
| + \fi}
|
| |
848
| +
|
| |
849
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LIST ENVIRONMENTS
|
| |
850
| +
|
| |
851
| +\parsep\z@
|
| |
852
| +\topsep\smallskipamount
|
| |
853
| +\partopsep\z@
|
| |
854
| +\itemsep\z@
|
| |
855
| +\labelsep.5em
|
| |
856
| +
|
| |
857
| +\def\@listI{\leftmargin\leftmargini
|
| |
858
| + \parsep\z@
|
| |
859
| + \topsep\smallskipamount
|
| |
860
| + \itemsep\z@}
|
| |
861
| +
|
| |
862
| +\def\list@parindent{1pc}
|
| |
863
| +
|
| |
864
| +% quotation
|
| |
865
| +\let\quotation@size\footnotesize
|
| |
866
| +\def\quotation@itemindent{\list@parindent}
|
| |
867
| +\def\quotation@parindent{\list@parindent}
|
| |
868
| +\def\quotation@leftmargin{\list@parindent}
|
| |
869
| +\let\quotation@rightmargin\z@
|
| |
870
| +\let\quotation@topsep\smallskipamount
|
| |
871
| +
|
| |
872
| +\def\quotation{%
|
| |
873
| + \list{}{\quotation@size%
|
| |
874
| + \listparindent\quotation@parindent%
|
| |
875
| + \itemindent \quotation@itemindent%
|
| |
876
| + \rightmargin\quotation@rightmargin \leftmargin\quotation@leftmargin%
|
| |
877
| + \partopsep\z@ \topsep\quotation@topsep \parsep\z@%
|
| |
878
| + }%
|
| |
879
| + \item[\Q@strut]\relax}
|
| |
880
| +
|
| |
881
| +\def\endquotation{\endlist}
|
| |
882
| +
|
| |
883
| +\def\Q@strut{\leavevmode\hbox{\vrule height9pt depth1pt width0pt}}
|
| |
884
| +
|
| |
885
| +% quote
|
| |
886
| +\let\quote@size\footnotesize
|
| |
887
| +\def\quote@indent{\z@}
|
| |
888
| +\def\quote@leftmargin{2pc}
|
| |
889
| +\def\quote@rightmargin{2pc}
|
| |
890
| +\let\quote@topsep\smallskipamount
|
| |
891
| +
|
| |
892
| +\def\quote{%
|
| |
893
| + \list{}{\quote@size%
|
| |
894
| + \listparindent\quote@indent%
|
| |
895
| + \itemindent \listparindent%
|
| |
896
| + \rightmargin\quote@rightmargin \leftmargin\quote@leftmargin%
|
| |
897
| + \partopsep\z@ \topsep\quote@topsep \parsep\z@%
|
| |
898
| + }%
|
| |
899
| + \item\relax}
|
| |
900
| +
|
| |
901
| +\def\endquote{\endlist}
|
| |
902
| +
|
| |
903
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% table, figure
|
| |
904
| +
|
| |
905
| +\def\fnum@table{\tablename~\thetable}
|
| |
906
| +\setlength\belowcaptionskip{4\p@}
|
| |
907
| +
|
| |
908
| +\renewenvironment{table}
|
| |
909
| + {\let\@makecaption\@maketablecaption\@float{table}}
|
| |
910
| + {\end@float}
|
| |
911
| +\renewenvironment{table*}
|
| |
912
| + {\let\@makecaption\@maketablecaption\@dblfloat{table}}
|
| |
913
| + {\end@dblfloat}
|
| |
914
| +
|
| |
915
| +\long\def\@maketablecaption#1#2{%
|
| |
916
| + \tablecaption@shape\tablecaption@size%
|
| |
917
| + {\tablename@size #1}\tablename@skip #2\par
|
| |
918
| + \vskip\belowcaptionskip}
|
| |
919
| +
|
| |
920
| +\setattribute{tablecaption}{shape}{\centering}
|
| |
921
| +\setattribute{tablecaption}{size} {\footnotesize\itshape}
|
| |
922
| +\setattribute{tablename} {size} {\scshape}
|
| |
923
| +\setattribute{tablename} {skip} {\endgraf}
|
| |
924
| +
|
| |
925
| +
|
| |
926
| +% figure : use \@makecaption:
|
| |
927
| +\renewcommand\figurename{Fig}
|
| |
928
| +
|
| |
929
| +\long\def\@makecaption#1#2{%
|
| |
930
| + \vskip\abovecaptionskip
|
| |
931
| + \footnotesize
|
| |
932
| + \sbox\@tempboxa{\itshape\textsc{#1}. #2}%
|
| |
933
| + \ifdim \wd\@tempboxa >\hsize
|
| |
934
| + \itshape\textsc{#1}. #2\par
|
| |
935
| + \else
|
| |
936
| + \global \@minipagefalse
|
| |
937
| + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
|
| |
938
| + \fi
|
| |
939
| + \vskip\belowcaptionskip}
|
| |
940
| +
|
| |
941
| +\long\def\@makecaption#1#2{%
|
| |
942
| + \vskip\abovecaptionskip
|
| |
943
| + \figurecaption@size
|
| |
944
| + \sbox\@tempboxa{{\figurename@size #1}\figurename@skip #2}%
|
| |
945
| + \ifdim \wd\@tempboxa >\hsize
|
| |
946
| + {\figurename@size #1}\figurename@skip #2\par
|
| |
947
| + \else
|
| |
948
| + \global \@minipagefalse
|
| |
949
| + \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
|
| |
950
| + \fi
|
| |
951
| + \vskip\belowcaptionskip}
|
| |
952
| +
|
| |
953
| +\setattribute{figurecaption}{size}{\footnotesize\itshape}
|
| |
954
| +\setattribute{figurename} {size}{\scshape}
|
| |
955
| +\setattribute{figurename} {skip}{.~}
|
| |
956
| +
|
| |
957
| +
|
| |
958
| +\def\@floatboxreset{%
|
| |
959
| + \reset@font
|
| |
960
| + \@setminipage
|
| |
961
| + \singlespacing
|
| |
962
| + \footnotesize
|
| |
963
| + \centering
|
| |
964
| +}
|
| |
965
| +
|
| |
966
| +\if@aihplayout
|
| |
967
| + \setattribute{tablecaption}{size} {\footnotesize}
|
| |
968
| + \setattribute{figurecaption}{size}{\footnotesize}
|
| |
969
| +\fi
|
| |
970
| +
|
| |
971
| +\if@bjpslayout
|
| |
972
| + \setattribute{tablename} {size} {\bfseries\upshape}
|
| |
973
| + \setattribute{tablename} {skip} {\enskip}
|
| |
974
| +
|
| |
975
| + \setattribute{figurename} {size}{\bfseries\upshape}
|
| |
976
| + \setattribute{figurename} {skip}{\enskip}
|
| |
977
| + \def\figurename{Figure}
|
| |
978
| +\fi
|
| |
979
| +
|
| |
980
| +
|
| |
981
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FOOTNOTE
|
| |
982
| +
|
| |
983
| +\renewcommand\@makefntext[1]{%
|
| |
984
| + \parindent12pt\@makefnmark #1}
|
| |
985
| +
|
| |
986
| +\def\@makefnmark{\@textsuperscript{\normalfont\@thefnmark}}%
|
| |
987
| +
|
| |
988
| +
|
| |
989
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SECTION commands:
|
| |
990
| +% from latex.ltx:
|
| |
991
| +% Two improvements:
|
| |
992
| +% 1. if section command is defined as "inline" the '.' will be inserted after heading;
|
| |
993
| +% 2. section* will write to toc and will appear in pdf bookmarks
|
| |
994
| +
|
| |
995
| +% dirty trick...
|
| |
996
| +\def\@startsection#1#2#3#4#5#6{%
|
| |
997
| + \if@noskipsec \leavevmode \fi
|
| |
998
| + \par
|
| |
999
| + \@tempskipa #4\relax
|
| |
1000
| + \@afterindenttrue
|
| |
1001
| + \ifdim \@tempskipa <\z@
|
| |
1002
| + \@tempskipa -\@tempskipa \@afterindentfalse
|
| |
1003
| + \fi
|
| |
1004
| + \if@nobreak
|
| |
1005
| + \everypar{}%
|
| |
1006
| + \else
|
| |
1007
| + \addpenalty\@secpenalty\addvspace\@tempskipa
|
| |
1008
| + \fi
|
| |
1009
| + \@ifstar
|
| |
1010
| + {\def\ssection@level{#2}\@ssect{#3}{#4}{#5}{#6}}%
|
| |
1011
| + {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}}
|
| |
1012
| +
|
| |
1013
| +% Trick for the hyperref:
|
| |
1014
| +\def\setaftersec@dot#1{\if@autosecdot\setbox0=\hbox{#1}\ifdim\wd0>0\p@\def\aftersec@dot{.}\else\def\aftersec@dot{}\fi\fi}
|
| |
1015
| +\let\aftersec@dot\relax
|
| |
1016
| +
|
| |
1017
| +% section - will add hook for the dot after section heading
|
| |
1018
| +\def\@sect#1#2#3#4#5#6[#7]#8{%
|
| |
1019
| + \ifnum #2>\c@secnumdepth
|
| |
1020
| + \let\@svsec\@empty
|
| |
1021
| + \else
|
| |
1022
| + \refstepcounter{#1}%
|
| |
1023
| + \protected@edef\@svsec{\@seccntformat{#1}\relax}%
|
| |
1024
| + \fi
|
| |
1025
| + \@tempskipa #5\relax
|
| |
1026
| + \ifdim \@tempskipa>\z@
|
| |
1027
| + \begingroup
|
| |
1028
| + #6{%
|
| |
1029
| + \@hangfrom{\hskip #3\relax\@svsec}%
|
| |
1030
| + \interlinepenalty \@M #8\@@par}%
|
| |
1031
| + \endgroup
|
| |
1032
| + \csname #1mark\endcsname{#7}%
|
| |
1033
| + \addcontentsline{toc}{#1}{%
|
| |
1034
| + \ifnum #2>\c@secnumdepth \else
|
| |
1035
| + \protect\numberline{\csname the#1\endcsname}%
|
| |
1036
| + \fi
|
| |
1037
| + #7}%
|
| |
1038
| + \else
|
| |
1039
| + \setaftersec@dot{#8}%
|
| |
1040
| + \def\@svsechd{%
|
| |
1041
| + #6{\hskip #3\relax
|
| |
1042
| + \@svsec #8\aftersec@dot}%
|
| |
1043
| + \csname #1mark\endcsname{#7}%
|
| |
1044
| + \addcontentsline{toc}{#1}{%
|
| |
1045
| + \ifnum #2>\c@secnumdepth \else
|
| |
1046
| + \protect\numberline{\csname the#1\endcsname}%
|
| |
1047
| + \fi
|
| |
1048
| + #7}}%
|
| |
1049
| + \fi
|
| |
1050
| + \@xsect{#5}}
|
| |
1051
| +
|
| |
1052
| +% section* - will add hook for the dot after section heading and \contentsline
|
| |
1053
| +\def\@ssect#1#2#3#4#5{%
|
| |
1054
| + \@tempskipa #3\relax
|
| |
1055
| + \ifdim \@tempskipa>\z@
|
| |
1056
| + \begingroup
|
| |
1057
| + #4{%
|
| |
1058
| + \@hangfrom{\hskip #1}%
|
| |
1059
| + \interlinepenalty \@M #5\@@par}%
|
| |
1060
| + \endgroup
|
| |
1061
| + \else
|
| |
1062
| + \setaftersec@dot{#5}%
|
| |
1063
| + \def\@svsechd{#4{\hskip #1\relax #5\aftersec@dot}}%
|
| |
1064
| + \fi
|
| |
1065
| + \ifnum\ssection@level=1\phantomsection\addcontentsline{toc}{section}{#5}\fi%
|
| |
1066
| + \@xsect{#3}}
|
| |
1067
| +
|
| |
1068
| +% Block adding to contents for the next command only:
|
| |
1069
| +\def\nocontentsline{%
|
| |
1070
| + \let\@@addcontentsline\addcontentsline%
|
| |
1071
| + \ifx\hyper@anchor\@undefined
|
| |
1072
| + \def\addcontentsline##1##2##3{\let\addcontentsline\@@addcontentsline}
|
| |
1073
| + \else
|
| |
1074
| + \def\addcontentsline##1##2##3##4{\let\addcontentsline\@@addcontentsline}
|
| |
1075
| + \fi
|
| |
1076
| +}
|
| |
1077
| +
|
| |
1078
| +
|
| |
1079
| +% \phantomsection is defined in hyperref
|
| |
1080
| +\let\phantomsection\relax
|
| |
1081
| +
|
| |
1082
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRONTMATTER SETTINGS
|
| |
1083
| +
|
| |
1084
| +% FRONT MATTER FORMATTING PARAMETERS
|
| |
1085
| +
|
| |
1086
| +\setattribute{frontmatter} {style} {\centering}
|
| |
1087
| +\setattribute{title} {style} {\centering}
|
| |
1088
| +\setattribute{author} {style} {\centering}
|
| |
1089
| +\setattribute{address} {style} {\centering}
|
| |
1090
| +\setattribute{abstract} {style} {\normaltext}
|
| |
1091
| +\setattribute{keyword} {style} {\normaltext}
|
| |
1092
| +\setattribute{history} {style} {\normaltext}
|
| |
1093
| +
|
| |
1094
| +% FRONT MATTER SKIPS
|
| |
1095
| +\setattribute{title} {skip} {18\p@}
|
| |
1096
| +\setattribute{atltitle} {skip} {14\p@}
|
| |
1097
| +\setattribute{authors} {skip} {12pt}
|
| |
1098
| +\setattribute{dedicated} {skip} {12\p@}
|
| |
1099
| +\setattribute{address} {skip} {6\p@ plus 1\p@ minus 1\p@}
|
| |
1100
| +\setattribute{affiliation} {skip} {6\p@ plus 1\p@ minus 1\p@}
|
| |
1101
| +\setattribute{abstract} {skip} {10\p@}
|
| |
1102
| +\setattribute{abstractname}{skip} {:\enskip}
|
| |
1103
| +\setattribute{keyword} {skip} {10\p@}
|
| |
1104
| +\setattribute{history} {skip} {10\p@}
|
| |
1105
| +\setattribute{frontmatter} {cmd} {\vskip20\p@ plus 3\p@ minus 3\p@
|
| |
1106
| + \@afterindentfalse\@afterheading}
|
| |
1107
| +\setattribute{firstpage} {cmd} {}
|
| |
1108
| +
|
| |
1109
| +% FRONT MATTER DIMENSIONS
|
| |
1110
| +\setattribute{abstract} {width} {.8\textwidth}
|
| |
1111
| +\setattribute{abstract} {indent} {0\p@}
|
| |
1112
| +\setattribute{keyword} {width} {.8\textwidth}
|
| |
1113
| +\setattribute{keyword} {indent} {0\p@} %
|
| |
1114
| +\setattribute{history} {width} {.8\textwidth}
|
| |
1115
| +
|
| |
1116
| +% FRONT MATTER FONTS
|
| |
1117
| +\setattribute{dochead} {size} {\Large\bfseries}
|
| |
1118
| +\setattribute{title} {size} {\LARGE\bfseries}
|
| |
1119
| +\setattribute{author} {size} {\normalsize\bfseries}
|
| |
1120
| +\setattribute{fnms} {size} {}
|
| |
1121
| +\setattribute{snm} {size} {}
|
| |
1122
| +\setattribute{address} {size} {\footnotesize\itshape\mdseries}
|
| |
1123
| +\setattribute{affiliation}{size} {\footnotesize\itshape\mdseries}
|
| |
1124
| +\setattribute{dedicated} {size} {\normalsize\itshape}
|
| |
1125
| +\setattribute{ead} {size} {\upshape\ttfamily}
|
| |
1126
| +\setattribute{abstract} {size} {\footnotesize\upshape\mdseries}
|
| |
1127
| +\setattribute{abstractname}{size} {\bfseries}
|
| |
1128
| +\setattribute{keyword} {size} {\footnotesize\upshape\mdseries}
|
| |
1129
| +\setattribute{keywordname}{size} {\bfseries}
|
| |
1130
| +\setattribute{history} {size} {\footnotesize\mdseries}
|
| |
1131
| +\setattribute{copyright} {size} {\footnotesize\raggedright}
|
| |
1132
| +\setattribute{runninghead}{size} {\footnotesize\itshape}
|
| |
1133
| +\setattribute{pagenumber} {size} {\footnotesize\upshape}
|
| |
1134
| +\setattribute{thebibliography}{size}{\normalsize}
|
| |
1135
| +
|
| |
1136
| +% FRONT MATTER CASE
|
| |
1137
| +\setattribute{dochead} {case} {}
|
| |
1138
| +\setattribute{title} {case} {}
|
| |
1139
| +\setattribute{runninghead}{case} {}
|
| |
1140
| +
|
| |
1141
| +% TEXT, etc.
|
| |
1142
| +\setattribute{doi} {text} {\url@fmt{url: }{\ttfamily}{\paper@url}{\paper@url}}
|
| |
1143
| +\setattribute{copyright} {text} {\url@fmt{}{\bfseries}{\journal@name}{\journal@url}\break%
|
| |
1144
| + \@ifundefined{volume@title}{}{\textbf{\volume@title}\break}%
|
| |
1145
| + \@ifnonempty{\@volume\@pubyear\@pagerange\break}%
|
| |
1146
| + \@ifnonempty{\journal@issn\break}%
|
| |
1147
| + \doi@text}%
|
| |
1148
| +
|
| |
1149
| +\setattribute{infoline} {text} {\lower12pt \hbox{\footnotesize\ttfamily\imsfmt@name\journal@id\ ver. \imsfmt@version\ file: \jobname.tex\ date: \today}}
|
| |
1150
| +\setattribute{copyright} {owner} {$\copyright$~\@copyrightyear \copyrightowner@text}
|
| |
1151
| +\setattribute{author} {prefix} {}
|
| |
1152
| +\setattribute{keyword} {postfix} {\unskip.}
|
| |
1153
| +
|
| |
1154
| +\def\abstractname{Abstract}
|
| |
1155
| +
|
| |
1156
| +% HISTORY
|
| |
1157
| +\setattribute{history} {prefix} {}
|
| |
1158
| +\setattribute{history} {postfix} {.}
|
| |
1159
| +\setattribute{received} {prefix} {Received~}
|
| |
1160
| +\setattribute{received} {postfix} {}
|
| |
1161
| +\setattribute{revised} {prefix} {; revised~}
|
| |
1162
| +\setattribute{revised} {postfix} {}
|
| |
1163
| +\setattribute{accepted} {prefix} {; accepted~}
|
| |
1164
| +\setattribute{accepted} {postfix} {}
|
| |
1165
| +
|
| |
1166
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRONTMATTER STUFF
|
| |
1167
| +
|
| |
1168
| +% COUNTERS, ETC
|
| |
1169
| +\newcounter{author}
|
| |
1170
| +\newcounter{address}
|
| |
1171
| +\newdimen\sv@mathsurround
|
| |
1172
| +\def\author@num{0}
|
| |
1173
| +
|
| |
1174
| +% RUNNING HEAD
|
| |
1175
| +\def\runtitle#1{\gdef\@runtitle{\runninghead@case{#1}}} \def\@runtitle{}
|
| |
1176
| +\def\runauthor#1{{\def\etal{et al.}\gdef\@runauthor{\runninghead@case{#1}}}} \def\@runauthor{}
|
| |
1177
| +
|
| |
1178
| +\newdimen\sv@parindent
|
| |
1179
| +\sv@parindent\parindent
|
| |
1180
| +
|
| |
1181
| +\newbox\fm@box
|
| |
1182
| +\newdimen\fm@size
|
| |
1183
| +
|
| |
1184
| +\let\hy@frontmatter\relax
|
| |
1185
| +\let\hy@endfrontmatter\relax
|
| |
1186
| +\let\tableofcontents@fmt\relax
|
| |
1187
| +
|
| |
1188
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% FRONTMATTER
|
| |
1189
| +
|
| |
1190
| +\def\frontmatter{%
|
| |
1191
| + \global\c@author\z@
|
| |
1192
| + \global\c@address\z@
|
| |
1193
| + \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
|
| |
1194
| +%
|
| |
1195
| + \if@changetoc
|
| |
1196
| + \let\old@tableofcontents\tableofcontents%
|
| |
1197
| + \def\tableofcontents{\let\tableofcontents@fmt\old@tableofcontents}%
|
| |
1198
| + \fi
|
| |
1199
| +%
|
| |
1200
| + \def\pdftitle##1{\write@pdfinfo{\user@hy@title}{##1}}
|
| |
1201
| + \def\pdfauthor##1{\write@pdfinfo{\user@hy@author}{##1}}
|
| |
1202
| + \def\pdfsubject##1{\write@pdfinfo{\user@hy@subject}{##1}}
|
| |
1203
| + \def\pdfkeywords##1{\write@pdfinfo{\user@hy@keywords}{##1}}
|
| |
1204
| +%
|
| |
1205
| + \if@supertoc%
|
| |
1206
| + \addtocontents{toc}{\protect\contentsline{begintocitem}{}{}{}}%
|
| |
1207
| + \addtocontents{toc}{\protect\contentsline{jobname}{\jobname}{}{}}
|
| |
1208
| + \ifx\@doi\relax \else\addtocontents{toc}{\protect\contentsline{doi}{\@doi}{}{}}\fi%
|
| |
1209
| + \ifx\@arxiv\relax \else\addtocontents{toc}{\protect\contentsline{arxiv}{\@arxiv}{}{}}\fi%
|
| |
1210
| + \fi
|
| |
1211
| +%
|
| |
1212
| + \sv@mathsurround\mathsurround \m@th
|
| |
1213
| + \parindent\z@
|
| |
1214
| + \hy@frontmatter
|
| |
1215
| + \global\let\maketitle\relax
|
| |
1216
| + \open@fm \ignorespaces}
|
| |
1217
| +%
|
| |
1218
| +%
|
| |
1219
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ENDFRONTMATTER
|
| |
1220
| +
|
| |
1221
| +\def\endfrontmatter{%
|
| |
1222
| + \global\@topnum\z@
|
| |
1223
| + \set@pagerange
|
| |
1224
| + \markboth{\@runauthor}{\@runtitle}%
|
| |
1225
| + \thispagestyle{empty}%
|
| |
1226
| +% \thispagestyle{copyright}%
|
| |
1227
| +%
|
| |
1228
| + \put@fmt@data%
|
| |
1229
| +%
|
| |
1230
| + \close@fm
|
| |
1231
| +%
|
| |
1232
| + \firstpage@cmd
|
| |
1233
| +%
|
| |
1234
| + \write@pdfinfo{\hy@author}{\the\authors@list}
|
| |
1235
| + \write@pdfinfo{\hy@subject}{\journal@name\@copyrightyear\@volume\@issue\@pagerange}
|
| |
1236
| + \write@pdfinfo{\hy@keywords}{\the\keywords@list}
|
| |
1237
| +%
|
| |
1238
| + \if@supertoc%
|
| |
1239
| + \addtocontents{toc}{\protect\contentsline{author}{\the\authors@list}{\thepage}{}}%
|
| |
1240
| + \addtocontents{toc}{\protect\contentsline{endtocitem}{}{}{}}%
|
| |
1241
| + \fi%
|
| |
1242
| +%
|
| |
1243
| + \write\@mainaux{\string\gdef\string\author@num{\the\c@author}}
|
| |
1244
| + \hy@endfrontmatter
|
| |
1245
| + \global\mathsurround\sv@mathsurround
|
| |
1246
| + \global\c@footnote\z@
|
| |
1247
| + \global\let\@thanks\@empty
|
| |
1248
| + \let\title\relax
|
| |
1249
| + \let\author\relax
|
| |
1250
| + \let\address\relax
|
| |
1251
| + \let\frontmatter\relax \let\endfrontmatter\relax
|
| |
1252
| + \let\@maketitle\relax \let\@@maketitle\relax
|
| |
1253
| + \aftergroup\frontmatter@cmd
|
| |
1254
| + }
|
| |
1255
| +
|
| |
1256
| +
|
| |
1257
| +\def\put@fmt@data{%
|
| |
1258
| + \copyright@fmt%
|
| |
1259
| + \@thanks%
|
| |
1260
| + \abstract@fmt%
|
| |
1261
| + \keyword@fmt%
|
| |
1262
| + \history@fmt
|
| |
1263
| + \tableofcontents@fmt}
|
| |
1264
| +
|
| |
1265
| +
|
| |
1266
| +\newdimen\t@xtheight
|
| |
1267
| +\def\init@settings{
|
| |
1268
| +\splittopskip=\topskip \splitmaxdepth=\maxdepth
|
| |
1269
| +\t@xtheight\textheight \advance\t@xtheight-\splittopskip}
|
| |
1270
| +
|
| |
1271
| +\def\no@harm{\let\thanks=\@gobble\let\thanksref=\@gobble\let~\space\def\ead[##1]##2{}\let\\=\@empty \def\protect{\noexpand\protect\noexpand}}
|
| |
1272
| +
|
| |
1273
| +\def\open@fm{%
|
| |
1274
| + \global\setbox\fm@box=\vbox\bgroup
|
| |
1275
| + \hsize=\textwidth
|
| |
1276
| + \frontmatter@style}
|
| |
1277
| +
|
| |
1278
| +\def\close@fm{%
|
| |
1279
| + \par \egroup
|
| |
1280
| + \fm@size=\dp\fm@box \advance\fm@size by \ht\fm@box
|
| |
1281
| + \@whiledim\fm@size>\t@xtheight \do{%
|
| |
1282
| + \global\setbox\@tempboxa=\vsplit\fm@box to \t@xtheight
|
| |
1283
| + \unvbox\@tempboxa
|
| |
1284
| + \fm@size=\dp\fm@box \advance\fm@size by \ht\fm@box}
|
| |
1285
| + \if@twocolumn
|
| |
1286
| + \emergencystretch=1pc \twocolumn[\unvbox\fm@box]
|
| |
1287
| + \else
|
| |
1288
| + \unvbox\fm@box
|
| |
1289
| + \fi}
|
| |
1290
| +
|
| |
1291
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DOCHEAD
|
| |
1292
| +\def\dochead#1{%
|
| |
1293
| + \bgroup
|
| |
1294
| + \dochead@size
|
| |
1295
| + \leavevmode\vphantom{\strut}\dochead@case{#1}\par
|
| |
1296
| + \egroup
|
| |
1297
| + \setattribute{title}{skip}{8\p@}}
|
| |
1298
| +
|
| |
1299
| +
|
| |
1300
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TITLE
|
| |
1301
| +\def\title#1{%
|
| |
1302
| + \vglue\title@skip%
|
| |
1303
| +% check if we are in {frontmatter}
|
| |
1304
| + \def\reserved@a{frontmatter}
|
| |
1305
| + \ifx\reserved@a\@currenvir \else \hy@frontmatter\fi
|
| |
1306
| + \bgroup%
|
| |
1307
| + \no@harm%
|
| |
1308
| + \let\protect\relax%
|
| |
1309
| + \xdef\@argi{#1}%
|
| |
1310
| + \xdef\@title{#1}%
|
| |
1311
| + \egroup%
|
| |
1312
| + \write@pdfinfo{\hy@title}{\@argi}
|
| |
1313
| + \if@supertoc%
|
| |
1314
| + \addtocontents{toc}{\protect\contentsline{title}{\@argi}{\thepage}{}}%
|
| |
1315
| + \fi%
|
| |
1316
| + \bgroup%
|
| |
1317
| + \title@style\title@size\title@case{#1}\par%
|
| |
1318
| + \egroup}
|
| |
1319
| +
|
| |
1320
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ATLTITLE
|
| |
1321
| +
|
| |
1322
| +\def\atltitle#1{%
|
| |
1323
| + \vglue\atltitle@skip%
|
| |
1324
| + \bgroup
|
| |
1325
| + \title@size #1\par%
|
| |
1326
| + \egroup}
|
| |
1327
| +
|
| |
1328
| +
|
| |
1329
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% AUTHOR
|
| |
1330
| +
|
| |
1331
| +% AUG - author block
|
| |
1332
| +\def\smart@par{\ifhmode\par\fi}
|
| |
1333
| +\newenvironment{aug}{}{\smart@par}
|
| |
1334
| +
|
| |
1335
| +
|
| |
1336
| +\def\and{\unskip~and~}
|
| |
1337
| +
|
| |
1338
| +\def\author{\@ifnextchar[{\author@fmt}{\author@fmt[]}}
|
| |
1339
| +
|
| |
1340
| +\def\author@fmt[#1]#2{%
|
| |
1341
| + \stepcounter{author}%
|
| |
1342
| + \author@fmt@init%
|
| |
1343
| + \let\author@fmt@init\relax%
|
| |
1344
| + \bgroup%
|
| |
1345
| + \def\degs##1{##1}\def\fnms##1{##1}\def\inits##1{##1}\def\snm##1{##1}\def\roles##1{##1}%
|
| |
1346
| + \@tempcnta=\author@num\relax%
|
| |
1347
| + \ifnum\c@author=\@tempcnta \def\author@sep{ and }\else \def\author@sep{, }\fi%
|
| |
1348
| + \ifnum\c@author=1\addto@authors@list{#2}\else\addto@authors@list{\author@sep #2}\fi%
|
| |
1349
| + \def\fnms##1{{\fnms@size{##1}}}\def\snm##1{\snm@size{##1}}%
|
| |
1350
| + \noindent#2\thanksref{#1}%
|
| |
1351
| + \egroup}
|
| |
1352
| +
|
| |
1353
| +\def\author@fmt@init{%
|
| |
1354
| + \vskip\authors@skip%
|
| |
1355
| + \noindent\leavevmode\author@style\author@size\author@prefix }
|
| |
1356
| +
|
| |
1357
| +\let\author@fmt@init@def\author@fmt@init
|
| |
1358
| +
|
| |
1359
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DEDICATED
|
| |
1360
| +\def\dedicated#1{%
|
| |
1361
| + \vskip\dedicated@skip
|
| |
1362
| + \bgroup
|
| |
1363
| + \dedicated@size #1\par
|
| |
1364
| + \egroup}
|
| |
1365
| +
|
| |
1366
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ADDRESS
|
| |
1367
| +\def\address{\@ifnextchar[{\address@fmt}{\address@fmt[]}}
|
| |
1368
| +
|
| |
1369
| +\def\address@fmt[#1]#2{%
|
| |
1370
| + \smart@par%
|
| |
1371
| + \let\author@fmt@init\author@fmt@init@def
|
| |
1372
| + \vskip\address@skip%
|
| |
1373
| + {\address@style\address@size\leavevmode\ifx.#1.\else\usethankscounter{addressref}\thanksmark{#1}\restorethankscounter\fi#2\par}}
|
| |
1374
| +
|
| |
1375
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% AFFILIATION
|
| |
1376
| +
|
| |
1377
| +\def\affiliation{\@ifnextchar[{\affiliation@fmt}{\affiliation@fmt[]}}
|
| |
1378
| +
|
| |
1379
| +\def\affiliation@fmt[#1]#2{%
|
| |
1380
| + \smart@par%
|
| |
1381
| + \let\author@fmt@init\author@fmt@init@def%
|
| |
1382
| + \vskip\affiliation@skip%
|
| |
1383
| + \def\affiliation@skip{\z@}%
|
| |
1384
| + \bgroup
|
| |
1385
| + \affiliation@size%
|
| |
1386
| + \leavevmode%
|
| |
1387
| + \ifx.#1.\else\usethankscounter{addressref}\thanksmark{#1}\restorethankscounter\fi%
|
| |
1388
| + #2\par
|
| |
1389
| + \egroup
|
| |
1390
| +}
|
| |
1391
| +
|
| |
1392
| +
|
| |
1393
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CONTRIBUTOR
|
| |
1394
| +% For LNMS we must write as index entry:
|
| |
1395
| +% \contributor{Author, F.}{University}
|
| |
1396
| +% \indexentry{Author, F., \textit {Some University}}{}
|
| |
1397
| +
|
| |
1398
| +\let\contributor\@gobbletwo
|
| |
1399
| +\if@supertoc
|
| |
1400
| + \def\contributor#1#2{%
|
| |
1401
| + \addtocontents{idx}{\protect\indexentry{#1, \protect\textit{#2}}{}}%
|
| |
1402
| + }
|
| |
1403
| +\fi
|
| |
1404
| +
|
| |
1405
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% COPYRIGHTOWNER
|
| |
1406
| +
|
| |
1407
| +\def\copyright@fmt{%
|
| |
1408
| + \@ifundefined{\copyrightowner@text}{}{\safe@footnotetext{\copyright@owner}}
|
| |
1409
| + }
|
| |
1410
| +
|
| |
1411
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ABSTRACT
|
| |
1412
| +
|
| |
1413
| +\newbox\abstract@box
|
| |
1414
| +
|
| |
1415
| +\define@key{abstract}{language}{\set@loc@hyphenation{#1}\set@loc@abstractname{#1}}
|
| |
1416
| +
|
| |
1417
| +\gdef\abstract{\@ifnextchar[{\@abstract}{\@abstract[]}}
|
| |
1418
| +
|
| |
1419
| +\def\@abstract[#1]{%
|
| |
1420
| + \setkeys{abstract}{#1}%
|
| |
1421
| + \global\setbox\abstract@box=\vbox\bgroup%
|
| |
1422
| + \ifvoid\abstract@box\else%
|
| |
1423
| + \unvbox\abstract@box%
|
| |
1424
| + \vskip\abstract@skip%
|
| |
1425
| + \fi%
|
| |
1426
| + \@tempdima\textwidth%
|
| |
1427
| + \advance\@tempdima by-\abstract@width%
|
| |
1428
| + \divide\@tempdima by2%
|
| |
1429
| + \abstract@style%
|
| |
1430
| + \leftskip\@tempdima\rightskip\@tempdima%
|
| |
1431
| + \abstract@size%
|
| |
1432
| + \parindent\sv@parindent%
|
| |
1433
| + \noindent\hskip\abstract@indent{\abstractname@size\abstractname\abstractname@skip}\ignorespaces}
|
| |
1434
| +
|
| |
1435
| +\def\endabstract{\par\egroup}
|
| |
1436
| +
|
| |
1437
| +\def\abstract@fmt{%
|
| |
1438
| + \ifvoid\abstract@box\else
|
| |
1439
| + \vskip\abstract@skip%
|
| |
1440
| + \unvbox\abstract@box
|
| |
1441
| + \fi}
|
| |
1442
| +
|
| |
1443
| +\def\set@loc@hyphenation#1{%
|
| |
1444
| + \@ifundefined{l@#1}{}{\expandafter\language\csname l@#1\endcsname}}
|
| |
1445
| +
|
| |
1446
| +\def\set@loc@abstractname#1{%
|
| |
1447
| + \def\abstractname@english{Abstract}
|
| |
1448
| + \def\abstractname@german{Zusammenfassung}
|
| |
1449
| + \def\abstractname@french{R\'esum\'e}
|
| |
1450
| + \def\abstractname@spanish{Resumen.}
|
| |
1451
| + \@ifundefined{abstractname@#1}%
|
| |
1452
| + {\@latex@error{Nera kalbos '#1` palaikymo!}{}}%
|
| |
1453
| + {\edef\abstractname{\csname abstractname@#1\endcsname}}%
|
| |
1454
| +}
|
| |
1455
| +
|
| |
1456
| +
|
| |
1457
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% HISTORY: received, revised, accepted
|
| |
1458
| +
|
| |
1459
| +\def\history@exist{0}
|
| |
1460
| +
|
| |
1461
| +\def\received#1{\def\@tempa{#1}\ifx\@tempa\@empty\else\gdef\@received{#1}\gdef\history@exist{1}\fi}
|
| |
1462
| + \def\@received{\@nil}
|
| |
1463
| +\def\revised#1{\def\@tempa{#1}\ifx\@tempa\@empty\else\gdef\@revised{#1}\gdef\history@exist{1}\fi}
|
| |
1464
| + \def\@revised{\@nil}
|
| |
1465
| +\def\accepted#1{\def\@tempa{#1}\ifx\@tempa\@empty\else\gdef\@accepted{#1}\gdef\history@exist{1}\fi}
|
| |
1466
| + \def\@accepted{\@nil}
|
| |
1467
| +
|
| |
1468
| +\def\empty@data{\@nil}
|
| |
1469
| +
|
| |
1470
| +\def\history@fmt{%
|
| |
1471
| + \ifcase\history@exist\else%
|
| |
1472
| + \bgroup
|
| |
1473
| + \nobreak%
|
| |
1474
| + \vskip\history@skip%
|
| |
1475
| + \nobreak%
|
| |
1476
| + \history@style%
|
| |
1477
| + \history@size%
|
| |
1478
| + \@tempdima\textwidth%
|
| |
1479
| + \advance\@tempdima by-\history@width%
|
| |
1480
| + \divide\@tempdima by2%
|
| |
1481
| + \leftskip\@tempdima
|
| |
1482
| + \rightskip\@tempdima
|
| |
1483
| + \leavevmode
|
| |
1484
| + \history@prefix
|
| |
1485
| + \ifx\@received\empty@data \else
|
| |
1486
| + \received@prefix\@received \received@postfix%
|
| |
1487
| + \fi
|
| |
1488
| + \ifx\@revised\empty@data \else
|
| |
1489
| + \revised@prefix\@revised \revised@postfix%
|
| |
1490
| + \fi
|
| |
1491
| + \ifx\@accepted\empty@data \else
|
| |
1492
| + \accepted@prefix\@accepted \accepted@postfix%
|
| |
1493
| + \fi
|
| |
1494
| + \history@postfix\par%
|
| |
1495
| + \egroup%
|
| |
1496
| + \gdef\history@exist{0}
|
| |
1497
| +\fi
|
| |
1498
| +}
|
| |
1499
| +
|
| |
1500
| +\def\sday#1{#1}
|
| |
1501
| +\def\smonth#1{\@ifundefined{month@item@#1}%
|
| |
1502
| + {\@latex@error{Nera tokio menesio, kurio numeris #1!}{??}}%
|
| |
1503
| + {\getitemvalue{month}{#1}}%
|
| |
1504
| + }%
|
| |
1505
| +\def\syear#1{#1}
|
| |
1506
| +\setvaluelist{month}{January,February,March,April,May,June,July,August,September,October,November,December}
|
| |
1507
| +
|
| |
1508
| +
|
| |
1509
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% KEYWORDS
|
| |
1510
| +
|
| |
1511
| +\newbox\keyword@box
|
| |
1512
| +\newdimen\pre@kwd@depth
|
| |
1513
| +
|
| |
1514
| +\setattribute{keyword}{AMS}{AMS 2000 subject classifications:}
|
| |
1515
| +\setattribute{keyword}{KWD}{Keywords and phrases:}
|
| |
1516
| +% raktas=class
|
| |
1517
| +\setattribute[default]{keyword}{class}{KWD}
|
| |
1518
| +
|
| |
1519
| +% \keyword@class-> KWD
|
| |
1520
| +% \keyword@KWD -> AMS 2000...
|
| |
1521
| +
|
| |
1522
| +\gdef\keyword{\@ifnextchar[{\@keyword}{\@keyword[class=KWD]}}
|
| |
1523
| +
|
| |
1524
| +\gdef\@keyword[#1]{%
|
| |
1525
| + \do@option@list{keyword}{#1}%
|
| |
1526
| + \def\keyword@name{\csname keyword@\keyword@class\endcsname}%
|
| |
1527
| + \let\kwd@sep\relax
|
| |
1528
| +%
|
| |
1529
| + \global\setbox\keyword@box=\vbox\bgroup%
|
| |
1530
| + \ifvoid\keyword@box\else%
|
| |
1531
| + \unvbox\keyword@box
|
| |
1532
| + \vskip-\pre@kwd@depth\vtop to\pre@kwd@depth{}%
|
| |
1533
| + \fi
|
| |
1534
| + \@tempdima\textwidth%
|
| |
1535
| + \advance\@tempdima by-\keyword@width%
|
| |
1536
| + \divide\@tempdima by2%
|
| |
1537
| + \keyword@style%
|
| |
1538
| + \leftskip\@tempdima\rightskip\@tempdima%
|
| |
1539
| + \keyword@size%
|
| |
1540
| + \parindent\sv@parindent%
|
| |
1541
| + \noindent\hskip\keyword@indent{\keywordname@size\keyword@name}\space\hskip.1pt}
|
| |
1542
| +
|
| |
1543
| +\def\endkeyword{\keyword@postfix\par\global\pre@kwd@depth\prevdepth\egroup}
|
| |
1544
| +
|
| |
1545
| +\def\keyword@fmt{%
|
| |
1546
| + \ifvoid\keyword@box\else
|
| |
1547
| + \vskip\keyword@skip%
|
| |
1548
| + \unvbox\keyword@box
|
| |
1549
| + \fi}
|
| |
1550
| +
|
| |
1551
| +
|
| |
1552
| +% \kwd[; ]{foo}
|
| |
1553
| + \def\sep{\unskip\string, }%
|
| |
1554
| +
|
| |
1555
| + \DeclareRobustCommand*\kwd{\@ifnextchar[\@kwd{\@kwd[\kwd@sep]}}%
|
| |
1556
| + \def\@kwd[#1]#2{\unskip#1{#2}\addto@keywords@list{#2, }\let\kwd@sep\sep}%
|
| |
1557
| +
|
| |
1558
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \maketitle
|
| |
1559
| +% if \frontmatter is not used, we will redefine \maketitle
|
| |
1560
| +
|
| |
1561
| +\def\local@maketitle{%
|
| |
1562
| + \global\@topnum\z@
|
| |
1563
| + \set@pagerange
|
| |
1564
| + \markboth{\@runauthor}{\@runtitle}%
|
| |
1565
| + \thispagestyle{copyright}%
|
| |
1566
| +%
|
| |
1567
| + \put@fmt@data%
|
| |
1568
| +%
|
| |
1569
| +% \print@titlepage
|
| |
1570
| +%
|
| |
1571
| + \write@pdfinfo{\hy@author}{\the\authors@list}
|
| |
1572
| + \write@pdfinfo{\hy@keywords}{\the\keywords@list}
|
| |
1573
| + \hy@endfrontmatter
|
| |
1574
| + \global\mathsurround\sv@mathsurround
|
| |
1575
| + \global\c@footnote\z@
|
| |
1576
| + \global\let\@thanks\@empty
|
| |
1577
| + \let\title\relax
|
| |
1578
| + \let\author\relax
|
| |
1579
| + \let\address\relax
|
| |
1580
| + \let\frontmatter\relax \let\endfrontmatter\relax
|
| |
1581
| + \let\@maketitle\relax \let\@@maketitle\relax
|
| |
1582
| + \normalfont\normaltext
|
| |
1583
| + \parindent\sv@parindent
|
| |
1584
| + \frontmatter@cmd
|
| |
1585
| + }
|
| |
1586
| +
|
| |
1587
| +\AtBeginDocument{\let\maketitle\local@maketitle}
|
| |
1588
| +
|
| |
1589
| +
|
| |
1590
| +
|
| |
1591
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PROCESS LAYOUT OPTIONS
|
| |
1592
| +
|
| |
1593
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Put keywords as footnote
|
| |
1594
| +\if@keywordsasfootnote
|
| |
1595
| +
|
| |
1596
| + \newtoks\keyword@toks
|
| |
1597
| +
|
| |
1598
| + \newpseudoenvironment{keyword}{\gdef\keyword@exist{1}\get@keyword@toks}{}
|
| |
1599
| +
|
| |
1600
| + \def\get@keyword@toks#1\end{\keyword@toks=\expandafter{\the\keyword@toks\keyword#1\endkeyword}\@gobble}
|
| |
1601
| +
|
| |
1602
| + \def\keyword@exist{0}
|
| |
1603
| +
|
| |
1604
| + \gdef\keyword#1{\@ifnextchar[{\@keyword}{\@keyword[class=KWD]}}
|
| |
1605
| +
|
| |
1606
| + \gdef\@keyword[#1]{%
|
| |
1607
| + \do@option@list{keyword}{#1}%
|
| |
1608
| + \def\keyword@name{\csname keyword@\keyword@class\endcsname}%
|
| |
1609
| + \let\kwd@sep\relax%
|
| |
1610
| + \keyword@style%
|
| |
1611
| + \keyword@size%
|
| |
1612
| + \parindent\sv@parindent%
|
| |
1613
| + \pre@kwd%
|
| |
1614
| + \hbox{\keywordname@size\keyword@name}\space\hskip.1pt}%
|
| |
1615
| +
|
| |
1616
| + \gdef\endkeyword{\gdef\pre@kwd{\par\leavevmode}}
|
| |
1617
| +
|
| |
1618
| + \let\pre@kwd\relax
|
| |
1619
| +
|
| |
1620
| + \def\keyword@fmt{\ifcase\keyword@exist\else\safe@footnotetext{\the\keyword@toks}\fi}
|
| |
1621
| +
|
| |
1622
| +\fi
|
| |
1623
| +
|
| |
1624
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Put history as footnote
|
| |
1625
| +\if@historyasfootnote
|
| |
1626
| +
|
| |
1627
| + \def\history@fmt{%
|
| |
1628
| + \ifcase\history@exist\else%
|
| |
1629
| + \safe@footnotetext{%
|
| |
1630
| + \nobreak%
|
| |
1631
| + \history@style%
|
| |
1632
| + \history@size%
|
| |
1633
| + \leavevmode
|
| |
1634
| + \history@prefix
|
| |
1635
| + \ifx\@received\empty@data \else
|
| |
1636
| + \received@prefix\@received \received@postfix%
|
| |
1637
| + \fi
|
| |
1638
| + \ifx\@revised\empty@data \else
|
| |
1639
| + \revised@prefix\@revised \revised@postfix%
|
| |
1640
| + \fi
|
| |
1641
| + \ifx\@accepted\empty@data \else
|
| |
1642
| + \accepted@prefix\@accepted \accepted@postfix%
|
| |
1643
| + \fi
|
| |
1644
| + \history@postfix}%\par}%
|
| |
1645
| + \fi}
|
| |
1646
| +
|
| |
1647
| +
|
| |
1648
| +
|
| |
1649
| +
|
| |
1650
| +
|
| |
1651
| +\fi
|
| |
1652
| +
|
| |
1653
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Put address as footnote
|
| |
1654
| +\if@addressasfootnote
|
| |
1655
| + \def\address@fmt[#1]#2{%
|
| |
1656
| + \ifx.#1.%
|
| |
1657
| + \safe@footnotetext{#2}
|
| |
1658
| + \else%
|
| |
1659
| + \usethankscounter{addressref}%
|
| |
1660
| + \bgroup
|
| |
1661
| + \def\\{\hfill\break}
|
| |
1662
| + \thankstext{#1}{#2}%
|
| |
1663
| + \egroup
|
| |
1664
| + \restorethankscounter%
|
| |
1665
| + \fi%
|
| |
1666
| + }
|
| |
1667
| +\fi
|
| |
1668
| +
|
| |
1669
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Put address at end
|
| |
1670
| +\if@addressatend
|
| |
1671
| +\def\address{\@ifnextchar[{\address@fmt}{\address@fmt[default]}}
|
| |
1672
| +%
|
| |
1673
| +% \def\address@ref@A=1
|
| |
1674
| +% \newtoks\@address@1
|
| |
1675
| +% \@address@1={#2}
|
| |
1676
| +%
|
| |
1677
| +\def\address@fmt[#1]#2{%
|
| |
1678
| + \stepcounter{address}%
|
| |
1679
| + \expandafter\protected@xdef\csname address@ref@#1\endcsname{\the\c@address}%
|
| |
1680
| + \expandafter\newtoks\csname @address@\the\c@address\endcsname
|
| |
1681
| + \expandafter\expandafter\expandafter\global\csname @address@\the\c@address\endcsname={#2}}
|
| |
1682
| +
|
| |
1683
| +\let\safe@phantomsection\@gobble
|
| |
1684
| +
|
| |
1685
| +% print address by number: \printaddressnum{1}
|
| |
1686
| +\def\printaddressnum#1{%
|
| |
1687
| +\xdef\@tmp{#1}%
|
| |
1688
| +\bgroup
|
| |
1689
| +\@ifundefined{@address@#1}{\@latex@error{Error: there are no address with number '#1'!}{??}}{
|
| |
1690
| + \address@size
|
| |
1691
| + \ifnum#1=1%
|
| |
1692
| + \safe@phantomsection{\addcontentsline{toc}{section}{Author's addresses}}%
|
| |
1693
| + \fi%
|
| |
1694
| + \begin{tabular}[t]{@{}l@{}}
|
| |
1695
| + \expandafter\expandafter\expandafter\the\csname @address@\@tmp\endcsname
|
| |
1696
| + \end{tabular}}
|
| |
1697
| +\egroup
|
| |
1698
| +}
|
| |
1699
| +
|
| |
1700
| +% print all addresses:
|
| |
1701
| +\def\address@par{\par\vskip3pt}
|
| |
1702
| +
|
| |
1703
| +\def\printaddresses{%
|
| |
1704
| +\vskip\address@skip%
|
| |
1705
| +%\addcontentsline{toc}{section}{Author's addresses}%
|
| |
1706
| +\def\last@right@glue{\par}%
|
| |
1707
| +\ifodd\c@address \def\last@right@glue{\hfill\hbox{}\address@par} \fi%
|
| |
1708
| +\ifnum\c@address=1 \def\last@right@glue{\address@par}\fi%
|
| |
1709
| +\@tempcnta=0%
|
| |
1710
| +\bgroup\parindent\z@
|
| |
1711
| +\@whilenum{\@tempcnta<\c@address}%
|
| |
1712
| + \do{%
|
| |
1713
| + \advance\@tempcnta\@ne
|
| |
1714
| + \ifodd\@tempcnta \def\left@glue{} \def\right@glue{} % nelyginis
|
| |
1715
| + \else \def\left@glue{\hfill} \def\right@glue{\address@par}\fi % lyginis
|
| |
1716
| + \ifnum\@tempcnta=\c@address \let\left@glue\hfill \let\right@glue\last@right@glue\fi %paskutinis narys
|
| |
1717
| + \left@glue\expandafter\printaddressnum{\the\@tempcnta}\right@glue%
|
| |
1718
| + }
|
| |
1719
| +\egroup
|
| |
1720
| +}
|
| |
1721
| +
|
| |
1722
| +% invoke \printaddresses at end of document:
|
| |
1723
| +\let\old@enddocument\enddocument
|
| |
1724
| +\def\enddocument{\printaddresses\old@enddocument}
|
| |
1725
| +
|
| |
1726
| +\fi
|
| |
1727
| +
|
| |
1728
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Set up parameters for the IMS journals (AOP, AAP, AOS) layout:
|
| |
1729
| +\if@imslayout
|
| |
1730
| +
|
| |
1731
| + \setattribute{title} {skip} {12\p@}
|
| |
1732
| + \setattribute{abstractname}{skip} {}
|
| |
1733
| + \setattribute{frontmatter} {cmd} {\vskip20\p@ plus 3\p@ minus 3\p@}
|
| |
1734
| +
|
| |
1735
| + \setattribute{abstract} {width} {23pc}
|
| |
1736
| + \setattribute{abstract} {indent} {16pt} %2em
|
| |
1737
| +
|
| |
1738
| + \setattribute{title} {size} {\normalsize\bfseries\mathversion{bold}\spaceskip.5em}
|
| |
1739
| + \setattribute{author} {size} {\normalsize\scshape}
|
| |
1740
| + \setattribute{affiliation}{size} {\normalsize\itshape}
|
| |
1741
| + \setattribute{address} {size} {\scriptsize\scshape}
|
| |
1742
| + \setattribute{ead} {size} {\upshape}
|
| |
1743
| + \setattribute{abstractname}{size}{\itshape}
|
| |
1744
| + \setattribute{keywordname}{size} {\itshape}
|
| |
1745
| + \setattribute{runninghead}{size} {\footnotesize}
|
| |
1746
| + \setattribute{pagenumber} {size} {\small}
|
| |
1747
| + \setattribute{copyright} {size} {\fontsize{6}{7}\selectfont\raggedright}
|
| |
1748
| + \setattribute{thebibliography}{size}{\footnotesize}
|
| |
1749
| +
|
| |
1750
| + \setattribute{dochead} {case} {\MakeUppercase}
|
| |
1751
| + \setattribute{title} {case} {\MakeUppercase}
|
| |
1752
| + \setattribute{runninghead}{case} {\MakeUppercase}
|
| |
1753
| +
|
| |
1754
| + \setattribute{author} {prefix} {By~}
|
| |
1755
| +
|
| |
1756
| + \setattribute{copyright} {text} {\url@fmt{}{\itshape}{\journal@name}{\journal@url}\break%
|
| |
1757
| + \@ifnonempty{\@copyrightyear\@volume\@issue\@pagerange\break}%
|
| |
1758
| + \doi@text}
|
| |
1759
| +
|
| |
1760
| + \setattribute{email} {text} {E-mail: }
|
| |
1761
| + \setattribute{url} {text} {URL: }
|
| |
1762
| + \setattribute{fullurl} {text} {URL: }
|
| |
1763
| + \def\volume#1{\gdef\@volume{Vol. #1, }}
|
| |
1764
| + \def\issue#1 {\gdef\@issue{No. #1, }}
|
| |
1765
| + \def\pubyear#1{\gdef\@pubyear{#1,}\gdef\@copyrightyear{#1 }}
|
| |
1766
| +
|
| |
1767
| + \def\abstractname{}
|
| |
1768
| +
|
| |
1769
| + \def\put@fmt@data{%
|
| |
1770
| + \copyright@fmt%
|
| |
1771
| + \history@fmt
|
| |
1772
| + \@thanks%
|
| |
1773
| + \keyword@fmt%
|
| |
1774
| + \abstract@fmt%
|
| |
1775
| + }
|
| |
1776
| +
|
| |
1777
| + \def\contentsname@cmd{\specialsection*{\contentsname}}
|
| |
1778
| +
|
| |
1779
| +\fi
|
| |
1780
| +
|
| |
1781
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Set up parameters for the STS journal layout:
|
| |
1782
| +
|
| |
1783
| +\if@stslayout
|
| |
1784
| +
|
| |
1785
| + \setattribute{frontmatter} {style} {\raggedright}
|
| |
1786
| + \setattribute{title} {style} {\noindent\raggedright}
|
| |
1787
| + \setattribute{author} {style} {\noindent\raggedright}
|
| |
1788
| + \setattribute{address} {style} {\raggedright}
|
| |
1789
| +
|
| |
1790
| + \setattribute{title} {skip} {6\p@}
|
| |
1791
| + \setattribute{authors} {skip} {10pt}
|
| |
1792
| + \setattribute{address} {skip} {\z@}
|
| |
1793
| + \setattribute{abstract} {skip} {36\p@}
|
| |
1794
| + \setattribute{abstractname}{skip} {. }
|
| |
1795
| + \setattribute{keyword} {skip} {8\p@}
|
| |
1796
| +
|
| |
1797
| + \setattribute{abstract} {width} {28pc}
|
| |
1798
| + \setattribute{keyword} {width} {28pc}
|
| |
1799
| +
|
| |
1800
| + \setattribute{dochead} {size} {\sffamily\Large\fontseries{bx}\selectfont\spaceskip.5em}
|
| |
1801
| + \setattribute{title} {size} {\sffamily\fontseries{bx}\fontsize{24.88}{26}\selectfont\mathversion{bold}\spaceskip.5em}
|
| |
1802
| + \setattribute{author} {size} {\sffamily\large\fontseries{bx}\selectfont}
|
| |
1803
| + \setattribute{address} {size} {\normalfont\normalsize\itshape}
|
| |
1804
| + \setattribute{affiliation} {size} {\small\mdseries}
|
| |
1805
| + \setattribute{ead} {size} {}
|
| |
1806
| + \setattribute{abstract} {size} {\normalsize\mdseries\upshape}
|
| |
1807
| + \setattribute{abstractname} {size} {\itshape}
|
| |
1808
| + \setattribute{keyword} {size} {\normalsize\mdseries\upshape}
|
| |
1809
| + \setattribute{keywordname} {size} {\itshape}
|
| |
1810
| + \setattribute{thebibliography}{size} {\footnotesize}
|
| |
1811
| + \setattribute{copyright} {size} {\normalfont\mdseries\fontsize{6}{7}\selectfont\raggedright}
|
| |
1812
| + \setattribute{runninghead} {size} {\footnotesize}
|
| |
1813
| + \setattribute{runninghead} {case} {\MakeUppercase}
|
| |
1814
| + \setattribute{pagenumber} {size} {\small\bfseries}
|
| |
1815
| +
|
| |
1816
| + \setattribute{keyword} {KWD}{Key words and phrases:}
|
| |
1817
| +
|
| |
1818
| +% \printead:
|
| |
1819
| + \def\printead@fmt#1{(#1)}
|
| |
1820
| +
|
| |
1821
| +% all addresses are combined:
|
| |
1822
| + \newtoks\address@toks
|
| |
1823
| +
|
| |
1824
| + \def\address@exist{0}
|
| |
1825
| +
|
| |
1826
| + \def\address{\@ifnextchar[{\@address}{\@address[]}}
|
| |
1827
| +
|
| |
1828
| + \def\@address[#1]#2{
|
| |
1829
| + \gdef\address@exist{1}
|
| |
1830
| + \begingroup%
|
| |
1831
| + \no@harm%
|
| |
1832
| + \xdef\@act{\global\noexpand\address@toks{\the\address@toks#2\ }}\@act
|
| |
1833
| + \endgroup}
|
| |
1834
| +
|
| |
1835
| + \def\address@fmt{\ifcase\address@exist\else\safe@footnotetext{\hskip-\parindent\address@style\address@size\the\address@toks}\fi}
|
| |
1836
| +
|
| |
1837
| + \def\put@fmt@data{%
|
| |
1838
| + \copyright@fmt%
|
| |
1839
| + \address@fmt%
|
| |
1840
| + \@thanks%
|
| |
1841
| + \abstract@fmt%
|
| |
1842
| + \keyword@fmt%
|
| |
1843
| + \if@twocolumn%
|
| |
1844
| + \frontmatter@cmd%
|
| |
1845
| + \fi}
|
| |
1846
| +
|
| |
1847
| + \def\firstpage@cmd{%
|
| |
1848
| + \if@twocolumn
|
| |
1849
| + \markboth{\@runauthor}{\@runtitle}%
|
| |
1850
| + \address@fmt%
|
| |
1851
| + \@thanks
|
| |
1852
| + \fi}
|
| |
1853
| +
|
| |
1854
| +\fi
|
| |
1855
| +
|
| |
1856
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Set up parameters for the BJ journal layout:
|
| |
1857
| +
|
| |
1858
| +\if@bjlayout
|
| |
1859
| +
|
| |
1860
| + \setattribute{frontmatter} {style} {\raggedright}
|
| |
1861
| + \setattribute{title} {style} {\noindent\raggedright}
|
| |
1862
| + \setattribute{author} {style} {\noindent\raggedright}
|
| |
1863
| + \setattribute{address} {style} {\raggedright}
|
| |
1864
| +
|
| |
1865
| + \setattribute{title} {skip} {10\p@}
|
| |
1866
| + \setattribute{abstract} {skip} {16\p@}
|
| |
1867
| + \setattribute{abstractname}{skip} {}
|
| |
1868
| +
|
| |
1869
| + \setattribute{abstract} {width} {\textwidth}
|
| |
1870
| + \setattribute{keyword} {width} {\textwidth}
|
| |
1871
| + \setattribute{history} {width} {\textwidth}
|
| |
1872
| +
|
| |
1873
| + \setattribute{dochead} {size} {\normalsize\MakeUppercase}
|
| |
1874
| + \setattribute{title} {size} {\fontsize{21}{26}\selectfont}
|
| |
1875
| + \setattribute{author} {size} {\normalsize}
|
| |
1876
| + \setattribute{fnms} {size} {\uppercase}
|
| |
1877
| + \setattribute{snm} {size} {\uppercase}
|
| |
1878
| +
|
| |
1879
| + \setattribute{address} {size} {\small\itshape}
|
| |
1880
| + \setattribute{abstract} {size} {\small\upshape}
|
| |
1881
| + \setattribute{keyword} {size} {\small\upshape}
|
| |
1882
| + \setattribute{keywordname}{size} {\itshape}
|
| |
1883
| + \setattribute{history} {size} {\raggedright\small\itshape}
|
| |
1884
| +
|
| |
1885
| + \setattribute{runninghead}{size} {\normalsize\itshape}
|
| |
1886
| + \setattribute{pagenumber} {size} {\normalsize\upshape}
|
| |
1887
| + \setattribute{copyright} {size} {\normalsize}
|
| |
1888
| + \setattribute{footline} {size} {\footnotesize}
|
| |
1889
| +
|
| |
1890
| + \setattribute{email} {text} {E-mail:~}
|
| |
1891
| + \setattribute{copyright} {text} {\url@fmt{}{\itshape}{\journal@name}{\journal@url}\ \textbf{\@volume}\@issue\@pubyear\ \@pagerange\\
|
| |
1892
| + \doi@text}
|
| |
1893
| + \setattribute{history} {postfix} {}
|
| |
1894
| + \setattribute{revised} {prefix} { and revised~}
|
| |
1895
| +
|
| |
1896
| + \setattribute{keyword}{KWD}{Keywords:}
|
| |
1897
| +
|
| |
1898
| + \def\put@fmt@data{%
|
| |
1899
| + \copyright@fmt%
|
| |
1900
| + \@thanks%
|
| |
1901
| + \abstract@fmt%
|
| |
1902
| + \keyword@fmt%
|
| |
1903
| + \tableofcontents@fmt}
|
| |
1904
| +
|
| |
1905
| + % invoke \printhistory at end of document:
|
| |
1906
| + \let\old@enddocument\enddocument
|
| |
1907
| + \def\enddocument{\history@fmt\old@enddocument}
|
| |
1908
| +
|
| |
1909
| + \def\volume#1{\gdef\@volume{#1}}
|
| |
1910
| + \def\issue#1{\gdef\@issue{(#1)}}
|
| |
1911
| + \def\pubyear#1{\gdef\@pubyear{, #1, }\gdef\@copyrightyear{, #1, }}
|
| |
1912
| +
|
| |
1913
| + \def\abstractname{}
|
| |
1914
| +
|
| |
1915
| + \def\evenhead@fmt#1{\hfill#1}
|
| |
1916
| + \def\oddhead@fmt#1{#1\hfill}
|
| |
1917
| +
|
| |
1918
| + \def\fnum@table{\tablename~\thetable.}
|
| |
1919
| +
|
| |
1920
| + \long\def\@maketablecaption#1#2{%
|
| |
1921
| + \centering\footnotesize
|
| |
1922
| + \textbf{#1}\enskip #2\par
|
| |
1923
| + \vskip\belowcaptionskip}
|
| |
1924
| +
|
| |
1925
| + \renewcommand\figurename{Figure}
|
| |
1926
| +
|
| |
1927
| + \long\def\@makecaption#1#2{%
|
| |
1928
| + \vskip\abovecaptionskip
|
| |
1929
| + \footnotesize
|
| |
1930
| + \textbf{#1}. #2\par
|
| |
1931
| + \vskip\belowcaptionskip}
|
| |
1932
| +
|
| |
1933
| +
|
| |
1934
| +\fi
|
| |
1935
| +
|
| |
1936
| +
|
| |
1937
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Set up parameters for the AIHP journal layout:
|
| |
1938
| +
|
| |
1939
| +\if@aihplayout
|
| |
1940
| +
|
| |
1941
| + % FRONT MATTER SKIPS
|
| |
1942
| + \setattribute{title} {skip} {64\p@}
|
| |
1943
| + \setattribute{authors} {skip} {14\p@}
|
| |
1944
| + \setattribute{address} {skip} {12\p@}
|
| |
1945
| + \setattribute{abstractname}{skip} {.\enskip}
|
| |
1946
| + \setattribute{history} {skip} {4\p@}
|
| |
1947
| + \setattribute{abstract} {skip} {16\p@}
|
| |
1948
| +
|
| |
1949
| + \setattribute{fline} {cmd} {\vskip22\p@
|
| |
1950
| + \hrule}
|
| |
1951
| + \setattribute{lline} {cmd} {\vskip10\p@
|
| |
1952
| + \hrule}
|
| |
1953
| +
|
| |
1954
| + % FRONT MATTER DIMENSIONS
|
| |
1955
| + \setattribute{abstract} {width} {\textwidth}
|
| |
1956
| + \setattribute{abstract} {indent} {\z@}
|
| |
1957
| + \setattribute{keyword} {width} {\textwidth}
|
| |
1958
| + \setattribute{keyword} {indent} {\z@} %
|
| |
1959
| +
|
| |
1960
| + % FRONT MATTER FONTS
|
| |
1961
| + \setattribute{title} {size} {\huge}
|
| |
1962
| + \setattribute{author} {size} {\Large}
|
| |
1963
| + \setattribute{abstract} {size} {\small\upshape}
|
| |
1964
| + \setattribute{keywordname}{size} {\itshape}
|
| |
1965
| + \setattribute{thebibliography}{size}{\footnotesize}
|
| |
1966
| +
|
| |
1967
| + \def\put@fmt@data{%
|
| |
1968
| + \copyright@fmt%
|
| |
1969
| + \@thanks%
|
| |
1970
| + \history@fmt
|
| |
1971
| + \fline@cmd%
|
| |
1972
| + \abstract@fmt%
|
| |
1973
| + \keyword@fmt%
|
| |
1974
| + \lline@cmd%
|
| |
1975
| + \tableofcontents@fmt}
|
| |
1976
| +
|
| |
1977
| + \setattribute{keyword}{KWD}{Keywords:}
|
| |
1978
| + \setattribute{email}{text}{E-mail: }
|
| |
1979
| +
|
| |
1980
| + \def\theaddressref{\alph{addressref}}
|
| |
1981
| +
|
| |
1982
| +\fi
|
| |
1983
| +
|
| |
1984
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Set up parameters for the BJPS journal layout:
|
| |
1985
| +
|
| |
1986
| +\if@bjpslayout
|
| |
1987
| +
|
| |
1988
| + \setattribute{keyword}{AMS}{AMS 2000 subject classifications.}
|
| |
1989
| + \setattribute{keyword}{KWD}{Keywords and phrases.}
|
| |
1990
| +
|
| |
1991
| + \setattribute{abstractname}{skip} {.\enskip}
|
| |
1992
| +
|
| |
1993
| + \setattribute{title} {size} {\Large\bfseries\mathversion{bold}}
|
| |
1994
| + \setattribute{address} {size} {\scriptsize}
|
| |
1995
| + \setattribute{keywordname}{size} {\itshape}
|
| |
1996
| + \setattribute{runninghead}{size} {\footnotesize}
|
| |
1997
| + \setattribute{pagenumber} {size} {\small}
|
| |
1998
| + \setattribute{thebibliography}{size}{\footnotesize}
|
| |
1999
| +
|
| |
2000
| + \setattribute{copyright} {text} {\url@fmt{}{\itshape}{\journal@name}{\journal@url}\break%
|
| |
2001
| + \@ifnonempty{\@volume\@pubyear\@pagerange\break}%
|
| |
2002
| + \@ifnonempty{\journal@issn\break}%
|
| |
2003
| + \doi@text}%
|
| |
2004
| +
|
| |
2005
| + \setattribute{email} {text}{E-mail: }
|
| |
2006
| + \setattribute{url} {text}{URL: }
|
| |
2007
| + \setattribute{fullurl}{text}{URL: }
|
| |
2008
| +
|
| |
2009
| + \def\thethanks{\@arabic\c@thanks}
|
| |
2010
| + \def\theaddressref{\alph{addressref}}
|
| |
2011
| +
|
| |
2012
| +\fi
|
| |
2013
| +
|
| |
2014
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% smart \MR
|
| |
2015
| +%% code suggested by Vilmos Prokaj <prokaj@cs.elte.hu>
|
| |
2016
| +%% solves the problem when MR is in a format
|
| |
2017
| +%% \MR{MR1037262 (91i:60148)}
|
| |
2018
| +
|
| |
2019
| +% without MR this macro removes the MR prefix if it
|
| |
2020
| +% is present unchange the argument otherwise
|
| |
2021
| +\def\woMR#1{\w@MR#1MR#1MR\relax}%
|
| |
2022
| +\def\w@MR#1MR#2MR#3\relax{#2}
|
| |
2023
| +
|
| |
2024
| +% this splits MR... (...)
|
| |
2025
| +\def\@MR#1 #2\relax#3{%
|
| |
2026
| + \href{http://www.ams.org/mathscinet-getitem?mr=#1}%
|
| |
2027
| + {\MRfixed{#3}}}%
|
| |
2028
| +
|
| |
2029
| +\def\MRfixed{MR\woMR}%
|
| |
2030
| +
|
| |
2031
| +\let\MR\MRfixed
|
| |
2032
| +
|
| |
2033
| +
|
| |
2034
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% interaction with hyperref
|
| |
2035
| +
|
| |
2036
| +\def\test@hyperref{\@ifundefined{Hy@SetCatcodes}{}{\imsart@hyperref@settings}}
|
| |
2037
| +
|
| |
2038
| +\AtBeginDocument{\test@hyperref}
|
| |
2039
| +
|
| |
2040
| +\def\imsart@hyperref@settings{%
|
| |
2041
| +%
|
| |
2042
| +% hooks for the \thanksref, \thankstext:
|
| |
2043
| + \def\thankref@hyperlink##1{%
|
| |
2044
| + \edef\@tempx{##1thanks}%
|
| |
2045
| + \hbox{\hyperlink{##1}{\saferef{\@tempx}}}}
|
| |
2046
| + \def\thanks@hypertarget##1{\smash{\raise\baselineskip\hbox{\protect\hypertarget{##1}{}}}}
|
| |
2047
| +% redefine pagenumbering
|
| |
2048
| + \let\pagenumbering\ims@pagenumbering
|
| |
2049
| +% activate href
|
| |
2050
| + \let\ims@href\href%
|
| |
2051
| + \let\safe@phantomsection\phantomsection
|
| |
2052
| +% put document info
|
| |
2053
| + \def\write@pdfinfo##1##2{\protected@write\@auxout{\no@harm}{\string\gdef\string##1{##2}}}
|
| |
2054
| + \@ifundefined{hy@title}{}{\pdfstringdef\@pdftitle{\hy@title}}
|
| |
2055
| + \@ifundefined{hy@author}{}{\pdfstringdef\@pdfauthor{\hy@author}}
|
| |
2056
| + \@ifundefined{hy@subject}{}{\pdfstringdef\@pdfsubject{\hy@subject}}
|
| |
2057
| + \@ifundefined{hy@keywords}{}{\pdfstringdef\@pdfkeywords{\hy@keywords}}
|
| |
2058
| +%
|
| |
2059
| + \@ifundefined{user@hy@title}{}{\global\let\@pdftitle\user@hy@title}
|
| |
2060
| + \@ifundefined{user@hy@author}{}{\global\let\@pdfauthor\user@hy@author}
|
| |
2061
| + \@ifundefined{user@hy@subject}{}{\global\let\@pdfsubject\user@hy@subject}
|
| |
2062
| + \@ifundefined{user@hy@keywords}{}{\global\let\@pdfkeywords\user@hy@keywords}
|
| |
2063
| +%
|
| |
2064
| +% MathSciNet:
|
| |
2065
| +% \def\MR##1{\href{http://www.ams.org/mathscinet-getitem?mr=##1}{MR##1}}
|
| |
2066
| +
|
| |
2067
| + %% MR with hyperef
|
| |
2068
| + \def\MR##1{\@MR##1 \relax{##1}}%
|
| |
2069
| +
|
| |
2070
| +
|
| |
2071
| +% \@ifundefined{Hy@SetCatcodes}{\let\MR\MRfixed}{\relax}%
|
| |
2072
| +
|
| |
2073
| +}
|
| |
2074
| +
|
| |
2075
| +\def\write@pdfinfo#1#2{}
|
| |
2076
| +
|
| |
2077
| +\newtoks\authors@list
|
| |
2078
| +\def\addto@authors@list#1{%
|
| |
2079
| + \begingroup%
|
| |
2080
| + \no@harm%
|
| |
2081
| + \xdef\@act{\global\noexpand\authors@list{\the\authors@list#1}}\@act%
|
| |
2082
| + \endgroup}
|
| |
2083
| +
|
| |
2084
| +\newtoks\keywords@list
|
| |
2085
| +\def\addto@keywords@list#1{%
|
| |
2086
| + \begingroup%
|
| |
2087
| + \no@harm%
|
| |
2088
| + \xdef\@act{\global\noexpand\keywords@list{\the\keywords@list#1}}\@act%
|
| |
2089
| + \endgroup}
|
| |
2090
| +
|
| |
2091
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SECTION, SUBSECTION ETC.
|
| |
2092
| +% we do not like article appearance:
|
| |
2093
| +
|
| |
2094
| +\renewcommand\section{\@startsection {section}{1}{\z@}%
|
| |
2095
| + {-\bigskipamount}%
|
| |
2096
| + {\medskipamount}%
|
| |
2097
| + {\raggedright\bfseries\mathversion{bold}}}
|
| |
2098
| +
|
| |
2099
| +\renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
|
| |
2100
| + {-\bigskipamount}%
|
| |
2101
| + {\medskipamount}%
|
| |
2102
| + {\raggedright\bfseries\itshape\mathversion{bold}}}
|
| |
2103
| +
|
| |
2104
| +\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
| |
2105
| + {-\bigskipamount}%
|
| |
2106
| + {\medskipamount}%
|
| |
2107
| + {\raggedright\itshape}}
|
| |
2108
| +
|
| |
2109
| +\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
|
| |
2110
| + {\medskipamount}%
|
| |
2111
| + {-1em}%
|
| |
2112
| + {\bfseries}}
|
| |
2113
| +
|
| |
2114
| +\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
|
| |
2115
| + {\medskipamount}%
|
| |
2116
| + {-1em}%
|
| |
2117
| + {\itshape}}
|
| |
2118
| +
|
| |
2119
| +
|
| |
2120
| +% Format for the counter:
|
| |
2121
| +\def\section@numbersep{.}
|
| |
2122
| +\def\subsection@numbersep{.}
|
| |
2123
| +\def\subsubsection@numbersep{.}
|
| |
2124
| +\def\paragraph@numbersep{.}
|
| |
2125
| +\def\subparagraph@numbersep{.}
|
| |
2126
| +
|
| |
2127
| +\def\@seccntformat#1{{\csname #1@prefix\endcsname\csname the#1\endcsname\csname#1@numbersep\endcsname\enspace}}
|
| |
2128
| +
|
| |
2129
| +
|
| |
2130
| +\let\specialsection\section
|
| |
2131
| +
|
| |
2132
| +\@namedef{specialsection*}{\section*}
|
| |
2133
| +
|
| |
2134
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% sections: bjpslayout
|
| |
2135
| +
|
| |
2136
| +\if@bjpslayout
|
| |
2137
| +
|
| |
2138
| + \renewcommand\section{\@startsection {section}{1}{\z@}%
|
| |
2139
| + {-\bigskipamount}%
|
| |
2140
| + {\medskipamount}%
|
| |
2141
| + {\large\bfseries\mathversion{bold}\raggedright}}
|
| |
2142
| +
|
| |
2143
| + \renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
|
| |
2144
| + {-\medskipamount}%
|
| |
2145
| + {\smallskipamount}%
|
| |
2146
| + {\bfseries\mathversion{bold}\raggedright}}
|
| |
2147
| +
|
| |
2148
| + \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
| |
2149
| + {\medskipamount}%
|
| |
2150
| + {-10pt}%
|
| |
2151
| + {\normalsize\itshape}}
|
| |
2152
| +
|
| |
2153
| + \def\subsubsection@prefix{\upshape}
|
| |
2154
| +
|
| |
2155
| + \def\section@numbersep{}
|
| |
2156
| + \def\subsection@numbersep{}
|
| |
2157
| + \def\subsubsection@numbersep{}
|
| |
2158
| + \def\paragraph@numbersep{}
|
| |
2159
| + \def\subparagraph@numbersep{}
|
| |
2160
| +\fi
|
| |
2161
| +
|
| |
2162
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% sections: IMS layout
|
| |
2163
| +
|
| |
2164
| +\if@imslayout
|
| |
2165
| + \renewcommand\section{\@startsection {section}{1}{\parindent}%
|
| |
2166
| + {\medskipamount}%
|
| |
2167
| + {-10pt}%
|
| |
2168
| + {\normalsize\upshape\bfseries\mathversion{bold}}}
|
| |
2169
| +
|
| |
2170
| + \renewcommand\subsection{\@startsection {subsection}{2}{\parindent}%
|
| |
2171
| + {\medskipamount}%
|
| |
2172
| + {-10pt}%
|
| |
2173
| + {\subsection@shape}}
|
| |
2174
| + \def\subsection@shape{\normalsize\itshape}
|
| |
2175
| + \def\subsection@prefix{\upshape}
|
| |
2176
| +
|
| |
2177
| + \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\parindent}%
|
| |
2178
| + {\medskipamount}%
|
| |
2179
| + {-10pt}%
|
| |
2180
| + {\normalsize\itshape}}
|
| |
2181
| + \def\subsubsection@prefix{\upshape}
|
| |
2182
| +
|
| |
2183
| + \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
|
| |
2184
| + {\smallskipamount}%
|
| |
2185
| + {-1em}%
|
| |
2186
| + {\normalsize\itshape}}
|
| |
2187
| + \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
|
| |
2188
| + {0.1pt}%
|
| |
2189
| + {-1em}%
|
| |
2190
| + {\normalsize\itshape}}
|
| |
2191
| +
|
| |
2192
| +% must be used for the appendix \section and \thebibliography
|
| |
2193
| + \renewcommand\specialsection{\@startsection {section}{1}{\z@}%
|
| |
2194
| + {\medskipamount}%
|
| |
2195
| + {\smallskipamount}%
|
| |
2196
| + {\normalsize\centering\MakeUppercase}}
|
| |
2197
| +
|
| |
2198
| +\fi
|
| |
2199
| +
|
| |
2200
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% sections: STS layout
|
| |
2201
| +
|
| |
2202
| +\if@stslayout
|
| |
2203
| +
|
| |
2204
| + \def\sec@raggedright{%
|
| |
2205
| + \def\\{\hfill\break}\@rightskip\@flushglue \rightskip\@rightskip
|
| |
2206
| + \leftskip\z@skip
|
| |
2207
| + \parindent\z@}
|
| |
2208
| +
|
| |
2209
| +% last line will centered to page width
|
| |
2210
| +
|
| |
2211
| + \def\fl@hangfrom#1{\noindent {#1}}
|
| |
2212
| + \def\TO@fl{\let\@hangfrom\fl@hangfrom}
|
| |
2213
| +
|
| |
2214
| +
|
| |
2215
| + \renewcommand\section{\@startsection {section}{1}{\z@}%
|
| |
2216
| + {\medskipamount}%
|
| |
2217
| + {\smallskipamount}%
|
| |
2218
| + {\centering\TO@fl\normalsize\sffamily\fontseries{bx}\selectfont\mathversion{bold}\MakeUppercase}}
|
| |
2219
| +
|
| |
2220
| + \renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
|
| |
2221
| + {\smallskipamount}%
|
| |
2222
| + {\smallskipamount}%
|
| |
2223
| + {\normalsize\sffamily\fontseries{bx}\selectfont\mathversion{bold}\sec@raggedright}}
|
| |
2224
| +
|
| |
2225
| + \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\parindent}%
|
| |
2226
| + {\smallskipamount}%
|
| |
2227
| + {-.5em}%
|
| |
2228
| + {\normalsize\itshape}}
|
| |
2229
| +
|
| |
2230
| + \renewcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
|
| |
2231
| + {\z@}%
|
| |
2232
| + {-4pt}%
|
| |
2233
| + {\normalsize\itshape}}
|
| |
2234
| +
|
| |
2235
| + \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\z@}%
|
| |
2236
| + {0.1pt}%
|
| |
2237
| + {-1em}%
|
| |
2238
| + {\normalsize\itshape}}
|
| |
2239
| +
|
| |
2240
| +% must be used for the \thebibliography
|
| |
2241
| + \newcommand\specialsection{\@startsection {section}{1}{\z@}%
|
| |
2242
| + {\bigskipamount}%
|
| |
2243
| + {\smallskipamount}%
|
| |
2244
| + {\normalsize\centering\MakeUppercase}}
|
| |
2245
| +
|
| |
2246
| +% Format for the counter:
|
| |
2247
| + \def\section@numbersep{.}
|
| |
2248
| + \def\subsection@numbersep{}
|
| |
2249
| + \def\subsubsection@numbersep{}
|
| |
2250
| + \def\paragraph@numbersep{}
|
| |
2251
| + \def\subparagraph@numbersep{}
|
| |
2252
| +
|
| |
2253
| +\fi
|
| |
2254
| +
|
| |
2255
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% sections: BJ layout
|
| |
2256
| +
|
| |
2257
| +\if@bjlayout
|
| |
2258
| +
|
| |
2259
| + \renewcommand\section{\@startsection {section}{1}{\z@}%
|
| |
2260
| + {-\bigskipamount}%
|
| |
2261
| + {\medskipamount}%
|
| |
2262
| + {\Large\bfseries\mathversion{bold}\raggedright}}
|
| |
2263
| +
|
| |
2264
| + \renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
|
| |
2265
| + {-\bigskipamount}%
|
| |
2266
| + {\medskipamount}%
|
| |
2267
| + {\large\bfseries\mathversion{bold}\raggedright}}
|
| |
2268
| +
|
| |
2269
| + \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
| |
2270
| + {-\medskipamount}%
|
| |
2271
| + {\smallskipamount}%
|
| |
2272
| + {\itshape\raggedright}}
|
| |
2273
| +
|
| |
2274
| +\fi
|
| |
2275
| +
|
| |
2276
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% sections: AIHP layout
|
| |
2277
| +
|
| |
2278
| +\if@aihplayout
|
| |
2279
| +
|
| |
2280
| + \renewcommand\subsection{\@startsection {subsection}{2}{\z@}%
|
| |
2281
| + {-\medskipamount}%
|
| |
2282
| + {\medskipamount}%
|
| |
2283
| + {\itshape\raggedright}}
|
| |
2284
| +
|
| |
2285
| + \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
|
| |
2286
| + {-\medskipamount}%
|
| |
2287
| + {.01\p@}%
|
| |
2288
| + {\itshape\raggedright}}
|
| |
2289
| +
|
| |
2290
| + \renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
|
| |
2291
| + {\medskipamount}%
|
| |
2292
| + {-10pt}%
|
| |
2293
| + {\itshape}}
|
| |
2294
| +
|
| |
2295
| + \renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
|
| |
2296
| + {0.1pt}%
|
| |
2297
| + {-1em}%
|
| |
2298
| + {\itshape}}
|
| |
2299
| +
|
| |
2300
| +\fi
|
| |
2301
| +
|
| |
2302
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% loading of amsmath
|
| |
2303
| +
|
| |
2304
| +\def\set@amsthm{
|
| |
2305
| + \def\ims@thmshape{0}
|
| |
2306
| + \if@imslayout \def\ims@thmshape{1}\fi
|
| |
2307
| + \if@stslayout \def\ims@thmshape{1}\fi
|
| |
2308
| + \if@bjlayout \def\ims@thmshape{2}\fi
|
| |
2309
| + \if@aihplayout \def\ims@thmshape{3}\fi
|
| |
2310
| + \if@bjpslayout \def\ims@thmshape{3}\fi
|
| |
2311
| +
|
| |
2312
| + \ifcase\ims@thmshape
|
| |
2313
| + \or %1
|
| |
2314
| + \thm@notefont{\upshape}
|
| |
2315
| + \newtheoremstyle{plain} {\medskipamount}{\medskipamount}{\itshape}{\parindent}{\scshape}{.}{1em}{}
|
| |
2316
| + \newtheoremstyle{definition}{\medskipamount}{\medskipamount}{\normalfont}{\parindent}{\scshape}{.}{1em}{}
|
| |
2317
| + \newtheoremstyle{remark} {\medskipamount}{\medskipamount}{\normalfont}{\parindent}{\scshape}{.}{1em}{}
|
| |
2318
| +
|
| |
2319
| + \renewenvironment{proof}[1][\proofname]{\par
|
| |
2320
| + \pushQED{\qed}%
|
| |
2321
| + \normalfont \topsep\medskipamount%
|
| |
2322
| + \trivlist
|
| |
2323
| + \labelsep.5em%
|
| |
2324
| + \item[\hskip\labelsep\hskip\parindent
|
| |
2325
| + \scshape ##1\@addpunct{.}]\ignorespaces
|
| |
2326
| + }{%
|
| |
2327
| + \popQED\endtrivlist\@endpefalse
|
| |
2328
| + }
|
| |
2329
| + \or %2
|
| |
2330
| +
|
| |
2331
| + \newtheoremstyle{plain} {\medskipamount}{\medskipamount}{\itshape}{\z@}{\bfseries}{.}{1em}{}
|
| |
2332
| + \newtheoremstyle{definition}{\medskipamount}{\medskipamount}{\itshape}{\z@}{\bfseries\itshape}{.}{1em}{}
|
| |
2333
| + \newtheoremstyle{remark} {\medskipamount}{\medskipamount}{\normalfont}{\z@}{\bfseries\itshape}{.}{1em}{}
|
| |
2334
| +
|
| |
2335
| + \renewenvironment{proof}[1][\proofname]{\par
|
| |
2336
| + \pushQED{\qed}%
|
| |
2337
| + \normalfont \topsep\medskipamount\relax
|
| |
2338
| + \trivlist
|
| |
2339
| + \item[\hskip\labelsep
|
| |
2340
| + \itshape\bfseries
|
| |
2341
| + ##1\@addpunct{.}]\ignorespaces
|
| |
2342
| + }{%
|
| |
2343
| + \popQED\endtrivlist\@endpefalse
|
| |
2344
| + }
|
| |
2345
| +
|
| |
2346
| +
|
| |
2347
| + \or %3
|
| |
2348
| +
|
| |
2349
| + \renewenvironment{proof}[1][\proofname]{\par
|
| |
2350
| + \pushQED{\qed}%
|
| |
2351
| + \normalfont \topsep\medskipamount\relax
|
| |
2352
| + \trivlist
|
| |
2353
| + \item[\hskip\labelsep
|
| |
2354
| + \bfseries
|
| |
2355
| + ##1\@addpunct{.}]\ignorespaces
|
| |
2356
| + }{%
|
| |
2357
| + \popQED\endtrivlist\@endpefalse
|
| |
2358
| + }
|
| |
2359
| +
|
| |
2360
| + \else
|
| |
2361
| + \fi}
|
| |
2362
| +
|
| |
2363
| +
|
| |
2364
| +\if@load@amsmath
|
| |
2365
| + \if@amsmath@leqno
|
| |
2366
| + \PassOptionsToPackage{leqno}{amsmath}
|
| |
2367
| + \fi
|
| |
2368
| + \RequirePackage[cmex10]{amsmath}
|
| |
2369
| +\fi
|
| |
2370
| +
|
| |
2371
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% loading of amsthm
|
| |
2372
| +
|
| |
2373
| +\if@load@amsthm
|
| |
2374
| + \RequirePackage{amsthm}
|
| |
2375
| + \set@amsthm
|
| |
2376
| +\else
|
| |
2377
| + \AtBeginDocument{\@ifpackageloaded{amsthm}{\set@amsthm}{}}
|
| |
2378
| +\fi
|
| |
2379
| +
|
| |
2380
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% thebibliography, loading natbib
|
| |
2381
| +
|
| |
2382
| +\def\set@natbib{%
|
| |
2383
| + \let\bibfont\thebibliography@size
|
| |
2384
| + \setlength\bibsep{0pt}}
|
| |
2385
| +
|
| |
2386
| +\if@load@natbib
|
| |
2387
| + \RequirePackage{natbib}
|
| |
2388
| + \set@natbib
|
| |
2389
| +\else
|
| |
2390
| + \let\xxx@thebibliography\thebibliography
|
| |
2391
| + \def\thebibliography{\thebibliography@size\xxx@thebibliography}
|
| |
2392
| + \g@addto@macro\@openbib@code{\itemsep\z@}
|
| |
2393
| + \AtBeginDocument{\@ifpackageloaded{natbib}{\set@natbib}{}}
|
| |
2394
| +\fi
|
| |
2395
| +
|
| |
2396
| +
|
| |
2397
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% thebibliography - structured
|
| |
2398
| +
|
| |
2399
| +%%%%%%%%% Common macros:
|
| |
2400
| +
|
| |
2401
| +% Setting a "style" for a command:
|
| |
2402
| +% \set@bibl@cmd{bvolume} == \def\bvolume#1{{\bvolume@style #1}}
|
| |
2403
| +
|
| |
2404
| +\def\set@bibl@cmd#1{\expandafter\def\csname #1\endcsname##1{{\csname #1@style\endcsname##1}}}
|
| |
2405
| +
|
| |
2406
| +\let\endbibitem\relax
|
| |
2407
| +
|
| |
2408
| +%%%%%%%%% bauthor, beditor
|
| |
2409
| +
|
| |
2410
| +\def\bbl@bauthor#1{%
|
| |
2411
| + \csname bauthor@hook\endcsname%
|
| |
2412
| +{%
|
| |
2413
| + \let\binits\@firstofone%
|
| |
2414
| + \let\bsnm\@firstofone%
|
| |
2415
| + \let\bfnm\@gobble%
|
| |
2416
| + \let\bparticle\@firstofone%
|
| |
2417
| + \let\bsuffix\@firstofone%
|
| |
2418
| + \bauthor@style%
|
| |
2419
| +#1}}
|
| |
2420
| +
|
| |
2421
| +\def\bbl@beditor#1{{%
|
| |
2422
| + \let\binits\@firstofone%
|
| |
2423
| + \let\bsnm\@firstofone%
|
| |
2424
| + \let\bfnm\@gobble%
|
| |
2425
| + \let\bparticle\@firstofone%
|
| |
2426
| + \let\bsuffix\@firstofone%
|
| |
2427
| + \beditor@style%
|
| |
2428
| +#1}}
|
| |
2429
| +
|
| |
2430
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% bid
|
| |
2431
| +% \bid{MR={},doi={},...}
|
| |
2432
| +
|
| |
2433
| +\define@key{bid}{mr}{\MR{#1}}
|
| |
2434
| +\define@key{bid}{doi}{}
|
| |
2435
| +\define@key{bid}{pubmed}{}
|
| |
2436
| +\define@key{bid}{pii}{}
|
| |
2437
| +
|
| |
2438
| +\def\bbl@bid#1{%
|
| |
2439
| + \setkeys{bid}{#1}%
|
| |
2440
| +}
|
| |
2441
| +
|
| |
2442
| +% for compatibility with old bibtex style
|
| |
2443
| +\def\bdoi#1{\ignorespaces}
|
| |
2444
| +
|
| |
2445
| +%%%%%%%%% common@pub@types
|
| |
2446
| +
|
| |
2447
| +\def\common@pub@types{%
|
| |
2448
| + \def\AND{and }%
|
| |
2449
| + \let\betal\@firstofone%
|
| |
2450
| + \set@bibl@cmd{btitle}%
|
| |
2451
| + \let\byear\@firstofone%
|
| |
2452
| + \let\bpages\@firstofone%
|
| |
2453
| + \let\bmisc\@firstofone%
|
| |
2454
| + \let\bnote\@firstofone%
|
| |
2455
| + \let\banumber\@firstofone%
|
| |
2456
| + \let\bmrnumber\MR%
|
| |
2457
| + \let\bid\bbl@bid%
|
| |
2458
| + \set@bibl@cmd{bvolume}%
|
| |
2459
| + \csname common@pub@types@hook\endcsname%
|
| |
2460
| +}
|
| |
2461
| +
|
| |
2462
| +
|
| |
2463
| +%%%%%%%%% default stiliai
|
| |
2464
| +
|
| |
2465
| + \setattribute{bauthor}{style}{\scshape}
|
| |
2466
| + \setattribute{beditor}{style}{\scshape}
|
| |
2467
| +
|
| |
2468
| + \setattribute{bjournal} {style}{\itshape}
|
| |
2469
| + \setattribute{bbooktitle}{style}{\itshape}
|
| |
2470
| + \setattribute{bseries} {style}{\itshape}
|
| |
2471
| +
|
| |
2472
| + \setattribute{bvolume} {style}{\bfseries}
|
| |
2473
| +
|
| |
2474
| +%%%%%%%%% barticle
|
| |
2475
| +
|
| |
2476
| +\def\barticle{\@ifnextchar[{\@barticle}{\@barticle[]}}
|
| |
2477
| +
|
| |
2478
| +\def\@barticle[#1]{%
|
| |
2479
| + \common@pub@types%
|
| |
2480
| + \let\bauthor\bbl@bauthor%
|
| |
2481
| + \set@bibl@cmd{bjournal}%
|
| |
2482
| +}
|
| |
2483
| +
|
| |
2484
| +%%%%%%%%% bbook
|
| |
2485
| +
|
| |
2486
| +\def\bbook{\@ifnextchar[{\@bbook}{\@bbook[]}}
|
| |
2487
| +
|
| |
2488
| +\def\@bbook[#1]{%
|
| |
2489
| + \common@pub@types%
|
| |
2490
| + \let\bauthor\bbl@bauthor%
|
| |
2491
| + \let\beditor\bbl@beditor%
|
| |
2492
| + \let\bedition\@firstofone%
|
| |
2493
| + \set@bibl@cmd{bseries}%
|
| |
2494
| + \let\bpublisher\@firstofone%
|
| |
2495
| + \let\baddress\@firstofone%
|
| |
2496
| + \let\bisbn\@gobble%
|
| |
2497
| +%
|
| |
2498
| + \let\btitle@style\itshape%
|
| |
2499
| +}
|
| |
2500
| +
|
| |
2501
| +
|
| |
2502
| +%%%%%%%%% bincollection
|
| |
2503
| +
|
| |
2504
| +\def\bincollection{\@ifnextchar[{\@bincollection}{\@bincollection[]}}
|
| |
2505
| +
|
| |
2506
| +\def\@bincollection[#1]{%
|
| |
2507
| + \common@pub@types%
|
| |
2508
| + \let\bauthor\bbl@bauthor%
|
| |
2509
| + \let\beditor\bbl@beditor%
|
| |
2510
| + \set@bibl@cmd{bbooktitle}%
|
| |
2511
| + \let\bchapter\@firstofone%
|
| |
2512
| + \let\bedition\@firstofone%
|
| |
2513
| + \set@bibl@cmd{bseries}%
|
| |
2514
| + \let\bpublisher\@firstofone%
|
| |
2515
| + \let\baddress\@firstofone%
|
| |
2516
| + \let\bisbn\@gobble%
|
| |
2517
| + \def\bauthor@hook{\let\beditor@style\relax}
|
| |
2518
| +}
|
| |
2519
| +
|
| |
2520
| +%%%%%%%%% binproceedings
|
| |
2521
| +
|
| |
2522
| +\def\binproceedings{\@ifnextchar[{\@binproceedings}{\@binproceedings[]}}
|
| |
2523
| +
|
| |
2524
| +\def\@binproceedings[#1]{%
|
| |
2525
| + \common@pub@types%
|
| |
2526
| + \let\bauthor\bbl@bauthor%
|
| |
2527
| + \let\beditor\bbl@beditor%
|
| |
2528
| + \set@bibl@cmd{bbooktitle}%
|
| |
2529
| + \set@bibl@cmd{bseries}%
|
| |
2530
| + \let\borganization\@firstofone%
|
| |
2531
| + \let\bpublisher\@firstofone%
|
| |
2532
| + \let\baddress\@firstofone%
|
| |
2533
| + \let\bisbn\@gobble%
|
| |
2534
| +}
|
| |
2535
| +
|
| |
2536
| +%%%%%%%%% binbook
|
| |
2537
| +
|
| |
2538
| +\def\binbook{\@ifnextchar[{\@binbook}{\@binbook[]}}
|
| |
2539
| +
|
| |
2540
| +\def\@binbook[#1]{%
|
| |
2541
| + \common@pub@types%
|
| |
2542
| + \let\bauthor\bbl@bauthor%
|
| |
2543
| + \let\beditor\bbl@beditor%
|
| |
2544
| + \set@bibl@cmd{bbooktitle}%
|
| |
2545
| + \let\bchapter\@firstofone%
|
| |
2546
| + \let\bedition\@firstofone%
|
| |
2547
| + \set@bibl@cmd{bseries}%
|
| |
2548
| + \let\bpublisher\@firstofone%
|
| |
2549
| + \let\baddress\@firstofone%
|
| |
2550
| + \let\bisbn\@gobble%
|
| |
2551
| +%
|
| |
2552
| + \let\btitle@style\itshape
|
| |
2553
| +}
|
| |
2554
| +
|
| |
2555
| +
|
| |
2556
| +%%%%%%%%% bproceedings
|
| |
2557
| +
|
| |
2558
| +\def\bproceedings{\@ifnextchar[{\@bproceedings}{\@bproceedings[]}}
|
| |
2559
| +
|
| |
2560
| +\def\@bproceedings[#1]{%
|
| |
2561
| + \common@pub@types%
|
| |
2562
| + \let\bauthor\bbl@bauthor%
|
| |
2563
| + \let\beditor\bbl@beditor%
|
| |
2564
| + \let\bedition\@firstofone%
|
| |
2565
| + \set@bibl@cmd{bseries}%
|
| |
2566
| + \let\bpublisher\@firstofone%
|
| |
2567
| + \let\borganization\@firstofone%
|
| |
2568
| + \let\baddress\@firstofone%
|
| |
2569
| + \let\bisbn\@gobble%
|
| |
2570
| +%
|
| |
2571
| + \let\btitle@style\itshape
|
| |
2572
| +}
|
| |
2573
| +
|
| |
2574
| +
|
| |
2575
| +%%%%%%%%% btechreport
|
| |
2576
| +
|
| |
2577
| +\def\btechreport{\@ifnextchar[{\@btechreport}{\@btechreport[]}}
|
| |
2578
| +
|
| |
2579
| +\def\@btechreport[#1]{%
|
| |
2580
| + \common@pub@types%
|
| |
2581
| + \let\bauthor\bbl@bauthor%
|
| |
2582
| + \let\btype\@firstofone%
|
| |
2583
| + \let\bnumber\@firstofone%
|
| |
2584
| + \let\binstitution\@firstofone%
|
| |
2585
| + \let\baddress\@firstofone%
|
| |
2586
| +}
|
| |
2587
| +
|
| |
2588
| +%%%%%%%%% bmanual
|
| |
2589
| +
|
| |
2590
| +\def\bmanual{\@ifnextchar[{\@bmanual}{\@bmanual[]}}
|
| |
2591
| +
|
| |
2592
| +\def\@bmanual[#1]{%
|
| |
2593
| + \common@pub@types%
|
| |
2594
| + \let\bauthor\bbl@bauthor%
|
| |
2595
| + \let\bedition\@firstofone%
|
| |
2596
| + \let\borganization\@firstofone%
|
| |
2597
| + \let\baddress\@firstofone%
|
| |
2598
| + \let\bisbn\@gobble%
|
| |
2599
| +}
|
| |
2600
| +
|
| |
2601
| +%%%%%%%%% mastersthesis
|
| |
2602
| +
|
| |
2603
| +\def\bmastersthesis{\@ifnextchar[{\@bmastersthesis}{\@bmastersthesis[]}}
|
| |
2604
| +
|
| |
2605
| +\def\@bmastersthesis[#1]{%
|
| |
2606
| + \common@pub@types%
|
| |
2607
| + \let\bauthor\bbl@bauthor%
|
| |
2608
| + \let\bschool\@firstofone%
|
| |
2609
| + \let\btype\@firstofone%
|
| |
2610
| + \let\baddress\@firstofone%
|
| |
2611
| +}
|
| |
2612
| +
|
| |
2613
| +%%%%%%%%% phdthesis
|
| |
2614
| +
|
| |
2615
| +\def\bphdthesis{\@ifnextchar[{\@bphdthesis}{\@bphdthesis[]}}
|
| |
2616
| +
|
| |
2617
| +\def\@bphdthesis[#1]{%
|
| |
2618
| + \common@pub@types%
|
| |
2619
| + \let\bauthor\bbl@bauthor%
|
| |
2620
| + \let\bschool\@firstofone%
|
| |
2621
| + \let\btype\@firstofone%
|
| |
2622
| + \let\baddress\@firstofone%
|
| |
2623
| +}
|
| |
2624
| +
|
| |
2625
| +%%%%%%%%% bbooklet
|
| |
2626
| +
|
| |
2627
| +\def\bbooklet{\@ifnextchar[{\@bbooklet}{\@bbooklet[]}}
|
| |
2628
| +
|
| |
2629
| +\def\@bbooklet[#1]{%
|
| |
2630
| + \common@pub@types%
|
| |
2631
| + \let\bauthor\bbl@bauthor%
|
| |
2632
| + \let\bhowpublished\@firstofone%
|
| |
2633
| + \let\baddress\@firstofone%
|
| |
2634
| +}
|
| |
2635
| +
|
| |
2636
| +%%%%%%%%% bunpublished
|
| |
2637
| +
|
| |
2638
| +\def\bunpublished{\@ifnextchar[{\@bunpublished}{\@bunpublished[]}}
|
| |
2639
| +
|
| |
2640
| +\def\@bunpublished[#1]{%
|
| |
2641
| + \common@pub@types%
|
| |
2642
| + \let\bauthor\bbl@bauthor%
|
| |
2643
| +}
|
| |
2644
| +
|
| |
2645
| +%%%%%%%%% bmisc
|
| |
2646
| +
|
| |
2647
| +\def\bmisc{\@ifnextchar[{\@bmisc}{\@bmisc[]}}
|
| |
2648
| +
|
| |
2649
| +\def\@bmisc[#1]{%
|
| |
2650
| + \common@pub@types%
|
| |
2651
| + \let\bauthor\bbl@bauthor%
|
| |
2652
| + \let\bhowpublished\@firstofone%
|
| |
2653
| +}
|
| |
2654
| +
|
| |
2655
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% appendix
|
| |
2656
| +
|
| |
2657
| +\if@imslayout
|
| |
2658
| +
|
| |
2659
| +% appendix mess up everything in this layout:
|
| |
2660
| +
|
| |
2661
| + \renewcommand\appendix{\par
|
| |
2662
| + \def\subsection@shape{\normalsize\upshape\bfseries\mathversion{bold}}
|
| |
2663
| + \let\section\specialsection
|
| |
2664
| + \def\section{\@ifnextchar*{\@appsectionstar}{\@appsectionnostar}}%
|
| |
2665
| + \def\section@prefix{\appendixname\ }%
|
| |
2666
| + \def\section@numbersep{:}%
|
| |
2667
| + \setcounter{section}{0}%
|
| |
2668
| + \setcounter{subsection}{0}%
|
| |
2669
| + \gdef\thesection{\@Alph\c@section}}
|
| |
2670
| +
|
| |
2671
| +% \section*{Appendix} -> APPENDIX
|
| |
2672
| + \def\@appsectionstar*#1{%
|
| |
2673
| + \specialsection*{#1}%
|
| |
2674
| + \setcounter{section}{1}%
|
| |
2675
| +% \addcontentsline{toc}{section}{#1}
|
| |
2676
| +}
|
| |
2677
| +
|
| |
2678
| +% \section{} -> APPENDIX A
|
| |
2679
| +% \section{proof} -> APPENDIX A: PROOF
|
| |
2680
| + \def\@appsectionnostar#1{%
|
| |
2681
| + \ifx.#1.%
|
| |
2682
| + \def\section@numbersep{}\specialsection[\appendixname\ \thesection]{}%
|
| |
2683
| + \else%
|
| |
2684
| + \def\section@numbersep{:}\specialsection{#1}%
|
| |
2685
| + \fi}
|
| |
2686
| +
|
| |
2687
| +% dirty trick with \thebibliography
|
| |
2688
| + \let\old@thebibliography\thebibliography
|
| |
2689
| + \def\thebibliography{\let\section\specialsection\old@thebibliography}
|
| |
2690
| +
|
| |
2691
| +\else
|
| |
2692
| +
|
| |
2693
| + \renewcommand\appendix{\par
|
| |
2694
| + \let\old@section\section%
|
| |
2695
| + \def\section{\@ifnextchar*{\@appsectionstar}{\@appsectionnostar}}%
|
| |
2696
| + \def\section@prefix{\appendixname\ }%
|
| |
2697
| + \def\section@numbersep{:}%
|
| |
2698
| + \setcounter{section}{0}%
|
| |
2699
| + \setcounter{subsection}{0}%
|
| |
2700
| + \gdef\thesection{\@Alph\c@section}}
|
| |
2701
| +
|
| |
2702
| + \def\@appsectionstar*#1{%
|
| |
2703
| + \old@section*{#1}%
|
| |
2704
| + \setcounter{section}{1}%
|
| |
2705
| +% \addcontentsline{toc}{section}{#1}
|
| |
2706
| +}
|
| |
2707
| +
|
| |
2708
| + \def\@appsectionnostar#1{%
|
| |
2709
| + \ifx.#1.%
|
| |
2710
| + \def\section@numbersep{}\old@section[\appendixname\ \thesection]{}%
|
| |
2711
| + \else%
|
| |
2712
| + \def\section@numbersep{:}\old@section{#1}%
|
| |
2713
| + \fi}
|
| |
2714
| +
|
| |
2715
| +
|
| |
2716
| +\fi
|
| |
2717
| +
|
| |
2718
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% supplement
|
| |
2719
| +%
|
| |
2720
| +%\begin{supplement}[id=suppA]
|
| |
2721
| +% \sname{Supplement A}
|
| |
2722
| +% \stitle{}
|
| |
2723
| +% \slink[doi]{}
|
| |
2724
| +% \slink[url]{http://lib.stat.cmu.edu/aoas/???/???}
|
| |
2725
| +% \sdescription{}
|
| |
2726
| +%\end{supplement}
|
| |
2727
| +% \thesuppdoi{suppA}
|
| |
2728
| +% \ref{suppA}
|
| |
2729
| +% \hyperlink{suppA}{text}
|
| |
2730
| +
|
| |
2731
| +\def\supplement@name{Supplementary Material}
|
| |
2732
| +
|
| |
2733
| +\def\sname#1{\def\@sname{#1}\def\@currentlabel{#1}}
|
| |
2734
| +\def\stitle#1{\def\@stitle{#1}}
|
| |
2735
| +\def\sdatatype#1{\def\@sdatatype{#1}}
|
| |
2736
| +\def\slink[#1]#2{\expandafter\def\csname slink@#1\endcsname{#2}}
|
| |
2737
| +\def\sdescription#1{\def\@sdescription{#1}}
|
| |
2738
| +
|
| |
2739
| +\def\suppsection@fmt{\specialsection*{\supplement@name}}
|
| |
2740
| +
|
| |
2741
| +\def\slink@doi@fmt{%
|
| |
2742
| + \url@fmt{doi: }{}{\slink@doi}{\doi@base\slink@doi}%
|
| |
2743
| + \@ifundefined{supp@label}{}{%
|
| |
2744
| + \expandafter\xdef\csname\supp@label @doi\endcsname{\slink@doi}%
|
| |
2745
| + \expandafter\xdef\csname\supp@label @url\endcsname{\doi@base\slink@doi}}%
|
| |
2746
| +}
|
| |
2747
| +
|
| |
2748
| +\def\slink@url@fmt{%
|
| |
2749
| + \url@fmt{}{}{\slink@url}{\slink@url}%
|
| |
2750
| + \@ifundefined{supp@label}{}{%
|
| |
2751
| + \expandafter\xdef\csname\supp@label @url\endcsname{\slink@url}}%
|
| |
2752
| +}
|
| |
2753
| +
|
| |
2754
| +\def\thesuppdoi#1{\@ifundefined{#1@doi}%
|
| |
2755
| + {\@latex@error{Undefined supplement id=#1}{??}}%
|
| |
2756
| + {\def\@tempx{\csname #1@doi\endcsname}%
|
| |
2757
| + \@ifundefined{#1@url}{\def\@tempy{\doi@base\csname #1@url\endcsname}}{\def\@tempy{\csname #1@url\endcsname}}%
|
| |
2758
| + \url@fmt{DOI: }{}{\@tempx}{\@tempy}}%
|
| |
2759
| +}
|
| |
2760
| +
|
| |
2761
| +\define@key{supplement}{id}{\def\supp@label{#1}}
|
| |
2762
| +
|
| |
2763
| +\long\def\supplement{\@ifnextchar[{\@supplement}{\@supplement[]}}
|
| |
2764
| +
|
| |
2765
| +\long\def\@supplement[#1]{%
|
| |
2766
| + \suppsection@fmt%
|
| |
2767
| + \global\let\suppsection@fmt\smallskip%
|
| |
2768
| + \setkeys{supplement}{#1}%
|
| |
2769
| +}
|
| |
2770
| +
|
| |
2771
| +\def\endsupplement{%
|
| |
2772
| + \@ifundefined{@sname}{}{\@ifundefined{supp@label}{}{\hypertarget{\supp@label}{}\label{\supp@label}}\textbf{\@sname: }}%
|
| |
2773
| + \@ifundefined{@stitle}{}{\textbf{\@stitle\ }}%
|
| |
2774
| +%
|
| |
2775
| + \\
|
| |
2776
| + (%
|
| |
2777
| + \@ifundefined{slink@doi}{}{\slink@doi@fmt}%
|
| |
2778
| + \@ifundefined{slink@url}{}{\slink@url@fmt}%
|
| |
2779
| + \@ifundefined{@sdatatype}{}{; \@sdatatype}%
|
| |
2780
| + ).
|
| |
2781
| + \@ifundefined{@sdescription}{}{\@sdescription}%
|
| |
2782
| + \par}
|
| |
2783
| +
|
| |
2784
| +
|
| |
2785
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% TOC in "article" class is a mess:
|
| |
2786
| +
|
| |
2787
| +
|
| |
2788
| +% for hyperref
|
| |
2789
| +\def\toclevel@title{0}
|
| |
2790
| +
|
| |
2791
| +\newcommand*\l@title[2]{}
|
| |
2792
| +\newcommand*\l@author[2]{}
|
| |
2793
| +\newcommand*\l@doi[2]{}
|
| |
2794
| +\newcommand*\l@arxiv[2]{}
|
| |
2795
| +\newcommand*\l@jobname[2]{}
|
| |
2796
| +\newcommand*\l@begintocitem[2]{}
|
| |
2797
| +\newcommand*\l@endtocitem[2]{}
|
| |
2798
| +
|
| |
2799
| +\newif\if@changetoc \@changetocfalse
|
| |
2800
| +\@ifclassloaded{article}{\@changetoctrue}{}
|
| |
2801
| +
|
| |
2802
| +\if@changetoc
|
| |
2803
| +
|
| |
2804
| + \@ifundefined{contentsname@cmd}{\def\contentsname@cmd{\section*{\contentsname}}}{}
|
| |
2805
| +
|
| |
2806
| + \renewcommand\tableofcontents{%
|
| |
2807
| + \nocontentsline
|
| |
2808
| + \contentsname@cmd%
|
| |
2809
| + \@starttoc{toc}%
|
| |
2810
| + }
|
| |
2811
| +
|
| |
2812
| + \renewcommand*\l@section{\@dottedtocline{1}{\z@}{1.5em}}
|
| |
2813
| +
|
| |
2814
| +\fi
|
| |
2815
| +
|
| |
2816
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% number lines
|
| |
2817
| +
|
| |
2818
| +\ifnumberlines@
|
| |
2819
| +
|
| |
2820
| + \long\def\l@addto@macro#1#2{%
|
| |
2821
| + \toks@\expandafter{#1#2}%
|
| |
2822
| + \edef#1{\the\toks@}}
|
| |
2823
| +
|
| |
2824
| + \setattribute{numberlines}{size}{\scriptsize\ttfamily}
|
| |
2825
| + \setattribute{numberlines}{skip}{24\p@}
|
| |
2826
| +
|
| |
2827
| + \def\numberlines@hook{%
|
| |
2828
| + \l@addto@macro\@evenhead\put@numberlines@box%
|
| |
2829
| + \l@addto@macro\@oddhead\put@numberlines@box}
|
| |
2830
| +
|
| |
2831
| + \g@addto@macro\ps@imsheadings\numberlines@hook
|
| |
2832
| + \g@addto@macro\ps@copyright\numberlines@hook
|
| |
2833
| +
|
| |
2834
| + \newbox\numberlines@box
|
| |
2835
| + \newskip\numberlines@box@skip
|
| |
2836
| +
|
| |
2837
| + \def\set@numberlines@box{%
|
| |
2838
| + \setlength\numberlines@box@skip\headsep
|
| |
2839
| + \addtolength\numberlines@box@skip{5\p@}
|
| |
2840
| + %
|
| |
2841
| + \setbox\numberlines@box\vtop to\textheight{%
|
| |
2842
| + \parindent\z@
|
| |
2843
| + \vskip\z@
|
| |
2844
| + \@tempcnta=0
|
| |
2845
| + \@tempdima=\z@
|
| |
2846
| + \loop
|
| |
2847
| + \advance\@tempcnta by1
|
| |
2848
| + \advance\@tempdima by\baselineskip
|
| |
2849
| + \hbox to\textwidth{%
|
| |
2850
| + \llap{\numberlines@size\the\@tempcnta\kern\numberlines@skip}
|
| |
2851
| + \hfill
|
| |
2852
| + \rlap{\numberlines@size\kern\numberlines@skip\the\@tempcnta}}
|
| |
2853
| + \ifdim\@tempdima<\textheight\repeat
|
| |
2854
| + \vss
|
| |
2855
| + }%
|
| |
2856
| + %
|
| |
2857
| + \ht\numberlines@box\z@
|
| |
2858
| + \dp\numberlines@box\z@
|
| |
2859
| + }
|
| |
2860
| +
|
| |
2861
| + \def\put@numberlines@box{\lower\numberlines@box@skip\hbox to\z@{\hss\copy\numberlines@box}}
|
| |
2862
| +
|
| |
2863
| + \AtBeginDocument{\set@numberlines@box}
|
| |
2864
| +
|
| |
2865
| +\fi
|
| |
2866
| +
|
| |
2867
| +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% INICIALIZATION
|
| |
2868
| +
|
| |
2869
| +% Read local configuration file (if exist):
|
| |
2870
| +% imsart.cnf imsart-ps.cnf imsart-lnms.cnf
|
| |
2871
| +
|
| |
2872
| +\@input{\imsfmt@name\journal@id.cnf}
|
| |
2873
| +
|
| |
2874
| +
|
| |
2875
| +\@twosidetrue
|
| |
2876
| +\pagenumbering{arabic}
|
| |
2877
| +\frenchspacing
|
| |
2878
| +\init@settings
|
| |
2879
| +\pagestyle{imsheadings}
|
| |
2880
| +
|
| |
2881
| +\endinput
|
| |
2882
| +%%
|
| |
2883
| +%% History:
|
| |
2884
| +2011.03.02 - SSY copyright fixed;
|
| |
2885
| +2011.01.24 - \bdoi added;
|
| |
2886
| +2010.09.07 - journal url changed for EJS journal;
|
| |
2887
| +2010.08.03 - \tableofcontents fixed for the imslayout journals;
|
| |
2888
| +2010.04.27 - support for the "Stochastic Systems" (ssy) added;
|
| |
2889
| +2009.12.16 - \betal added
|
| |
2890
| +2009.08.13 - support for the structured bibliography added (imsart-number.bst,imsart-nameyear.bst)
|
| |
2891
| + options [numbers,sort&compress] from natbib package removed
|
| |
2892
| +2009.05.21 - added new option "bjps"
|
| |
2893
| +2009.02.27 - all hyperref links are set to "blue"
|
| |
2894
| + - smart \MR command (code suggested by Vilmos Prokaj <prokaj@cs.elte.hu>
|
| |
2895
| +2008.08.29 - supplement environment added
|
| |
2896
| +2008.01.24 - for "coll" changed journal url
|
| |
2897
| +2008.01.09 - added new option "coll"
|
| |
2898
| +2007.12.10 - added new option "aihp"
|
| |
2899
| + - abstract have an attribute language=
|
| |
2900
| + - multiple abstracts
|
| |
2901
| + - \atltitle{} - title in another language
|
| |
2902
| +2007.09.18 - fixed small error in SS (affiliation)
|
| |
2903
| +2007.04.13 - fixed small error in EJS
|
| |
2904
| +2007.04.02 - ISSN numbers of EJS and SS included
|
| |
2905
| +2007.02.20 - support for the "Electronic Journal of Statistics" (ejs) added;
|
| |
2906
| +2007.01.24 - support for the "The Annals of Applied Statistics" (aoas) and Bernoulli (bj) added;
|
| |
2907
| +2006.10.13 - small bug with "lnms, ps, ss" options fixed;
|
| |
2908
| +2006.09.07 - if no options specified, imsart.sty is loaded with "generic" option;
|
| |
2909
| + - new options: imslayout, stslayout
|
| |
2910
| +2006.08.23 -"author's addresses" secion added to bookmarks (aap,aop,aos);
|
| |
2911
| + -completely new STS layout;
|
| |
2912
| + -\tableofcontents adjusted, could be used in frontmatter part;
|
| |
2913
| + -support for LNMS Table of Contents;
|
| |
2914
| + -support for LNMS "List of Contributors" (\contributor{Author, F.}{University});
|
| |
2915
| + -command \arxiv{math.PR/0000000} introduced to provide link to article location in arXiv
|
| |
2916
| + -\@journal{} changed to \journal@name
|
| |
2917
| + -\ead{} correctly sets the pdf link when "http://" prefix is used;
|
| |
2918
| + -\ead[...,nopdflink]{} supresses pdf link;
|
| |
2919
| + -a lot of internal changes;
|
| |
2920
| + - fix of a bug with newer hyperref versions (\orig@footnotetext)
|
| |
2921
| + -equation numbers are at left for LNMS layout;
|
| |
2922
| +
|
| |
2923
| +2006.03.07 -command \volumename{} introduced + small changes for LNMS option
|
| |
2924
| + (addresses will be positioned on title page)
|
| |
2925
| + -pdf document properties could be changed with commands
|
| |
2926
| + \pdftitle{}, \pdfsubject{}, \pdfauthor{}
|
| |
2927
| +
|
| |
2928
| +2006.01.04 support for the "Statistics Surveys" (ss) added;
|
| |
2929
| +
|
| |
2930
| +2005.10.19 fix of a bug with bibliography and ims layout
|
| |
2931
| + \@footnotetext is changed due to the arXiv hyperref setup
|
| |
2932
| +
|
| |
2933
| +2005.05.19 New options singlespacing, doublespacing, linenumbers, nolinenumbers introduced;
|
| |
2934
| + Table and figure captions changed
|
| |
2935
| +
|
| |
2936
| +%% End of file `imsart.sty'. |