1 | %%
|
---|
2 | %% This is file `aastex.cls',
|
---|
3 | %% generated with the docstrip utility.
|
---|
4 | %%
|
---|
5 | %% The original source files were:
|
---|
6 | %%
|
---|
7 | %% aasclass.dtx (with options: `class')
|
---|
8 | %%
|
---|
9 | %% This is a generated file;
|
---|
10 | %% altering it directly is inadvisable;
|
---|
11 | %% instead, modify the original source file.
|
---|
12 | %%
|
---|
13 | %% Copyright notice.
|
---|
14 | %%
|
---|
15 | %% These files are distributed
|
---|
16 | %% WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
17 | %% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
---|
18 | %%
|
---|
19 | %% \CharacterTable
|
---|
20 | %% {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
|
---|
21 | %% 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
|
---|
22 | %% Digits \0\1\2\3\4\5\6\7\8\9
|
---|
23 | %% Exclamation \! Double quote \" Hash (number) \#
|
---|
24 | %% Dollar \$ Percent \% Ampersand \&
|
---|
25 | %% Acute accent \' Left paren \( Right paren \)
|
---|
26 | %% Asterisk \* Plus \+ Comma \,
|
---|
27 | %% Minus \- Point \. Solidus \/
|
---|
28 | %% Colon \: Semicolon \; Less than \<
|
---|
29 | %% Equals \= Greater than \> Question mark \?
|
---|
30 | %% Commercial at \@ Left bracket \[ Backslash \\
|
---|
31 | %% Right bracket \] Circumflex \^ Underscore \_
|
---|
32 | %% Grave accent \` Left brace \{ Vertical bar \|
|
---|
33 | %% Right brace \} Tilde \~}%
|
---|
34 | %%% @LaTeX-file{
|
---|
35 | %%% filename = "aastex.dtx",
|
---|
36 | %%% version = "5.2",
|
---|
37 | %%% date = "2005/06/22",
|
---|
38 | %%% time = "16:23:00 GMT",
|
---|
39 | %%% checksum = "5964",
|
---|
40 | %%% author = "Arthur Ogawa (mailto:ogawa@teleport.com)",
|
---|
41 | %%% revised by = "SR Nova Private Ltd."
|
---|
42 | %%% copyright = "Copyright (C) 2003 American Astronomical Society
|
---|
43 | %%%
|
---|
44 | %%% This work may be distributed and/or modified under the
|
---|
45 | %%% conditions of the LaTeX Project Public License, either version 1.3
|
---|
46 | %%% of this license or (at your option) any later version.
|
---|
47 | %%% The latest version of this license is in
|
---|
48 | %%% http://www.latex-project.org/lppl.txt
|
---|
49 | %%% and version 1.3 or later is part of all distributions of LaTeX
|
---|
50 | %%% version 2003/12/01 or later.
|
---|
51 | %%%
|
---|
52 | %%% This work has the LPPL maintenance status "maintained".
|
---|
53 | %%%
|
---|
54 | %%% The Current Maintainer of this work is the American Astronomical Society.
|
---|
55 | %%%
|
---|
56 | %%% This work consists of all files listed in the document README.
|
---|
57 | %%%
|
---|
58 | %%% address = "American Astronomical Society
|
---|
59 | %%% USA",
|
---|
60 | %%% telephone = "+1 ???",
|
---|
61 | %%% FAX = "",
|
---|
62 | %%% email = "aastex-help@aas.org",
|
---|
63 | %%% codetable = "ISO/ASCII",
|
---|
64 | %%% keywords = "latex, AAS, journal",
|
---|
65 | %%% supported = "yes",
|
---|
66 | %%% abstract = "formatter for AAS journal submissions",
|
---|
67 | %%% docstring = "The checksum field above generated by ltxdoc",
|
---|
68 | %%% }
|
---|
69 | \NeedsTeXFormat{LaTeX2e}[1995/12/01]%
|
---|
70 | \ProvidesClass{aastex}%
|
---|
71 | [2005/06/22 5.2/AAS markup document class]%
|
---|
72 | \def\substitute@option#1#2{%
|
---|
73 | \ClassWarning{aastex}{%
|
---|
74 | Substyle #1 is deprecated in aastex.
|
---|
75 | Using #2 instead (please fix your document).
|
---|
76 | }\@nameuse{ds@#2}%
|
---|
77 | }%
|
---|
78 | \ClassInfo{aastex}{%
|
---|
79 | Original \protect\LaTeX2.09 style
|
---|
80 | by Chris Biemesderfer (chris@seagoat.com).
|
---|
81 | Adapted to \protect\LaTeXe\space
|
---|
82 | by A. Ogawa (ogawa@teleport.com)%
|
---|
83 | }%
|
---|
84 | \newif\iflong@abstract
|
---|
85 | \global\long@abstractfalse
|
---|
86 | \DeclareOption{10pt}{\newcommand\aas@ptsize{0}}%
|
---|
87 | \DeclareOption{11pt}{\newcommand\aas@ptsize{1}}%
|
---|
88 | \DeclareOption{12pt}{\newcommand\aas@ptsize{2}}%
|
---|
89 | \DeclareOption{landscape}{\OptionNotUsed}%
|
---|
90 | \DeclareOption{eqsecnum}{\AtEndOfClass{\eqsecnum}}
|
---|
91 | \DeclareOption{longabstract}{\global\long@abstracttrue}
|
---|
92 | \DeclareOption{flushrt}{\let\opt@just\just@just}%
|
---|
93 | \let\opt@just\@empty
|
---|
94 | \def\just@just{%
|
---|
95 | \@rightskip\z@skip
|
---|
96 | \rightskip\@rightskip
|
---|
97 | \pretolerance=100\relax
|
---|
98 | }%
|
---|
99 | \DeclareOption{tighten}{\def\opt@tighten{\tightenlines}}%
|
---|
100 | \let\opt@tighten\@empty
|
---|
101 |
|
---|
102 | \DeclareOption{manuscript}{\def\aas@substyle{manuscript}\long@abstractfalse}
|
---|
103 | \DeclareOption{preprint}{\def\aas@substyle{preprint}\long@abstractfalse}
|
---|
104 | \DeclareOption{preprint2}{\def\aas@substyle{preprint2}\@twocolumntrue}
|
---|
105 | \DeclareOption{aasms4}{\substitute@option{aasms4}{manuscript}}%
|
---|
106 | \DeclareOption{aaspp4}{\substitute@option{aaspp4}{preprint}}%
|
---|
107 | \DeclareOption{aas2pp4}{\substitute@option{aas2pp4}{preprint2}}%
|
---|
108 | \DeclareOption{aj_pt4}{\substitute@option{aj_pt4}{preprint}}%
|
---|
109 | \DeclareOption{apjpt4}{\substitute@option{apjpt4}{preprint}}%
|
---|
110 | \def\aas@substyle{manuscript}%
|
---|
111 | \AtEndOfPackage{%
|
---|
112 | \@nameuse{aas@\aas@substyle}%
|
---|
113 | }%
|
---|
114 | \DeclareOption{astro}{\AtBeginDocument{\load@astro}}%
|
---|
115 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}%
|
---|
116 | \ExecuteOptions{letterpaper,oneside,onecolumn,final}%
|
---|
117 | \ProcessOptions\relax
|
---|
118 | \@namedef{aas@size@manuscript}{%
|
---|
119 | \def\aas@ptsize{2}%
|
---|
120 | \pass@aassize
|
---|
121 | }%
|
---|
122 | \@namedef{aas@size@preprint}{%
|
---|
123 | \ifx\undefined\aas@ptsize\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi
|
---|
124 | {\def\aas@ptsize{1}}{}%
|
---|
125 | \pass@aassize
|
---|
126 | }%
|
---|
127 | \@namedef{aas@size@preprint2}{%
|
---|
128 | \ifx\undefined\aas@ptsize\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi
|
---|
129 | {\def\aas@ptsize{0}}{}%
|
---|
130 | \pass@aassize
|
---|
131 | }%
|
---|
132 | \def\pass@aassize{%
|
---|
133 | \expandafter\PassOptionsToClass\expandafter{\expandafter1\aas@ptsize pt}{article}%
|
---|
134 | }%
|
---|
135 | \@nameuse{aas@size@\aas@substyle}%
|
---|
136 | \LoadClass{article}[1995/12/01]%
|
---|
137 | \RequirePackage{latexsym}%
|
---|
138 | \RequirePackage{graphicx}%
|
---|
139 | \RequirePackage{amssymb}%
|
---|
140 | \RequirePackage{natbib}%
|
---|
141 | \newcommand{\bibstyle@aas}{\bibpunct{(}{)}{;}{a}{}{,}}
|
---|
142 | \@citestyle{aas}
|
---|
143 | \RequirePackage{verbatim}%
|
---|
144 | \def\@to{to}%
|
---|
145 | \newcommand\ulap[1]{\vbox\@to\z@{{\vss#1}}}%
|
---|
146 | \newcommand\dlap[1]{\vbox\@to\z@{{#1\vss}}}%
|
---|
147 | \newcommand\let@environment[2]{%
|
---|
148 | \expandafter\let
|
---|
149 | \csname#1\expandafter\endcsname\csname#2\endcsname
|
---|
150 | \expandafter\let
|
---|
151 | \csname end#1\expandafter\endcsname\csname end#2\endcsname
|
---|
152 | }%
|
---|
153 | \newcommand\say[1]{\typeout{<\noexpand#1=\meaning#1>}}%
|
---|
154 | \newcommand\saythe[1]{\typeout{<\noexpand#1=\the#1>}}%
|
---|
155 | \newcommand\tracingplain{%
|
---|
156 | \tracingonline\z@\tracingcommands\z@\tracingstats\z@
|
---|
157 | \tracingpages\z@\tracingoutput\z@\tracinglostchars\@ne
|
---|
158 | \tracingmacros\z@\tracingparagraphs\z@\tracingrestores\z@
|
---|
159 | \showboxbreadth5\showboxdepth3\relax %\errorstopmode
|
---|
160 | }%
|
---|
161 | \newcommand\traceoutput{%
|
---|
162 | \appdef\@resetactivechars{\showoutput}%
|
---|
163 | }%
|
---|
164 | \newcommand\nohyphenation{\kern\z@}%
|
---|
165 | \newcommand\offhyphenation{%
|
---|
166 | \lefthyphenmin\maxdimen\emergencystretch8\p@
|
---|
167 | }%
|
---|
168 | \def\substitute@command#1#2{%
|
---|
169 | \ClassWarning{aastex}{%
|
---|
170 | Command \protect#1\space is deprecated in aastex.
|
---|
171 | Using \protect#2\space instead (please fix your document).
|
---|
172 | }%
|
---|
173 | #2%
|
---|
174 | }%
|
---|
175 | \def\remove@command#1{%
|
---|
176 | \ClassWarning{aastex}{%
|
---|
177 | Command \protect#1\space is deprecated in aastex.
|
---|
178 | Please remove it from your document%
|
---|
179 | }%
|
---|
180 | }%
|
---|
181 | \def\@provide#1{%Implicit #2
|
---|
182 | \@ifxundefined#1{\def#1}{\def\@tempa}%
|
---|
183 | }%
|
---|
184 | \def\prepdef#1#2{%
|
---|
185 | \@ifxundefined#1{\toks@{}}{\toks@\expandafter{#1}}%
|
---|
186 | \toks@ii{#2}%
|
---|
187 | \edef#1{\the\toks@ii\the\toks@}%
|
---|
188 | }%
|
---|
189 | \def\appdef#1#2{%
|
---|
190 | \@ifxundefined#1{\toks@{}}{\toks@\expandafter{#1}}%
|
---|
191 | \toks@ii{#2}%
|
---|
192 | \edef#1{\the\toks@\the\toks@ii}%
|
---|
193 | }%
|
---|
194 | \def\appgdef#1#2{%
|
---|
195 | \@ifxundefined#1{\toks@{}}{\toks@\expandafter{#1}}%
|
---|
196 | \toks@ii{#2}%
|
---|
197 | \xdef#1{\the\toks@\the\toks@ii}%
|
---|
198 | }%
|
---|
199 | \toksdef\toks@ii=\tw@
|
---|
200 | \long\def\@ifxundefined#1{\@ifx{\undefined#1}}%
|
---|
201 | \def\@boolean#1#2{%
|
---|
202 | \long\def#1{%
|
---|
203 | #2% \if<something>
|
---|
204 | \expandafter\boolean@true
|
---|
205 | \else
|
---|
206 | \expandafter\boolean@false
|
---|
207 | \fi
|
---|
208 | }%
|
---|
209 | }%
|
---|
210 | \def\@boole@def#1#{\@boolean{#1}}% Implicit #2
|
---|
211 | \@boole@def\@ifx#1{\ifx#1}%
|
---|
212 | \@boole@def\@ifx@empty#1{\ifx\@empty#1}%
|
---|
213 | \@boole@def\@ifnum#1{\ifnum#1}%
|
---|
214 | \@boole@def\@ifdim#1{\ifdim#1}%
|
---|
215 | \@boole@def\@ifvoid#1{\ifvoid#1}%
|
---|
216 | \long\def\boolean@true#1#2{#1}%
|
---|
217 | \long\def\boolean@false#1#2{#2}%
|
---|
218 | \renewcommand\addpenalty[1]{%
|
---|
219 | \ifvmode
|
---|
220 | \if@minipage
|
---|
221 | \else
|
---|
222 | \if@nobreak
|
---|
223 | \else
|
---|
224 | \ifinner
|
---|
225 | \@tempskipa\lastskip \unskip
|
---|
226 | \@tempcnta\lastpenalty \unpenalty
|
---|
227 | \ifnum#1<\@tempcnta
|
---|
228 | \penalty#1\relax
|
---|
229 | \else
|
---|
230 | \penalty\@tempcnta
|
---|
231 | \fi
|
---|
232 | \vskip\@tempskipa
|
---|
233 | \else
|
---|
234 | \ifdim\lastskip=\z@
|
---|
235 | \penalty#1\relax
|
---|
236 | \else
|
---|
237 | \@tempskipb\lastskip
|
---|
238 | \vskip-\lastskip
|
---|
239 | \penalty#1%
|
---|
240 | \vskip\@tempskipb
|
---|
241 | \fi
|
---|
242 | \fi
|
---|
243 | \fi
|
---|
244 | \fi
|
---|
245 | \else
|
---|
246 | \@noitemerr
|
---|
247 | \fi
|
---|
248 | }%
|
---|
249 | \renewcommand\addvspace[1]{%
|
---|
250 | \ifvmode
|
---|
251 | \if@minipage
|
---|
252 | \else
|
---|
253 | \ifinner
|
---|
254 | \@tempskipa\lastskip \unskip
|
---|
255 | \ifdim\@tempskipa=\z@
|
---|
256 | \vskip#1\relax
|
---|
257 | \else
|
---|
258 | \@tempskipb#1\relax
|
---|
259 | \ifdim\@tempskipa<\@tempskipb
|
---|
260 | \vskip\@tempskipb
|
---|
261 | \else
|
---|
262 | \ifdim\@tempskipb<\z@
|
---|
263 | \ifdim\@tempskipa<\z@
|
---|
264 | \vskip\@tempskipa
|
---|
265 | \else
|
---|
266 | \advance\@tempskipb\@tempskipa
|
---|
267 | \vskip\@tempskipb
|
---|
268 | \fi
|
---|
269 | \else
|
---|
270 | \vskip\@tempskipa
|
---|
271 | \fi
|
---|
272 | \fi
|
---|
273 | \fi
|
---|
274 | \else
|
---|
275 | \ifdim\lastskip=\z@
|
---|
276 | \vskip#1\relax
|
---|
277 | \else
|
---|
278 | \@tempskipb#1\relax
|
---|
279 | \@xaddvskip
|
---|
280 | \fi
|
---|
281 | \fi
|
---|
282 | \fi
|
---|
283 | \else
|
---|
284 | \@noitemerr
|
---|
285 | \fi
|
---|
286 | }%
|
---|
287 | \newcommand\maketitle@page{%
|
---|
288 | \maketitle@disarm
|
---|
289 | \begin{titlepage}%
|
---|
290 | \let\footnotesize\small
|
---|
291 | \let\footnoterule\relax
|
---|
292 | \let \footnote \thanks
|
---|
293 | \@maketitle
|
---|
294 | \@thanks
|
---|
295 | \vfil\null
|
---|
296 | \end{titlepage}%
|
---|
297 | \after@maketitle
|
---|
298 | }%
|
---|
299 | \newcommand\maketitle@runin{%
|
---|
300 | \par
|
---|
301 | \maketitle@disarm
|
---|
302 | \begingroup
|
---|
303 | %%%%\renewcommand\thefootnote{\@fnsymbol\c@footnote}%
|
---|
304 | \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
|
---|
305 | \long\def\@makefntext##1{%
|
---|
306 | \parindent 1em\noindent
|
---|
307 | \hb@xt@1.8em{%
|
---|
308 | \hss\@textsuperscript{\normalfont\@thefnmark}%
|
---|
309 | }%
|
---|
310 | ##1%
|
---|
311 | }%
|
---|
312 | \if@twocolumn
|
---|
313 | \@ifnum{\col@number=\@ne}{%
|
---|
314 | \global\let\@title@footnote@text\@empty%
|
---|
315 | \twocolumn[\let\@footnotetext\@title@footnotetext\@maketitle]%
|
---|
316 | \@title@footnote@text%
|
---|
317 | }{%
|
---|
318 | \@maketitle
|
---|
319 | }%
|
---|
320 | \else
|
---|
321 | \newpage
|
---|
322 | \global\@topnum\z@ % Prevents figures from going at top of page.
|
---|
323 | \@maketitle
|
---|
324 | \fi
|
---|
325 | %\thispagestyle{plain}%
|
---|
326 | \@thanks
|
---|
327 | \endgroup
|
---|
328 | \after@maketitle
|
---|
329 | }%
|
---|
330 | \def\after@maketitle{%
|
---|
331 | \iflong@abstract %
|
---|
332 | \let\@makecol\@makecol@pptt
|
---|
333 | \let\@outputdblcol\@outputdblcol@pptt
|
---|
334 | \global\columnwidth\textwidth%
|
---|
335 | \global\advance\columnwidth-\columnsep
|
---|
336 | \global\divide\columnwidth\tw@
|
---|
337 | \global\hsize\columnwidth
|
---|
338 | \global\linewidth\columnwidth
|
---|
339 | \global\@twocolumntrue
|
---|
340 | \global\@firstcolumntrue
|
---|
341 | \col@number \tw@
|
---|
342 | \@ifnextchar [\@topnewpage\@floatplacement
|
---|
343 | \begin{strip}% separate the abstract text from two-column text
|
---|
344 | \end{strip}
|
---|
345 | \fi
|
---|
346 | %%%\setcounter{footnote}{0}%
|
---|
347 | \global\let\thanks\@gobble
|
---|
348 | \global\let\maketitle\relax
|
---|
349 | \global\let\@maketitle\relax
|
---|
350 | \global\let\@thanks\@empty
|
---|
351 | \global\let\@author\@empty
|
---|
352 | \global\let\@date\@empty
|
---|
353 | \global\let\@title\@empty
|
---|
354 | \global\let\title\relax
|
---|
355 | \global\let\author\relax
|
---|
356 | \global\let\date\relax
|
---|
357 | \global\let\and\relax
|
---|
358 | \global\let\email\@text@email
|
---|
359 | \global\firsttabskip\z@
|
---|
360 | }%
|
---|
361 | \AtEndOfClass{%
|
---|
362 | \if@titlepage
|
---|
363 | \let\maketitle\maketitle@page
|
---|
364 | \else
|
---|
365 | \let\maketitle\maketitle@runin
|
---|
366 | \fi
|
---|
367 | }%
|
---|
368 | \def\open@footnotetext{%
|
---|
369 | \insert\footins\bgroup % \egroup in \close@footnotetext
|
---|
370 | \interlinepenalty\interfootnotelinepenalty
|
---|
371 | \splittopskip\footnotesep
|
---|
372 | \splitmaxdepth\dp\strutbox
|
---|
373 | \floatingpenalty \@MM
|
---|
374 | \reset@font\footnote@size
|
---|
375 | \hsize\columnwidth
|
---|
376 | \@parboxrestore
|
---|
377 | }%
|
---|
378 | \def\close@footnotetext#1{%
|
---|
379 | \color@begingroup
|
---|
380 | \@makefntext{%
|
---|
381 | \rule\z@\footnotesep\ignorespaces
|
---|
382 | #1\@finalstrut\strutbox
|
---|
383 | }%
|
---|
384 | \color@endgroup
|
---|
385 | \egroup
|
---|
386 | }%
|
---|
387 | \def\@footnotetext{% Implict #1
|
---|
388 | \open@footnotetext
|
---|
389 | \set@footnotetext{p@footnote}%
|
---|
390 | }%
|
---|
391 | \def\@mpfootnotetext{% Implict #1
|
---|
392 | \global\setbox\@mpfootins\vbox\bgroup % \egroup in \set@footnotetext
|
---|
393 | \unvbox\@mpfootins
|
---|
394 | \set@footnotetext{p@mpfootnote}%
|
---|
395 | }%
|
---|
396 | \long\def\set@footnotetext#1{%Implicit #2
|
---|
397 | \protected@edef\@currentlabel{%
|
---|
398 | \csname #1\endcsname\@thefnmark
|
---|
399 | }%
|
---|
400 | \close@footnotetext
|
---|
401 | }%
|
---|
402 | \def\@title@footnotetext#1{%
|
---|
403 | \protected@edef\@tempa{\csname p@footnote\endcsname\@thefnmark}%
|
---|
404 | \expandafter\appgdef
|
---|
405 | \expandafter\@title@footnote@text
|
---|
406 | \expandafter{%
|
---|
407 | \expandafter\insert@footnotetext
|
---|
408 | \expandafter{\@tempa}{#1}}%
|
---|
409 | }%
|
---|
410 | \def\insert@footnotetext#1{%Implicit #2
|
---|
411 | \open@footnotetext
|
---|
412 | \def\@thefnmark{#1}%
|
---|
413 | \def\@currentlabel{#1}%
|
---|
414 | \close@footnotetext
|
---|
415 | }%
|
---|
416 | \AtBeginDocument{%
|
---|
417 | \ifx\footnote@size\undefined
|
---|
418 | \let\footnote@size\footnotesize
|
---|
419 | \fi
|
---|
420 | }%
|
---|
421 | \long\def\eqnarray@broken{%
|
---|
422 | \stepcounter{equation}\def\@currentlabel{\p@equation\theequation}%
|
---|
423 | \global\@eqnswtrue\m@th\global\@eqcnt\z@
|
---|
424 | \tabskip\mathindent
|
---|
425 | \let\\=\@eqncr
|
---|
426 | \setlength\abovedisplayskip{\topsep}%
|
---|
427 | \ifvmode\addtolength\abovedisplayskip{\partopsep}\fi
|
---|
428 | \addtolength\abovedisplayskip{\parskip}%
|
---|
429 | \setlength\belowdisplayskip{\abovedisplayskip}%
|
---|
430 | \setlength\belowdisplayshortskip{\abovedisplayskip}%
|
---|
431 | \setlength\abovedisplayshortskip{\abovedisplayskip}%
|
---|
432 | $$%
|
---|
433 | \everycr{}%
|
---|
434 | \halign to\linewidth\bgroup
|
---|
435 | \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
|
---|
436 | &\global\@eqcnt\@ne
|
---|
437 | \hskip\tw@\arraycolsep
|
---|
438 | \hfil${##}$\hfil
|
---|
439 | &\global\@eqcnt\tw@
|
---|
440 | \hskip\tw@\arraycolsep
|
---|
441 | $\displaystyle{##}$\hfil\tabskip\@centering
|
---|
442 | &\global\@eqcnt\thr@@\hb@xt@\z@\bgroup\hss##\egroup
|
---|
443 | \tabskip\z@skip
|
---|
444 | \cr
|
---|
445 | }%
|
---|
446 | \long\def\eqnarray@fleqn@fixed{%
|
---|
447 | \stepcounter{equation}\def\@currentlabel{\p@equation\theequation}%
|
---|
448 | \global\@eqnswtrue\m@th\global\@eqcnt\z@
|
---|
449 | \tabskip\mathindent
|
---|
450 | \let\\=\@eqncr
|
---|
451 | \setlength\abovedisplayskip{\topsep}%
|
---|
452 | \ifvmode\addtolength\abovedisplayskip{\partopsep}\fi
|
---|
453 | \addtolength\abovedisplayskip{\parskip}%
|
---|
454 | \setlength\belowdisplayskip{\abovedisplayskip}%
|
---|
455 | \setlength\belowdisplayshortskip{\abovedisplayskip}%
|
---|
456 | \setlength\abovedisplayshortskip{\abovedisplayskip}%
|
---|
457 | $$%
|
---|
458 | \everycr{}%
|
---|
459 | \halign\@to\linewidth\bgroup
|
---|
460 | \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
|
---|
461 | &\global\@eqcnt\@ne
|
---|
462 | \hskip\tw@\eqncolsep
|
---|
463 | \hfil${{}##{}}$\hfil
|
---|
464 | &\global\@eqcnt\tw@
|
---|
465 | \hskip\tw@\eqncolsep
|
---|
466 | $\displaystyle{##}$\hfil\tabskip\@centering
|
---|
467 | &\global\@eqcnt\thr@@\hb@xt@\z@\bgroup\hss##\egroup
|
---|
468 | \tabskip\z@skip
|
---|
469 | \cr
|
---|
470 | }%
|
---|
471 | \ifx\eqnarray\eqnarray@broken
|
---|
472 | \ClassWarningNoLine{aastex}{Repairing broken {eqnarray} definition}%
|
---|
473 | \let\eqnarray\eqnarray@fleqn@fixed
|
---|
474 | \fi
|
---|
475 | \let\eqnarray@broken\relax
|
---|
476 | \let\eqnarray@fleqn@fixed\relax
|
---|
477 | \def\@startsection#1#2#3#4#5#6{%
|
---|
478 | \@startsection@hook
|
---|
479 | \if@noskipsec \leavevmode \fi
|
---|
480 | \par
|
---|
481 | \@tempskipa #4\relax
|
---|
482 | \@afterindenttrue
|
---|
483 | \ifdim \@tempskipa <\z@
|
---|
484 | \@tempskipa -\@tempskipa \@afterindentfalse
|
---|
485 | \fi
|
---|
486 | \if@nobreak
|
---|
487 | \everypar{}%
|
---|
488 | \else
|
---|
489 | \addpenalty\@secpenalty\addvspace\@tempskipa
|
---|
490 | \fi
|
---|
491 | \@ifstar
|
---|
492 | {\@ssect{#3}{#4}{#5}{#6}}%
|
---|
493 | {\@dblarg{\@sect{#1}{#2}{#3}{#4}{#5}{#6}}}%
|
---|
494 | }%
|
---|
495 | \def\@startsection@hook{}%
|
---|
496 | \def\@sect#1#2#3#4#5#6[#7]#8{%
|
---|
497 | \ifnum #2>\c@secnumdepth
|
---|
498 | \let\@svsec\@empty
|
---|
499 | \else
|
---|
500 | \refstepcounter{#1}\protected@edef\@svsec{\@seccntformat{#1}\relax}
|
---|
501 | \fi
|
---|
502 | \@tempskipa #5\relax
|
---|
503 | \ifdim \@tempskipa>\z@
|
---|
504 | \begingroup \section@centering#6{%
|
---|
505 | \@hangfrom{\hskip #3\relax\@svsec}\interlinepenalty \@M\sec@upcase{#8}\@@par}%
|
---|
506 | \endgroup
|
---|
507 | \csname #1mark\endcsname{#7}\addcontentsline
|
---|
508 | {toc}{#1}{\ifnum #2>\c@secnumdepth \else
|
---|
509 | \protect\numberline{\csname the#1\endcsname}\fi
|
---|
510 | #7}\else
|
---|
511 | \def\@svsechd{%
|
---|
512 | #6{\hskip#3\relax\@svsec
|
---|
513 | \sec@upcase{#8}}%
|
---|
514 | \csname #1mark\endcsname
|
---|
515 | {#7}\addcontentsline{toc}{#1}{%
|
---|
516 | \ifnum #2>\c@secnumdepth
|
---|
517 | \else
|
---|
518 | \protect\numberline{\csname the#1\endcsname}%
|
---|
519 | \fi
|
---|
520 | #7}}\fi
|
---|
521 | \@xsect{#5}%
|
---|
522 | }%
|
---|
523 | \def\@ssect#1#2#3#4#5{\@tempskipa #3\relax
|
---|
524 | \ifdim \@tempskipa>\z@
|
---|
525 | \begingroup
|
---|
526 | \section@centering
|
---|
527 | #4{%
|
---|
528 | \@hangfrom{\hskip #1}\interlinepenalty \@M
|
---|
529 | \sec@upcase{#5}\@@par}\endgroup
|
---|
530 | \else
|
---|
531 | \def\@svsechd{#4{\hskip #1\relax \sec@upcase{#5}}}\fi
|
---|
532 | \@xsect{#3}}%
|
---|
533 | \def\@seccntformat#1{\csname the#1\endcsname.\quad}
|
---|
534 | \def\section@centering{\centering}%
|
---|
535 | \def\sec@upcase#1{\relax{#1}}%
|
---|
536 | \def\@citex[#1]#2{%
|
---|
537 | \let\@citea\@empty
|
---|
538 | \@cite{%
|
---|
539 | \@for\@citeb:=#2\do{%
|
---|
540 | \@citea
|
---|
541 | \def\@citea{,\penalty\@m\ }%
|
---|
542 | \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}%
|
---|
543 | \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
|
---|
544 | \@ifundefined{b@\@citeb}{%
|
---|
545 | \G@refundefinedtrue
|
---|
546 | \@latex@warning{%
|
---|
547 | Citation `\@citeb' on page \thepage \space undefined%
|
---|
548 | }%
|
---|
549 | }{%
|
---|
550 | \csname b@\@citeb\endcsname
|
---|
551 | }%
|
---|
552 | }%
|
---|
553 | }{#1}%
|
---|
554 | }%
|
---|
555 | \def\revtex@ver{5.2}%
|
---|
556 | \def\revtex@date{12 Dec 2003}%
|
---|
557 | \def\revtex@org{AAS}%
|
---|
558 | \def\revtex@jnl{AAS}%
|
---|
559 | \def\revtex@genre{manuscript}%
|
---|
560 | \def\class@typeout{%
|
---|
561 | \typeout{%
|
---|
562 | \revtex@org\space
|
---|
563 | \revtex@genre\space substyle, v\revtex@ver\space <\revtex@date>.%
|
---|
564 | }%
|
---|
565 | }%
|
---|
566 | \def\class@typeout@jnl{%
|
---|
567 | \typeout{%
|
---|
568 | \revtex@org\space
|
---|
569 | \revtex@jnl\space
|
---|
570 | \revtex@genre\space substyle, v\revtex@ver\space <\revtex@date>.%
|
---|
571 | }%
|
---|
572 | }%
|
---|
573 | \AtBeginDocument{%
|
---|
574 | \class@typeout
|
---|
575 | }%
|
---|
576 | \def\revtex@pageid{%
|
---|
577 | \xdef\@thefnmark{\null}%
|
---|
578 | \@footnotetext{%
|
---|
579 | This \revtex@genre\space was prepared with the
|
---|
580 | \revtex@org\space \LaTeX\ macros v\revtex@ver.%
|
---|
581 | }%
|
---|
582 | }%
|
---|
583 | \def\ps@plaintop{%
|
---|
584 | \let\@mkboth\@gobbletwo
|
---|
585 | \def\@oddfoot{}%
|
---|
586 | \def\@oddhead{\rmfamily\hfil--\space\thepage\space--\hfil}%
|
---|
587 | \def\@evenfoot{}%
|
---|
588 | \let\@evenhead\@oddhead
|
---|
589 | }%
|
---|
590 | \def\ps@msstitle{% mss ID on title page
|
---|
591 | \let\@mkboth\@gobbletwo
|
---|
592 | \def\@oddfoot{}%
|
---|
593 | \def\@oddhead{\rmfamily\hfil\ms@id}%
|
---|
594 | \def\@evenfoot{}%
|
---|
595 | \let\@evenhead\@oddhead
|
---|
596 | }%
|
---|
597 | \setlength\textwidth{6.5in}%
|
---|
598 | \setlength\textheight{8.4in}%
|
---|
599 | \setlength\headheight{.15in}%
|
---|
600 | \setlength\marginparsep {10\p@}%
|
---|
601 | \setlength\marginparpush{5\p@}%
|
---|
602 | \setlength\oddsidemargin {0in}%
|
---|
603 | \setlength\evensidemargin {0in}%
|
---|
604 | \setlength\marginparwidth {0in}%
|
---|
605 | \setlength\topmargin{0in}%
|
---|
606 | \setlength\lineskip{1\p@}%
|
---|
607 | \setlength\normallineskip{1\p@}%
|
---|
608 | \def\@doubleleading{1.6}%
|
---|
609 | \def\@tightleading{1.1}%
|
---|
610 | \renewcommand\baselinestretch{\@tightleading}%
|
---|
611 | \newcommand\tighten{\def\baselinestretch{\@tightleading}}%
|
---|
612 | \newcommand\tightenlines{\tighten}%
|
---|
613 | \newcommand\singlespace{%
|
---|
614 | \def\baselinestretch{\@tightleading}%
|
---|
615 | \normalsize
|
---|
616 | }%
|
---|
617 | \newcommand\doublespace{%
|
---|
618 | \def\baselinestretch{\@doubleleading}%
|
---|
619 | \normalsize
|
---|
620 | }%
|
---|
621 | \def\singlespace@apj{%
|
---|
622 | \def\baselinestretch{\@tightleading}%
|
---|
623 | \def\arraystretch{\@tightleading}%
|
---|
624 | \normalsize
|
---|
625 | }%
|
---|
626 | \def\doublespace@apj{%
|
---|
627 | \def\baselinestretch@apj{\@doubleleading}%
|
---|
628 | \def\arraystretch{\@doubleleading}%
|
---|
629 | \normalsize
|
---|
630 | }%
|
---|
631 | \setlength\parskip{1.5ex}%
|
---|
632 | \setlength\parindent{2em}%
|
---|
633 | \setlength\smallskipamount{3\p@\@plus1\p@\@minus1\p@}%
|
---|
634 | \setlength\medskipamount{6\p@\@plus2\p@\@minus2\p@}%
|
---|
635 | \setlength\bigskipamount{12\p@\@plus4\p@\@minus4\p@}%
|
---|
636 | \@lowpenalty 51
|
---|
637 | \@medpenalty 151
|
---|
638 | \@highpenalty 301
|
---|
639 | \newcommand\ptlandscape{%
|
---|
640 | \setlength\textwidth{9in}%
|
---|
641 | \setlength\textheight{6.5in}%
|
---|
642 | \setlength\pt@width{\textwidth}%
|
---|
643 | \setlength\hoffset{0.0in}%
|
---|
644 | \setlength\voffset{-0.25in}%
|
---|
645 | }%
|
---|
646 | \def\eqsecnum{%
|
---|
647 | \@addtoreset{equation}{section}%
|
---|
648 | \def\theequation{%
|
---|
649 | %\mbox{\normalsize\arabic{section}-\arabic{equation}}% Wrong!
|
---|
650 | \arabic{section}-\arabic{equation}%
|
---|
651 | }%
|
---|
652 | }%
|
---|
653 | \def\@journalname{The Astrophysical Journal}%
|
---|
654 | \def\cpr@holder{American Astronomical Society}%
|
---|
655 | \newcommand\received[1]{\gdef\@recvdate{#1}}%
|
---|
656 | \newcommand\accepted[1]{\gdef\@accptdate{#1}}%
|
---|
657 | \newcommand\revised[1]{\gdef\@revisedate{#1}}%
|
---|
658 | \newcommand\journalid[2]{\gdef\@jourvol{#1}\gdef\@jourdate{#2}}%
|
---|
659 | \newcommand\articleid[2]{\gdef\@startpage{#1}\gdef\@finishpage{#2}}%
|
---|
660 | \newcommand\paperid[1]{\gdef\@paperid{#1}}%
|
---|
661 | \newcommand\ccc[1]{\gdef\CCC@code{#1}}%
|
---|
662 | \AtEndOfClass{%
|
---|
663 | \@provide\@recvdate{}%
|
---|
664 | \@provide\@accptdate{}%
|
---|
665 | \@provide\@revisedate{}%
|
---|
666 | \@provide\@jourvol{}%
|
---|
667 | \@provide\@jourdate{}%
|
---|
668 | \@provide\@startpage{}%
|
---|
669 | \@provide\@finishpage{}%
|
---|
670 | \@provide\@paperid{MS-0001-SAMP}%
|
---|
671 | \@provide\CCC@code{000-00\$75.95-CDB}%
|
---|
672 | }%
|
---|
673 | \newcommand\cpright[2]{%
|
---|
674 | \global\expandafter\let\expandafter\cpr@type\csname cpr@#1\endcsname
|
---|
675 | \gdef\cpr@year{#2}%
|
---|
676 | \typeout{`#1' copyright \cpr@year.}%
|
---|
677 | }%
|
---|
678 | \def\cpr@AAS{Copyright \cpr@year\space by the \cpr@holder.}%
|
---|
679 | \def\cpr@PD{This article is in the public domain.}%
|
---|
680 | \def\cpr@Crown{Crown copyright \cpr@year\space by the \cpr@holder.}%
|
---|
681 | \def\cpr@none{No copyright is claimed for this article.}%
|
---|
682 | \def\cpr@ASP{Copyright \cpr@year\space by the ASP.}%
|
---|
683 | \def\cpr@year{\number\year}%
|
---|
684 | \def\@slug{%
|
---|
685 | \par
|
---|
686 | \noindent\cpr@type\par
|
---|
687 | \noindent Manuscript number \@paperid.\par
|
---|
688 | \noindent\CCC@code\par
|
---|
689 | }%
|
---|
690 | \newcommand\lefthead{\substitute@command\lefthead\shorttitle}%
|
---|
691 | \newcommand\righthead{\substitute@command\righthead\shortauthors}%
|
---|
692 | \newcommand\shorttitle[1]{\gdef\@versohead{#1}}%
|
---|
693 | \newcommand\shortauthors[1]{\gdef\@rectohead{#1}}%
|
---|
694 | \shorttitle{\relax}%
|
---|
695 | \shortauthors{\relax}%
|
---|
696 | \def\@runheads{%
|
---|
697 | \@tempcnta\c@page
|
---|
698 | \@whilenum\@tempcnta>\z@\do{%
|
---|
699 | \vskip 3ex
|
---|
700 | \hbox\@to30pc{%
|
---|
701 | \small
|
---|
702 | \expandafter\uppercase\expandafter{\@versohead}:
|
---|
703 | \expandafter\uppercase\expandafter{\@rectohead}\hfil
|
---|
704 | }%
|
---|
705 | \advance\@tempcnta\m@ne
|
---|
706 | }%
|
---|
707 | }%
|
---|
708 | \newcommand\msid[1]{\gdef\ms@id{#1}}% mss ID
|
---|
709 | \def\ms@id{}%
|
---|
710 | \newcommand\slugcomment[1]{\gdef\slug@comment{#1}}%
|
---|
711 | \slugcomment{}%
|
---|
712 | \newdimen\@slugcmmntwidth
|
---|
713 | \long\def\@makeslugcmmnt@mss{%
|
---|
714 | \@ifx@empty\slug@comment{\relax}{%
|
---|
715 | \vskip 5ex
|
---|
716 | \sbox\@tempboxa{\slug@comment}%
|
---|
717 | \@ifdim{\wd\@tempboxa >\@slugcmmntwidth}{%
|
---|
718 | \hbox\@to\textwidth{%
|
---|
719 | \hss
|
---|
720 | \parbox\@slugcmmntwidth\slug@comment
|
---|
721 | }%
|
---|
722 | }{%
|
---|
723 | \hbox\@to\textwidth{\hfil\box\@tempboxa\hfil}%
|
---|
724 | }%
|
---|
725 | }%
|
---|
726 | }%
|
---|
727 | \long\def\@makeslugcmmnt@ppt{%
|
---|
728 | \@ifx@empty\slug@comment{\relax}{%
|
---|
729 | \sbox\@tempboxa{\slug@comment}%
|
---|
730 | \@ifdim{\wd\@tempboxa >\@slugcmmntwidth}{%
|
---|
731 | \hbox\@to\textwidth{%
|
---|
732 | \hss
|
---|
733 | \parbox\@slugcmmntwidth\slug@comment
|
---|
734 | }%
|
---|
735 | }{%
|
---|
736 | \hbox\@to\textwidth{\hfil\box\@tempboxa}%
|
---|
737 | }%
|
---|
738 | \vskip 2ex
|
---|
739 | }%
|
---|
740 | }%
|
---|
741 | \def\@rcvaccrule{\vrule\@width1.75in\@height0.5pt\@depth\z@}%
|
---|
742 | \def\@dates{\ifx\@title\@empty\else {Received}\space%
|
---|
743 | \ifx\@empty\@recvdate\@rcvaccrule\else\@recvdate\fi;%
|
---|
744 | \hspace{1.5em}{accepted}\space%
|
---|
745 | \ifx\@empty\@accptdate\@rcvaccrule\else\@accptdate\fi%
|
---|
746 | \fi}% %
|
---|
747 | \def\@dates@pptt{%
|
---|
748 | \@ifx@empty\@recvdate{}{%
|
---|
749 | \@ifx@empty\@accptdate{}{%
|
---|
750 | {\center
|
---|
751 | \@ifnum{\col@number=\tw@}{\small}{\normalsize}%
|
---|
752 | {\itshape Received}\space
|
---|
753 | \@recvdate
|
---|
754 | \@ifnum{\col@number=\tw@}{\\[.5ex]}{\hspace{1.5em}}%
|
---|
755 | {\itshape accepted}\space
|
---|
756 | \@accptdate
|
---|
757 | \endcenter
|
---|
758 | }%
|
---|
759 | }%
|
---|
760 | }%
|
---|
761 | }%
|
---|
762 | \def\sluginfo@mss{%
|
---|
763 | {%
|
---|
764 | \addpenalty{\@M}%
|
---|
765 | \addvspace{6\p@}%
|
---|
766 | \centering
|
---|
767 | \@dates
|
---|
768 | \@makeslugcmmnt
|
---|
769 | \par
|
---|
770 | \addvspace{6\p@}%
|
---|
771 | }%
|
---|
772 | }%
|
---|
773 | \newcommand\sluginfo{%
|
---|
774 | {%
|
---|
775 | \addpenalty{\@M}%
|
---|
776 | \addvspace{6\p@}%
|
---|
777 | \centering
|
---|
778 | \@dates
|
---|
779 | \par
|
---|
780 | \addvspace{6\p@}%
|
---|
781 | }%
|
---|
782 | }%
|
---|
783 | \let\dates=\sluginfo
|
---|
784 | \renewenvironment{abstract}{%
|
---|
785 | \iflong@abstract% Abstract in one-column mode
|
---|
786 | \onecolumn
|
---|
787 | \fi
|
---|
788 | \global\setbox\abstract@box\vtop\bgroup
|
---|
789 | \columnwidth\textwidth\hsize\columnwidth\linewidth\hsize
|
---|
790 | \normalsize
|
---|
791 | \color@begingroup
|
---|
792 | \@parboxrestore
|
---|
793 | \@setminipage
|
---|
794 | \quotation
|
---|
795 | }{%
|
---|
796 | \par
|
---|
797 | \endquotation
|
---|
798 | \removelastskip
|
---|
799 | \vskip-\prevdepth
|
---|
800 | \color@endgroup
|
---|
801 | \egroup
|
---|
802 | }%
|
---|
803 | \newbox\abstract@box
|
---|
804 | \def\abstractname{ABSTRACT}%
|
---|
805 | \def\@abstract@mss{%
|
---|
806 | \sluginfo
|
---|
807 | \clearpage
|
---|
808 | \@ifvoid\abstract@box{}{%
|
---|
809 | \begin{center}\bfseries\abstractname\end{center}%
|
---|
810 | \contribute@box\abstract@box
|
---|
811 | }%
|
---|
812 | }%
|
---|
813 | \def\contribute@box#1{%
|
---|
814 | \dimen@\ht#1%
|
---|
815 | \leavevmode\hbox{\vrule\@height\ht#1\@width\z@}\par
|
---|
816 | \nointerlineskip\nobreak\kern-\ht#1\unvbox#1\prevdepth\z@
|
---|
817 | }%
|
---|
818 | \def\@abstract@ppt{%
|
---|
819 | \@ifvoid\abstract@box{}{%
|
---|
820 | \begin{center}\bfseries\abstractname\end{center}%
|
---|
821 | \contribute@box\abstract@box
|
---|
822 | }%
|
---|
823 | }%
|
---|
824 | \def\@abstract@pptt{%
|
---|
825 | \@ifvoid\abstract@box{}{%
|
---|
826 | \@ifnum{\col@number=\tw@}{%
|
---|
827 | \section*{Abstract}%
|
---|
828 | }{%
|
---|
829 | \vspace{3em}%
|
---|
830 | \begin{center}%
|
---|
831 | \large
|
---|
832 | \bfseries\abstractname\vspace{-.5em}\vspace{\z@}%
|
---|
833 | \end{center}%
|
---|
834 | }%
|
---|
835 | \contribute@box\abstract@box
|
---|
836 | }%
|
---|
837 | }%
|
---|
838 | \def\title#1{\appdef\@title{\make@title{#1}}}%
|
---|
839 | \def\author#1{\appdef\@author{\make@author{#1}}}%
|
---|
840 | %%% \def\authoraddr{\substitute@command\authoraddr\affil}%
|
---|
841 | \def\email#1{\appdef\@author{\make@authoremail{#1}}}%
|
---|
842 | \def\affil#1{\appdef\@author{\make@affil{#1}}}%
|
---|
843 | \def\altaffilmark#1{\appdef\@author{\make@altaffilmark{#1}}}%
|
---|
844 | \def\altaffiltext#1#2{\appdef\@author{\make@altaffiltext{#1}{#2}}}%
|
---|
845 | \def\and{\appdef\@author{\make@and}}%
|
---|
846 | \let\authoraddr\@gobble
|
---|
847 | \let\@title\@empty
|
---|
848 | \let\@author\@empty
|
---|
849 | \let\@date\@empty
|
---|
850 | \def\@maketitle{%
|
---|
851 | \newpage
|
---|
852 | \begingroup
|
---|
853 | \let\footnote\thanks
|
---|
854 | \let\email\make@authoremail
|
---|
855 | \let\affil\make@affil
|
---|
856 | \let\altaffilmark\make@altaffilmark
|
---|
857 | \let\altaffiltext\make@altaffiltext
|
---|
858 | \let\and\make@and
|
---|
859 | \@title
|
---|
860 | \@author
|
---|
861 | \@date
|
---|
862 | \par
|
---|
863 | \@abstract
|
---|
864 | \@ifxundefined\keyword@list{}{%
|
---|
865 | \expandafter\@keywords
|
---|
866 | \expandafter{\keyword@list}%
|
---|
867 | }%
|
---|
868 | \endgroup
|
---|
869 | }%
|
---|
870 | \def\make@title@mss#1{%
|
---|
871 | {%
|
---|
872 | \def\baselinestretch{\@tightleading}%
|
---|
873 | \center\large\bfseries{#1}\endcenter %%
|
---|
874 | }%
|
---|
875 | \thispagestyle{msstitle}% mss ID
|
---|
876 | }%
|
---|
877 | \def\make@title@ppt#1{%
|
---|
878 | \@makeslugcmmnt
|
---|
879 | {\center\large\bfseries{#1}\endcenter}%
|
---|
880 | \thispagestyle{empty}%
|
---|
881 | }%
|
---|
882 | \def\make@title@pptt#1{%
|
---|
883 | {%
|
---|
884 | \center
|
---|
885 | \@ifnum{\col@number=\tw@}{\large}{\Large}%
|
---|
886 | \bfseries
|
---|
887 | #1%
|
---|
888 | \endcenter
|
---|
889 | }%
|
---|
890 | }%
|
---|
891 | \def\make@author#1{%
|
---|
892 | {\topsep\z@\center\normalsize#1\endcenter}%
|
---|
893 | }%
|
---|
894 | \def\make@author@pptt#1{%
|
---|
895 | {\topsep\z@
|
---|
896 | \center
|
---|
897 | \@ifnum{\col@number=\tw@}{\normalsize}{\vspace{4ex}\large}%
|
---|
898 | #1%
|
---|
899 | \endcenter
|
---|
900 | }%
|
---|
901 | }%
|
---|
902 | \let\make@authoraddr=\@gobble
|
---|
903 | \def\make@authoremail#1{%
|
---|
904 | {\topsep\z@\center\normalsize\tt#1\endcenter}%
|
---|
905 | }%
|
---|
906 | \newcommand\make@affil[1]{%
|
---|
907 | \vspace*{-2.5ex}%
|
---|
908 | {\topsep\z@\center#1\endcenter}%
|
---|
909 | }%
|
---|
910 | \def\make@affil@ppt#1{%
|
---|
911 | \vspace*{-0.8ex}%
|
---|
912 | {%
|
---|
913 | \topsep\z@
|
---|
914 | \center
|
---|
915 | \@ifnum{\col@number=\tw@}{\small}{\normalsize}%
|
---|
916 | \itshape
|
---|
917 | #1%
|
---|
918 | \endcenter
|
---|
919 | }%
|
---|
920 | }%
|
---|
921 | \def\make@affil@pptt#1{%
|
---|
922 | \vspace*{-0.8ex}%
|
---|
923 | {%
|
---|
924 | \topsep\z@
|
---|
925 | \center
|
---|
926 | \@ifnum{\col@number=\tw@}{\small}{\normalsize}%
|
---|
927 | \itshape
|
---|
928 | #1%
|
---|
929 | \endcenter
|
---|
930 | }%
|
---|
931 | }%
|
---|
932 | \def\thefootnote{\@arabic\c@footnote}% initial style
|
---|
933 | \newcommand\make@altaffilmark[1]{$^{#1}$}%
|
---|
934 | \newcommand\make@altaffiltext[2]{%
|
---|
935 | \iflong@abstract%
|
---|
936 | \footnotetext@ass[#1]{#2}
|
---|
937 | \else
|
---|
938 | \footnotetext@ass[#1]{\hsize\columnwidth #2}
|
---|
939 | \fi
|
---|
940 | }%
|
---|
941 | %%
|
---|
942 | \def\thanks#1{\footnotemark
|
---|
943 | \protected@xdef\@thanks{\@thanks
|
---|
944 | \iflong@abstract%
|
---|
945 | \protect\footnotetext[\the\c@footnote]{\hsize18pc #1}
|
---|
946 | \else
|
---|
947 | \protect\footnotetext[\the\c@footnote]{#1}
|
---|
948 | \fi
|
---|
949 | }%
|
---|
950 | }
|
---|
951 | %%
|
---|
952 | \def\footnotetext@ass{%
|
---|
953 | \@ifnextchar [\@xfootnotenext@ass
|
---|
954 | {%\protected@xdef\@thefnmark{\thempfn}%
|
---|
955 | \@footnotetext}}
|
---|
956 | \def\@xfootnotenext@ass[#1]{%
|
---|
957 | \begingroup
|
---|
958 | %\csname c@\@mpfn\endcsname #1\relax
|
---|
959 | \unrestored@protected@xdef\@thefnmark{#1}%
|
---|
960 | \endgroup
|
---|
961 | \@footnotetext}
|
---|
962 | \def\make@and{\vspace*{-0.5ex}{\topsep\z@\center and\endcenter}}%
|
---|
963 | \newcommand\keywords{\appdef\keyword@list}%
|
---|
964 | \let\keyword@list\undefined
|
---|
965 | \def\@keywords#1{%
|
---|
966 | \vspace*{-.7ex}%
|
---|
967 | \@ifnum{\col@number=\tw@}{%
|
---|
968 | \noindent
|
---|
969 | {{\itshape\@keywordtext:\/}\space\@kwds{#1}}%
|
---|
970 | }{%
|
---|
971 | {%
|
---|
972 | \quote
|
---|
973 | {\itshape\@keywordtext:\/}\space
|
---|
974 | \@kwds{#1}%
|
---|
975 | \endquote
|
---|
976 | }%
|
---|
977 | }%
|
---|
978 | }%
|
---|
979 | \def\@keywords@pptt#1{%
|
---|
980 | \vspace*{-.7ex}%
|
---|
981 | \@ifnum{\col@number=\tw@}{%
|
---|
982 | \noindent
|
---|
983 | {%
|
---|
984 | \small
|
---|
985 | {\itshape\@keywordtext:\/}\space
|
---|
986 | \@kwds{#1}%
|
---|
987 | }%
|
---|
988 | }{%
|
---|
989 | {%
|
---|
990 | \quote
|
---|
991 | \small
|
---|
992 | {\itshape\@keywordtext:\/}\space
|
---|
993 | \@kwds{#1}%
|
---|
994 | \endquote
|
---|
995 | }%
|
---|
996 | }%
|
---|
997 | }%
|
---|
998 | \def\@keywords@mss#1{%%%
|
---|
999 | \vspace*{-.7ex}%
|
---|
1000 | \@ifnum{\col@number=\tw@}{%
|
---|
1001 | \noindent
|
---|
1002 | {%
|
---|
1003 | \small
|
---|
1004 | {\itshape\@keywordtext:\/}\space
|
---|
1005 | \@kwds{#1}%
|
---|
1006 | }%
|
---|
1007 | }{%
|
---|
1008 | {%
|
---|
1009 | \quote
|
---|
1010 | \small
|
---|
1011 | {\itshape\@keywordtext:\/}\space
|
---|
1012 | \@kwds{#1}%
|
---|
1013 | \endquote%
|
---|
1014 | \clearpage
|
---|
1015 | }%
|
---|
1016 | }%
|
---|
1017 | }%
|
---|
1018 | \let\subjectheadings=\keywords
|
---|
1019 | \def\@keywordtext{Subject headings}%
|
---|
1020 | \def\@keyworddelim{---}%
|
---|
1021 | \def\@kwds@jnl#1{%
|
---|
1022 | \def\@kwddlm{}%
|
---|
1023 | \@for\@kwd:=#1\do{%
|
---|
1024 | \@kwddlm
|
---|
1025 | \def\@kwddlm{\space\@keyworddelim\penalty\@m\space}%
|
---|
1026 | {\@kwd}%
|
---|
1027 | }%
|
---|
1028 | }%
|
---|
1029 | \def\@kwds#1{#1\relax}%
|
---|
1030 | \AtBeginDocument{%
|
---|
1031 | \everypar{%
|
---|
1032 | \everypar@hook
|
---|
1033 | }%
|
---|
1034 | }%
|
---|
1035 | \def\everypar@hook{%
|
---|
1036 | \setbox\z@\lastbox\par\removelastskip
|
---|
1037 | \everypar{}%
|
---|
1038 | \maketitle@trigger
|
---|
1039 | \leavevmode
|
---|
1040 | }%
|
---|
1041 | \def\@startsection@hook{\maketitle@trigger}%
|
---|
1042 | \prepdef\tableofcontents{\listof@hook}%
|
---|
1043 | \prepdef\listoffigures{\listof@hook}%
|
---|
1044 | \prepdef\listoftables{\listof@hook}%
|
---|
1045 | \def\listof@hook{\maketitle@trigger}%
|
---|
1046 | \def\maketitle@disarm{%
|
---|
1047 | \global\let\maketitle@trigger\relax
|
---|
1048 | \global\let\@startsection@hook\@empty
|
---|
1049 | \global\let\listof@hook\@empty
|
---|
1050 | \global\let\everypar@hook\@empty
|
---|
1051 | }%
|
---|
1052 | \def\maketitle@trigger{%
|
---|
1053 | \maketitle
|
---|
1054 | }%
|
---|
1055 | \setlength{\skip\footins}{4ex\@plus1ex\@minus.5ex}%
|
---|
1056 | \setlength\footnotesep{3ex}%
|
---|
1057 | \long\def\@makefntext@pptt#1{%
|
---|
1058 | \noindent
|
---|
1059 | \hbox\@to\z@{\hss$^{\@thefnmark}$}%
|
---|
1060 | #1%
|
---|
1061 | }%
|
---|
1062 | \newcounter{editornote}%
|
---|
1063 | \def\theeditornote{{\rmfamily E}\arabic{editornote}}%
|
---|
1064 | \newcommand\notetoeditor[1]{%
|
---|
1065 | \stepcounter{editornote}%
|
---|
1066 | \begingroup
|
---|
1067 | \def\protect{\noexpand\protect\noexpand}%
|
---|
1068 | \xdef\@thefnmark{\theeditornote}%
|
---|
1069 | \endgroup
|
---|
1070 | \@footnotemark\@footnotetext{NOTE TO EDITOR: #1}%
|
---|
1071 | }%
|
---|
1072 | \renewcommand\section{%
|
---|
1073 | \@startsection{section}{1}%
|
---|
1074 | {\z@}{5ex\@plus.5ex}{1ex\@plus.2ex}{\normalsize\bfseries}%
|
---|
1075 | }%
|
---|
1076 | \def\thesection{\@arabic{\c@section}}%
|
---|
1077 | \def\clear@section@page{}%
|
---|
1078 | \renewcommand\subsection{%
|
---|
1079 | \@startsection{subsection}{2}%
|
---|
1080 | {\z@}{5ex\@plus.5ex}{1ex\@plus.2ex}{\normalsize\bfseries}%
|
---|
1081 | }%
|
---|
1082 | \def\thesubsection{\thesection.\@arabic{\c@subsection}}%
|
---|
1083 | \renewcommand\subsubsection{%
|
---|
1084 | \@startsection{subsubsection}{3}%
|
---|
1085 | {\z@}{5ex\@plus.5ex}{1ex\@plus.2ex}{\normalsize\itshape}%
|
---|
1086 | }%
|
---|
1087 | \def\thesubsubsection{\thesubsection.\@arabic{\c@subsubsection}}%
|
---|
1088 | \newcommand\subsubsubsection{%
|
---|
1089 | \@startsection{subsubsection}{4}%
|
---|
1090 | {\z@}{-15\p@\@plus-5\p@\@minus-2\p@}{5\p@}{\normalfont\normalsize\itshape}%
|
---|
1091 | }%
|
---|
1092 | \def\thesubsubsubsection{\thesubsubsection.\@arabic{\c@subsubsubsection}}%
|
---|
1093 | \def\theparagraph{\thesubsubsection.\@arabic{\c@paragraph}}%
|
---|
1094 | \newcommand\acknowledgments{\vskip 3ex\@plus.8ex\@minus.4ex}%
|
---|
1095 | \let\acknowledgements=\acknowledgments
|
---|
1096 | \renewcommand\appendix{%
|
---|
1097 | \par
|
---|
1098 | \if@twocolumn\@restonecoltrue\onecolumn\fi
|
---|
1099 | \setcounter{section}{\z@}%
|
---|
1100 | \setcounter{subsection}{\z@}%
|
---|
1101 | \setcounter{equation}{\z@}%
|
---|
1102 | \def\thesection{\Alph{section}}%
|
---|
1103 | \def\theequation{%
|
---|
1104 | %\hbox{\normalsize\Alph{section}\arabic{equation}}%
|
---|
1105 | \thesection\arabic{equation}%
|
---|
1106 | }%
|
---|
1107 | \@addtoreset{equation}{section}%
|
---|
1108 | \appendix@figtab@defs
|
---|
1109 | \def\section{%
|
---|
1110 | \@startsection
|
---|
1111 | {section}{1}{\z@}%
|
---|
1112 | {5ex\@plus.5ex}{1ex\@plus.2ex}{\normalsize\bfseries}%
|
---|
1113 | }%
|
---|
1114 | }%
|
---|
1115 | \let\appendix@figtab@defs\@empty
|
---|
1116 | \def\appendix@figtab@defs@pptt{}%
|
---|
1117 | \newcounter{cureqno}%
|
---|
1118 | \newenvironment{mathletters}{%
|
---|
1119 | \refstepcounter{equation}%
|
---|
1120 | \setcounter{cureqno}{\value{equation}}%
|
---|
1121 | \let\@curtheeqn\theequation
|
---|
1122 | \edef\@tempa{\theequation}%
|
---|
1123 | \expandafter\def
|
---|
1124 | \expandafter\theequation
|
---|
1125 | \expandafter{\@tempa\alph{equation}}%
|
---|
1126 | \setcounter{equation}{0}%
|
---|
1127 | }{%
|
---|
1128 | \let\theequation\@curtheeqn
|
---|
1129 | \setcounter{equation}{\value{cureqno}}%
|
---|
1130 | }%
|
---|
1131 | \newcommand\eqnum[1]{%
|
---|
1132 | \def\theequation{#1}%
|
---|
1133 | \let\@currentlabel\theequation
|
---|
1134 | \addtocounter{equation}{\m@ne}%
|
---|
1135 | }%
|
---|
1136 | \renewenvironment{thebibliography}[1]{%
|
---|
1137 | \clear@thebibliography@page
|
---|
1138 | \subsection*{REFERENCES}%
|
---|
1139 | \thebib@list
|
---|
1140 | \def\refpar{\relax}%
|
---|
1141 | \def\newblock{\hskip .11em\@plus.33em\@minus.07em}%
|
---|
1142 | \sloppy
|
---|
1143 | \clubpenalty4000
|
---|
1144 | \widowpenalty4000
|
---|
1145 | \sfcode`\.=1000\relax
|
---|
1146 | }{%
|
---|
1147 | \endlist
|
---|
1148 | \revtex@pageid
|
---|
1149 | }%
|
---|
1150 | \def\clear@thebibliography@page{}%
|
---|
1151 | \def\thebib@list{%
|
---|
1152 | \list{\null}{%
|
---|
1153 | \leftmargin 3em\labelwidth\z@\labelsep\z@\itemindent-\leftmargin
|
---|
1154 | \usecounter{enumi}%
|
---|
1155 | }%
|
---|
1156 | }%
|
---|
1157 | \def\thebib@list@pptt{%
|
---|
1158 | \list{\null}{%
|
---|
1159 | \leftmargin 1.2em\labelwidth\z@\labelsep\z@\itemindent-\leftmargin
|
---|
1160 | \usecounter{enumi}%
|
---|
1161 | }%
|
---|
1162 | }%
|
---|
1163 | \newenvironment{references}{%
|
---|
1164 | \clear@thebibliography@page
|
---|
1165 | \subsection*{REFERENCES}%
|
---|
1166 | \bgroup
|
---|
1167 | \setlength\parindent\z@
|
---|
1168 | \setlength\parskip\itemsep
|
---|
1169 | \let\refpar\references@refpar
|
---|
1170 | }{%
|
---|
1171 | \refpar
|
---|
1172 | \egroup
|
---|
1173 | \revtex@pageid
|
---|
1174 | }%
|
---|
1175 | \def\references@refpar@mss{%
|
---|
1176 | \par\setlength\hangindent{3em}\hangafter\@ne
|
---|
1177 | }%
|
---|
1178 | \def\references@refpar@pptt{%
|
---|
1179 | \par\setlength\hangindent{1.2em}\hangafter\@ne
|
---|
1180 | }%
|
---|
1181 | \let\references@refpar\references@refpar@mss
|
---|
1182 | \newcommand\reference{%
|
---|
1183 | \@ifnextchar\bgroup{\@reference}{%
|
---|
1184 | \@latexerr{Missing key on reference command}{%
|
---|
1185 | Each reference command should have a key corresponding
|
---|
1186 | to a \protect\markcite\space somewhere in the text
|
---|
1187 | }%
|
---|
1188 | }%
|
---|
1189 | }%
|
---|
1190 | \def\@reference#1{\relax\refpar}%
|
---|
1191 | \newcommand\markcite[1]{\remove@command\markcite}%
|
---|
1192 | \def\@biblabel#1{\relax}%
|
---|
1193 | \def\@cite#1#2{#1\if@tempswa , #2\fi}%
|
---|
1194 | \setcounter{topnumber}{7}%
|
---|
1195 | \newskip\tnotemarkskip
|
---|
1196 | \tnotemarkskip7pt
|
---|
1197 | \newdimen\@abovenoteskip%
|
---|
1198 | \newcommand\tablenotemark[1]{%
|
---|
1199 | \rlap{$^{\mathrm #1}$}\hskip\tnotemarkskip\ignorespaces% Fixed: the space after notemark
|
---|
1200 | }%
|
---|
1201 | \def\@tablenotetext#1#2{%
|
---|
1202 | \vspace{.5ex}%
|
---|
1203 | {\noindent\llap{$^{#1}$}#2\par}%
|
---|
1204 | }%
|
---|
1205 | \def\@tablenotes#1{%
|
---|
1206 | \par
|
---|
1207 | \vspace{4.5ex}\footnoterule\vspace{.5ex}%
|
---|
1208 | {\footnotesize#1}%
|
---|
1209 | }%
|
---|
1210 | \def\@tablenotes@pptt#1{%
|
---|
1211 | \par
|
---|
1212 | \vspace{3.2ex}\footnoterule\vspace{.4ex}%
|
---|
1213 | {\footnotesize#1}%
|
---|
1214 | }%
|
---|
1215 | \AtBeginDocument{%
|
---|
1216 | \let\tblnote@list\@empty
|
---|
1217 | }%
|
---|
1218 | \newcommand\tablenotetext[2]{\ifdim\@abovenoteskip=0pt\global\@abovenoteskip=20pt\fi%
|
---|
1219 | \appgdef\tblnote@list{\hsize\pt@width\leftskip\z@\rightskip\z@%
|
---|
1220 | \@tablenotetext{#1}{\parfillskip\z@ plus1fil#2\endgraf}}%
|
---|
1221 | }%
|
---|
1222 | \def\spew@tblnotes{%
|
---|
1223 | \@ifx@empty\tblnote@list{}{%
|
---|
1224 | \@tablenotes{\tblnote@list}%
|
---|
1225 | \global\let\tblnote@list\@empty
|
---|
1226 | }%
|
---|
1227 | }%
|
---|
1228 | \prepdef\endtable{\spew@tblnotes}%
|
---|
1229 | \expandafter\prepdef\csname endtable*\endcsname{\spew@tblnotes}%
|
---|
1230 | \let\tableline=\hline
|
---|
1231 | \long\def\@makecaption#1#2{\vskip 2ex\noindent#1\ #2\par}%
|
---|
1232 | \newcommand\tablenum[1]{%
|
---|
1233 | \def\thetable{#1}%
|
---|
1234 | \let\@currentlabel\thetable
|
---|
1235 | \addtocounter{table}{\m@ne}%
|
---|
1236 | }%
|
---|
1237 | \newcommand\figurenum[1]{%
|
---|
1238 | \def\thefigure{#1}%
|
---|
1239 | \let\@currentlabel\thefigure
|
---|
1240 | \addtocounter{figure}{\m@ne}%
|
---|
1241 | }%
|
---|
1242 | \newcommand\placetable{\@place@float{TABLE}}%
|
---|
1243 | \newcommand\placefigure{\@place@float{FIGURE}}%
|
---|
1244 | \newcommand\placeplate{\@place@float{PLATE}}%
|
---|
1245 | \def\@place@float#1#2{%
|
---|
1246 | \vspace{0.5ex}%
|
---|
1247 | \begin{center}EDITOR: PLACE #1 \ref{#2} HERE.\end{center}%
|
---|
1248 | \vspace{0.5ex}%
|
---|
1249 | }%
|
---|
1250 | \newcommand\figcaption{\@testopt{\@xfigcaption}{}}%
|
---|
1251 | \def\@xfigcaption[#1]#2{{\def\@captype{figure}\caption{#2}}}%
|
---|
1252 | \newcommand\dummytable{\refstepcounter{table}}%
|
---|
1253 | \newbox\pt@box
|
---|
1254 | \newdimen\pt@width
|
---|
1255 | \newcount\pt@line
|
---|
1256 | \newcount\pt@column
|
---|
1257 | \newcount\pt@nlines
|
---|
1258 | \newcount\pt@ncol
|
---|
1259 | \newcount\pt@page
|
---|
1260 | \newcommand\colhead[1]{\multicolumn{1}{c}{#1}\pt@addcol}%
|
---|
1261 | \gdef\pt@footnotesize{\string\footnotesize}
|
---|
1262 | \gdef\pt@scriptsize{\string\scriptsize}
|
---|
1263 | \newcommand\tabletypesize[1]{\def\pt@typesize{#1}\gdef\@typesize{\string#1}
|
---|
1264 | \ifx\@typesize\pt@footnotesize
|
---|
1265 | \def\pt@headfrac{\pt@headfrac@ass@footnotesize}
|
---|
1266 | \else
|
---|
1267 | \ifx\@typesize\pt@scriptsize
|
---|
1268 | \def\pt@headfrac{\pt@headfrac@ass@scriptsize}
|
---|
1269 | \else
|
---|
1270 | \def\pt@headfrac{\pt@headfrac@ass@normalsize}%
|
---|
1271 | \fi
|
---|
1272 | \fi
|
---|
1273 | }% Access to different type sizes in deluxetable
|
---|
1274 | \def\pt@typesize{}%
|
---|
1275 | \newcommand\tablecolumns[1]{%
|
---|
1276 | \pt@column=#1\relax%
|
---|
1277 | \pt@ncol=#1\relax%
|
---|
1278 | \global\let\pt@addcol\@empty%
|
---|
1279 | }%
|
---|
1280 | \newcommand\tablecaption[1]{\gdef\pt@caption{\tnotemarkskip8pt#1}}%Fixed: space after mark
|
---|
1281 | \newcommand\tablehead[1]{%
|
---|
1282 | \gdef\pt@head{%
|
---|
1283 | \hline\hline
|
---|
1284 | \relax\\[-1.7ex]%
|
---|
1285 | #1\hskip\tabcolsep
|
---|
1286 | \\[.7ex]%
|
---|
1287 | \hline
|
---|
1288 | \relax\\[-1.5ex]%
|
---|
1289 | }%
|
---|
1290 | }%
|
---|
1291 | \def\tablehead@aj#1{%
|
---|
1292 | \gdef\pt@head{%
|
---|
1293 | #1\hskip\tabcolsep
|
---|
1294 | \\[.7ex]%
|
---|
1295 | \hline
|
---|
1296 | \relax\\[-1.5ex]%
|
---|
1297 | }%
|
---|
1298 | }%
|
---|
1299 | \newif\if@pt@rot
|
---|
1300 | \newcommand\rotate{\@pt@rottrue}%
|
---|
1301 | \newcommand\tabletail[1]{\gdef\pt@tail{#1}}%
|
---|
1302 | \newcommand\tablewidth[1]{\pt@width=#1\relax}%
|
---|
1303 | \newcommand\tableheadfrac[1]{\gdef\pt@headfrac{#1}}%
|
---|
1304 | \AtBeginDocument{%
|
---|
1305 | \let\pt@caption\@empty%
|
---|
1306 | \let\pt@head\@empty%
|
---|
1307 | \let\pt@tail\@empty%
|
---|
1308 | \pt@width\textwidth%
|
---|
1309 | %\def\pt@headfrac{.1}%
|
---|
1310 | \def\pt@headfrac{\pt@headfrac@ass@normalsize}% initialize typesize to consider
|
---|
1311 | }% % while calculating rows
|
---|
1312 | \newdimen\tabbaseskip%
|
---|
1313 | \def\pt@calcnlines{%
|
---|
1314 | \begingroup%
|
---|
1315 | \if@pt@rot\textheight\textwidth\fi% rotate tables
|
---|
1316 | \pt@typesize% Type sizes in deluxetable
|
---|
1317 | \@tempdima\pt@headfrac\textheight
|
---|
1318 | \@tempdimb\textheight\advance\@tempdimb by -\@tempdima
|
---|
1319 | \@tempdima\arraystretch\baselineskip
|
---|
1320 | \global\tabbaseskip\baselineskip
|
---|
1321 | \divide\@tempdimb by\@tempdima
|
---|
1322 | \global\pt@nlines\@tempdimb
|
---|
1323 | \endgroup
|
---|
1324 | }%
|
---|
1325 | \def\pt@tabacol{%
|
---|
1326 | \edef\@preamble{\@preamble\hskip\tabcolsep\tabskip\fill}%
|
---|
1327 | }%
|
---|
1328 | \newdimen\pt@tmpcapwidth
|
---|
1329 | \long\def\@makecaption@plano#1#2{%
|
---|
1330 | \@ifdim{\pt@width>\z@}{%
|
---|
1331 | \pt@tmpcapwidth\pt@width
|
---|
1332 | }{%
|
---|
1333 | \pt@tmpcapwidth\hsize
|
---|
1334 | }%
|
---|
1335 | \parbox{\pt@tmpcapwidth}{%
|
---|
1336 | \@make@caption@text{#1}{#2}%
|
---|
1337 | }%
|
---|
1338 | \endcenter
|
---|
1339 | }%
|
---|
1340 | \def\fnum@ptable{Table \thetable}%
|
---|
1341 | \def\fnum@ptablecont{Table \thetable---{\rmfamily Continued}}%
|
---|
1342 | \long\def\@make@caption@text#1#2{%
|
---|
1343 | \center\rmfamily#1.\quad#2\endcenter
|
---|
1344 | }%
|
---|
1345 | \long\def\@makecaption@plano@cont#1#2{%
|
---|
1346 | \center\rmfamily#1\endcenter
|
---|
1347 | \vskip 2.5ex
|
---|
1348 | }%
|
---|
1349 | \def\fnum@ptablecont@pptt{Table \thetable---{\itshape Continued}}%
|
---|
1350 | \long\def\@make@caption@text@pptt#1#2{%
|
---|
1351 | \center\sc#1\\[.5ex]#2\endcenter
|
---|
1352 | }%
|
---|
1353 | \long\def\@makecaption@plano@cont@pptt#1#2{%
|
---|
1354 | \center\sc#1\endcenter
|
---|
1355 | \vskip 1.5ex
|
---|
1356 | }%
|
---|
1357 | \def\fnum@ptable@apj{TABLE \thetable}%
|
---|
1358 | \def\fnum@ptablecont@apj{TABLE \thetable---{\itshape Continued}}%
|
---|
1359 | \long\def\@make@caption@text@apj#1#2{%
|
---|
1360 | \center\Large\sc#1\\[.5ex]#2\endcenter
|
---|
1361 | }%
|
---|
1362 | \long\def\@makecaption@plano@cont@apj#1#2{%
|
---|
1363 | \center\Large\sc#1\endcenter
|
---|
1364 | \vskip 1.5ex
|
---|
1365 | }%
|
---|
1366 | \def\fnum@ptable@aj{Table \thetable.}%
|
---|
1367 | \def\fnum@ptablecont@aj{Table \thetable.\space{\rmfamily (continued)}}%
|
---|
1368 | \long\def\@make@caption@text@aj#1#2{%
|
---|
1369 | \center\large{\sc#1}\space#2\endcenter
|
---|
1370 | }%
|
---|
1371 | \long\def\@makecaption@plano@cont@aj#1#2{%
|
---|
1372 | \center\large{\sc#1}\endcenter
|
---|
1373 | \vskip 1.5ex
|
---|
1374 | }%
|
---|
1375 | \newbox\spew@tblnotesbox%
|
---|
1376 | \newbox\restof@tblnotesbox%
|
---|
1377 | \global\newdimen\noteheight%
|
---|
1378 | \global\newdimen\pt@tabnoteminht%
|
---|
1379 | \global\pt@tabnoteminht=0pt%
|
---|
1380 | \newenvironment{deluxetable}[1]{%
|
---|
1381 | \maketitle
|
---|
1382 | \def\pt@format{\string#1}%
|
---|
1383 | \let\@acol\pt@tabacol%
|
---|
1384 | \let\@tabularcr\@ptabularcr%
|
---|
1385 | \let\@tablenotetext\@ptablenotetext%
|
---|
1386 | \let\@tablenotes\@ptablenotes%
|
---|
1387 | \global\pt@ncol\z@%
|
---|
1388 | \global\pt@column\z@%
|
---|
1389 | \global\pt@page\@ne%
|
---|
1390 | \gdef\pt@addcol{\global\advance\pt@ncol\@ne}%
|
---|
1391 | \if@pt@rot\leavevmode\fi%
|
---|
1392 | }{%
|
---|
1393 | \ifx\@typesize\pt@footnotesize%%% considering the table typesize in calculation
|
---|
1394 | \global\pt@tabnoteminht=\pt@notemin@footnote\baselineskip
|
---|
1395 | \else
|
---|
1396 | \ifx\@typesize\pt@scriptsize
|
---|
1397 | \global\pt@tabnoteminht=\pt@notemin@script\baselineskip
|
---|
1398 | \else
|
---|
1399 | \global\pt@tabnoteminht=\pt@notemin@normal\baselineskip
|
---|
1400 | \fi
|
---|
1401 | \fi
|
---|
1402 | \global\advance\pt@tabnoteminht-\@abovenoteskip
|
---|
1403 | \global\@abovenoteskip=0pt
|
---|
1404 | \setbox\spew@tblnotesbox\vbox{\spew@tblnotes}%
|
---|
1405 | %%
|
---|
1406 | %% Finding the available space for tablenotes in current page
|
---|
1407 | \if@pt@rot\global\noteheight\textwidth\else\global\noteheight\textheight\fi%
|
---|
1408 | \global\advance\noteheight-\ht\captionbox%
|
---|
1409 | \global\advance\noteheight-\pt@line\tabbaseskip
|
---|
1410 | \if@twocolumn %% tables in preprint2 style
|
---|
1411 | \ifx\@typesize\pt@scriptsize
|
---|
1412 | \global\advance\noteheight-6\baselineskip%
|
---|
1413 | \else
|
---|
1414 | \global\advance\noteheight-3\baselineskip%
|
---|
1415 | \fi
|
---|
1416 | \else
|
---|
1417 | \global\advance\noteheight-2\baselineskip%
|
---|
1418 | \fi
|
---|
1419 | %%
|
---|
1420 | %% Print the maximum lines of notes below table within current page
|
---|
1421 | \ifdim\noteheight<\pt@tabnoteminht% if not possible to keep the minimum two lines
|
---|
1422 | \global\noteheight=0pt% % the whole notes move to next page.
|
---|
1423 | \global\setbox\restof@tblnotesbox\vbox{\unvbox\spew@tblnotesbox}%
|
---|
1424 | \else
|
---|
1425 | %%
|
---|
1426 | %% if possible two lines, check the length of notes
|
---|
1427 | \ifdim\ht\spew@tblnotesbox>\noteheight%
|
---|
1428 | % Print maximum notes in available space and store the remaining part
|
---|
1429 | \hbox\@to\hsize{\hfil\vsplit\spew@tblnotesbox to \noteheight\hfil}%
|
---|
1430 | \global\setbox\restof@tblnotesbox\vbox{\unvbox\spew@tblnotesbox}%
|
---|
1431 | \else%
|
---|
1432 | % Print the whole notes in current page.
|
---|
1433 | \vbox{\hbox\@to\hsize{\hfil\box\spew@tblnotesbox\hfil}}%
|
---|
1434 | \fi
|
---|
1435 | \fi
|
---|
1436 | \typeout@deluxetable%
|
---|
1437 | \endcenter%
|
---|
1438 | \end@plano@float%
|
---|
1439 | %%
|
---|
1440 | %% Print the remaining tablenotes into new page(s).
|
---|
1441 | %% print each page until the remaining box empty.
|
---|
1442 | \loop\ifvoid\restof@tblnotesbox\else%
|
---|
1443 | \clearpage
|
---|
1444 | %%
|
---|
1445 | %% check whether the remaining box is a full/partial page
|
---|
1446 | \ifdim\ht\restof@tblnotesbox<\if@pt@rot\hsize\else\vsize\fi%
|
---|
1447 | \vbox to \textheight{\if@pt@rot\vfill\fi\hbox to \textwidth{\if@pt@rot\else\hfil\fi
|
---|
1448 | \if@pt@rot\rotatebox{90}{\box\restof@tblnotesbox}
|
---|
1449 | \else{\box\restof@tblnotesbox}\fi\hfil}\vfill}%
|
---|
1450 | \else%
|
---|
1451 | \vbox to \textheight{\vfill\hbox to \textwidth{\hfil%
|
---|
1452 | \if@pt@rot\rotatebox{90}{\vsplit\restof@tblnotesbox to \textwidth}
|
---|
1453 | \else{\vsplit\restof@tblnotesbox to \textheight}\fi\hfil}\vfill}%
|
---|
1454 | \fi%
|
---|
1455 | \clearpage
|
---|
1456 | \repeat%
|
---|
1457 | \addtocounter{table}{\m@ne}%
|
---|
1458 | \tabletypesize{\normalsize}%
|
---|
1459 | }%
|
---|
1460 | \let@environment{planotable}{deluxetable}%
|
---|
1461 | \def\@plano@float{% Invoked by \startdata
|
---|
1462 | \begingroup%
|
---|
1463 | \if@pt@rot\columnwidth\textheight\fi% Deluxetable table \rotate
|
---|
1464 | \@plano@float@{table}%
|
---|
1465 | }%
|
---|
1466 | \def\end@plano@float{% S/B invoked by \enddata; instead by \enddeluxetable
|
---|
1467 | \end@plano@float@\endgroup}%
|
---|
1468 | \def\@plano@float@{\@float}% Extra layer of abstraction for float processing
|
---|
1469 | \def\end@plano@float@{%
|
---|
1470 | \end@float}%
|
---|
1471 | \newdimen\firsttabskip
|
---|
1472 | \firsttabskip-\hsize
|
---|
1473 | \appdef\@endfloatbox{%
|
---|
1474 | \if@pt@rot
|
---|
1475 | \global\setbox\@currbox\vbox{\hskip\firsttabskip\global\firsttabskip\z@%
|
---|
1476 | \rotatebox{90}{\box\@currbox}}\else\global\firsttabskip\z@\fi%
|
---|
1477 | }%
|
---|
1478 | \def\typeout@deluxetable@mss{%
|
---|
1479 | \typeout{%
|
---|
1480 | Table \thetable\space has been set to width \the\pt@width
|
---|
1481 | }%
|
---|
1482 | }%
|
---|
1483 | \def\typeout@deluxetable@ppt{%
|
---|
1484 | \typeout{%
|
---|
1485 | Page \the\pt@page \space of table \thetable\space has been set to
|
---|
1486 | width \the\pt@width\space with \the\pt@nlines\space lines per page
|
---|
1487 | }%
|
---|
1488 | }%
|
---|
1489 | \let\typeout@deluxetable\typeout@deluxetable@mss
|
---|
1490 | \newcommand\startdata{%
|
---|
1491 | \pt@calcnlines
|
---|
1492 | \@ifdim{\pt@width>\z@}{%
|
---|
1493 | \def\@halignto{\@to\pt@width}%
|
---|
1494 | }{%
|
---|
1495 | \def\@halignto{}%
|
---|
1496 | }%
|
---|
1497 | \let\fnum@table=\fnum@ptable
|
---|
1498 | \let\@makecaption\@makecaption@plano
|
---|
1499 | \global\pt@line\z@
|
---|
1500 | \start@pt@tabular
|
---|
1501 | \after@startdata
|
---|
1502 | }%
|
---|
1503 | \global\newbox\captionbox
|
---|
1504 | \def\start@pt@tabular{\par%
|
---|
1505 | \@plano@float
|
---|
1506 | \center
|
---|
1507 | \expandafter\caption\expandafter{\pt@caption}%
|
---|
1508 | \global\setbox\captionbox\vbox{\expandafter\caption\expandafter{\pt@caption}}
|
---|
1509 | \pt@typesize% Type sizes in deluxetable
|
---|
1510 | \expandafter\@tabular\expandafter{\pt@format}%
|
---|
1511 | }%
|
---|
1512 | \def\set@pt@box#1{\setbox\pt@box}%
|
---|
1513 | \def\after@startdata{\pt@head}%
|
---|
1514 | \def\after@startdata@aj{\hline\hline\relax\\[-1.7ex]\pt@head}%
|
---|
1515 | \def\enddata{%
|
---|
1516 | \crcr
|
---|
1517 | \noalign{\vskip .7ex}%
|
---|
1518 | \before@enddata%
|
---|
1519 | \endtabular%
|
---|
1520 | \setbox\pt@box\lastbox%
|
---|
1521 | \pt@width\wd\pt@box
|
---|
1522 | \hbox \@to \hsize{\hfil\box\pt@box\hfil}%
|
---|
1523 | \ignorespaces}%
|
---|
1524 | \def\before@enddata{\hline}%
|
---|
1525 | \def\before@enddata@aj{\hline\hline}%
|
---|
1526 | \def\nl{\substitute@command\nl\\}%
|
---|
1527 | \def\nextline{\substitute@command\nextline\\}%
|
---|
1528 | \def\@ptabularcr{%
|
---|
1529 | {\ifnum0=`}\fi% A klootch just in case the next token is & or \cr
|
---|
1530 | \@ifstar{%
|
---|
1531 | \@testopt{\@argptabularcr\@empty}\z@skip%
|
---|
1532 | }{%
|
---|
1533 | \@testopt{\@argptabularcr\ptable@@split}\z@skip%
|
---|
1534 | }%
|
---|
1535 | }%
|
---|
1536 | \newdimen\pt@reduceline
|
---|
1537 | \newdimen\extra@vspace
|
---|
1538 | \extra@vspace\z@
|
---|
1539 | \def\@xargptarraycr#1{\@tempdima #1%
|
---|
1540 | \global\advance\extra@vspace\@tempdima% % adding the optional spaces
|
---|
1541 | \advance\@tempdima\dp \@arstrutbox%
|
---|
1542 | \vrule \@height\z@ \@depth\@tempdima \@width\z@%
|
---|
1543 | \global\pt@reduceline\arraystretch\tabbaseskip% total lines to be reduced
|
---|
1544 | \@whilenum\pt@reduceline<\extra@vspace% % reducing the excess lines%
|
---|
1545 | \do{%
|
---|
1546 | \global\advance\extra@vspace-\pt@reduceline%
|
---|
1547 | \global\advance\pt@line1
|
---|
1548 | }%
|
---|
1549 | \cr}%
|
---|
1550 | \def\@argptabularcr#1[#2]{%
|
---|
1551 | \ifnum0=`{\fi}% To undo the effect of the klootch.
|
---|
1552 | \@ifdim{#2>\z@}{%
|
---|
1553 | \unskip\@xargptarraycr{#2}%
|
---|
1554 | }{%
|
---|
1555 | \@yargarraycr{#2}%
|
---|
1556 | }\ptable@split#1%
|
---|
1557 | }%
|
---|
1558 | \def\ptable@split#1{%
|
---|
1559 | \noalign{%
|
---|
1560 | \global\advance\pt@line\@ne%
|
---|
1561 | \@ifnum{\pt@line<\pt@nlines}{}{%
|
---|
1562 | \aftergroup#1%
|
---|
1563 | }%
|
---|
1564 | }%
|
---|
1565 | }%
|
---|
1566 | \def\ptable@@split{%
|
---|
1567 | \before@suspendpt%
|
---|
1568 | \endtabular%
|
---|
1569 | \setbox\pt@box\lastbox%
|
---|
1570 | \pt@width\wd\pt@box\box\pt@box%
|
---|
1571 | \typeout@pt@nl%
|
---|
1572 | \global\advance\pt@page\@ne%
|
---|
1573 | \endcenter%
|
---|
1574 | \end@plano@float%
|
---|
1575 | \clearpage
|
---|
1576 | \global\extra@vspace\z@
|
---|
1577 | \addtocounter{table}{-2}%
|
---|
1578 | \let\fnum@table=\fnum@ptablecont%
|
---|
1579 | \let\@makecaption\@makecaption@plano@cont%
|
---|
1580 | \global\pt@ncol=\pt@column% Either 0 or value of \tablecolumns
|
---|
1581 | \global\pt@line\z@%
|
---|
1582 | \start@pt@tabular%
|
---|
1583 | \before@resumept%
|
---|
1584 | \pt@head%
|
---|
1585 | }%
|
---|
1586 | \def\before@suspendpt{}%
|
---|
1587 | \def\before@resumept{}%
|
---|
1588 | \def\before@suspendpt@aj{\@tabularcr\noalign{\vskip .7ex}\hline}%
|
---|
1589 | \def\before@resumept@aj{\hline\relax\@tabularcr[-1.7ex]}%
|
---|
1590 | \def\typeout@pt@nl@ppt{%
|
---|
1591 | \typeout{%
|
---|
1592 | Page \the\pt@page\space of table \thetable\space has been set to
|
---|
1593 | width \the\pt@width
|
---|
1594 | }%
|
---|
1595 | }%
|
---|
1596 | \def\typeout@pt@nl@mss{%
|
---|
1597 | \typeout{%
|
---|
1598 | Page \the\pt@page\space of table \thetable\space has been set to
|
---|
1599 | width \the\pt@width\space with \the\pt@nlines\space lines per page
|
---|
1600 | }%
|
---|
1601 | }%
|
---|
1602 | \def\typeout@pt@nl@aj{%
|
---|
1603 | \typeout{%
|
---|
1604 | Table \thetable\space has been set to
|
---|
1605 | width \the\pt@width\space with \the\pt@nlines\space lines per page
|
---|
1606 | }%
|
---|
1607 | }%
|
---|
1608 | \let\typeout@pt@nl\typeout@pt@nl@mss
|
---|
1609 | \newcommand\tablevspace[1]{\substitute@command\tablevspace\\[#1]}%
|
---|
1610 | \newcommand\tablebreak{\cr\ptable@@split}%\\{\cr\ptable@@split}%
|
---|
1611 | \newcommand\cutinhead[1]{%
|
---|
1612 | \noalign{\vskip 1.5ex}%
|
---|
1613 | \hline
|
---|
1614 | \@ptabularcr
|
---|
1615 | \noalign{\vskip -4ex}%
|
---|
1616 | \multicolumn{\pt@ncol}{c}{#1}%
|
---|
1617 | \@ptabularcr
|
---|
1618 | \noalign{\vskip .8ex}%
|
---|
1619 | \hline
|
---|
1620 | \@ptabularcr
|
---|
1621 | \noalign{\vskip -2ex}%
|
---|
1622 | }%
|
---|
1623 | \def\cutinhead@ppt#1{%
|
---|
1624 | \noalign{\vskip 1.5ex}%
|
---|
1625 | \hline
|
---|
1626 | \@ptabularcr
|
---|
1627 | \noalign{\vskip -2ex}% Style Note: in apj, it is -1.5ex
|
---|
1628 | \multicolumn{\pt@ncol}{c}{#1}%
|
---|
1629 | \@ptabularcr
|
---|
1630 | \noalign{\vskip .8ex}%
|
---|
1631 | \hline
|
---|
1632 | \@ptabularcr
|
---|
1633 | \noalign{\vskip -2ex}%
|
---|
1634 | }%
|
---|
1635 | \newcommand\sidehead[1]{%
|
---|
1636 | \noalign{\vskip 1.5ex}%
|
---|
1637 | \multicolumn{\pt@ncol}{@{\hskip\z@}l}{#1}%
|
---|
1638 | \@ptabularcr
|
---|
1639 | \noalign{\vskip .5ex}%
|
---|
1640 | }%
|
---|
1641 | \def\@ptablenotetext#1#2{%
|
---|
1642 | \vspace{0ex}% Style Note: in ppt, it is gone
|
---|
1643 | {%\parbox{\pt@width}%
|
---|
1644 | {\hskip1em$^{\mathrm#1}$#2}\par}%
|
---|
1645 | }%
|
---|
1646 | \def\@ptablenotes#1{%
|
---|
1647 | \par
|
---|
1648 | \vspace{2ex}%
|
---|
1649 | {\setlength\parskip{1.5ex}#1}%
|
---|
1650 | }%
|
---|
1651 | \def\@ptablenotes@apj#1{%
|
---|
1652 | \par
|
---|
1653 | \vspace{2ex}%
|
---|
1654 | {#1}%
|
---|
1655 | }%
|
---|
1656 | \newcommand\tablerefs[1]{\ifdim\@abovenoteskip=0pt\global\@abovenoteskip=10pt\fi
|
---|
1657 | \appgdef\tblnote@list{\hsize\pt@width\leftskip\z@\rightskip\z@%
|
---|
1658 | \@tableref{\parfillskip\z@ plus1fil#1\endgraf}}}%
|
---|
1659 | \def\@tableref#1{%
|
---|
1660 | \par
|
---|
1661 | \vspace*{3ex}%
|
---|
1662 | {%\parbox{\pt@width} %%%%
|
---|
1663 | {\hskip1em\rmfamily References. --- #1}\par}%
|
---|
1664 | }%
|
---|
1665 | \newcommand\tablecomments[1]{\ifdim\@abovenoteskip=0pt\global\@abovenoteskip=10pt\fi
|
---|
1666 | \appgdef\tblnote@list{\hsize\pt@width\leftskip\z@\rightskip\z@%
|
---|
1667 | \@tablecom{\parfillskip\z@ plus1fil#1\endgraf}}}%
|
---|
1668 | \def\@tablecom#1{%
|
---|
1669 | \par
|
---|
1670 | \vspace*{3ex}%
|
---|
1671 | {%\parbox{\pt@width} %%%
|
---|
1672 | {\hskip1em\rmfamily Note. --- #1}\par}%
|
---|
1673 | }%
|
---|
1674 | \def\@tableref@pptt#1{%
|
---|
1675 | \par
|
---|
1676 | \vspace*{3ex}%
|
---|
1677 | {%\parbox{\pt@width} %%%
|
---|
1678 | {\hskip1em{\sc References.---}#1}\par}%
|
---|
1679 | }%
|
---|
1680 | \def\@tablecom@pptt#1{%
|
---|
1681 | \vspace*{3ex}{%
|
---|
1682 | %\parbox{\pt@width} %%%
|
---|
1683 | {\hskip1em{\sc Note.---}#1}\par}%
|
---|
1684 | }%
|
---|
1685 | \newcounter{plate}%
|
---|
1686 | \def\ftype@plate{4}%
|
---|
1687 | \def\ext@plate{lof}%
|
---|
1688 | \newenvironment{plate}{\@float{plate}}{\end@float}%
|
---|
1689 | \newenvironment{plate*}{\@dblfloat{plate}}{\end@dblfloat}%
|
---|
1690 | \let\platewidth=\tablewidth
|
---|
1691 | \newcommand\platenum[1]{%
|
---|
1692 | \def\theplate{#1}%
|
---|
1693 | \let\@currentlabel\theplate
|
---|
1694 | \addtocounter{plate}{\m@ne}%
|
---|
1695 | }%
|
---|
1696 | \def\thefigure{\@arabic\c@figure}%
|
---|
1697 | \def\thetable{\@arabic\c@table}%
|
---|
1698 | \def\theplate{\@arabic\c@plate}%
|
---|
1699 | \def\fnum@figure{{\rmfamily Fig.\space\thefigure.---}}%
|
---|
1700 | \def\fnum@table{{\rmfamily Table \thetable:}}%
|
---|
1701 | \def\fnum@plate{{\bfseries Plate \theplate.}}%
|
---|
1702 | \def\fps@figure{bp}%
|
---|
1703 | \def\fps@table{bp}%
|
---|
1704 | \def\fps@plate{bp}%
|
---|
1705 | \def\eps@scaling{1.0}%
|
---|
1706 | \newcommand\epsscale[1]{\gdef\eps@scaling{#1}}%
|
---|
1707 | \newcommand\plotone[1]{%
|
---|
1708 | \typeout{Plotone included the file #1}
|
---|
1709 | \centering
|
---|
1710 | \leavevmode
|
---|
1711 | \includegraphics[width={\eps@scaling\columnwidth}]{#1}%
|
---|
1712 | }%
|
---|
1713 | \newcommand\plottwo[2]{{%
|
---|
1714 | \typeout{Plottwo included the files #1 #2}
|
---|
1715 | \centering
|
---|
1716 | \leavevmode
|
---|
1717 | \columnwidth=.45\columnwidth
|
---|
1718 | \includegraphics[width={\eps@scaling\columnwidth}]{#1}%
|
---|
1719 | \hfil
|
---|
1720 | \includegraphics[width={\eps@scaling\columnwidth}]{#2}%
|
---|
1721 | }}%
|
---|
1722 | \def\plotfiddle#1#2#3#4#5#6#7{{
|
---|
1723 | \typeout{Plotfiddle included the file #1}
|
---|
1724 | \centering\leavevmode%% Re-implement from v4.0
|
---|
1725 | \vbox to #2{\rule{0pt}{#2}}
|
---|
1726 | \hspace*{#6pt}\includegraphics[width=#4pt, height=#5pt, angle=#3, origin=c]{#1}}%
|
---|
1727 | }
|
---|
1728 | \let\jnl@style=\rmfamily
|
---|
1729 | \def\ref@jnl#1{{\jnl@style#1}}%
|
---|
1730 | \newcommand\aj{\ref@jnl{AJ}}%
|
---|
1731 | % Astronomical Journal
|
---|
1732 | \newcommand\actaa{\ref@jnl{Acta Astron.}}%
|
---|
1733 | % Acta Astronomica
|
---|
1734 | \newcommand\araa{\ref@jnl{ARA\&A}}%
|
---|
1735 | % Annual Review of Astron and Astrophys
|
---|
1736 | \newcommand\apj{\ref@jnl{ApJ}}%
|
---|
1737 | % Astrophysical Journal
|
---|
1738 | \newcommand\apjl{\ref@jnl{ApJ}}%
|
---|
1739 | % Astrophysical Journal, Letters
|
---|
1740 | \newcommand\apjs{\ref@jnl{ApJS}}%
|
---|
1741 | % Astrophysical Journal, Supplement
|
---|
1742 | \newcommand\ao{\ref@jnl{Appl.~Opt.}}%
|
---|
1743 | % Applied Optics
|
---|
1744 | \newcommand\apss{\ref@jnl{Ap\&SS}}%
|
---|
1745 | % Astrophysics and Space Science
|
---|
1746 | \newcommand\aap{\ref@jnl{A\&A}}%
|
---|
1747 | % Astronomy and Astrophysics
|
---|
1748 | \newcommand\aapr{\ref@jnl{A\&A~Rev.}}%
|
---|
1749 | % Astronomy and Astrophysics Reviews
|
---|
1750 | \newcommand\aaps{\ref@jnl{A\&AS}}%
|
---|
1751 | % Astronomy and Astrophysics, Supplement
|
---|
1752 | \newcommand\azh{\ref@jnl{AZh}}%
|
---|
1753 | % Astronomicheskii Zhurnal
|
---|
1754 | \newcommand\baas{\ref@jnl{BAAS}}%
|
---|
1755 | % Bulletin of the AAS
|
---|
1756 | \newcommand\caa{\ref@jnl{Chinese Astron. Astrophys.}}%
|
---|
1757 | % Chinese Astronomy and Astrophysics
|
---|
1758 | \newcommand\cjaa{\ref@jnl{Chinese J. Astron. Astrophys.}}%
|
---|
1759 | % Chinese Journal of Astronomy and Astrophysics
|
---|
1760 | \newcommand\icarus{\ref@jnl{Icarus}}%
|
---|
1761 | % Icarus
|
---|
1762 | \newcommand\jcap{\ref@jnl{J. Cosmology Astropart. Phys.}}%
|
---|
1763 | % Journal of Cosmology and Astroparticle Physics
|
---|
1764 | \newcommand\jrasc{\ref@jnl{JRASC}}%
|
---|
1765 | % Journal of the RAS of Canada
|
---|
1766 | \newcommand\memras{\ref@jnl{MmRAS}}%
|
---|
1767 | % Memoirs of the RAS
|
---|
1768 | \newcommand\mnras{\ref@jnl{MNRAS}}%
|
---|
1769 | % Monthly Notices of the RAS
|
---|
1770 | \newcommand\na{\ref@jnl{New A}}%
|
---|
1771 | % New Astronomy
|
---|
1772 | \newcommand\nar{\ref@jnl{New A Rev.}}%
|
---|
1773 | % New Astronomy Review
|
---|
1774 | \newcommand\pra{\ref@jnl{Phys.~Rev.~A}}%
|
---|
1775 | % Physical Review A: General Physics
|
---|
1776 | \newcommand\prb{\ref@jnl{Phys.~Rev.~B}}%
|
---|
1777 | % Physical Review B: Solid State
|
---|
1778 | \newcommand\prc{\ref@jnl{Phys.~Rev.~C}}%
|
---|
1779 | % Physical Review C
|
---|
1780 | \newcommand\prd{\ref@jnl{Phys.~Rev.~D}}%
|
---|
1781 | % Physical Review D
|
---|
1782 | \newcommand\pre{\ref@jnl{Phys.~Rev.~E}}%
|
---|
1783 | % Physical Review E
|
---|
1784 | \newcommand\prl{\ref@jnl{Phys.~Rev.~Lett.}}%
|
---|
1785 | % Physical Review Letters
|
---|
1786 | \newcommand\pasa{\ref@jnl{PASA}}%
|
---|
1787 | % Publications of the Astron. Soc. of Australia
|
---|
1788 | \newcommand\pasp{\ref@jnl{PASP}}%
|
---|
1789 | % Publications of the ASP
|
---|
1790 | \newcommand\pasj{\ref@jnl{PASJ}}%
|
---|
1791 | % Publications of the ASJ
|
---|
1792 | \newcommand\qjras{\ref@jnl{QJRAS}}%
|
---|
1793 | % Quarterly Journal of the RAS
|
---|
1794 | \newcommand\rmxaa{\ref@jnl{Rev. Mexicana Astron. Astrofis.}}%
|
---|
1795 | % Revista Mexicana de Astronomia y Astrofisica
|
---|
1796 | \newcommand\skytel{\ref@jnl{S\&T}}%
|
---|
1797 | % Sky and Telescope
|
---|
1798 | \newcommand\solphys{\ref@jnl{Sol.~Phys.}}%
|
---|
1799 | % Solar Physics
|
---|
1800 | \newcommand\sovast{\ref@jnl{Soviet~Ast.}}%
|
---|
1801 | % Soviet Astronomy
|
---|
1802 | \newcommand\ssr{\ref@jnl{Space~Sci.~Rev.}}%
|
---|
1803 | % Space Science Reviews
|
---|
1804 | \newcommand\zap{\ref@jnl{ZAp}}%
|
---|
1805 | % Zeitschrift fuer Astrophysik
|
---|
1806 | \newcommand\nat{\ref@jnl{Nature}}%
|
---|
1807 | % Nature
|
---|
1808 | \newcommand\iaucirc{\ref@jnl{IAU~Circ.}}%
|
---|
1809 | % IAU Cirulars
|
---|
1810 | \newcommand\aplett{\ref@jnl{Astrophys.~Lett.}}%
|
---|
1811 | % Astrophysics Letters and Communications
|
---|
1812 | \newcommand\apspr{\ref@jnl{Astrophys.~Space~Phys.~Res.}}%
|
---|
1813 | % Astrophysics Space Physics Research
|
---|
1814 | \newcommand\bain{\ref@jnl{Bull.~Astron.~Inst.~Netherlands}}%
|
---|
1815 | % Bulletin Astronomical Institute of the Netherlands
|
---|
1816 | \newcommand\fcp{\ref@jnl{Fund.~Cosmic~Phys.}}%
|
---|
1817 | % Fundamental Cosmic Physics
|
---|
1818 | \newcommand\gca{\ref@jnl{Geochim.~Cosmochim.~Acta}}%
|
---|
1819 | % Geochimica Cosmochimica Acta
|
---|
1820 | \newcommand\grl{\ref@jnl{Geophys.~Res.~Lett.}}%
|
---|
1821 | % Geophysics Research Letters
|
---|
1822 | \newcommand\jcp{\ref@jnl{J.~Chem.~Phys.}}%
|
---|
1823 | % Journal of Chemical Physics
|
---|
1824 | \newcommand\jgr{\ref@jnl{J.~Geophys.~Res.}}%
|
---|
1825 | % Journal of Geophysical Research
|
---|
1826 | \newcommand\jqsrt{\ref@jnl{J.~Quant.~Spec.~Radiat.~Transf.}}%
|
---|
1827 | % Journal of Quantitiative Spectroscopy and Radiative Trasfer
|
---|
1828 | \newcommand\memsai{\ref@jnl{Mem.~Soc.~Astron.~Italiana}}%
|
---|
1829 | % Mem. Societa Astronomica Italiana
|
---|
1830 | \newcommand\nphysa{\ref@jnl{Nucl.~Phys.~A}}%
|
---|
1831 | % Nuclear Physics A
|
---|
1832 | \newcommand\physrep{\ref@jnl{Phys.~Rep.}}%
|
---|
1833 | % Physics Reports
|
---|
1834 | \newcommand\physscr{\ref@jnl{Phys.~Scr}}%
|
---|
1835 | % Physica Scripta
|
---|
1836 | \newcommand\planss{\ref@jnl{Planet.~Space~Sci.}}%
|
---|
1837 | % Planetary Space Science
|
---|
1838 | \newcommand\procspie{\ref@jnl{Proc.~SPIE}}%
|
---|
1839 | % Proceedings of the SPIE
|
---|
1840 | \let\astap=\aap
|
---|
1841 | \let\apjlett=\apjl
|
---|
1842 | \let\apjsupp=\apjs
|
---|
1843 | \let\applopt=\ao
|
---|
1844 | \newcommand\phn{\phantom{0}}%
|
---|
1845 | \newcommand\phd{\phantom{.}}%
|
---|
1846 | \newcommand\phs{\phantom{$-$}}%
|
---|
1847 | \newcommand\phm[1]{\phantom{#1}}%
|
---|
1848 | \let\la=\lesssim % For Springer A&A compliance...
|
---|
1849 | \let\ga=\gtrsim
|
---|
1850 | \newcommand\sq{\mbox{\rlap{$\sqcap$}$\sqcup$}}%
|
---|
1851 | \newcommand\arcdeg{\mbox{$^\circ$}}%
|
---|
1852 | \newcommand\arcmin{\mbox{$^\prime$}}%
|
---|
1853 | \newcommand\arcsec{\mbox{$^{\prime\prime}$}}%
|
---|
1854 | \newcommand\fd{\mbox{$.\!\!^{\mathrm d}$}}%
|
---|
1855 | \newcommand\fh{\mbox{$.\!\!^{\mathrm h}$}}%
|
---|
1856 | \newcommand\fm{\mbox{$.\!\!^{\mathrm m}$}}%
|
---|
1857 | \newcommand\fs{\mbox{$.\!\!^{\mathrm s}$}}%
|
---|
1858 | \newcommand\fdg{\mbox{$.\!\!^\circ$}}%
|
---|
1859 | \newcommand\farcm@mss{\mbox{$.\mkern-4mu^\prime$}}%
|
---|
1860 | \let\farcm\farcm@mss
|
---|
1861 | \newcommand\farcs@mss{\mbox{$.\!\!^{\prime\prime}$}}%
|
---|
1862 | \let\farcs\farcs@mss
|
---|
1863 | \newcommand\fp{\mbox{$.\!\!^{\scriptscriptstyle\mathrm p}$}}%
|
---|
1864 | \newcommand\micron{\mbox{$\mu$m}}%
|
---|
1865 | \def\farcm@apj{%
|
---|
1866 | \mbox{.\kern -0.7ex\raisebox{.9ex}{\scriptsize$\prime$}}%
|
---|
1867 | }%
|
---|
1868 | \def\farcs@apj{%
|
---|
1869 | \mbox{%
|
---|
1870 | \kern 0.13ex.%
|
---|
1871 | \kern -0.95ex\raisebox{.9ex}{\scriptsize$\prime\prime$}%
|
---|
1872 | \kern -0.1ex%
|
---|
1873 | }%
|
---|
1874 | }%
|
---|
1875 | \newcommand\case[2]{\mbox{$\frac{#1}{#2}$}}%
|
---|
1876 | \newcommand\slantfrac{\case}%
|
---|
1877 | \newcommand\onehalf{\slantfrac{1}{2}}%
|
---|
1878 | \newcommand\onethird{\slantfrac{1}{3}}%
|
---|
1879 | \newcommand\twothirds{\slantfrac{2}{3}}%
|
---|
1880 | \newcommand\onequarter{\slantfrac{1}{4}}%
|
---|
1881 | \newcommand\threequarters{\slantfrac{3}{4}}%
|
---|
1882 | \newcommand\ubvr{\mbox{$U\!BV\!R$}}%% UBVR system
|
---|
1883 | \newcommand\ub{\mbox{$U\!-\!B$}}% % U-B
|
---|
1884 | \newcommand\bv{\mbox{$B\!-\!V$}}% % B-V
|
---|
1885 | \newcommand\vr{\mbox{$V\!-\!R$}}% % V-R
|
---|
1886 | \newcommand\ur{\mbox{$U\!-\!R$}}% % U-R
|
---|
1887 | \newcommand\ion[2]{#1$\;${\small\rmfamily\@Roman{#2}}\relax}%
|
---|
1888 | \newcommand\nodata{ ~$\cdots$~ }%
|
---|
1889 | \newcommand\diameter{\ooalign{\hfil/\hfil\crcr\mathhexbox20D}}%
|
---|
1890 | \newcommand\degr{\arcdeg}%
|
---|
1891 | \newcommand\Sun{\sun}% Sun symbol, "S"
|
---|
1892 | \newcommand\Sol{\sun}%
|
---|
1893 | \newcommand\sun{\odot}%
|
---|
1894 | \newcommand\Mercury{\astro{\char1}}% Mercury symbol, "1"
|
---|
1895 | \newcommand\Venus{\astro{\char2}}% Venus symbol, "2"
|
---|
1896 | \newcommand\Earth{\earth}% Earth symbol, "3"
|
---|
1897 | \newcommand\Terra{\earth}%
|
---|
1898 | \newcommand\earth{\oplus}%
|
---|
1899 | \newcommand\Mars{\astro{\char4}}% Mars symbol, "4"
|
---|
1900 | \newcommand\Jupiter{\astro{\char5}}% Jupiter symbol, "5"
|
---|
1901 | \newcommand\Saturn{\astro{\char6}}% Saturn symbol, "6"
|
---|
1902 | \newcommand\Uranus{\astro{\char7}}% Uranus symbol, "7"
|
---|
1903 | \newcommand\Neptune{\astro{\char8}}% Neptune symbol, "8"
|
---|
1904 | \newcommand\Pluto{\astro{\char9}}% Pluo symbol, "9"
|
---|
1905 | \newcommand\Moon{\astro{\char10}}% Moon symbol, "M"
|
---|
1906 | \newcommand\Luna{\Moon}%
|
---|
1907 | \newcommand\Aries{\astro{\char11}}%
|
---|
1908 | \newcommand\VEq{\Aries}% vernal equinox (Aries)
|
---|
1909 | \newcommand\Taurus{\astro{\char12}}%
|
---|
1910 | \newcommand\Gemini{\astro{\char13}}%
|
---|
1911 | \newcommand\Cancer{\astro{\char14}}%
|
---|
1912 | \newcommand\Leo{\astro{\char15}}%
|
---|
1913 | \newcommand\Virgo{\astro{\char16}}%
|
---|
1914 | \newcommand\Libra{\astro{\char17}}%
|
---|
1915 | \newcommand\AEq{\Libra}% autumnal equinox (Libra)
|
---|
1916 | \newcommand\Scorpius{\astro{\char18}}%
|
---|
1917 | \newcommand\Sagittarius{\astro{\char19}}%
|
---|
1918 | \newcommand\Capricornus{\astro{\char20}}%
|
---|
1919 | \newcommand\Aquarius{\astro{\char21}}%
|
---|
1920 | \newcommand\Pisces{\astro{\char22}}%
|
---|
1921 | \def\load@astro{%
|
---|
1922 | \dimen@=1\aas@ptsize\p@
|
---|
1923 | \font\astro@font=Astrosym at\dimen@
|
---|
1924 | }%
|
---|
1925 | \def\astro#1{\leavevmode\hbox{\astro@font#1}}%
|
---|
1926 | \def\astro@font{%
|
---|
1927 | \ClassWarning{aastex}{%
|
---|
1928 | Please use class option `astro', since you are using the astro font.%
|
---|
1929 | }%
|
---|
1930 | }%
|
---|
1931 | \newcommand\sbond{\chem@bnd{\@sbnd}}%
|
---|
1932 | \newcommand\dbond{\chem@bnd{\@dbnd}}%
|
---|
1933 | \newcommand\tbond{\chem@bnd{\@tbnd}}%
|
---|
1934 | \def\chem@bnd#1{%
|
---|
1935 | {%
|
---|
1936 | \kern.1em\relax
|
---|
1937 | \setbox\z@\hbox{M}%
|
---|
1938 | \dimen@ii.8em\relax
|
---|
1939 | \p@=.1em\relax
|
---|
1940 | \dimen@.5\ht\z@\dimen@i-\dimen@
|
---|
1941 | \advance\dimen@1.5\p@\advance\dimen@i-1.0\p@
|
---|
1942 | #1%
|
---|
1943 | \kern.1em\relax
|
---|
1944 | }%
|
---|
1945 | }%
|
---|
1946 | \def\@sbnd{%
|
---|
1947 | \advance\dimen@-1.5\p@\advance\dimen@i1.5\p@
|
---|
1948 | \vrule\@height\dimen@\@depth\dimen@i\@width\dimen@ii\nobreak
|
---|
1949 | }%
|
---|
1950 | \def\@dbnd{%
|
---|
1951 | \advance\dimen@-0.5\p@\advance\dimen@i0.5\p@
|
---|
1952 | \vrule\@height\dimen@\@depth\dimen@i\@width\dimen@ii\nobreak
|
---|
1953 | \advance\dimen@-1.5\p@\advance\dimen@i1.5\p@
|
---|
1954 | \hskip-\dimen@ii
|
---|
1955 | \vrule\@height\dimen@\@depth\dimen@i\@width\dimen@ii\nobreak
|
---|
1956 | }%
|
---|
1957 | \def\@tbnd{%
|
---|
1958 | \vrule\@height\dimen@\@depth\dimen@i\@width\dimen@ii\nobreak
|
---|
1959 | \advance\dimen@-1.5\p@\advance\dimen@i1.5\p@
|
---|
1960 | \hskip-\dimen@ii
|
---|
1961 | \vrule\@height\dimen@\@depth\dimen@i\@width\dimen@ii\nobreak
|
---|
1962 | \advance\dimen@-1.5\p@\advance\dimen@i1.5\p@
|
---|
1963 | \hskip-\dimen@ii
|
---|
1964 | \vrule\@height\dimen@\@depth\dimen@i\@width\dimen@ii\nobreak
|
---|
1965 | }%
|
---|
1966 | \renewcommand\LaTeX{%
|
---|
1967 | \leavevmode
|
---|
1968 | L%
|
---|
1969 | \raise.42ex\hbox{%
|
---|
1970 | \count@=\the\fam
|
---|
1971 | $\fam\count@\scriptstyle\kern-.3em A$%
|
---|
1972 | }%
|
---|
1973 | \kern-.15em\TeX
|
---|
1974 | }%
|
---|
1975 | \newcommand\anchor[2]{#2}%
|
---|
1976 | \newcommand\url{\@dblarg\@url}%
|
---|
1977 | \def\@url[#1]{\anchor{#1}}%
|
---|
1978 | \def\@text@email#1{#1}%
|
---|
1979 | \def\authoremail{\substitute@command\authoremail\email}%
|
---|
1980 | \newcommand\objectname{\@testopt\@objectname{[}}
|
---|
1981 | \def\@objectname[#1]#2{#2}%
|
---|
1982 | \newcommand\object{\@testopt\@object{[}}%
|
---|
1983 | \def\@object[#1]#2{#2}%
|
---|
1984 | %% macro for facility
|
---|
1985 | \newcommand\facility{\@testopt\@facility{[}}%
|
---|
1986 | \def\@facility[#1]#2{#2}%
|
---|
1987 | %% macro for supportfrom
|
---|
1988 | \newcommand\supportfrom{\@testopt\@supportfrom{[}}%
|
---|
1989 | \def\@supportfrom[#1]#2{#2}%
|
---|
1990 | %% macro for dataset
|
---|
1991 | \newcommand\dataset{\@testopt\@dataset{[}}%
|
---|
1992 | \def\@dataset[#1]#2{#2}%
|
---|
1993 | \newcommand\sizrpt{%
|
---|
1994 | (\fontname\the\font): em=\the\fontdimen6\font, ex=\the\fontdimen5\font
|
---|
1995 | \typeout{%
|
---|
1996 | (\fontname\the\font): em=\the\fontdimen6\font, ex=\the\fontdimen5\font
|
---|
1997 | }%
|
---|
1998 | }%
|
---|
1999 | \def\aas@preprint{%
|
---|
2000 | \def\revtex@genre{preprint}%
|
---|
2001 | \let\ptlandscape\@empty
|
---|
2002 | \setlength\@slugcmmntwidth{.67\textwidth}%
|
---|
2003 | \let\@makeslugcmmnt\@makeslugcmmnt@ppt
|
---|
2004 | \let\@abstract\@abstract@ppt
|
---|
2005 | \let\make@title\make@title@ppt
|
---|
2006 | \let\make@affil\make@affil@ppt
|
---|
2007 | \let\notetoeditor\@gobble
|
---|
2008 | \let\clear@section@page\@empty
|
---|
2009 | \let\placetable\@gobble
|
---|
2010 | \let\placefigure\@gobble
|
---|
2011 | \let\placeplate\@gobble
|
---|
2012 | \let\typeout@deluxetable\typeout@deluxetable@ppt
|
---|
2013 | \let\typeout@pt@nl\typeout@pt@nl@mss
|
---|
2014 | \ps@plaintop
|
---|
2015 | \let\references@refpar\references@refpar@mss
|
---|
2016 | \let\cutinhead\cutinhead@ppt
|
---|
2017 | \def\pt@headfrac@ass@normalsize{.1}
|
---|
2018 | \def\pt@headfrac@ass@footnotesize{.12}
|
---|
2019 | \def\pt@headfrac@ass@scriptsize{.15}
|
---|
2020 | \def\pt@notemin@normal{4.5}
|
---|
2021 | \def\pt@notemin@footnote{4.5}
|
---|
2022 | \def\pt@notemin@script{5}
|
---|
2023 | }%
|
---|
2024 | \@namedef{aas@preprint2}{%
|
---|
2025 | \aas@preprint
|
---|
2026 | \def\revtex@genre{2-column preprint}%
|
---|
2027 | \ps@plain
|
---|
2028 | \@twocolumntrue
|
---|
2029 | \@rightskip=\z@\@plus4em
|
---|
2030 | \rightskip\@rightskip
|
---|
2031 | \opt@just
|
---|
2032 | \just@just % -SZ restored preprint2 to full justification
|
---|
2033 | \setlength\parindent{1.2em}%
|
---|
2034 | \setlength\parskip{0.5ex}%
|
---|
2035 | \setlength\columnsep{0.5in}%
|
---|
2036 | \setlength\hoffset{-0.2in}%
|
---|
2037 | \tolerance=600
|
---|
2038 | \setlength\emergencystretch{6\p@}%
|
---|
2039 | \def\baselinestretch{1.0}%
|
---|
2040 | \def\@tightleading{1.0}%
|
---|
2041 | \let\singlespace\@empty
|
---|
2042 | \let\doublespace\@empty
|
---|
2043 | \let\@dates\@dates@pptt
|
---|
2044 | \let\@abstract\@abstract@pptt
|
---|
2045 | \let\make@title\make@title@pptt
|
---|
2046 | \let\make@author\make@author@pptt
|
---|
2047 | \let\make@affil\make@affil@pptt
|
---|
2048 | \let\@keywords\@keywords@pptt
|
---|
2049 | \setlength{\skip\footins}{3ex\@plus1ex\@minus.5ex}%
|
---|
2050 | \setlength\footnotesep{2ex}%
|
---|
2051 | \let\@makefntext\@makefntext@pptt
|
---|
2052 | \let\section\section@pptt
|
---|
2053 | \let\subsection\subsection@pptt
|
---|
2054 | \let\subsubsection\subsubsection@pptt
|
---|
2055 | \let\section@centering\@empty
|
---|
2056 | \let\appendix@figtab@defs\appendix@figtab@defs@pptt
|
---|
2057 | \def\clear@thebibliography@page{%
|
---|
2058 | \if@restonecol\if@twocolumn\else\twocolumn\fi\fi
|
---|
2059 | }%
|
---|
2060 | \let\references@refpar\references@refpar@pptt
|
---|
2061 | \let\thebib@list\thebib@list@pptt
|
---|
2062 | \let\@tablenotes\@tablenotes@pptt
|
---|
2063 | \let\fnum@ptablecont\fnum@ptablecont@pptt
|
---|
2064 | \let\@make@caption@text\@make@caption@text@pptt
|
---|
2065 | \let\@makecaption@plano@cont\@makecaption@plano@cont@pptt
|
---|
2066 | \let\cutinhead\cutinhead@ppt
|
---|
2067 | \def\@plano@float@{\@dblfloat}% Extra layer of abstraction for float processing
|
---|
2068 | \def\end@plano@float@{\end@dblfloat}%
|
---|
2069 | %\let\@tableref\@tableref@pptt
|
---|
2070 | \let\@tablecom\@tablecom@pptt
|
---|
2071 | \def\pt@headfrac@ass@normalsize{.12}
|
---|
2072 | \def\pt@headfrac@ass@footnotesize{.15}
|
---|
2073 | \def\pt@headfrac@ass@scriptsize{.18}
|
---|
2074 | \def\pt@notemin@normal{5}
|
---|
2075 | \def\pt@notemin@footnote{5}
|
---|
2076 | \def\pt@notemin@script{5}
|
---|
2077 | }%
|
---|
2078 | \def\section@pptt{%
|
---|
2079 | \@startsection{section}{1}%
|
---|
2080 | {\z@}{2.3ex\@plus1ex\@minus.2ex}%
|
---|
2081 | {1.5ex\@plus.2ex}{\normalsize\bfseries}%
|
---|
2082 | }%
|
---|
2083 | \def\subsection@pptt{%
|
---|
2084 | \@startsection{subsection}{2}%
|
---|
2085 | {\z@}{2ex\@plus1ex\@minus.2ex}{1ex\@plus.2ex}{\normalsize\bfseries}%
|
---|
2086 | }%
|
---|
2087 | \def\subsubsection@pptt{%
|
---|
2088 | \@startsection{subsubsection}{3}%
|
---|
2089 | {\z@}{2ex\@plus1ex\@minus.2ex}{1ex\@plus.2ex}{\normalsize\itshape}%
|
---|
2090 | }%
|
---|
2091 | \def\aas@manuscript{%
|
---|
2092 | \def\revtex@genre{manuscript}%
|
---|
2093 | \let\ptlandscape\@empty
|
---|
2094 | \def\baselinestretch{\@doubleleading}%
|
---|
2095 | \let\footnote@size\@empty
|
---|
2096 | \def\tighten{\def\baselinestretch{\@doubleleading}}%
|
---|
2097 | \def\singlespace{}%
|
---|
2098 | \def\doublespace{}%
|
---|
2099 | \opt@tighten
|
---|
2100 | \setlength\@slugcmmntwidth{\textwidth}%
|
---|
2101 | \let\@makeslugcmmnt\@makeslugcmmnt@mss
|
---|
2102 | \@rightskip=\z@\@plus4em
|
---|
2103 | \rightskip\@rightskip
|
---|
2104 | \opt@just
|
---|
2105 | \let\sluginfo\sluginfo@mss
|
---|
2106 | \let\@abstract\@abstract@mss
|
---|
2107 | \let\@keywords\@keywords@mss % pagebreak after keywords
|
---|
2108 | \let\make@title\make@title@mss
|
---|
2109 | \def\clear@section@page{\clearpage}%
|
---|
2110 | \def\clear@thebibliography@page{\clearpage}%
|
---|
2111 | \let\typeout@deluxetable\typeout@deluxetable@mss
|
---|
2112 | \let\typeout@pt@nl\typeout@pt@nl@mss
|
---|
2113 | \ps@plaintop
|
---|
2114 | \let\references@refpar\references@refpar@mss
|
---|
2115 | \def\pt@headfrac@ass@normalsize{.08}
|
---|
2116 | \def\pt@headfrac@ass@footnotesize{.1}
|
---|
2117 | \def\pt@headfrac@ass@scriptsize{.12}
|
---|
2118 | \def\pt@notemin@normal{3}
|
---|
2119 | \def\pt@notemin@footnote{3}
|
---|
2120 | \def\pt@notemin@script{4}
|
---|
2121 | }%
|
---|
2122 | \def\journal{\@gobble}%
|
---|
2123 | \def\volume{\@gobble}%
|
---|
2124 | \def\issue{\@gobble}%
|
---|
2125 | \def\SGMLbi#1{#1}%
|
---|
2126 | \def\SGMLbsc#1{#1}%
|
---|
2127 | \def\SGMLclc#1{#1}%
|
---|
2128 | \def\SGMLentity#1{\}%
|
---|
2129 | \def\SGML{\@gobble}%
|
---|
2130 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
2131 | %%
|
---|
2132 | %% Modify the |\@makecol| macro for one-column abstract.
|
---|
2133 | \newif\if@printfoot%
|
---|
2134 | \global\@printfoottrue%
|
---|
2135 | \global\newbox\my@footins
|
---|
2136 | \gdef \@makecol@pptt {%
|
---|
2137 | \ifvoid\footins
|
---|
2138 | \setbox\@outputbox \box\@cclv
|
---|
2139 | \else
|
---|
2140 | \if@printfoot
|
---|
2141 | \else
|
---|
2142 | \global\setbox\my@footins\vbox{\box\footins}
|
---|
2143 | %\global\advance\c@colht by -\ht\my@footins
|
---|
2144 | \fi
|
---|
2145 | \setbox\@outputbox \vbox{%
|
---|
2146 | \global\setbox\footins\vbox{\unvbox\my@footins\unvbox\footins}
|
---|
2147 | \boxmaxdepth \@maxdepth
|
---|
2148 | \unvbox\@cclv
|
---|
2149 | \if@printfoot
|
---|
2150 | \vskip\skip\footins
|
---|
2151 | \color@begingroup
|
---|
2152 | \normalcolor
|
---|
2153 | \footnoterule
|
---|
2154 | \unvbox \footins
|
---|
2155 | \color@endgroup
|
---|
2156 | \else
|
---|
2157 | \global\@printfoottrue
|
---|
2158 | \fi
|
---|
2159 | }%
|
---|
2160 | \fi
|
---|
2161 | \xdef\@freelist{\@freelist\@midlist}%
|
---|
2162 | \global \let \@midlist \@empty
|
---|
2163 | \@combinefloats
|
---|
2164 | \ifvbox\@kludgeins
|
---|
2165 | \@makespecialcolbox
|
---|
2166 | \else
|
---|
2167 | \setbox\@outputbox \vbox to \@colht{%
|
---|
2168 | \@texttop
|
---|
2169 | \dimen@ \dp\@outputbox
|
---|
2170 | \unvbox \@outputbox
|
---|
2171 | \ifbotragg%
|
---|
2172 | \vskip -\dimen@
|
---|
2173 | \@textbottom
|
---|
2174 | \fi
|
---|
2175 | }%
|
---|
2176 | \fi
|
---|
2177 | \global \maxdepth \@maxdepth
|
---|
2178 | }
|
---|
2179 | %%
|
---|
2180 | %%
|
---|
2181 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
2182 | %% macro to switch from one-column long abstract to two-column normal text
|
---|
2183 | \iflong@abstract
|
---|
2184 | \newtoks\juo@sar \juo@sar={}
|
---|
2185 | \def\@ca#1#2#3#4{}
|
---|
2186 | \@ifundefined{stripsep}{\newskip\stripsep\stripsep 15pt}{}
|
---|
2187 | \newskip\m@addvipersep
|
---|
2188 | \m@addvipersep\z@
|
---|
2189 | \newskip\c@addvipersep
|
---|
2190 | \c@addvipersep\z@
|
---|
2191 | \newdimen\ht@strip
|
---|
2192 | \newdimen\right@cor
|
---|
2193 | \newdimen\cor@height \cor@height=0pt
|
---|
2194 | \newdimen\juo@pr
|
---|
2195 | \newdimen\juo@ht
|
---|
2196 | \newbox\@viper
|
---|
2197 | \newcount\juo@sk
|
---|
2198 | \newdimen\c@colht
|
---|
2199 | \newbox\my@outputbox
|
---|
2200 | %% macro for adding strip
|
---|
2201 | \def\add@strip#1#2#3#4{\begingroup%
|
---|
2202 | \xdef\ex@{\global\noexpand\juo@sar{\the\juo@sar\noexpand\@ca{#1}{#2}{#3}{#4}}}\ex@%
|
---|
2203 | \endgroup}
|
---|
2204 | %% macro for remove strip
|
---|
2205 | \def\remove@strip#1{\ifx#1\@empty\global\juo@sk=0\else
|
---|
2206 | \global\advance\juo@sk by-1\expandafter\next@item\the #1\@@#1\fi}
|
---|
2207 | \def\next@item \@ca#1#2#3#4#5\@@#6{\global #6={#5}\global\juo@pr=#1\global\juo@ht=#2%
|
---|
2208 | \global\cor@height=#3\global\m@addvipersep=#4}
|
---|
2209 | %% macro for strip command
|
---|
2210 | \def\strip{\@ifnextchar[{\@strip}{\@strip[0pt/0pt]}}
|
---|
2211 | \def\@strip[#1/#2]{\global\@tempdima=#1\global\@tempdimb=#2%
|
---|
2212 | \global \setbox\@viper\vbox\bgroup%
|
---|
2213 | \hsize\textwidth
|
---|
2214 | \@parboxrestore
|
---|
2215 | \col@number \@ne
|
---|
2216 | \vrule height\topskip width\z@ depth\z@}
|
---|
2217 | \def\endstrip{%
|
---|
2218 | \egroup
|
---|
2219 | \if@firstcolumn
|
---|
2220 | \ifdim\pagetotal>\z@
|
---|
2221 | \global\ht@strip\pagegoal
|
---|
2222 | \global\advance\ht@strip by-\pagetotal
|
---|
2223 | \global\advance\ht@strip by-\stripsep
|
---|
2224 | \global\advance\ht@strip by-\ht\@viper
|
---|
2225 | \global\advance\ht@strip by-\stripsep
|
---|
2226 | \global\juo@ht=\ht\@viper
|
---|
2227 | \else
|
---|
2228 | \global\ht@strip\z@
|
---|
2229 | \fi
|
---|
2230 | \ifdim\ht@strip>\z@
|
---|
2231 | \add@strip{\the\pagetotal}{\the\juo@ht}{\the\@tempdima}{\the\@tempdimb}%
|
---|
2232 | \global\advance\juo@sk by1
|
---|
2233 | \fi
|
---|
2234 | \fi
|
---|
2235 | }
|
---|
2236 | \newif\ifbotragg\botraggfalse
|
---|
2237 | \def\@outputdblcol@pptt{%
|
---|
2238 | \if@firstcolumn
|
---|
2239 | \global\@firstcolumnfalse
|
---|
2240 | \global\setbox\@leftcolumn\box\@outputbox
|
---|
2241 | \global\c@colht\@colht\global\c@addvipersep\z@
|
---|
2242 | \ifnum\juo@sk>0
|
---|
2243 | \remove@strip\juo@sar
|
---|
2244 | \global\@colht\the\juo@pr
|
---|
2245 | \global\@printfootfalse
|
---|
2246 | \ifdim\right@cor>\z@
|
---|
2247 | \global\advance\@colht by\right@cor
|
---|
2248 | \fi
|
---|
2249 | \global\advance\@colht by\cor@height
|
---|
2250 | \global\cor@height=0pt
|
---|
2251 | \fi
|
---|
2252 | \else
|
---|
2253 | \ifdim\c@colht>\@colht%
|
---|
2254 | \@tempdima\@colht%
|
---|
2255 | \ifdim\@colht>\z@%%
|
---|
2256 | \ifvoid\footins%
|
---|
2257 | \else%
|
---|
2258 | \vskip-\skip\footins%
|
---|
2259 | \fi%
|
---|
2260 | \splittopskip0pt%
|
---|
2261 | \setbox\my@outputbox\vbox{%
|
---|
2262 | \vspace*{\@colht}%%
|
---|
2263 | \global\botraggfalse%
|
---|
2264 | \vskip.7\baselineskip%
|
---|
2265 | \vsplit\@outputbox to \baselineskip%
|
---|
2266 | \unvbox\@outputbox}%
|
---|
2267 | \unvbox\my@outputbox%
|
---|
2268 | \ifvoid\my@outputbox%
|
---|
2269 | \global\botraggtrue
|
---|
2270 | \fi%
|
---|
2271 | \global \@printfoottrue
|
---|
2272 | \global\c@addvipersep\m@addvipersep%
|
---|
2273 | \else%
|
---|
2274 | \fi%
|
---|
2275 | \ifnum\juo@sk>0%
|
---|
2276 | \else%
|
---|
2277 | \global\@colht\c@colht%
|
---|
2278 | \fi%
|
---|
2279 | \else%
|
---|
2280 | \global \@firstcolumntrue%
|
---|
2281 | \global\setbox\@outputbox\vbox to \ht\@leftcolumn{\unvbox\@outputbox}%
|
---|
2282 | \setbox\@outputbox \vbox{\hb@xt@\textwidth {%
|
---|
2283 | \hb@xt@\columnwidth {\box\@leftcolumn \hss}%
|
---|
2284 | \hfil
|
---|
2285 | \vrule \@width\columnseprule
|
---|
2286 | \hfil
|
---|
2287 | \hb@xt@\columnwidth{\box\@outputbox \hss}}%
|
---|
2288 | \vss}%
|
---|
2289 | \@combinedblfloats
|
---|
2290 | \@outputpage
|
---|
2291 | \begingroup
|
---|
2292 | \@dblfloatplacement
|
---|
2293 | \@startdblcolumn
|
---|
2294 | \@whilesw\if@fcolmade \fi
|
---|
2295 | {\@outputpage\@startdblcolumn}%
|
---|
2296 | \endgroup
|
---|
2297 | \global\juo@sk=0\global\juo@sar={}%
|
---|
2298 | \global\cor@height\z@\global\c@addvipersep\z@
|
---|
2299 | \fi
|
---|
2300 | \fi
|
---|
2301 | }
|
---|
2302 | \fi
|
---|
2303 | \endinput
|
---|
2304 | %%
|
---|
2305 | %% End of file `aastex.cls'.
|
---|