1 Zulushakar

## 1. Introduction

The American Astronomical Society (AAS) has developed a markup package to assist authors in preparing manuscripts intended for submission to its journals.

The most important aspect of the AASTeX package is that it defines the set of commands, or markup, that can be used to identify the structural elements of manuscripts. When articles are marked up using this set of standard commands, they may then be submitted electronically to the editorial office which aids both the peer review ingest and production processing while producing high quality output in a variety of styles.

This guide contains basic instructions for creating manuscripts using the AASTeX v6.2 markup package. Authors are expected to be familiar with the editorial requirements of the journals so that they can make appropriate submissions; they should also have a basic knowledge of LaTeX-for instance, knowing how to set up equations using LaTeX commands.

## 2. AASTeX v6.2 Article Markup

This section describes the commands in the AASTeX v6.2 package that an author might enter in a manuscript that is being prepared for electronic submission. The commands will be described in roughly the same order as they would appear in a manuscript. The reader will also find it helpful to examine the example files that are distributed with the package.

### 2.1 Preamble

In LaTeX manuscripts, the preamble is that portion of the file before the \begin{document} command.

#### 2.1.1 Getting Started

The first piece of markup in the manuscript declares the overall style of the document. Any commands that appear before this markup will be ignored.

\documentclass{aastex62}

This specifies the document class as aastex with the default style. The manuscript copy produced by this style is a tight typeset, single column format. Other styles are available. They are discussed in greater detail in Section 3.

#### 2.1.2 Defining New Commands


In general, author-defined commands that are abbreviations or shorthands are acceptable and can be easily handled by journal offices and publishers during data conversion; for example:

However, abbreviations that attempt to define new symbols by using LaTeX commands for repositioning text tend to cause problems in the publication process and should be avoided. In particular, author-defined commands that use any of the commands listed below are apt to cause problems during data conversion.

\hskip, \vskip, \raise, \raisebox, \lower, \rlap, \kern, \lineskip, \char, \mathchar, \mathcode, \buildref, \mathrel, \baselineskip

Consequently, authors are strongly discouraged from using them. In addition, AASTeX already has defined commands for all the major astronomical journals so authors should refrain from using their own as it generally leads to conflict errors during compilation.

Extra symbols are defined for AASTeX, some specifically for an astronomical context, others more broadly used in math and physics. In particular, the AMS has additional symbol fonts that are available in a standard LaTeX package (amssymb). All of these symbols are depicted in the additional symbols tables supplied with the package and on the AASTeX website.

Before defining a new symbol command, authors are advised to consult these tables to see whether the symbol they need already exists. If it does, they should use the corresponding markup command. Authors should not redefine existing command names. When one of these commands is encountered in an electronic manuscript submitted to a journal, an author's redefinition will be ignored and the originally-defined command used.

#### 2.1.3 Optional Editorial Information

A number of markup commands are available for to timestamp important dates during the peer review process to document the publication history. These commands are not required as this information is pulled from the peer review database after acceptance and inserted by the publisher during production. Authors may find these commands useful for arXiv submissions.

\received{receipt date}\revised{revision date}\accepted{acceptance date}\published{published date}\submitjournal{AASJournal name}

These commands will appear after the affiliation information and before the abstract. The text "Submitted to" is appended to the AASJournal name argument in the \submitjournal command. The first four commands will be typeset on a single line, separated by semicolons, and surrounded by parentheses. The typeset order will always be received, revised, accepted, and published but the commands can be listed in any order in the latex manuscript. If a date command is not provided it will be omitted in the typeset list. Note that authors can use any date format but published articles use Year Month Day.

The \reportnum{ID} command can be used to indicate additional manuscript information. This command will place the "ID" argument text in the upper right corner of the title page. This command can be used multiple times. For example:

\reportnum{astro-ph/0411275} \reportnum{BAAS 2004, v36, n5}

Note that these commands are not used during production but authors might find it useful to use them to provide publishing meta-data in preprints.

#### 2.1.4 Water marking on Title Page

An optional water mark can be superimposed over the title page using the following commands.

\watermark{text}\setwatermarkfontsize{dimension}

The first command will print text in a light gray color on the title page running diagonally from the bottom left to the top right. The font size can also be specified by the second command, e.g. 2in, to obtain the appropriate size. Authors may have to experiment with the wording and font size to obtain a desired result. The water mark information is not used during production but authors might find it useful to identify drafts or preprints.

Authors may supply optional running head information using the following commands.

\shorttitle{text} \shortauthors{text}

Two different kinds of data are generally supplied in running heads. A shortened author list (last names, possibly truncated as "et al.") appears at the top of even-numbered pages while an abbreviated form of the manuscript title appears on the top of odd-numbered pages. The information in these commands will be passed through to copy editing staff for inclusion in the published version but only the short authors information will be shown in the html.

The information contained within these commands should be brief. A good rule of thumb is to limit the list of authors to three or else use "et al.," and to limit the short form of the title to 40-45 characters. The editors may choose to modify the author-supplied running heads.

### 2.2 Starting the Main Body

The preamble is a control section. None of the markup that appears in the preamble is in fact typeset. The author must include a

\begin{document}

command to identify the beginning of the main, typeset portion of the manuscript.

### 2.3 Title, Author Information, and article meta-data

The way AASTeX v6.2 handles author, affiliation, and collaboration information is different from previous versions so authors should read this section carefully. There are many reasons for these changes including updates in how article titles are displayed, the addition of ORCID support, automatic affiliation indexing, improved collaboration identification, and additional article meta-data commands for preprints. The following older commands are now removed: \affil, \altaffilmark, \altaffiltext, \fullcollaborationName, and \and. LaTeX will issue an error and stop if these are encountered in an AASTeX v6.2 manuscript.

Use the \title command to specify the title. Footnotes can be included within this command. Note that in v6.2 the title is no longer rendered completely capitalized. This change was implemented to match the published article which is now shown in title case, e.g. only capitalizing the first letter of principle words. It is the author's responsibility to maintain title case within the \title command.

The \author command is used to specify an individual author. Authors' names should be entered in mixed case. Authors can use the LaTeXCJKmacro package to include Chinese, Japanese and Korean language support with their names. More information about using CJK can be found here. A new optional argument to the \author command has been added to provide the author's unique ORCID identifier. The syntax is:

\author[dddd-dddd-dddd-dddd]{Author Name}

During compilation, LaTeX will check that the value in the optional argument has this format. If not, a warning message will be issued and LaTeX will exit. When a valid format is entered the author name will be hyperlinked to the given ORCID webpage. It is the author's responsibility to ensure that the correct ORCID is provided when this functionality is used. At this time the ORCID is not carried into the peer review database since these identifier must be personally authenticated via the ORCID website.

Each \author command should be have an associated \affiliation command to specify a primary affiliation. AASTeX v6.2 will automatically index all the \affiliation commands during compilation. When a duplicate \affiliation command is encountered it is given the same index number as the first \affiliation found. Physical and postal address information for the specified institution should be included with \affiliation. The address can be broken over several lines using the \\ command to indicate the line breaks. Use multiple \affiliation calls for secondary and tertiary affiliations.

Authors often have additional information that needs to be noted (e.g. Hubble Fellow, author is deceased, etc.) in addition to their affiliation information. This information may be specified with the \altaffiliation command. Note that in order to work correctly the \altaffiliation command must appear right after the \author command as the corresponding footnote symbol is attached to the previous text. The \altaffiliation footnotes are non-numeric and rendered at the bottom left of the page.

There are two other optional pieces of author information that can be included. Both appear in the bottom left corner of the title page. The first is the new \correspondingauthor{Author Name} command. This will identify the named author as the corresponding author. It should only be used once for the author that was the primary contact during peer review. The other command is \email. Each \email call will placed on its own line thus when many emails are provided it is recommended they all be put in a single \email call. The order in which these two optional commands are called determines order in which they appear on the page.

The new \collaboration command should be used to identify a collaboration. This command can come before or after a corresponding author group. Depending on the group complexity and number of collaborations, authors may have to use the new \nocollaboration command to segragate authors that are not part of any group. In the compiled version this is rendered at a dash to offset the unaffiliated group from the other collaborations.

The following example illustrates how these commands are used (left) and the resulting compiled output (right). Note that LaTeX takes care of any needed "and"s and commas between author names and thus it is not necessary to include them in an \author call. This footnote based style is the default for the front matter. It produces the most compact output and thus is ideal for manuscripts with long author lists. The longauthor style can be called as a classfile argument to produce the more traditional style where each author is listed individually. See Section 3 for details on using the different styles.

 \title{New AASTeX v6.2 author and affiliation style\footnote{A footnote.}} \author{Superman} \altaffiliation{aka Clark Kent} \affiliation{Daily Planet} \affiliation{Justice League, Metropolis} \author{Batman} \affiliation{Wayne Enterprises} \affiliation{Justice League, Metropolis} \author{Wonder Woman} \affiliation{Themyscira} \affiliation{Justice League, Metropolis} \collaboration{(The DC superheros group)} \author{Spider-Man} \affiliation{Daily Bugle} \affiliation{The Avengers} \author{Wolverine} \affiliation{X-Men} \author{Captain America} \affiliation{The Avengers} \collaboration{(The Marvel superhero Team)} \author{Lois Lane} \affiliation{Daily Planet} \author{Jimmy Olsen} \affiliation{Daily Planet} \nocollaboration \author{Lex Luthor} \affiliation{LexCorp} \author{Magneto} \affiliation{Brotherhood of Mutants} \affiliation{X-Men} \author{Mystique} \affiliation{Brotherhood of Mutants} \collaboration{(The Super Villians collabroation)} \noaffiliation \correspondingauthor{Spider-Man} \email{parker@dailybugle.com}

Another option for long author lists is to limit the number of authors shown in the front of the page using the \AuthorCallLimit command. The argument number applies to both \author and \collaboration commands, thus in the example above a \AuthorCallLimit=1 will display "Superman et al." while \AuthorCallLimit=4 will display "Superman, Batman and Wonder Woman (The DC Superheros group) et al.". It is important to note that this command must appear before the first \author command, preferable in the preamble. The full author list, including the affiliations, will be shown at the end of the article when the \allauthors command is placed just before the \end{document}. It is the author reponsibility to use the \allauthors command when \AuthorCallLimit is invoked.

Note that this author limiting command is only meant to be used to make lengthy author lists more manageable for PDF copies during peer review. Authors are still required to include all authors and affiliation information with the corresponding commands outlined above. The full set of authors is critical both during peer review and publication. The \AuthorCallLimit command should not be used for manuscript with less than 20 authors. Conversely, manuscripts with more than 40 authors should use this option.

Lastly, authors that wish to to keep all of the title page information separate from the main body of the manuscript should use the \NewPageAfterKeywords command. This will introduce a page break so that the first section of the manuscript starts on a new page. This command is used after the \documentclass command and before the \begin{document} command.

### 2.4 Abstract

A manuscript's abstract should be marked with the abstract environment.

\begin{abstract}abstract text\end{abstract}

The abstract length is limited to 250 words and this is checked at submission. The exception is manuscripts submitted to Research Notes of the American Astronomical Society which has no abstract. These should be typeset using the RNAASstyle option.

### 2.5 Keywords

AAS Journals continue to collect a limited set of keywords that help to make contextual links between your article and other articles.

Keywords, or subject headings, are accommodated as a single piece of text.

\keywords{text}

Authors should supply no more than six keywords, specified in alphabetical order. The \keywords command will append "Subject headings: " to the given keywords. The last (2013) AAS endorsed list of allowed astronomical keywords can be found here.

### 2.7 Sections

AASTeX supports four levels of section headings.

Section headings should be given in upper case while subsections are in mixed case. Note that these commands delimit sections by marking the beginning of each section; there are no separate commands to mark the ends.

### 2.8 Figure and Table Placement

Authors are encouraged to embed their figures and tables around the sections where they are first mentioned. Placing tables and figures after the text was necessary in the past when the article charges were based on the number of print pages. Now article charges are based on more quantifiable metrics such as the number of words, tables, and figures, thus the "readability" of a manuscript is more important, particularly during peer review.

Authors can use the positional placement option on figures and tables to override LaTeX's internal placement logic. The most useful arguments in this option are "h" to place at the approximate location specified in the LaTeX manuscript, i.e. here, "b" place at the bottom of the current page, "t" place a the top of the current page, and "!" force LaTeX to ignore its own determined location. The example,

\begin{figure}[htb!]

tells LaTeX to optimize the figure position by first considering here, then the top of the page, and finally at the bottom. The LaTeX derived position is not considered. Similar positional placement options can be invoked for tables and deluxetables.

### 2.9 Acknowledgments

AASTeX supports an \acknowledgments section.

\acknowledgmentsacknowledgments text

In the AASTeX styles, acknowledgments are set off from the conclusion of the body with vertical space. Note the acknowledgments command takes no arguments and should be placed before the bibliography.

### 2.10 Facilities

To help organizations obtain information on the effectiveness of their telescopes, the AAS has created a group of keywords for telescope facilities. Including a facility keyword list is optional but encouraged. The facilities keyword list is available here.

The facilities list should appear after the acknowledgments section.

\facility{facility ID} or \facilities{facility ID, facility ID, facility ID, ... }

As part of the facility ID argument, the author may also include the name of the instrument in parentheses, e.g. HST(WFPC2) or MMT(Blue channel spectrograph). Use \facility when only a single facility was used and \facilities for multiples. Separate each facility keyword with a comma. There is no limit to the number of facility keywords that may be included in a manuscript.

### 2.11 Software

Authors should use the \software command to highlight the software packages that were used in the production of the article. This is analogous to acknowledging a major facility or instrument and is done for the same reason, to give credit to a project which is generally useful for the community. The \software command should also appear after the acknowledgments section.

\software{SExtractor \citep{1996A&AS..117..393B}, Astropy \citep{https://doi.org/10.1051/0004-6361/201322068}, ... }

A single \software command should be used to format a comma delimited list of software citations or mentions as a single block of text. Please do not add other contextual material to this markup. There is no limit to the number of software that may be included in this comma-delimited list. Authors may include citations or URL links in the command argument as shown in the last two examples above.

### 2.12 Appendices

When one or more appendices are needed in a manuscript, the point where the main body text ends and the appendix begins should be marked with the \appendix command.

\section{body section}\appendix\section{appendix section}

The \appendix command takes care of a number of internal housekeeping concerns, such as identifying sections with letters instead of numerals, and resetting the equation counter. Note that the \appendix command takes no arguments. Sections in the appendix should be headed with \section commands where each appendix section will have an alphabet numbering scheme, e.g. A, B, C, etc.

### 2.13 Equations

Display equations can be typeset in LaTeX in a number of ways. The following three are probably of greatest use in AASTeX.

\begin{displaymath}\end{displaymath}\begin{equation}\end{equation}\begin{eqnarray}\end{eqnarray}

The displaymath environment will break out a single, unnumbered formula. The equation environment does the same thing except that the equation is auto-numbered by LaTeX. To set several formula in which vertical alignment is required, or to display a long equation across multiple lines, use the eqnarray environment. Each line of the eqnarray will be numbered unless a \nonumber command is inserted before the equation line delimiter (\\). LaTeX's equation counter is not incremented when \nonumber is used.

Authors may occasionally wish to group related equations together and identify them with letters appended to the equation number. When this is desired, use the subequations environment in the amsmath package (note that amsmath is already included in all LaTeX distributions after 2005 but it must be explicitly called in the preamble via \usepackage{amsmath}).

\begin{subequations}...\end(subequations}

All equations within this environment will be number with the previous equation number but appended with a letter. See the amsmath documentation, section 3.11.2, for additional details.

It is possible to override LaTeX's automatic numbering within the equation or eqnarray environments using

\eqnum{text}

When \eqnum is specified inside an equation environment or on a particular equation within an eqnarray, the text supplied as an argument to \eqnum is used as the equation identifier. LaTeX's equation counter is not incremented when \eqnum is used. \eqnum must be used inside the math environment.

If, as a consequence of the use of \eqnum or \nonumber, LaTeX's equation counter gets out of synch with the author's intended sequence, the counter may be reset to a particular value.

\setcounter{equation}{number}

The equation counter should be set to the number corresponding to the last equation that was formatted; therefore, it is most appropriate for this command to appear immediately after an equation or eqnarray environment. The command must be used outside the math environments.

### 2.14 Citations and Bibliography

Bibliographic data supplied by the author in the reference list must conform to the standards of the AAS journals. The specific citation and bibliography styles are outlined here. Fortunately there are two easy options for properly marking citations and formatting reference lists. They are the standard LaTeXthebibliography environment, and the AASTeX references environment. Authors are strongly encouraged to use thebibliography.

#### 2.13.1 The thebibliography Environment

The preferred method for reference management is to use LaTeX's thebibliography environment, marking citations in the body of the manuscript with \citep or \citet and associating references with them using \bibitem. The \cite-\bibitem mechanism associates citations and references symbolically while maintaining proper citation syntax within the manuscript. In the \bibitem command, the author should specify citation data inside square brackets and a citation key in curly braces for each reference. (The bibitem command is described in detail in the next section.)

\begin{thebibliography}{dummy} \bibitem[cite data]{key} bibliographic data . . \end{thebibliography}

Note that the argument dummy to the start command of the environment is not used in the AASTeX package, but it is included to be consistent with the syntax of standard LaTeX. It is acceptable to simply insert an empty pair of curly braces at the end of the \begin{thebibliography} command.

#### 2.14.2 Specifying Bibliographic and Citation Information

AASTeX uses the natbib package for citation management. The natbib package re-implements LaTeX's cite command, offering greater flexibility for managing citations in the author-year form. Specific instructions on how to use natbib is available here.

When using natbib, bibliographic data are defined in bibitem commands.

\bibitem[author(year)]{key}bibliographic data

The square-bracketed argument of the bibitem contains the author portion of the citation followed by the year set off in parentheses. The parentheses are important-natbib uses them to determine the year portion of the citation-so be sure to include them. The argument key in curly braces is the code name by which the citation is referenced in the text.

When placing citations in the text, the author should use either a citep or a citet command.

\citep{key(s)} \citet{key(s)}

The citep command produces a citation that is entirely set off by parentheses, e.g. "(Cox 1995)," while citet permits the author's name to form part of the text, e.g. "Cox (1995)." The plain LaTeXcite command behaves like citet.

The citation key must correspond to the key in a bibitem command. During processing, information from the square-bracketed argument of the key's bibitem is inserted in the text at the location of the \cite command. Multiple citation keys are separated by commas, e.g., citep{knuth84,cox95,lamport94}.

citep and citet each take optional arguments that specify extra text to be appended to the citation label. Text in the first set of square brackets will appear before the cite while text in the second set will appear after it. For instance, citep[chap. 2]{jon90} would produce the citation "(Jones et al., 1990, chap. 2)," citep[see][]{jon90} would produce "(see Jones et al, 1990)," and citep[see][chap. 2]{jon90}would print "(see Jones et al., 1990, chap. 2)." In addition, the * form of the cite commands will print the full author list instead of the abbreviated form.

The syntax discussed above should be sufficient for the vast majority of cases; however, AASTeX does use the full natbib implementation, so many more syntax options are available.

Authors are also encourage to use reference management software such as BibTex to organize their references and produce correct bibliographies. When using BibTeX a .bst file is need to produce the proper reference output that follows the AAS Journal's format. Authors should use the new aasjournal.bst file when using BibTex with AAS Journal manuscripts.

It is not possible to use \bibitem within AASTeX's references environment ( 2.14.3), nor will \cite commands work properly in the main body if \bibitem commands are absent.

#### 2.14.3 The references Environment

Some authors might prefer to enter citations directly into the body of an article. If so, the references environment may be used to format the reference list. The references environment simply sets off the list of references and adjusts spacing parameters.

\begin{references}\reference{key} bibliographic data . . \end{references}

#### 2.14.4 Abbreviations for Journal Names

AASTeX v6.2 defines journal abbreviations for a large number of major astronomical journals. The list is given below. For others not in this list authors are encouraged to use standard journal abbreviations defined by ADS.

CommandJournal
\ajAstronomical Journal
\araaAnnual Review of Astron and Astrophys
nd\apjAstrophysical Journal
\apjlAstrophysical Journal, Letters
\apjsAstrophysical Journal, Supplement
\aoApplied Optics
\apss Astrophysics and Space Science
\aapAstronomy and Astrophysics
\aaprAstronomy and Astrophysics Reviews
\aapsAstronomy and Astrophysics, Supplement
\azhAstronomicheskii Zhurnal
\baasBulletin of the AAS
\icarusIcarus
\jrascJournal of the RAS of Canada
\memrasMemoirs of the RAS
\mnrasMonthly Notices of the RAS
\praPhysical Review A: General Physics
\prbPhysical Review B: Solid State
\prcPhysical Review C
\prdPhysical Review D
\prePhysical Review E
\prlPhysical Review Letters
\paspPublications of the ASP
\pasjPublications of the ASJ
\qjrasQuarterly Journal of the RAS
\skytelSky and Telescope
\solphysSolar Physics
\sovastSoviet Astronomy
\ssrSpace Science Reviews
\zapZeitschrift fuer Astrophysik
\natNature
\iaucircIAU Cirulars
\aplettAstrophysics Letters
\apsprAstrophysics Space Physics Research
\bainBulletin Astronomical Institute of the Netherlands
\fcpFundamental Cosmic Physics
\gcaGeochimica Cosmochimica Acta
\grlGeophysics Research Letters
\jcpJournal of Chemical Physics
\jgrJournal of Geophysics Research
\jqsrtJournal of Quantitiative Spectroscopy and Radiative Trasfer
\memsaiMem. Societa Astronomica Italiana
\nphysaNuclear Physics A
\physrepPhysics Reports
\physscrPhysica Scripta
\planssPlanetary Space Science
\procspieProceedings of the SPIE
\actaaActa Astronomica
\caaChinese Astronomy and Astrophysics
\cjaaChinese Journal of Astronomy and Astrophysics
\jcapJournal of Cosmology and Astroparticle Physics
\naNew Astronomy
\narNew Astronomy Review
\pasaPublications of the Astron. Soc. of Australia
\rmxaaRevista Mexicana de Astronomia y Astrofisica
\mapsMeteoritics and Planetary Science
\aasAmerican Astronomical Society Meeting Abstracts
\dpsAmerican Astronomical Society/Division for Planetary Sciences Meeting Abstracts

#### 2.14.5 Citing 3rd party data repositories and software

The AAS Journals encourages authors to include data with their articles. In many cases this data can be included with the article, see Section 2.17, but sometimes the data is either too large or too complex to include. In these cases the AAS Journals recommend the author place their data in a trusted 3rd party repository that issues Digital Object Identifiers (DOIs) and properly cite the data in the bibliography. Likewise software and code in persistent repositories should also be linked to the main journal by DOI. The new policy statement on software can be found here.

The format for referencing digital objects in repositories is as follows:

To illustrate and document this format, we use a corresponding BibTeX entry taken and modified from a real example). Note that all data/software BibTeX entries should be of the type:

The corresponding reference entry should look like:

BibTeX will produce a citation in this format when the new aasjournal.bst file is used. The aasjournal.bst is an update of the old apj.bst file and is backwards compatible.

### 2.15 Figures

#### 2.15.1 Electronic Art

If an author wishes to embed graphics in a manuscript, it is necessary that the graphics files conform to either the Encapsulated PostScript (EPS) or PDF standard. Use a package like epstopdf to convert EPS files to PDF if using pdflatex or a mixture of figure formats.

Several commands are available for including EPS/PDF files in AASTeX manuscripts. They should be placed within the figure environment.

\begin{figure}\figurenum{text}\epsscale{num}\plotone{file}\plottwo{file1}{file2}\caption{text}\end{figure}

In the onecolumn style the figure will span the same width of the text. Figures in the twocolumn style will likewise only span the column they are placed in. An author can override this by adding an asterisk, e.g. \begin{figure*}...\end{figure*}, to have a figure span both columns. Authors are responsible for producing figures that are not so small to be unreadable.

When \figurenum is specified inside the figure environment, the text supplied as an argument to \figurenum will be used as the figure identifier. LaTeX's figure counter is not incremented when \figurenum is used. \figurenum must be used inside the figure environment.

\plotone inserts the graphic in the named EPS/PDF file, scaled so that the horizontal dimension fits the width of the body text; the vertical dimension is scaled to maintain the aspect ratio. \plottwo inserts two image files next to each other. Scale factors are determined automatically from information in the EPS/PDF file.

The automatic scaling may be overridden with the command \epsscale{num}, where num is a scaling factor in decimal units, e.g., 0.80.

The plotone and plottwo macros are invocations of the graphicx\includegraphics command. In most instances, using plotone or plottwo should work for placing figures in AASTeX documents. However, if more flexibility is needed, the includegraphics command may be invoked directly. For instance, to rotate an image by 90 degrees, use

\includegraphics[angle=90]{epsfile}

#### 2.15.2 Figure Captions

All electronic art in a manuscript must have a figure caption or legend. The \caption command within the figure environment is the most commonly used method but AASTeX also supports \figcaption which has similar functionality.

\caption{text\label{key}}\figcaption[filename]{text\label{key}}

The optional argument, filename, can be used to identify the file for the corresponding figure; text refers to the caption for that figure. The author may provide a \label with a unique key for cross-referencing purposes.

When either the \caption or \figcaption commands are used, the figure identification label, e.g., "Figure 1," is generated automatically by the command itself, so there is no need to key this information. There is an upper limit of seven, figure captions per page. Footnotes are not supported for figures.

#### 2.15.3 AASTeX 6+ Figure Features

Starting with AASTeX 6.0 there is a new way to create a figure that consists of > 2 EPS or PDF files arranged in a grid pattern. The new command \gridline allows an author to place as many figure files as needed in a row through multiple \fig, \rightfig and \leftfig calls. The \fig calls an individual EPS or PDF file while \rightfig and \leftfig do the same but right and left justify the named file within the grid row. There is also the \boxedfig call which is the same as \fig but draws a box around the named file.

\fig{filename}{width}{letter or caption}

The first argument is the EPS or PDF file to be displayed. The second argument is the width to scale the file by. Any LaTeX accepted width is valid but author may find it easier to use \textwidth scale the figure by a fraction of the allowed width. For example, 0.33\textwidth will scale the figure to one-third the column width. The last argument provides a sub caption beneath the displayed file. Authors should use this to label the displayed file, e.g. "(a)", "(b)", etc.

There is a final file call for \gridline, \rotatefig. Similar to the others, this file call takes an additional argument to specify the degree of rotation. An example would be \rotatefig{90}{filename}{width}{subcaption} to produce a 90 degree rotation.

With multiple \gridline commands an author can construct figures consisting of numerous files and in complex arrangements. The following example will create an figure with three individual files on the top, 2 individual files in the middle, and one file on the bottom, all labeled "(a)" through "(f)".

 \begin{figure} \gridline{\fig{fig1a.pdf}{0.3\textwidth}{(a)} \fig{fig1b.pdf}{0.3\textwidth}{(b)} \fig{fig1c.pdf}{0.3\textwidth}{(c)}} \gridline{\fig{fig1d.pdf}{0.3\textwidth}{(d)} \fig{fig1e.pdf}{0.3\textwidth}{(e)} \fig{fig1f.pdf}{0.3\textwidth}{(f)}} \caption{A nice inverted pyramid figure consisting of six individual files} \end{figure}

### 2.16 Tables

There is support in the AASTeX package for tables via two mechanisms: LaTeX's standard table environment, and the deluxetable environment, which allows for the formatting of lengthy tabular material. Tables may be marked up using either mechanism, although use of deluxetable is preferred. deluxetable is also the only table environment that natively supports long tables. Authors should not use the LaTeXtabbing environment when preparing electronic submissions.

#### 2.16.1 The deluxetable Environment

Authors are encouraged to use the deluxetable environment to format their tables since it automatically handles many formatting tasks, including table numbering and insertion of horizontal rules. It also provides mechanisms for breaking tables and controlling width and vertical spacing that are unavailable in the LaTeXtabular environment. An online tool is available to help create deluxetables.

The deluxetable environment is delimited by LaTeX's familiar \begin and \end constructs. The content consists of preamble commands and table data, the latter delimited by \startdata and \enddata.

\begin{deluxetable}{cols}preamble commands\startdatatable data\enddata\end{deluxetable}

The argument cols specifies the justification for each column. An alignment token, "l," "c," or "r," is given for each column, indicating flush left, centered, or flush right.

#### 2.16.2 deluxetable features

There are many commands available in deluxetable to control the output. Commands that control the structure of the entire table must be specified before the \begin{deluxetable} call. Multi-page deluxetables are created by including a \startlongtablebefore the deluxetable call.

\startlongtable \begin{deluxetable} ... \end{deluxetable}

If \startlongtable is left out a long table will flow off the page.

Landscape orientation, e.g. rotation, is available for both deluxetables and the tabular environment but how this is accomplished in v6.2 is slightly different than in versions v6.0 and earlier. The previous \rotate has been superceded by the superior rotatetable environment. This environment should surround all short tables requiring rotation.

\begin{rotatetable} \begin{deluxetable} ... \end{deluxetable} \end{rotatetable}

While the \rotate command can still be used it is only recommended the rotation of splittables, see the cheat sheet chart in Section 2.16.5 for examples. Likewise, the new longrotatetable environment is used to rotate a multi-page deluxetable.

When using the rotatetable or longrotatetable environments the resulting table may spill over the top margin, particularly for wide tables. In these cases authors can move the rotated table further down the page using the new \movetabledown=x command, where x is a valid LaTeX length dimension, e.g.

\movetabledown=1.25in

The * option informs LaTeX that a table (or figure) will span both columns in a two column style.

\begin{deluxetable*} ... \end{deluxetable*}

or

\begin{table*} ... \end{table*}

When the * option is used, it can also be applied to the rotatetable environment to center the rotated table on the page otherwise the table will be left justified. See the cheat sheet chart in Section 2.16.5 for examples.

There other deluxetable commands must be used in the preamble inside the deluxetable environment.

If a table is too wide for the PDF/EPS page, the font size of the table can be changed with the \tabletypesize command, which takes as an argument one of the font size change commands: \small (11pt), \footnotesize (10pt), or \scriptsize (8pt).

The width of a deluxetable is defined by \tablewidth. If this command is omitted, the default width is the width of the page. The table can be set to its natural width by specifying a dimension of 0pt. Long tables may have a natural width that is different for each page. The natural width for each page will be printed to the log file during processing. Authors may then use this log information to define a fixed table width in order to give the table a more uniform appearance across pages.

It is possible to override LaTeX's automatic numbering within the deluxetable environment. When \tablenum is specified inside a deluxetable preamble, the text supplied as an argument to \tablenum will be used as the table identifier. LaTeX's equation counter is not incremented when \tablenumis used.

The caption (actually, the title) of the table is specified in \tablecaption. The text of \tablecaption should be brief; explanatory notes should be specified in the end notes to the table (see 2.16.5 below). If the caption does not appear centered above the table after processing, then specify the width of the table explicitly with the \tablewidth command and rerun LaTeX on the file. If an author supplies a \label for cross-referencing purposes, this, too, must be included in the \tablecaption.

Column headings are specified with \tablehead. Within the \tablehead, each column heading should be given in a \colhead, which will ensure that the heading is centered on the natural width of the column. There should be a heading for each column so that there are as many \colhead commands in the \tablehead as there are data columns.

If more complicated column headings are required, any valid tabular command that constitutes a proper head line in a LaTeX table may be used. For example, the multicolumn command below would create a table head with text centered over five columns.

\multicolumn{5}{c}{text}

The \tablecolumns{num} command is necessary if an author has multi-line column headings produced by \tablehead or other LaTeX commands and is using either the \cutinhead or \sidehead markup (see below). The num argument should be set to the true number of columns in the table. The command must come before the \startdata command.

#### 2.16.3 Content of the deluxetable

After the table title and column headings have been specified, data rows can be entered. Data rows are delimited with the \startdata and \enddata commands. The end of each row is indicated with the standard LaTeX\\ command. Data cells within a row are separated with & (ampersand) characters.

\startdatadata linecell&cell&cell \\ more data lines\enddata

Column alignment within the data columns can be adjusted with the TeX \phantom{string} command, where string can be any character, e.g., \phantom{$\arcmin$}. A blank character of width string is then inserted in the table. Four commands have been predefined for this purpose.

 \phn phantom numeral 0-9 \phd phantom decimal point \phs phantom ? sign \phm{string} generic phantom

Extra vertical space can be inserted between rows with an optional argument to the \\ command.

\\[dimen]

The argument is a dimension and may be specified in any units that are legitimate in LaTeX.

In a table, it may happen that several rows of data are associated with a single object or item. Such logical groupings should not be broken across pages. In these cases, the tablebreak command may be used to force a page break at the desired point.

table row \\tablebreaknext table row

This command can be used any time that the default deluxetable page breaks need to be overridden.

To explicitly indicate that a table cell that contain no data, the \nodata command can be used. This is to differentiate such cells from blank cells, which are frequently interpreted as implicitly repeating the entry in the corresponding cell in the row preceding.

Within the deluxetable body, two kinds of special heads are allowed, cutinhead and sidehead. A cut-in head is a piece of text centered across the width of the table. It is spaced above and below from the data rows that precede and follow it and will appear set off by rules in the LaTeX output. Similarly, the command for a side head produces a row spanning the width of the table but with the text left justified.

Table footnotes (more properly, table end notes) may also be used in the deluxetable environment. Their use is described in detail in Section 2.16.5.

#### 2.16.4 The table Environment

Authors may also compose tables using the table environment.

\begin{table}\end{table}

The table environment encloses not only the tabular material but also any title or footnote information associated with the table.

Titles, or captions, for tables are indicated with a caption command

\caption{text\label{key}}

A table label, e.g. "Table 2," is generated automatically by \caption. The author may provide a \label in the caption with a unique keyfor cross-referencing purposes.

The table body should appear within the tabular environment.

\begin{tabular}{cols}\end{tabular}

The alignment tokens in cols specify the justification for each column. The letters "l," "c," or "r" is given for each column, indicating left, center, or right justification. See the wiki for additional information about using the tabular environment to prepare tables.

Each tabular table must appear within a table environment. There should be only one tabular table per table environment.

Use the tableline command to insert horizontal rules in the tabular environment.

\tableline

The use of vertical rules should be avoided.

As with the deluxetable environment, it is possible to override LaTeX's automatic numbering within the table environment using \tablenum. \tablenum must be used inside the table environment.

emulateapj.cls, version 05/12/14
11/10/09: Two major changes:
1. ApJ has moved its publishing to IOP and they have slightly changed the formatting. To implement these changes, call emulateapj with the iop option, use\documentclass[iop]{emulateapj}Other available options: [chicago] - (default) typeset as was done in the University of Chicago Press [twocolumn] - (default) two-column mode [onecolumn] - main text in one-column mode [apj] - typeset as for main journal [apjl] - (default) typeset as for ApJ Letters [tighten] - some adjustments to approximate grid typesetting [numberedappendix] - number appendix sections as A, B, etc [appendixfloats] - use separate numbering for floats within appendix [twocolappendix] - make appendix in two-col mode in a two-col paper [revtex4] - force using revtex4
2. Starting from version 11/10/2009, emulateapj tries to load revtex4-1 if present on the system. This may cause small changes in typesetting for old documents. If you want full compatibility, please download the last version based on revtex4, emulateapj-rtx4.cls, and bundle it with your TeX source code.

2/9/03: MAJOR CHANGE: Emulateapj is completely rewritten. This version adds the use of single-column floats (figures, tables and footnotes) in the two-column mode. All standard LaTeX/AASTeX environments such as {figure}, {table}, {figure*}, {table*} and {deluxetable} (and {deluxetable*} added here) should work as expected. Enjoy.

The old versions of this package are emulateapj5.sty (package to be used with aastex.cls) and emulateapj.sty (package to be used with article class).

The user needs to use and then .

The apjfonts.sty can be used for Times typefaces. It works under old latex 2.09 and new LaTeX 2e.

Some TeX installations (e.g. teTeX) will find all the font files used by apjfonts.sty. If, however, your LaTeX/dvips complains about not finding some fonts, you will have to install them: download apjfonts.tar.gz, unpack and read INSTALL.

If you have any questions, email alexey@head.cfa.harvard.edu