-
Notifications
You must be signed in to change notification settings - Fork 0
/
autart.cls
1472 lines (1452 loc) · 55.7 KB
/
autart.cls
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%% The file autart.cls has been obtained by making minor
%% modifications (all identified by the initials HK) to
%% the style file elsart.cls.
%%
%% The file autart.cls is a style file for LaTeX2e
%% meant to assist authors who prepare papers to be
%% submitted to the IFAC Journal Automatica (published
%% by Elsevier Science).
%%
%% The two-column output produced with this style file does not
%% exactly imitate the style of the printed journal but it is
%% sufficiently similar to be useful in formatting equations,
%% tables and figures.
%%
%% The output may also be helpful in assessing the length of
%% the printed version of the article.
%%
%% For information contact Huibert Kwakernaak at
%% h.kwakernaak@math.utwente.nl
%%
%% April 1, 2001
% version 2.18pl1: \parskip has more stretch and shrink
%%
%% This is file `elsart.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% esl.dtx (with options: `package,elsart,ONECOL,DEEPLIST')
%%
%% elsart.cls Copyright (C) 1994-2001 Elsevier Science
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.2
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
\def\readRCS$#1: #2 #3 #4 #5${%
\def\RCSfile{#2}%
\def\RCSversion{#3}%
\def\RCSdate{#4}%
}
\readRCS
$Header: /source/repository/eslatex/src/texmf/source/latex/elsevier/esl.dtx,v 1.6 2000/10/09 10:45:59 dabeyko Exp $
\def\@shortjnl{\relax}
\def\esp@fileversion{2.18pl1}
\def\esp@filedate{2001/03/28}
% \def\@journal{Elsevier Science} \def\@company{Elsevier Science} % HK,
\def\@journal{Automatica} \def\@company{Elsevier Science} % Feb. 22, 2001
\def\@issn{000-0000}
\def\@shortjid{autart}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{\@shortjid}[\esp@filedate, \esp@fileversion: \@journal]
\newif\if@TwoColumn
\newif\if@seceqn
\newif\if@secthm
\newif\if@nameyear
\newif\if@Elproofing
\@Elproofingfalse
\DeclareOption{12pt}{}
\DeclareOption{11pt}{}
\DeclareOption{10pt}{}
\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
\@twocolumnfalse
\DeclareOption{onecolumn}{\@twocolumnfalse\@TwoColumnfalse}
\DeclareOption{twocolumn}{\@twocolumntrue\@TwoColumntrue}
\let\snm\relax \let\cty\relax \let\cny\relax\let\jr\relax
\newif\if@ussrhead \@ussrheadfalse
\DeclareOption{ussrhead}{\@ussrheadtrue}
\@seceqnfalse % Default: equation numbering is not
\DeclareOption{seceqn}{\@seceqntrue} % reset at beginning of each section
\@secthmfalse
\DeclareOption{secthm}{\@secthmtrue}
\@nameyearfalse
\DeclareOption{nameyear}{\@nameyeartrue}
\def\@blstr{1}
\DeclareOption{doublespacing}{\def\@blstr{1.7}}
\DeclareOption{reviewcopy}{\def\@blstr{1.7}}
\newif\if@symbold\@symboldfalse
\DeclareOption{symbold}{\@symboldtrue}
\newif\if@amsthm\@amsthmfalse
\DeclareOption{amsthm}{\@amsthmtrue}
\ExecuteOptions{oneside}
\ExecuteOptions{twocolumn,final}
\ProcessOptions
\def\@pagenumprefix{}
\def\author@font{}
\def\partname{Part}
\def\appendixname{Appendix}
\def\contentsname{Contents}
\def\listfigurename{List of Figures}
\def\listtablename{List of Tables}
\def\refname{References}
\def\indexname{Index}
\def\figurename{Fig.}
\def\tablename{Table}
\def\abstractname{Abstract}
\lineskip 1\p@
\normallineskip 1\p@
\def\baselinestretch{1}
\frenchspacing
\def\cropwidth{297mm}
\def\cropheight{210mm}
\def\cropleft{0mm}
\def\croptop{0mm}
\def\FullCopyrightText{}
\def\copyrightholder#1{\def\@copyrightholder{#1}}
\newdimen\@frontmatterwidth
\def\@overtitleskip{69\p@}
\def\@overhistoryskip{\z@}
\def\@undertitleskip{\z@}
\def\@overkeywordskip{12\p@}
\def\@overabstractskip{8\p@}
\def\@overcaptionskip{8\p@}
\def\@preabstractskip{24\p@ \@plus 6\p@ \@minus 3\p@}
\def\@belowfmskip{18\p@}
%\def\@bibliosize{\small}
\def\@bibliosize{\scriptsize}
\def\@historysize{\small}
\def\@keywordsize{\small}
\def\@overaddressskip{2pt}
\def\@titlesize{\Large\bfseries}
\def\@authorsize{\large}
\def\@keywordheading{{\it Key words: \ }}
\def\@addressstyle{\small\itshape}
\def\@captionsize{\small}
\def\@tablecaptionsize{\@captionsize}
\def\@figurecaptionsize{\@captionsize}
\def\@tablesize{\small}
\def\@keywordwidth{.8\textwidth}
\def\@abstractwidth{.8\textwidth}
\def\@fignumfont#1{#1}
\def\@secnumfont#1{\upshape}
\def\@catchlinesize{\footnotesize}
\def\@runheadsize{\normalsize}
\def\etal{et al.}
\def\AND{\&}
\def\@Colofonheight{1cm}
\def\@abstractsize{\fontsize{\@ixpt}{11pt}\selectfont}
\def\@articletypesize{\fontsize{\@xiiipt}{13pt}\selectfont}
%\def\normalsize{\@setfontsize\normalsize\@xiipt{14.5}%
\def\normalsize{\@setfontsize\normalsize\@xpt{11}% % HK February 21, 2001
%
\abovedisplayskip 12\p@ \@plus 2\p@ \@minus 2\p@%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ \@plus 2\p@%
\belowdisplayshortskip 3.5\p@ \@plus 2\p@ \@minus 2\p@%
\let\@listi\@listI}
%\def\small{\@setfontsize\small\@xipt{13.6}% % HK,
\def\small{\@setfontsize\small\@ixpt{10}% % Feb. 22, 2001
\abovedisplayskip 11\p@ \@plus3\p@ minus6\p@
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ minus3\p@
\def\@listi{\leftmargin\leftmargini
\parsep 4.5\p@ \@plus2\p@ minus\p@ \itemsep \parsep
\topsep 9\p@ \@plus3\p@ minus5\p@}}
\let\footnotesize=\small
\let\@xviiipt\@xviipt
\def\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
\def\tiny{\@setfontsize\tiny\@vipt{7}}
\def\large{\@setfontsize\large\@xivpt{18}}
\def\Large{\@setfontsize\Large\@xviipt{22}}
\def\LARGE{\@setfontsize\LARGE\@xxpt{22}}
\def\huge{\@setfontsize\huge\@xxvpt{27}}
\let\Huge=\huge
\normalsize % Choose the normalsize font.
\newdimen\@bls % Several dimensions are
\@bls=\baselineskip % expressed in terms of this.
%\if@twoside % Values for two-sided printing: % Commented
% \oddsidemargin 20\p@ % Left margin on odd-numbered pages. % out by HK
% \evensidemargin 20\p@ % Left margin on even-numbered pages. %
% \marginparwidth 10\p@ % \@Width of marginal notes. %
%\else % Values for one-sided printing: %
% \oddsidemargin 20\p@ % Left margin on odd-numbered pages. %
% \evensidemargin 20\p@ % Left margin on even-numbered pages. %
% \marginparwidth 2pc
%\fi
\if@twoside % Values for two-sided printing: % Inserted
\oddsidemargin -1cm % Left margin on odd-numbered pages. % by HK
\evensidemargin -1cm % Left margin on even-numbered pages. % Feb. 22, 2001
\marginparwidth 1pc % \@Width of marginal notes. %
\else % Values for one-sided printing: %
\oddsidemargin -1cm % Left margin on odd-numbered pages. %
\evensidemargin -1cm % Left margin on even-numbered pages. %
\marginparwidth 1pc
\fi
\marginparsep 20\p@ % Horizontal space between outer margin and
% marginal note
\topmargin \z@ % Nominal distance from top of page to top of
% box containing running head.
\headheight \z@ % \@Height of box containing running head.
\headsep \z@ % Space between running head and text.
\footskip 40\p@
\bigskipamount=\@bls \@plus 0.3\@bls \@minus 0.3\@bls % 1/1 line
\medskipamount=0.5\bigskipamount % 1/2 line
\smallskipamount=0.25\bigskipamount % 1/4 line
\@tempdima=651pt \advance\@tempdima -\topskip \@tempcnta=\@tempdima
\@tempdimb=\@blstr\@bls \@tempcntb=\@tempdimb
\divide\@tempcnta\@tempcntb
\textheight\@tempdimb \multiply\textheight\@tempcnta
\advance\textheight\topskip
%\textwidth 33pc % \@Width of text line. % Commented out by HK
\textwidth 42pc % \@Width of text line. % Added by HK, Feb. 22, 2001
% For two-column mode:
\columnsep 2pc % Space between columns
\columnseprule \z@ % \@Width of rule between columns.
\footnotesep 8.4\p@
\skip\footins 12\p@ \@plus 8\p@ % Space between last line of text and
% top of first footnote.
\floatsep 8\p@ \@plus 4\p@ \@minus 2\p@ % Space between adjacent floats moved
% to top or bottom of text page.
\textfloatsep 8\p@ \@plus 4\p@ \@minus 2\p@ % Space between main text and floats
% at top or bottom of page.
\intextsep 8\p@ \@plus 4\p@ \@minus 2\p@ % Space between in-text figures and
% text.
\dblfloatsep 8\p@ \@plus 4\p@ \@minus 4\p@ % Same as \floatsep for double-column
% figures in two-column mode.
\dbltextfloatsep 12\p@ \@plus 4\p@ \@minus 4\p@ % \textfloatsep for double-column
% floats.
\@fptop \z@ \@plus 1fil % Stretch at top of float page/column. (Must be
% \z@ \@plus ...)
\@fpsep 8\p@ \@plus 2fil % Space between floats on float page/column.
\@fpbot \z@ \@plus 1fil % Stretch at bottom of float page/column. (Must be
% \z@ \@plus ... )
\@dblfptop \z@ \@plus 1fil % Stretch at top of float page. (Must be \z@ \@plus ...)
\@dblfpsep 8\p@ \@plus 2fil % Space between floats on float page.
\@dblfpbot \z@ \@plus 1fil % Stretch at bottom of float page. (Must be
% \z@ \@plus ... )
\marginparpush 5\p@ % Minimum vertical separation between two marginal
% notes.
\parskip 1pc \@plus 2\p@ \@minus 2\p@% Extra vertical space between paragraphs.
\parindent \z@ % Indentation of each paragraph.
\newskip\eqntopsep % Extra vertical space, in addition to
\eqntopsep 12\p@ \@plus 2\p@ \@minus 2\p@ %\parskip, added above and below
\newdimen\eqnarraycolsep % Half the space between columns
\eqnarraycolsep 1\p@ % in an \eqnarray.
\@lowpenalty 51 % Produced by \nopagebreak[1] or \nolinebreak[1]
\@medpenalty 151 % Produced by \nopagebreak[2] or \nolinebreak[2]
\@highpenalty 301 % Produced by \nopagebreak[3] or \nolinebreak[3]
\@beginparpenalty -\@lowpenalty % Before a list or paragraph environment.
\@endparpenalty -\@lowpenalty % After a list or paragraph environment.
\@itempenalty -\@lowpenalty % Between list items.
%\def\section{\@startsection{section}{1}{\z@}{1.5\@bls % HK,
% \@plus .4\@bls \@minus .1\@bls}{\@bls}{\normalsize\bfseries}} % Feb. 22, 2001
\def\section{\@startsection{section}{1}{\z@}{0.5\@bls %
\@plus .4\@bls \@minus .1\@bls}{0.2\@bls}{\normalsize\bfseries}} %
%\def\subsection{\@startsection{subsection}{2}{\z@}{\@bls % HK,
% \@plus .3\@bls \@minus .1\@bls}{\@bls}{\normalsize\itshape}} % Feb. 22, 2001
\def\subsection{\@startsection{subsection}{2}{\z@}{.2\@bls %
\@plus .3\@bls \@minus .1\@bls}{.2\@bls}{\normalsize\itshape}} %
%\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{\@bls % HK,
% \@plus .2\@bls}{0.0001pt}{\normalsize\itshape}} % Feb. 22, 2001
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{.2\@bls %
\@plus .2\@bls}{0.0001pt}{\normalsize\itshape}} %
\def\paragraph{\@startsection{paragraph}{4}{\z@}{3.25ex \@plus
2ex \@minus 0.2ex}{-1em}{\normalsize\bfseries}}
\setcounter{secnumdepth}{4}
\def\half@em{\hskip 0.5em}
\def\lb@part{PART \thepart.\half@em}
\def\lb@empty@part{PART \thepart}
\def\lb@section{\thesection.\half@em}
\def\lb@empty@section{\thesection}
\def\lb@subsection{\thesubsection.\half@em}
\def\lb@empty@subsection{\thesubsection}
\def\lb@subsubsection{\thesubsubsection.\half@em}
\def\lb@empty@subsubsection{\thesubsubsection}
\def\lb@paragraph{\theparagraph.\half@em}
\def\lb@empty@paragraph{\theparagraph}
\def\lb@subparagraph{\thesubparagraph.\half@em}
\def\lb@empty@subparagraph{\thesubparagraph}
\def\head@format#1#2{#2}
\def\head@style{\interlinepenalty\@M
\hyphenpenalty\@M \exhyphenpenalty\@M
\rightskip \z@ \@plus 0.5\hsize \relax
}
\def\app@number#1{\setcounter{#1}{0}%
\@addtoreset{#1}{section}%
\@namedef{the#1}{\thesection.\arabic{#1}}}
\def\appendix{\@ifstar{\appendix@star}{\appendix@nostar}}
\def\appendix@nostar{%
\def\lb@section{\appendixname\ \thesection.\half@em}
\def\lb@empty@section{\appendixname\ \thesection}
\setcounter{section}{0}\def\thesection{\Alph{section}}%
\setcounter{subsection}{0}%
\setcounter{subsubsection}{0}%
\setcounter{paragraph}{0}%
\app@number{equation}\app@number{figure}\app@number{table}}
\def\appendix@star{%
\def\lb@section{\appendixname}\let\lb@empty@section\lb@section
\setcounter{section}{0}\def\thesection{\Alph{section}}%
\setcounter{subsection}{0}%
\setcounter{subsubsection}{0}%
\setcounter{paragraph}{0}%
\app@number{equation}\app@number{figure}\app@number{table}}
\def\ack{\section*{Acknowledgements}%
\addtocontents{toc}{\protect\vspace{6pt}}%
\addcontentsline{toc}{section}{Acknowledgements}%
}
\@namedef{ack*}{\par\vskip 3.0ex \@plus 1.0ex \@minus 1.0ex}
\let\endack\par
\@namedef{endack*}{\par}
\newdimen\labelwidthi
\newdimen\labelwidthii
\newdimen\labelwidthiii
\newdimen\labelwidthiv
\def\normal@labelsep{0.5em}
\labelsep\normal@labelsep
\settowidth{\labelwidthi}{(iii)}
\settowidth{\labelwidthii}{(d)}
\settowidth{\labelwidthiii}{(iii)}
\settowidth{\labelwidthiv}{(M)}
\leftmargini\labelwidthi \advance\leftmargini\labelsep
\leftmarginii\labelwidthii \advance\leftmarginii\labelsep
\leftmarginiii\labelwidthiii \advance\leftmarginiii\labelsep
\leftmarginiv\labelwidthiv \advance\leftmarginiv\labelsep
\def\setleftmargin#1#2{\settowidth{\@tempdima}{#2}\labelsep\normal@labelsep
\csname labelwidth#1\endcsname\@tempdima
\@tempdimb\@tempdima \advance\@tempdimb\labelsep
\csname leftmargin#1\endcsname\@tempdimb}
\def\@listI{\leftmargin\leftmargini
\labelwidth\labelwidthi \labelsep\normal@labelsep
\topsep \z@ \partopsep\z@ \parsep\z@ \itemsep\z@
\listparindent 1em}
\def\@listii{\leftmargin\leftmarginii
\labelwidth\labelwidthii \labelsep\normal@labelsep
\topsep\z@ \partopsep\z@ \parsep\z@ \itemsep\z@
\listparindent 1em}
\def\@listiii{\leftmargin\leftmarginiii
\labelwidth\labelwidthiii \labelsep\normal@labelsep
\topsep\z@ \partopsep\z@ \parsep\z@ \itemsep\z@
\listparindent 1em}
\def\@listiv{\leftmargin\leftmarginiv
\labelwidth\labelwidthiv \labelsep\normal@labelsep
\topsep\z@ \partopsep\z@ \parsep\z@ \itemsep\z@
\listparindent 1em}
\let\@listi\@listI
\@listi
\def\left@label#1{{#1}\hss}
\def\right@label#1{\hss\llap{#1}}
\def\thick@label#1{\hspace\labelsep #1}
\newcount\@maxlistdepth
\@maxlistdepth=4
\def\labelitemi{$\bullet$} \def\labelitemii{$\cdot$}
\def\labelenumi{(\theenumi)} \def\theenumi{\arabic{enumi}}
\def\labelenumii{(\alph{enumii})} \def\theenumii{\theenumi\alph{enumii}}
\def\labelenumiii{(\roman{enumiii})}\def\theenumiii{\theenumii.\roman{enumiii}}
\def\labelenumiv{(\Alph{enumiv})} \def\theenumiv{\theenumiii.\Alph{enumiv}}
\def\enumerate{%
\ifnum \@enumdepth >\@maxlistdepth
\@toodeep
\else
\advance\@enumdepth \@ne
\edef\@enumctr{enum\romannumeral\the\@enumdepth}%
\list{\csname label\@enumctr\endcsname}%
{\usecounter{\@enumctr}
\let\makelabel=\right@label}
\fi}
\def\itemize{%
\ifnum \@itemdepth >\@maxlistdepth
\@toodeep
\else
\advance\@itemdepth \@ne
\edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
\setleftmargin{i}{--}%
\setleftmargin{ii}{$\cdot$}%
\list{\csname\@itemitem\endcsname}%
{\let\makelabel\right@label}
\fi}
\def\verse{\let\\=\@centercr
\list{}{\itemsep\z@
\itemindent \z@
\listparindent\z@
\rightmargin 1em
\leftmargin \rightmargin}\item[]}
\let\endverse\endlist
\def\quotation{\list{}{\itemindent\z@
\leftmargin 1em \rightmargin \z@
\parsep \z@ \@plus 1pt}\item[]}
\let\endquotation=\endlist
\def\quote{\list{}{\itemindent\z@
\leftmargin 1em \rightmargin \z@}%
\item[]}
\let\endquote=\endlist
\def\descriptionlabel#1{\hspace\labelsep \bfseries #1}
\def\description{\list{}{\labelwidth\z@
\leftmargin 1em \itemindent-\leftmargin
\let\makelabel\descriptionlabel}}
\let\enddescription\endlist
\def\@atfmtname{atlplain}
\ifx\fmtname\@atfmtname
\def\neq{\not\nobreak\mkern -2mu =}%
\let\ne\neq
\fi
\def\operatorname#1{\mathop{\mathrm{#1}}\nolimits}
\def\lefteqn#1{\hbox to\z@{$\displaystyle {#1}$\hss}}
\newskip\eqnbaselineskip % Standard interline spacing in an {eqnarray}
\jot=2\p@
\newskip\eqnlineskip % Minimal space between the bottom of
% a line and the top of the next line.
\eqnbaselineskip=14\p@ \eqnlineskip=2\p@
\newdimen\mathindent
\if@TwoColumn
\mathindent 0em
\else
\mathindent 2em
\fi
\def\[{\relax\ifmmode\@badmath
\else%\bgroup removed on request from BW (1993-05-17)
\@beginparpenalty\predisplaypenalty
\@endparpenalty\postdisplaypenalty
\begin{trivlist}\@topsep \eqntopsep % used by first \item
% \@topsepadd \eqntopsep % used by \@endparenv % Uncommented by HK Feb. 23, 2001
\item[]\leavevmode
\hbox to\linewidth\bgroup$ \displaystyle
\hskip\mathindent\bgroup\fi}
\def\]{\relax\ifmmode \egroup $\hfil \egroup
\end{trivlist}% \egroup removed on request from BW (1993-05-17)
\else \@badmath \fi}
\def\equation{\@beginparpenalty\predisplaypenalty
\@endparpenalty\postdisplaypenalty
\refstepcounter{equation}\trivlist
\@topsep \eqntopsep % used by first \item
% \@topsepadd \eqntopsep % used by \@endparenv % Uncommented HK Feb. 22, 2001
\item[]\leavevmode
\hbox to\linewidth\bgroup $ \displaystyle \hskip\mathindent\bgroup}
\def\endequation{\egroup$\hfil \displaywidth\linewidth
\@eqnnum\egroup \endtrivlist}
\def\eqnarray{%
% \par %BW % Uncommented HK
% \noindent %BW % Feb. 22, 2001
% \baselineskip\eqnbaselineskip\lineskip\eqnlineskip %BW %
% \lineskiplimit\eqnlineskip %BW %
\stepcounter{equation}%
\let\@currentlabel=\theequation
\global\@eqnswtrue
\global\@eqcnt\z@
\tabskip\mathindent
\let\\=\@eqncr
\abovedisplayskip\eqntopsep\ifvmode\advance\abovedisplayskip\partopsep\fi
\belowdisplayskip\abovedisplayskip
\belowdisplayshortskip\abovedisplayskip
\abovedisplayshortskip\abovedisplayskip
$$\halign to \displaywidth\bgroup\@eqnsel
\pre@coli$\displaystyle\tabskip\z@{##}$\post@coli
&\global\@eqcnt\@ne
\pre@colii$\displaystyle{##}$\post@colii
&\global\@eqcnt\tw@
\pre@coliii $\displaystyle\tabskip\z@{##}$\post@coliii
\tabskip\@centering&\llap{##}\tabskip\z@\cr
}
\def\endeqnarray{\@@eqncr\egroup
\global\advance\c@equation\m@ne$$\global\@ignoretrue }
\def\pre@coli{\hskip\@centering} \def\post@coli{}
\def\pre@colii{\hskip 2\eqnarraycolsep \hfil} \def\post@colii{\hfil}
\def\pre@coliii{\hskip 2\eqnarraycolsep} \def\post@coliii{\hfil}
\arraycolsep 2\p@ % Half the space between columns in array environment.
\tabcolsep 6\p@ % idem in tabular environment.
\def\arraystretch{1.5} % More vertical space in tables
\arrayrulewidth 0.4\p@ % \@Width of rules and space between adjacent
\doublerulesep 2\p@ % rules in any of these two environments.
\newdimen\rulepreskip \newdimen\rulepostskip
\rulepreskip=4\p@ \rulepostskip=6\p@
\tabbingsep \labelsep % Space used by the \' command. (See LaTeX{} manual.)
\skip\@mpfootins = 6\p@ \@plus 2\p@ % Space between last line of text and
% top of first footnote.
\fboxsep = 7\p@ % Space left between box and text by \fbox and \framebox.
\fboxrule = 0.4\p@ % \@Width of rules in box made by \fbox and \framebox.
\newcounter{section}
\newcounter{subsection}[section]
\newcounter{subsubsection}[subsection]
\newcounter{paragraph}[subsubsection]
\newcounter{subparagraph}[paragraph]
\if@seceqn
\@addtoreset{equation}{section}
\def\theequation{\arabic{section}.\arabic{equation}}
\else
\def\theequation{\arabic{equation}}
\fi
\def\thesection {\arabic{section}}
\def\thesubsection {\thesection.\arabic{subsection}}
\def\thesubsubsection{\thesubsection.\arabic{subsubsection}}
\def\theparagraph {\thesubsubsection.\arabic{paragraph}}
\def\thesubparagraph {\theparagraph.\arabic{subparagraph}}
\@addtoreset{section}{part} % reset section numbers at beginning of part
\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
\RequirePackage{latexsym}
\def\qed{\relax\ifmmode\hskip2em \Box\else\unskip\nobreak\hskip1em $\Box$\fi}
\def\proof@headerfont{\upshape\bfseries}
\if@amsthm
\RequirePackage{amsthm}%
\def\th@plain{%
\thm@preskip\parskip
\thm@postskip\z@
\itshape % body font
}
\def\th@definition{%
\thm@preskip\parskip
\thm@postskip\z@
\normalfont % body font
}
\def\th@remark{%
\thm@headfont{\itshape}%
\normalfont % body font
\thm@preskip\parskip \divide\thm@preskip\tw@
\thm@postskip\z@
}
\else\let\theoremstyle\@gobble\fi
\newenvironment{pf}%
{\par\addvspace{\@bls \@plus 0.5\@bls \@minus 0.1\@bls}\noindent
{\bfseries\Elproofname}\enspace\ignorespaces}%
{\par\addvspace{\@bls \@plus 0.5\@bls \@minus 0.1\@bls}}
\def\Elproofname{PROOF.}
\@namedef{pf*}#1{\par\begingroup\def\Elproofname{#1}\pf\endgroup\ignorespaces}
\expandafter\let\csname endpf*\endcsname=\endpf
\theoremstyle{plain}
\if@secthm
\newtheorem{thm}{Theorem}[section]
\@addtoreset{thm}{section}
\else
\newtheorem{thm}{Theorem}
\fi
\newtheorem{cor}[thm]{Corollary}
\newtheorem{lem}[thm]{Lemma}
\newtheorem{claim}[thm]{Claim}
\newtheorem{axiom}[thm]{Axiom}
\newtheorem{conj}[thm]{Conjecture}
\newtheorem{fact}[thm]{Fact}
\newtheorem{hypo}[thm]{Hypothesis}
\newtheorem{assum}[thm]{Assumption}
\newtheorem{prop}[thm]{Proposition}
\newtheorem{crit}[thm]{Criterion}
\theoremstyle{definition}
\newtheorem{defn}[thm]{Definition}
\newtheorem{exmp}[thm]{Example}
\newtheorem{rem}[thm]{Remark}
\newtheorem{prob}[thm]{Problem}
\newtheorem{prin}[thm]{Principle}
\newtheorem{alg}{Algorithm}
\long\def\@makealgocaption#1#2{\vskip 2ex \small
\hbox to \hsize{\parbox[t]{\hsize}{{\bfseries #1.} #2}}}
\newcounter{algorithm}
\def\thealgorithm{\@arabic\c@algorithm}
\def\fps@algorithm{tbp}
\def\ftype@algorithm{4}
\def\ext@algorithm{lof}
\def\fnum@algorithm{Algorithm \thealgorithm}
\def\algorithm{\let\@makecaption\@makealgocaption\@float{algorithm}}
\let\endalgorithm\end@float
\newtheorem{note}{Note}
\newtheorem{summ}{Summary}
\newtheorem{case}{Case}
\def\@pnumwidth{2.55em}
\def\@tocrmarg{2.55em \@plus 5em}
\def\@dotsep{-2.5}
\setcounter{tocdepth}{2}
\newcommand\listoffigures{%
\section*{\listfigurename
\@mkboth{\MakeUppercase\listfigurename}%
{\MakeUppercase\listfigurename}}%
\@starttoc{lof}%
}
\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
\newcommand\listoftables{%
\section*{\listtablename
\@mkboth{%
\MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
\@starttoc{lot}%
}
\let\l@table\l@figure
\def\tableofcontents{%
\begin{small}
\leftline {{\bfseries \contentsname\/}}
\setcounter{secnumdepth}{4}%
\setcounter{tocdepth}{2}%
{\@starttoc{toc}}%
\end{small}
}
\newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
\def\@dotsep{2000}
%\def\thebibliography{%
% \@startsection{section}{1}{\z@}{20\p@ \@plus 8\p@ \@minus 4pt}
% {\@bls}{\normalsize\bfseries}*{\refname}%
\def\thebibliography{%
\@startsection{section}{1}{\z@}{.5\@bls \@plus 8\p@ \@minus 4pt}
{.2\@bls}{\normalsize\bfseries}*{\refname}%
\addcontentsline{toc}{section}{\refname}%
\@thebibliography}
\let\endthebibliography=\endlist
\def\@thebibliography#1{\@bibliosize
\list{\@biblabel{\arabic{enumiv}}}{\settowidth\labelwidth{\@biblabel{#1}}
\if@nameyear
\labelwidth\z@ \labelsep\z@ \leftmargin\parindent
\itemindent-\parindent
\else
\labelsep 3\p@ \itemindent\z@
\leftmargin\labelwidth \advance\leftmargin\labelsep
\fi
\itemsep 0.3\@bls \@plus 0.1\@bls \@minus 0.1\@bls
\usecounter{enumiv}\let\p@enumiv\@empty
\def\theenumiv{\arabic{enumiv}}}%
\tolerance\@M
\hyphenpenalty\@M
\hbadness5000 \sfcode`\.=1000\relax}
\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
\if@nameyear
\def\@biblabel#1{}
\else
\def\@biblabel#1{[#1]\hskip \z@ \@plus 1filll}
\fi
\let\make@bb@error\relax
\def\@mkbberr{\def\bibitem{\ClassError{elsart}%
{Bibitem after note}%
{You are using a bibitem after a note in a subbibitems
environment;\MessageBreak
note should the last item in a subbibitems environment}}}
\def\@itemnote{\make@bb@error\item[]}
\def\mk@noitemnote{\ifx\@tempa\note \let\note\@noitemnote \fi}
\def\@noitemnote{\let\note\@itemnote}
\AtBeginDocument{%
\let\nopeek@bibitem\@bibitem
\let\nopeek@lbibitem\@lbibitem
\def\@bibitem#1{\let\note\@itemnote\nopeek@bibitem{#1}%
\futurelet\@tempa\mk@noitemnote}
\def\@lbibitem[#1]#2{\let\note\@itemnote\nopeek@lbibitem[#1]{#2}%
\futurelet\@tempa\mk@noitemnote}
}
\newif\if@natbibloaded\@natbibloadedfalse
\AtBeginDocument{\@ifpackageloaded{natbib}{\@natbibloadedtrue}{}}
\newenvironment{subbibitems}[1]{%
\if@natbibloaded\def\bib@ctr{NAT@ctr}\else\def\bib@ctr{enumiv}\fi
\if@filesw {\let \protect \noexpand \immediate \write \@auxout
{\string \nocollapse@cites}%
\global\let\nocollapse@cites\relax}\fi
\def\@itemslabel{#1}%
\stepcounter{\bib@ctr}%
\edef\main@bibnum{\the\value{\bib@ctr}}%
\setcounter{\bib@ctr}{0}%
\def\thebib@ctr{\main@bibnum\alph{\bib@ctr}}%
\if@natbibloaded
\def\bibitem{\@ifnextchar [{\@lbibitem }{\global \NAT@stdbsttrue
\stepcounter {\bib@ctr}\@lbibitem [\thebib@ctr]}}%
\else
\def\@bibitem##1{\stepcounter{\bib@ctr}\@lbibitem[\thebib@ctr]{##1}}%
\fi
\let\make@bb@error\@mkbberr
}{%
\if@filesw {%
\if@natbibloaded{%
\let\protect\noexpand
\immediate\write\@auxout {\string\bibcite{\@itemslabel}%
{{\main@bibnum a--\alph {\bib@ctr}}{}{{}}{{}}}}%
\immediate\write\@auxout {\string\bibcite{\@itemslabel :s}%
{{\main@bibnum}{}{{}}{{}}}}%
}\else{%
\let\protect\noexpand
\immediate\write\@auxout {\string\bibcite{\@itemslabel}%
{\main@bibnum a--\alph{\bib@ctr}}}%
\immediate\write\@auxout {\string\bibcite{\@itemslabel :s}%
{\main@bibnum}}%
}\fi
}\fi
\setcounter{\bib@ctr}{\main@bibnum}%
}
\let\nocollapse@citex\@citex
\newcount\@tempcntc
\def\collapse@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
\@tempcnta\z@\@tempcntb\m@ne\def\@citea{}\@cite{\@for\@citeb:=#2\do
{\@ifundefined
{b@\@citeb}{\@citeo\@tempcntb\m@ne\@citea\def\@citea{,}{\bfseries ?}\@warning
{Citation `\@citeb' on page \thepage \space undefined}}%
{\setbox\z@\hbox{\global\@tempcntc0\csname b@\@citeb\endcsname\relax}%
\ifnum\@tempcntc=\z@ \@citeo\@tempcntb\m@ne
\@citea\def\@citea{,}\hbox{\csname b@\@citeb\endcsname}%
\else
\advance\@tempcntb\@ne
\ifnum\@tempcntb=\@tempcntc
\else\advance\@tempcntb\m@ne\@citeo
\@tempcnta\@tempcntc\@tempcntb\@tempcntc\fi\fi}}\@citeo}{#1}}
\let\@citex\collapse@citex
\def\nocollapse@cites{%
\@ifpackageloaded{hyperref}{}{\global\let\@citex\nocollapse@citex}%
\global\let\nocollapse@cites\relax}
\def\@citeo{\ifnum\@tempcnta>\@tempcntb\else\@citea\def\@citea{,}%
\ifnum\@tempcnta=\@tempcntb\the\@tempcnta\else
{\advance\@tempcnta\@ne\ifnum\@tempcnta=\@tempcntb \else \def\@citea{--}\fi
\advance\@tempcnta\m@ne\the\@tempcnta\@citea\the\@tempcntb}\fi\fi}
\@namedef{cv*}{\section*{Curriculum Vitae}\cv}
\def\cv{\hangindent=7pc \hangafter=-12 \parskip\bigskipamount \small}
\def\footnote{\@ifnextchar[{\@xfootnote}{\refstepcounter
{\@mpfn}\protected@xdef\@thefnmark{\thempfn}\@footnotemark\@footnotetext}}
\def\footnotemark{\@ifnextchar[{\@xfootnotemark
}{\refstepcounter{footnote}\xdef\@thefnmark{\thefootnote}\@footnotemark}}
\def\footnoterule{\kern-3\p@
\hrule \@width 3pc % The \hrule has default \@height of 0.4pt.
\kern 2.6\p@}
\def\thempfootnote{\alph{mpfootnote}}
\def\mpfootnotemark{%
\@ifnextchar[{\@xmpfootnotemark}{\stepcounter{mpfootnote}%
\begingroup
\let\protect\noexpand
\xdef\@thefnmark{\thempfootnote}%
\endgroup
\@footnotemark}}
\def\@xmpfootnotemark[#1]{%
\begingroup
\c@mpfootnote #1\relax
\let\protect\noexpand
\xdef\@thefnmark{\thempfootnote}%
\endgroup
\@footnotemark}
\def\@mpmakefnmark{\,\hbox{$^{\mathrm{\@thefnmark}}$}}
\long\def\@mpmakefntext#1{\noindent
\hbox{$^{\mathrm{\@thefnmark}}$} #1}
\def\@iiiminipage#1#2[#3]#4{%
\leavevmode
\@pboxswfalse
\setlength\@tempdima{#4}%
\def\@mpargs{{#1}{#2}[#3]{#4}}%
\setbox\@tempboxa\vbox\bgroup
\color@begingroup
\hsize\@tempdima
\textwidth\hsize \columnwidth\hsize
\@parboxrestore
\def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote}\c@mpfootnote\z@
\let\@footnotetext\@mpfootnotetext
\let\@makefntext\@mpmakefntext
\let\@makefnmark\@mpmakefnmark
\let\@listdepth\@mplistdepth \@mplistdepth\z@
\@minipagerestore\global\@minipagetrue %% \global added 24 May 89
\everypar{\global\@minipagefalse\everypar{}}}
\def\fn@presym{}
\long\def\@makefntext#1{\noindent\hbox to 1em
{$^{\fn@presym\mathrm{\@thefnmark}}$\hss}#1}
\def\@makefnmark{\,\hbox{$^{\fn@presym\mathrm{\@thefnmark}}$}\,}
\def\patched@end@dblfloat{%
\if@twocolumn
\par\vskip\z@skip %% \par\vskip\z@ added 15 Dec 87
\global\@minipagefalse
\outer@nobreak
\egroup %% end of vbox
\color@endbox
\ifnum\@floatpenalty <\z@
\@largefloatcheck
\@cons\@dbldeferlist\@currbox
\fi
\ifnum \@floatpenalty =-\@Mii \@Esphack\fi
\else
\end@float
\fi
}
\setcounter{topnumber}{5}
\def\topfraction{0.99}
\def\textfraction{0.05}
\def\floatpagefraction{0.9}
\setcounter{bottomnumber}{5}
\def\bottomfraction{0.99}
\setcounter{totalnumber}{10}
\def\dbltopfraction{0.99}
\def\dblfloatpagefraction{0.8}
\setcounter{dbltopnumber}{5}
\long\def\@maketablecaption#1#2{\@tablecaptionsize
\global \@minipagefalse
\hbox to \hsize{\parbox[t]{\hsize}{#1 \\ #2}}}
\long\def\@makefigurecaption#1#2{\@figurecaptionsize
\vskip \@overcaptionskip
\setbox\@tempboxa\hbox{#1. #2}
\ifdim \wd\@tempboxa >\hsize % IF longer than one line THEN
\unhbox\@tempboxa\par % set as justified paragraph
\else % ELSE
\global \@minipagefalse
\hbox to\hsize{\hfil\box\@tempboxa\hfil}% center single line.
\fi}
\def\@makecaption{\@makefigurecaption}
\def\conttablecaption{\par \begingroup \@parboxrestore \normalsize
\@makecaption{\fnum@table\,---\,continued}{}\par
\vskip-1pc \endgroup}
\def\contfigurecaption{\vskip-1pc \par \begingroup \@parboxrestore
\@captionsize
\@makecaption{\fnum@figure\,---\,continued}{}\par
\endgroup}
\newcounter{figure}
\def\thefigure{\@arabic\c@figure}
\def\fps@figure{tbp}
\def\ftype@figure{1}
\def\ext@figure{lof}
\def\fnum@figure{\figurename~\thefigure}
\def\figure{%
\let\@makecaption\@makefigurecaption
\let\contcaption\contfigurecaption \@float{figure}}
\let\endfigure\end@float
\@namedef{figure*}{%
\let\@makecaption\@makefigurecaption
\let\contcaption\contfigurecaption \@dblfloat{figure}}
\@namedef{endfigure*}{\end@dblfloat}
\newcounter{table}
\def\thetable{\@arabic\c@table}
\def\fps@table{tbp}
\def\ftype@table{2}
\def\ext@table{lot}
\def\fnum@table{\tablename~\thetable}
\let\old@floatboxreset\@floatboxreset
\def\table{%
\let\@makecaption\@maketablecaption
\def\@floatboxreset{%
\old@floatboxreset
\@tablesize
}%
\let\footnoterule\relax
\let\contcaption\conttablecaption \@float{table}}
\let\endtable\end@float
\@namedef{table*}{%
\let\@makecaption\@maketablecaption
\def\@floatboxreset{%
\old@floatboxreset
\@tablesize
}%
\let\footnoterule\relax
\let\contcaption\conttablecaption \@dblfloat{table}}
\@namedef{endtable*}{\end@dblfloat}
\newtoks\t@glob@notes % List of all notes
\newtoks\t@loc@notes % List of notes for one element
\newcount\note@cnt % Number of notes per element
\newtoks\corauth@text
\newtoks\email@text
\newtoks\url@text
\newcounter{corauth}
\newcounter{author} % Author counter
\newcount\n@author % Total number of authors
\def\n@author@{1} % idem, read from .aux file
\newcounter{collab} % Collaboration counter
\newcount\n@collab % Total number of collaborations
\def\n@collab@{} % idem, read from .aux file
\newcounter{address} % Address counter
\def\theHaddress{\arabic{address}}% for hyperref
\newdimen\sv@mathsurround % Dimen register to save \mathsurround
\newcount\sv@hyphenpenalty % Count register to save \hyphenpenalty
\newcount\prev@elem \prev@elem=0 % Variables to keep track of
\newcount\cur@elem \cur@elem=0 % types of elements that are processed
\chardef\e@title=1
\chardef\e@subtitle=1
\chardef\e@author=2
\chardef\e@collab=3
\chardef\e@address=4
\newif\if@newelem % Switch to new type of element?
\newif\if@firstauthor % First author or collaboration?
\newif\if@preface % If preface: omit history and abstract
\newif\if@hasabstract % If abstract / keywords: do not omit rules
\newif\if@haskeywords % If abstract / keywords: do not omit rules
\newbox\fm@box % Box for collected front matter
\newdimen\fm@size % Total height of \fm@box
\newbox\t@abstract % Box for abstract
\newbox\t@keyword % Box for keyword abstract
\let\report@elt\@gobble
\def\add@tok#1#2{\global#1\expandafter{\the#1#2}}
\def\add@xtok#1#2{\begingroup
\no@harm
\xdef\@act{\global\noexpand#1{\the#1#2}}\@act
\endgroup}
\def\beg@elem{\global\t@loc@notes={}\global\note@cnt\z@}
\def\@xnamedef#1{\expandafter\xdef\csname #1\endcsname}
\def\no@harm{%
\let\\=\relax \let\rm\relax
\let\ss=\relax \let\ae=\relax \let\oe=\relax
\let\AE=\relax \let\OE=\relax
\let\o=\relax \let\O=\relax
\let\i=\relax \let\j=\relax
\let\aa=\relax \let\AA=\relax
\let\l=\relax \let\L=\relax
\let\d=\relax \let\b=\relax \let\c=\relax
\let\bar=\relax
\def\protect{\noexpand\protect\noexpand}}
\def\proc@elem#1#2{\begingroup
\no@harm % make a few instructions harmless
\let\thanksref\@gobble % remove \thanksref from element
\let\corauthref\@gobble
\@xnamedef{@#1}{#2}% % and store as \@#1
\let\thanksref\add@thanksref
\let\corauthref\add@thanksref
\setbox\@tempboxa\hbox{#2}%
\endgroup
\prev@elem=\cur@elem % keep track of type of previous
\cur@elem=\csname e@#1\endcsname % and current element
}
\def\add@thanksref#1{\global\advance\note@cnt\@ne
\ifnum\note@cnt>\@ne \add@xtok\t@loc@notes{\note@sep}\fi
\add@tok\t@loc@notes{\ref{#1}}}
\def\note@sep{,}
\def\thanks{\@ifnextchar[{\@tempswatrue
\thanks@optarg}{\@tempswafalse\thanks@optarg[]}}
\def\thanks@optarg[#1]#2{\refstepcounter{footnote}%
\if@tempswa\label{#1}\else\relax\fi
\add@tok\t@glob@notes{\footnotetext}%
\add@xtok\t@glob@notes{[\the\c@footnote]}%
\add@tok\t@glob@notes{{#2}}%
\ignorespaces}
\def\corauth{\@ifnextchar[{\@tempswatrue
\corauth@optarg}{\@tempswafalse\corauth@optarg[]}}
\def\corauth@optarg[#1]#2{\refstepcounter{corauth}%
\if@tempswa\label{#1}\else\relax\fi
\add@tok\corauth@text{\footnotetext}%
\add@xtok\corauth@text{[\the\c@corauth]}%
\add@tok\corauth@text{{#2}}\ignorespaces}
\newcommand\ead[1][email]{%
\add@eadcomma{#1}%
\expandafter\ifcase\csname has@ead@#1\endcsname
\expandafter\global\expandafter\chardef
\csname has@ead@#1\endcsname=1\relax\else
\expandafter\global\expandafter\chardef
\csname has@ead@#1\endcsname=2\relax\fi
\add@ead{#1}%
}
\def\add@ead#1#2{%
\expandafter\add@tok\csname #1@text\endcsname{\texttt{#2}\ead@au}%
\expandafter\add@xtok\csname #1@text\endcsname{{\@author}}%
\ignorespaces
}
\def\add@eadcomma#1{%
\expandafter\ifcase\csname has@ead@#1\endcsname\else
\expandafter\add@tok\csname #1@text\endcsname{, }\fi
}
\let\@ead@au\@empty
\def\ead@newau{\ifx\@ead@au\@empty\else\ead@addau\@ead@au
\let\@ead@au\@empty\fi}
\let\ead@endau\ead@newau
\def\ead@addau#1{ (#1)}
\def\ead@au#1{\edef\@ead@au{#1}}
\def\email@name{Email address}
\def\emails@name{Email addresses}
\chardef\has@ead@email=0
\def\url@name{URL}
\def\urls@name{URLs}
\chardef\has@ead@url=0
\let\real@refstepcounter\refstepcounter
\def\footnote{\@ifnextchar[{\@xfootnote}{\real@refstepcounter
{\@mpfn}\protected@xdef\@thefnmark{\thempfn}\@footnotemark\@footnotetext}}
\def\footnotemark{\@ifnextchar[{\@xfootnotemark
}{\real@refstepcounter{footnote}\xdef\@thefnmark{\thefootnote}\@footnotemark}}
\def\footnoterule{\kern-3\p@
\hrule \@width 3pc % The \hrule has default \@height of 0.4pt.
\kern 2.6\p@}
\let\report@elt\@gobble
\newenvironment{NoHyper}{}{}
\def\frontmatter{%
\NoHyper
\let\@corresp@note\relax
\global\t@glob@notes={}\global\c@author\z@
\global\c@collab\z@ \global\c@address\z@
\sv@mathsurround\mathsurround \m@th
\global\n@author=0\n@author@\relax
\global\n@collab=0\n@collab@\relax
\global\advance\n@author\m@ne % In comparisons later on we need
\global\advance\n@collab\m@ne % n@author-1 and n@collab-1
\global\@firstauthortrue % set to false by first \author or \collab
\global\@hasabstractfalse % Default: no abstract or keywords
\global\@haskeywordsfalse % Default: no abstract or keywords
\global\@prefacefalse % not preface
\ifnum\c@firstpage=\c@lastpage
\gdef\@pagerange{\@pagenumprefix\ESpagenumber{firstpage}}
\else
\gdef\@pagerange{\@pagenumprefix
\ESpagenumber{firstpage}--\@pagenumprefix\ESpagenumber{lastpage}}%
\fi
\parskip 4\p@
\open@fm \ignorespaces}
\def\preface{\@prefacetrue}