-
Notifications
You must be signed in to change notification settings - Fork 0
/
aastex61.cls
6414 lines (5815 loc) · 187 KB
/
aastex61.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
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% AASTeX61.cls %%
%% October 5, 2016 %%
%% December 28, 2016 (bug fix on .bib file) %%
%% Copyright 2016 American Astronomical Society %%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\currversion{6.1}
%%
%% These files are distributed
%% WITHOUT ANY WARRANTY; without even the implied warranty of
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
%%
%% \CharacterTable
%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
%% Digits \0\1\2\3\4\5\6\7\8\9
%% Exclamation \! Double quote \" Hash (number) \#
%% Dollar \$ Percent \% Ampersand \&
%% Acute accent \' Left paren \( Right paren \)
%% Asterisk \* Plus \+ Comma \,
%% Minus \- Point \. Solidus \/
%% Colon \: Semicolon \; Less than \<
%% Equals \= Greater than \> Question mark \?
%% Commercial at \@ Left bracket \[ Backslash \\
%% Right bracket \] Circumflex \^ Underscore \_
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}%
%%
%%% date = "9/19/2016",
%%% author = "Amy Hendrickson (mailto:[email protected])"
%%% including
%%% 1) code from emulateapj.cls, version 01/23/15(marked below)
%%% written by Alexey Vikhlinin, which relies on RevTeX4-1
%%% for much functionality;
%%% 2) some code from aastex (marked below)
%%% 3) Original work by Amy Hendrickson (marked below) for
%%% extensive table tools, including easy decimal entry and splitting
%%% tables horizontally into 2 or 3 pieces, for tabular and deluxetable
%%% environments; rotate tables; gridlines for use in positioning figures,
%%% track changes.
%%% This work may be distributed and/or modified under the
%%% conditions of the LaTeX Project Public License, either version 1.3c
%%% 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.3 or later is part of all distributions of LaTeX
%%% version 2005/12/01 or later.
%
%%% This work has the LPPL maintenance status `maintained'.
%
%%% The Current Maintainer of this work is Greg Schwarz <[email protected]>
%%% This work consists of the file aastex.cls
%%% copyright = "Copyright (C) 2016 American Astronomical Society
%%%
%%% This work may be distributed and/or modified under the
%%% conditions of the LaTeX Project Public License, either version 1.3
%%% 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.3 or later is part of all distributions of LaTeX
%%% version 2003/12/01 or later.
%%%
%%% This work has the LPPL maintenance status "maintained".
%%%
%%% The Current Maintainer of this work is the American Astronomical Society.
%%%
%%% This work consists of all files listed in the document README.
%%%
%%% address = "American Astronomical Society
%%% USA",
%%% telephone = "+1 ???",
%%% FAX = "",
%%% email = "[email protected]",
%%% codetable = "ISO/ASCII",
%%% keywords = "latex, AAS, journal",
%%% supported = "yes",
%%% abstract = "formatter for AAS journal submissions",
%%% }
\ProvidesClass{aastex61}%%%
[2016/04/16 Version 6.1/AAS markup document class]%
{}
\ClassInfo{aastex}{%
^^J
^^J
Original \protect\LaTeX2.09 style
by Chris Biemesderfer ([email protected]).
^^J
Adapted to \protect\LaTeXe\space
by A. Ogawa ([email protected])%
^^J
emulateapj.cls included, Copyright 2000-2015 Alexey Vikhlinin
^^J
Rewrite and update of emulateapj.cls,
revised and enhanced with table macros, gridlines, draft watermark,^^J
track changes, new `modern' style and much more, by Amy Hendrickson,%
^^J
([email protected], http://www.texnology.com)
^^J
^^J
}%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% aastex.cls version 2.0 is a based on emulateapj.cls, version January 23, 2015,
%% and an older version of aastex.cls, with many additional functionalities.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Options. Document style options, and additional feature options.
% These are the General document style options, 6 choices
% manuscript : onecolumn, doublespace, 12pt fonts
%% Preprints are like manuscript, except they are single spaced.
% preprint : onecolumn, single space, 12pt fonts
% preprint2 : twocolumn, single space, 12pt fonts
%% Modern is new design developed by David Hogg and Daniel Foreman-Mackey
% modern : one column, single space, 10pt fonts, more stylish
% twocolumn : a two column article, single space, 10pt fonts
% Default document style option
% onecolumn : a one column article; single space, 10pt fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Additional feature options:
% revtex4 : will produce an error message and demand to download revtex4-1.
% twocolappendix: make 2 column appendix // produces error message.
% onecolappendix: make 1 column appendix is the default. // not needed because it is the default
% astrosymb : Loads Astrosymb font and define \astro commands.
% tighten : Makes baselineskip slightly smaller, only works with twocolumn option.
%% author can also use the commands \tighten, or \singlespace or \doublespace in the body of their article
%% to get this change to the baselineskip
% times : uses times font as the default
% linenumbers : turn on lineno package.
% trackchanges : required to see the revision mark up and print output
% letteredappendix: (was numbered appendix) Not needed because it is the default, will label appendix sections A, B, ...
% numberedappendix: Legacy command, will produce same results as lettered appendix, since we don't want more
% than one `section 1' in article: will cause problems for cross referencing.
\newif\ifmanu
\newif\iftwelvepoint
\newif\ifmodern
\newif\ifdoublespace
\newif\if@two@col
\newif\ifonecolstyle
\newif\iftwocolstyle
\DeclareOption{manuscript}{\twelvepointtrue\@two@colfalse\doublespacetrue\manutrue}%
%% Preprints are like manuscript but are single spaced:
\newif\ifpreprint
\DeclareOption{preprint}{\@two@colfalse\preprinttrue\twelvepointtrue}%
\newif\ifpreprinttwo
\DeclareOption{preprint2}{\@two@coltrue\preprinttwotrue\twelvepointtrue}%
%% New design suggested by
\DeclareOption{modern}{\@two@colfalse\twelvepointtrue\moderntrue}
%% left in from older version, in case it could be useful:
\DeclareOption{twocolumn}{\twocolstyletrue\@two@coltrue}
%% default style
\DeclareOption{onecolumn}{\onecolstyletrue}
%% obsolete option
\DeclareOption{revtex4}{\typeout{=================^^J^^J!!! The revtex4 option no longer
allowed!^^J^^J Please download revtex4-1.cls^^J^^J
Thank-you!^^J^^J=================}\stop}
\newif\if@two@col@app
\DeclareOption{twocolappendix}{\typeout{^^J^^J The option^^J
`twocolappendix' no
longer works! onecolappendix is preferred,^^J
and is the default.^^J^^J}\stop}%\@two@col@apptrue}
\DeclareOption{onecolappendix}{\@two@col@appfalse}%% this is default
\newif\iflongauthor
\DeclareOption{longauthor}{\global\longauthortrue}
\newlength{\bibbaselineskip}\setlength{\bibbaselineskip}{3.075mm}
\DeclareOption{astrosymb}{
\def\astro#1{\leavevmode\hbox{\astro@font#1}}%
\def\load@astro@font{%
\iftwelvepoint
\font\astro@font=Astrosym at 8pt
\else
\font\astro@font=Astrosym at 7pt
\fi
}%
\AtBeginDocument{\load@astro@font}
}
%% Default definition for \astro, in case astrosymb option has not
%% been used:
\def\astro#1{\typeout{^^J^^J Please use class option `astrosymb' to
access fonts for the \string\astro\space command
^^J^^J
}\stop}
\def\apjsecfont{\normalsize}
\def\secnum@size{\small}
\def\subsecnum@size{\normalsize}
\def\AppendixApjSectionMarkInTitle#1{\relax}
\newif\ifletteredappendix
\DeclareOption{letteredappendix}{\global\letteredappendixtrue
\def\AppendixApjSectionMarkInTitle#1{#1.\ }
}
%% this option is obsolete, since letteredappendix is a more logical name;
%% but keeping it here in case someone uses it, set to be the same as
%% letteredappendix.
\DeclareOption{numberedappendix}{\global\letteredappendixtrue
\def\AppendixApjSectionMarkInTitle#1{#1.\ }
}
\newif\if@number@appendix@floats\@number@appendix@floatsfalse
\DeclareOption{appendixfloats}{
\@number@appendix@floatstrue
}
%%%%%%%%%%%%%
%% AH
%% This option changes the baselineskips in the definitions of \normalsize etc
%% to make them a bit smaller.
\newif\iftighten
\DeclareOption{tighten}{\global\tightentrue}
%% AH
\newif\iftimes
\DeclareOption{times}{\global\timestrue}
\newif\ifnumlines
\DeclareOption{linenumbers}{\global\numlinestrue}
\newif\iftrack
\DeclareOption{trackchanges}{\global\tracktrue}
%% End AH Options
\ExecuteOptions{onecolumn,onecolappendix,letteredappendix}%
\ProcessOptions
%%%%%%%%%%%%%
%
\iftimes
%% Might be better to use apjfonts, from Alexey Vikhlinin's website
%% http://hea-www.harvard.edu/~alexey/emulateapj/apjfonts.sty
%%\usepackage{apjfonts}
%% but times.sty is ubiquitous, and many people may not have apjfonts.sty
%% or the fonts that it calls.
%% default fonts:
\usepackage{times}
\fi
%%%%%%%%%%%%%
\IfFileExists{revtex4-1.cls}{
\def\@revtex@cls{revtex4-1}
}{
\typeout{^^J^^J Please update your system to include
revtex4-1.cls^^J^^J}\stop
}
\def\@revtex@cls{revtex4-1}
\let\@startsection@from@latex=\@startsection
%% Passing options to revtex while loading:
\iftwelvepoint
\iflongauthor
\LoadClass[nofootinbib,showkeys,twoside,floatfix,unsortedaddress,flushbottom,12pt,aps,pra]
{\@revtex@cls}
\else
\LoadClass[nofootinbib,showkeys,twoside,floatfix,superscriptaddress,flushbottom,12pt,aps,pra]
{\@revtex@cls}
\fi
\else %not twelvepoint
\iflongauthor
\LoadClass[nofootinbib,showkeys,twoside,floatfix,unsortedaddress,flushbottom,10pt,aps,pra]
{\@revtex@cls}
\else
\LoadClass[nofootinbib,showkeys,twoside,floatfix,superscriptaddress,flushbottom,10pt,aps,pra]
{\@revtex@cls}
\fi
\fi
%%%%%%%%%%%%%%%%%%%%
\def\blankaffiliation{~}%
%% needed?
\def\@eapj@cap@font{\bfseries}
\def\@eapj@figname{Figure}
\def\@eapj@tabname{Table}
% Restore natbib package without sorting.
\def\NAT@sort{0}
\def\NAT@cmprs{0}
% only redefine sort@cites for natbib versions < 2009
\@ifundefined{NAT@sort@cites@}{\def\NAT@sort@cites#1{\edef\NAT@cite@list{#1}}}%
\RequirePackage{latexsym}%
\RequirePackage{graphicx}%
\RequirePackage{amssymb}%
\newcommand{\bibstyle@aas}{\bibpunct{(}{)}{;}{a}{}{,}}%
\@citestyle{aas}%
\let\@startsection=\@startsection@from@latex
\def\baselinestretch{1.0}
%% a bit more vertical space between horizontal lines, makes table more readable
\AtBeginDocument{\def\arraystretch{1.2}}
%% needed?
\def\raggedcolumn@sw#1#2{#2} % implement flushbottom as it was in revtex4
\RequirePackage{epsf,graphicx}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Font families
%% modification of bk10.clo, and bk12.clo, standard LaTeX distribution
%%
%% Implements doublespace used in `manuscript' option
%% Implements `tighten' option: make baselineskip smaller if `tighten' is used
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% tighten only works with two column styles:
\iftwocolstyle\else\global\tightenfalse\fi
%%% preprint, preprint2, manuscript are 12pt
%% Modified bk12.clo
\iftwelvepoint
\renewcommand\normalsize{%
\ifdoublespace % manuscript
\iftighten
\@setfontsize\normalsize\@xiipt{20}%
\else
\@setfontsize\normalsize\@xiipt{24}%
\fi
\else
\iftighten
\@setfontsize\normalsize\@xiipt{13}%
\else
\ifmodern
\@setfontsize\normalsize\@xiipt{16}%
\else
\@setfontsize\normalsize\@xiipt{15}%
\fi
\fi
\fi %% end doublespace/no double space
\abovedisplayskip 12\p@ \@plus3\p@ \@minus7\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
\belowdisplayskip \abovedisplayskip
\let\@listi\@listI}
\normalsize
\renewcommand\small{%
\ifdoublespace % manuscript
\@setfontsize\small\@xipt{20}%
\else
\ifmodern
\@setfontsize\small\@xipt{12}%
\else
\@setfontsize\small\@xipt{13.6}%
\fi\fi
%% end doublespace/no double space
\abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
\def\@listi{\leftmargin\leftmargini
\topsep 9\p@ \@plus3\p@ \@minus5\p@
\parsep 4.5\p@ \@plus2\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\renewcommand\footnotesize{%
\ifdoublespace % manuscriptstyle
\@setfontsize\footnotesize\@xpt{18}
\else
\ifmodern
\@setfontsize\footnotesize\@xpt{11}%
\else
\@setfontsize\footnotesize\@xpt\@xiipt
\fi\fi
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
\def\@listi{\leftmargin\leftmargini
\topsep 6\p@ \@plus2\p@ \@minus2\p@
\parsep 3\p@ \@plus2\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\ifdoublespace % manuscript style
\renewcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{14}}
\renewcommand\tiny{\@setfontsize\tiny\@vipt{10}}
\renewcommand\large{\@setfontsize\large\@xivpt{18}}
\renewcommand\Large{\@setfontsize\Large\@xviipt{22}}
\renewcommand\LARGE{\@setfontsize\LARGE\@xxpt{25}}
\renewcommand\huge{\@setfontsize\huge\@xxvpt{30}}
\else
\renewcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
\renewcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
\renewcommand\large{\@setfontsize\large\@xivpt{22}}
\renewcommand\Large{\@setfontsize\Large\@xviipt{24}}
\renewcommand\LARGE{\@setfontsize\LARGE\@xxpt{28}}
\renewcommand\huge{\@setfontsize\huge\@xxvpt{30}}
\fi
\let\Huge=\huge
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\else %% not twelvepoint, now tenpoint
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% no doublespace here, because the only doublespace is in `manuscript style' which is 12pt
\renewcommand\normalsize{%
\iftighten
\@setfontsize\normalsize\@xpt{11.5}%
\else
\@setfontsize\normalsize\@xpt{12.5}%
\fi
\abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
\abovedisplayshortskip \z@ \@plus3\p@
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
\belowdisplayskip \abovedisplayskip
\let\@listi\@listI}
\normalsize
\renewcommand\small{%
\iftighten
\@setfontsize\small\@ixpt{12}%
\else
\@setfontsize\small\@ixpt{11}%
\fi
\abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus2\p@
\belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 4\p@ \@plus2\p@ \@minus2\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
\renewcommand\footnotesize{%
\iftighten
\@setfontsize\footnotesize\@viiipt{9}%
\else
\@setfontsize\footnotesize\@viiipt{9.5}% standard eightpoint size
\fi
\abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
\abovedisplayshortskip \z@ \@plus\p@
\belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
\def\@listi{\leftmargin\leftmargini
\topsep 3\p@ \@plus\p@ \@minus\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}%
\belowdisplayskip \abovedisplayskip
}
%% Standard 10pt font sizes
\renewcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
\renewcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
\renewcommand\large{\@setfontsize\large\@xiipt{14}}
\renewcommand\Large{\@setfontsize\Large\@xivpt{18}}
\renewcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
\renewcommand\huge{\@setfontsize\huge\@xxpt{25}}
\renewcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
\fi
%% End font sizes
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
\setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
\setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
\setlength\headheight{12\p@}
\def\@listi{\leftmargin\leftmargini
\parsep 4\p@ \@plus2\p@ \@minus\p@
\topsep 8\p@ \@plus2\p@ \@minus4\p@
\itemsep4\p@ \@plus2\p@ \@minus\p@}
\let\@listI\@listi
\@listi
\def\@listii {\leftmargin\leftmarginii
\labelwidth\leftmarginii
\advance\labelwidth-\labelsep
\topsep 4\p@ \@plus2\p@ \@minus\p@
\parsep 2\p@ \@plus\p@ \@minus\p@
\itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
\labelwidth\leftmarginiii
\advance\labelwidth-\labelsep
\topsep 2\p@ \@plus\p@\@minus\p@
\parsep \z@
\partopsep \p@ \@plus\z@ \@minus\p@
\itemsep \topsep}
\def\@listiv {\leftmargin\leftmarginiv
\labelwidth\leftmarginiv
\advance\labelwidth-\labelsep}
\def\@listv {\leftmargin\leftmarginv
\labelwidth\leftmarginv
\advance\labelwidth-\labelsep}
\def\@listvi {\leftmargin\leftmarginvi
\labelwidth\leftmarginvi
\advance\labelwidth-\labelsep}
% ****************************************************
% * TWO AND SINGLE ONE COLUMN STYLES: AV *
% ****************************************************
%
%%%%% include atbeginend.sty by AV:
% Copy \begin and \end to \BeginEnvironment and \EndEnvironment
\let\BeginEnvironment=\begin
\let\EndEnvironment=\end
%% \ifundefined from TeXbook
\def\IfUnDef#1{\expandafter\ifx\csname#1\endcsname\relax}
% Null command needed to eat its argument
\def\NullCom#1{}
\def\begin#1{%
% if defined \BeforeBeg for this environment, execute it
\IfUnDef{BeforeBeg#1}\else\csname BeforeBeg#1\endcsname\fi%
\IfUnDef{AfterBeg#1}% This is done to skip the command for environments
% which can take arguments, like multicols; YOU MUST NOT
% USE \AfterBegin{...}{...} for such environments!
\let\SaveBegEnd=\BeginEnvironment%
\else
% Start this environment
\BeginEnvironment{#1}%
% and execute code after \begin{environment}
\csname AfterBeg#1\endcsname
\let\SaveBegEnd=\NullCom
\fi
\SaveBegEnd{#1}
}
\def\end#1{%
% execute code before \end{environment}
\IfUnDef{BeforeEnd#1}\else\csname BeforeEnd#1\endcsname\fi%
% close this environment
\EndEnvironment{#1}
% and execute code after \begin{environment}
\IfUnDef{AfterEnd#1}\else\csname AfterEnd#1\endcsname\fi%
}
\long\def\BeforeBegin#1#2{\expandafter\gdef\csname BeforeBeg#1\endcsname {#2}}
\long\def\BeforeEnd #1#2{\expandafter\gdef\csname BeforeEnd#1\endcsname {#2}}
\long\def\AfterBegin #1#2{\expandafter\gdef\csname AfterBeg#1\endcsname {#2}}
\long\def\AfterEnd #1#2{\expandafter\gdef\csname AfterEnd#1\endcsname{#2}}
%%%% end of atbeginend.sty
% ****************************************
% * PAGE LAYOUT *
% ****************************************
% Page size, spacing parameters, etc.
\textwidth=7.1in
\columnsep=0.3125in
\parindent=0.125in
\voffset=-20mm
\hoffset=-7.5mm
\topmargin=0in
\headheight=.15in
\headsep=0.5in
\oddsidemargin=0in
\evensidemargin=0in
\parskip=0cm
\tolerance=600 % 3x "normal" value; cuts down on overfull complaints
%% AV,MM, to have 64 lines per column, with textheight 25cm:
\textheight=64\baselineskip
\textheight=\baselinestretch\textheight
\ifdim\textheight>25.2cm\textheight=25.0cm\fi
%% so that the margin at the bottom of the page is about equal to margin at top. -- AH
\advance\textheight -54pt
\topskip\baselineskip
\maxdepth\baselineskip
\def\eqsecnum{
\@newctr{equation}[section]
\def\theequation{\hbox{\normalsize\arabic{section}-\arabic{equation}}}}
%% running heads:
\def\lefthead#1{\gdef\@versohead{#1}} \lefthead{\relax}
\def\righthead#1{\gdef\@rectohead{#1}} \righthead{\relax}
\let\shorttitle\lefthead
\let\shortauthors\righthead
\def\ps@apjheads{\let\@mkboth\markboth
\def\@evenfoot{}
\def\@evenhead{\lower9mm\hbox to\textwidth{
\rm\thepage\hfil \rm\textsc{\@rectohead} \hfil}}}
\def\@oddfoot{}
\def\@oddhead{\lower9mm\hbox to\textwidth{
\hfil\rm\textsc{\@versohead}\hfil \rm\thepage}}
\pagestyle{apjheads}
\@twosidetrue
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% TITLE PAGE %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\long\def\frontmatter@title@above{
\ifmodern
\vglue-18pt
{\footnotesize
\raggedright
{\sc Draft version \today}\\[2pt]
{\footnotesize
Typeset using \LaTeX\ {\bf modern} style in AASTeX61}
\vskip48pt
}
\else
%%
\ifpreprint
\vspace*{-\headsep}\vspace*{\headheight}
\footnotesize
\noindent{\sc Draft version \today}\\[2pt]
{\footnotesize Typeset using \LaTeX\ {\bf preprint} style in AASTeX61}
\par\vspace*{-\baselineskip}\vspace*{0.625in}
\else
%%
\ifpreprinttwo
\vspace*{-\headsep}\vspace*{\headheight}
\footnotesize
{\footnotesize\textsc{\@journalinfo}}\par
{\footnotesize Typeset using \LaTeX\ {\bf preprint2} style in AASTeX61}
\par\vspace*{-\baselineskip}\vspace*{0.625in}
\else
%%
\iftwocolstyle
\vspace*{-\headsep}\vspace*{\headheight}
\footnotesize
{\footnotesize\textsc{\@journalinfo}}\par
{\footnotesize Typeset using \LaTeX\ {\bf twocolumn} style in AASTeX61}
\par\vspace*{-\baselineskip}\vspace*{0.625in}
\else
\ifmanu
\vspace*{-\headsep}\vspace*{\headheight}
\footnotesize
\noindent\textsc{\@journalinfo}\\[-8pt]
{\footnotesize Typeset using \LaTeX\ {\bf manuscript} style in AASTeX61}
\par\vspace*{-\baselineskip}\vspace*{0.625in}
\else
%% Default
\vspace*{-\headsep}\vspace*{\headheight}
\footnotesize
{\footnotesize\textsc{\@journalinfo}}\par
{\footnotesize Typeset using \LaTeX\ default style in AASTeX61}%% default style
\par\vspace*{-\baselineskip}\vspace*{0.625in}
\fi\fi\fi\fi\fi
}%
\def\frontmatter@title@produce{%
\begingroup
\ifnumlines\nolinenumbers\fi
\frontmatter@title@above
\frontmatter@title@format
\@title
\vskip12pt
\@ifx{\@title@aux\@title@aux@cleared}{}{%
\expandafter\frontmatter@footnote\expandafter{\@title@aux}%
}%
\par
%% \class@warn{Unused short title ignored}%
\ifmodern
\vskip-42pt
\else
\ifmanu
\vskip-60pt
\else
\frontmatter@title@below
\fi
\fi
\endgroup
}%
\newcount\fncount
\newcount\endfncount
\long\def\tempfootnote#1{\global\advance\fncount by 1\relax%
\expandafter\gdef\csname footnote\the\fncount\endcsname{#1}}
\long\def\abstracttempfootnote#1{\global\advance\fncount by 1\relax%
\expandafter\gdef\csname absfootnote\the\fncount\endcsname{#1}}
\def\tempfootnoteintitle#1{}
\long\def\ltx@foottext#1#2{%
\begingroup
\expandafter\ltx@make@current@footnote\expandafter{\@mpfn}{#1}%
\@footnotetext{#2}%
\endgroup
}%
\def\kickoutfootnotes{\c@footnote=0\relax%
\loop\advance\endfncount by 1\relax%
\expandafter\ifx\csname footnote\the\endfncount\endcsname\relax%
\else%
\def\thempfn{\fnsymbol{footnote}}%
\advance\c@footnote by 1\relax%
\unskip\footnote{\csname footnote\the\endfncount\endcsname}%
\repeat}
%%
\renewcommand\title[2][]{%
\def\@title{\setbox0=\vbox{\let\footnote\tempfootnote #2}%
{\let\footnote\tempfootnoteintitle\uppercase{#2}}
\kickoutfootnotes
\ifdoublespace\vskip 3\baselineskip\fi
}%
\def\@shorttitle{#1}%
\let\@AF@join\@title@join
}%
\def\frontmatter@title@format{\normalsize\centering}
\def\frontmatter@title@below{\vskip12pt}%
\def\frontmatter@authorformat{\small\scshape
\ifmodern
\vskip48pt
\centering
\leftskip=.05in plus 1fil
\rightskip=.05in plus 1 fil
\baselineskip=13pt
\else
\centering
\fi
}%
\def\frontmatter@affiliationfont{\normalfont\footnotesize\it
\ifmodern\baselineskip=14pt\fi
\iflongauthor\else
\rightskip-12pt plus 1fil
\leftskip6pt \parindent-4pt
\fi
}%
\def\frontmatter@finalspace{\vskip-24pt}%\vspace*{-\baselineskip}\vspace*{0.375in}}
\def\@separator{\\}%
\newcounter{front@matter@foot@note}\setcounter{front@matter@foot@note}{0}
\iflongauthor
\renewcommand\affiliation[1]{%
\move@AU\move@AF%
\iflongauthor\let\@listand\relax\fi
\begingroup%
\@affiliation{%\hspace*{2mm}
\ifnum\countauthors<\AuthorCollaborationLimit
#1\ifmodern\iflongauthor\baselineskip=12pt\else\vskip2pt\fi\else\baselineskip=12pt\fi\fi
\ifnum\countauthors=\AuthorCollaborationLimit
#1\ifmodern\iflongauthor\baselineskip=12pt\else\vskip2pt\fi\else\baselineskip=12pt\fi\fi
\iflongauthor\vskip-12pt\ifnum\countauthors>\AuthorCollaborationLimit\iftwelvepoint\vskip-3pt\else\iftwocolstyle\else\vskip-6pt\fi\fi\fi%
\fi
}%
}%
\else
%% older version
\renewcommand\affiliation[1]{%
\move@AU\move@AF%
\begingroup%
\@affiliation{%\hspace*{2mm}
#1\ifmodern\iflongauthor\baselineskip=12pt\else\vskip2pt\fi\else\baselineskip=12pt\fi}%
}%
\fi %% end switch for longauthor
% ABSTRACT
\def\frontmatter@abstractfont{\normalsize\parindent=9pt
}%
%\def\frontmatter@abstractwidth{6in}
\def\frontmatter@preabstractspace{12pt}
\def\frontmatter@postabstractspace{12pt}
\def\abstractname{ABSTRACT}
\long\def\frontmatter@abstractheading{%
\begingroup
\centering
\abstractname
\vskip 1mm
\par
\endgroup
}%
\newif\ifabstract%
\renewenvironment{frontmatter@abstract}{%
\aftermaketitle@chk{\begin{abstract}}%
\global\abstracttrue
\global\setbox\absbox\vbox\bgroup
\color@begingroup
\columnwidth\textwidth
\hsize\columnwidth
\@parboxrestore
\def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote)}\c@mpfootnote\z@ % should be footnote, not mpfootnote?
% \let\@footnotetext\frontmatter@footnotetext
\minipagefootnote@init
\let\set@listindent\set@listindent@
\let\@listdepth\@mplistdepth \@mplistdepth\z@
\let@environment{description}{frontmatter@description}%
\@minipagerestore
\@setminipage
\frontmatter@abstractheading
\frontmatter@abstractfont
% \let\footnote\mini@note
\expandafter\everypar\expandafter{\the\everypar\addcontents@abstract\everypar{}}%
\ifnumlines\let\go\linenumbers\else\let\go\relax\fi\go
}{%
\ifnumlines\let\go\endlinenumbers\else\let\go\relax\fi\go
\par
\unskip
\minipagefootnote@here
\@minipagefalse %% added 24 May 89
\color@endgroup
\egroup% end setbox\absbox
}%
\let\abstract\frontmatter@abstract
\def\frontmatter@abstract@produce{%
\par
\preprintsty@sw{%
\do@output@MVL{%
\vskip\frontmatter@preabstractspace
\vskip200\p@\@plus1fil
\penalty-200\relax
\vskip-200\p@\@plus-1fil
}%
}{%
\addvspace{\frontmatter@preabstractspace}%
}%
\begingroup
\dimen@\baselineskip
\setbox\z@\vtop{\unvcopy\absbox}%
\advance\dimen@-\ht\z@\advance\dimen@-\prevdepth
\@ifdim{\dimen@>\z@}{\vskip\dimen@}{}%
\endgroup
\begingroup
\prep@absbox
\unvbox\absbox
\post@absbox
\endgroup
\@ifx{\@empty\mini@notes}{}{\mini@notes\par}%
\addvspace\frontmatter@postabstractspace
\global\abstractfalse
}%
\newif\ifbib
% ****************************************
% * KEYWORDS *
% ****************************************
\def\@keys@name{\textit{Keywords:}\/~\mbox{}}%
\newlength{\keys@width}
\def\frontmatter@keys@format{\ifmodern\vskip0pt\else\vspace*{0.5mm}\fi%
\settowidth{\keys@width}{\normalsize\@keys@name}%
\rightskip=0.5in\leftskip=\rightskip\parindent=0pt%
\hangindent=\keys@width\hangafter=1\normalsize}%
\def\@keywords@produce#1{%
\showKEYS@sw{%
\begingroup%
\frontmatter@keys@format%
\@keys@name#1\par
\endgroup
}{%
\@if@empty{#1}{}{%
\class@warn{If you want your keywords to appear in your output, use document class option showkeys}%
}%
}%
}%
\let\subjectheadings=\keywords
% ****************************************
% * FOOTNOTES *
% ****************************************
%% legacy notes and footnote code
% Footnotes on the last page: user issues \lastpagefootnotes. It catches all
% footnotes and issues them before \begin{refernces} or
% \begin{\thebibliography} or \begin{appendix}, whichever comes first,
% at the end of right column.
%% ???
\newcounter{lastfootnote}
\let\orig@footnote=\footnote
%
\def\spit@out@footnotes@{\addtocounter{footnote}{-\c@lastfootnote}\vspace*{-\baselineskip}\vspace*{\skip\footins}\bgroup\footnotesize\lastfootnote\par\egroup\let\footnote=\orig@footnote}
%
\let\spit@out@footnotes\relax
%
\long\def\lastpagefootnotes{%
\raggedbottom% Have to use flushbottom with revtex4-1 but it eats away
% last page footnotes
\setcounter{lastfootnote}{0}
\long\gdef\lastfootnote{\mbox{}}
\let\spit@out@footnotes\spit@out@footnotes@
\long\def\footnote##1{\refstepcounter{lastfootnote}\footnotemark\g@addto@macro\lastfootnote{\\[\footnotesep]\refstepcounter{footnote}\mbox{}\hspace*{3mm}\textsuperscript{\thefootnote}~##1}}
% We need to mess with footnotes in appendix only if it is in a
% different mode (twocol vs onecol) than the main text
\def\mess@with@appendix@footnotes{
\BeforeBegin{appendix}{\spit@out@footnotes\let\spit@out@footnotes\relax}
\BeforeEnd{appendix}{\spit@out@footnotes\let\spit@out@footnotes\relax}
\AfterEnd{appendix}{\let\footnote=\orig@footnote}
}
\if@two@col
\if@two@col@app\else
\mess@with@appendix@footnotes
\fi
\fi
\BeforeBegin{references}{\spit@out@footnotes\let\spit@out@footnotes\relax}
\BeforeBegin{thebibliography}{\spit@out@footnotes\let\spit@out@footnotes\relax}
% in case \lastpagefootnotes were given inside \begin{appendix}\end{appendix},
\AfterEnd{references}{\let\footnote=\orig@footnote}
\AfterEnd{thebibliography}{\let\footnote=\orig@footnote}
}
\let\lastpagefootnote=\lastpagefootnotes
%% probably not needed:
\def\notetoeditor#1{}% % We do not need notes to editor in the preprint
\def\placetable#1{}% % We do not need notes to editor in the preprint
\def\placefigure#1{}% % We do not need notes to editor in the preprint
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\ifdoublespace %used for manuscript
\footnotesep 12pt
\skip\footins 36pt
\else
\footnotesep 12pt
\skip\footins 24pt
\fi
\let\footnoterule\relax
\def\@makefntext#1{\mbox{}\hspace*{3mm}\@makefnmark~#1}
% ****************************************
% * SECTIONS *
% ****************************************
\setcounter{secnumdepth}{3}
\newif\if@firstsection \@firstsectiontrue
\def\section{%
\if@firstsection
\maketitle
\global\@firstsectionfalse
\setcounter{footnote}{\thefront@matter@foot@note}%
\let\footnotetext=\old@foot@note@text
\let\footnotemark=\old@foot@note@mark
\clearpage
\if@two@col