How to prepare your TEX file: examples
Example of a manuscript header with structured abstract
\documentclass{aa}\usepackage[varg]{txfonts}
\begin{document}
\title{Optimality relationships for $p$-cyclic SOR p
\thanks{Research supported in part by the US Air Force
under grant no. AFOSR-88-0285 and
the National Science Foundation under grant
no. DMS-85-21154}\fnmsep
\thanks{This is a second footnote}\\
resulting in asymptotically faster convergence\\
for the same amount of work per iteration}
\subtitle{II. An example text with infinitesimal
scientific value\\
whose title and subtitle may also be split}
\author{Daniel J. Pierce\inst{1}
\and Apostolos Hadjidimios\inst{2}
\thanks{\emph{Present address:}
Department of Computer Science, Purdue University,
West Lafayette, IN 47907, USA}
\and Robert J. Plemmons\inst{3}}
\offprints{R. Plemmons, \email{plemmons@...}}
\institute{Boeing Computer Service, P.O. Box 24346,
MS 7L-21, Seattle, WA 98124-0346, USA
\and Department of Mathematics, University of Ioannina,
GR-45 1210, Ioannina, Greece
\and Department of Computer Science and Mathematics,
North Carolina State University, Raleigh, NC 27695-8205, USA}
\date{Received 2 November 1992 / Accepted 7 January 1993}
\abstract {} {We look for characteristics typical of water-megamaser galaxies
in SO 103-G035, TXS 2226-184, and IC 1481.} {We obtained long-slit optical
emission-line spectra.} {We present rotation curves, line ratios, electron
densities, temperatures. IC 1481 reveals a spectrum suggestive of a vigorous
starburst in the central kiloparsec 108 years ago.} {We do not find any hints
for outflows nor special features which could give clues to the unknown
megamaser excitation mechanism.}
\keywords{interstellar medium: jets and outflows --
interstellar medium: molecules -- stars: pre-main-sequence}}
\maketitle
Example of a manuscript header with traditional abstract
\documentclass{aa}\usepackage[varg]{txfonts}
\begin{document}
title{Optimality relationships for $p$-cyclic SOR p
\thanks{Research supported in part by the US Air Force
under grant no. AFOSR-88-0285 and
the National Science Foundation under grant
no. DMS-85-21154}\fnmsep
\thanks{This is a second footnote}\\
resulting in asymptotically faster convergence\\
for the same amount of work per iteration}
\subtitle{II. An example text with infinitesimal
scientific value\\
whose title and subtitle may also be split}
\author{Daniel J. Pierce\inst{1}
\and Apostolos Hadjidimios\inst{2}
\thanks{\emph{Present address:}
Department of Computer Science, Purdue University,
West Lafayette, IN 47907, USA}
\and Robert J. Plemmons\inst{3}}
\offprints{R. Plemmons, \email{plemmons@... plemmons@...}
\institute{Boeing Computer Service, P.O. Box 24346,
MS 7L-21, Seattle, WA 98124-0346, USA
\and Department of Mathematics, University of Ioannina,
GR-45 1210, Ioannina, Greece
\and Department of Computer Science and Mathematics,
North Carolina State University, Raleigh, NC 27695-8205, USA}
\date{Received 2 November 1992 / Accepted 7 January 1993}
\abstract{We look for characteristics typical of water-megamaser galaxies
in SO 103-G035, TXS 2226-184, and IC 1481. We obtained long-slit optical
emission-line spectra. We present rotation curves, line ratios, electron
densities, temperatures. IC 1481 reveals a spectrum suggestive of a vigorous
starburst in the central kiloparsec 108 years ago. We do not find any hints
for outflows nor special features which could give clues to the unknown
megamaser excitation mechanism.}
\keywords{interstellar medium: jets and outflows --
interstellar medium: molecules -- stars: pre-main-sequence}}
\maketitle
Examples of tables and figures
Figures
Include the package in the preamble of your document as follows:
\usepackage{graphicx} |
To fill the whole column width, the figure has to be resized with the
resizebox command.
\resizebox{\hsize}{!}{\includegraphics{<yourfilename.eps>}}
\caption{<Your caption text...>.}
\label{<Your label>}
\end{figure}
For a two-column-wide plot, substitute figure by figure*.
\begin{figure*}
\centering
\includegraphics[width=17cm]{<yourfilename.eps>}
\caption{<Your caption text...>.}
\label{<Your label>}
\end{figure*}
A&A also uses a third width, 12 cm; that is, with the figure caption at its lower right-hand side. To achieve this format, use
\begin{figure*}
\sidecaption
\includegraphics[width=12cm]{<yourfilename.eps>}
\caption{<Your caption text...>.}
\label{<Your label>}
\end{figure*}
Simples tables
Simple tables must be prepared as in the example below.
HJD | E | Method#2 | Method#3 |
1 | 50 | -837 | 970 |
2 | 47 | 877 | 230 |
3 | 31 | 25 | 415 |
4 | 35 | 144 | 2356 |
5 | 45 | 300 | 556 |
The corresponding TEX code is as follows
\begin{table}
\caption{Nonlinear Model Results} % title of Table
\label{table:1} % is used to refer this table in the text
\centering % used for centering table
\begin{tabular}{c c c c} % centered columns (4 columns)
\hline\hline % inserts double horizontal lines
HJD & $E$ & Method\#2 & Method\#3 \\ % table heading
\hline % inserts single horizontal line
1 & 50 & $-837$ & 970 \\ % inserting body of the table
2 & 47 & 877 & 230 \\
3 & 31 & 25 & 415 \\
4 & 35 & 144 & 2356 \\
5 & 45 & 300 & 556 \\
\hline %inserts single line
\end{tabular}
\end{table}
To produce two columns width tables, use the table* environment. If a horizontal line is required in the table, the \cline{n-m} command is used to draw a horizontal line from the left side of the column n to the right side of the column m. The \multicolumn{num}{col}{text} command is used to combine the following num columns into a single column with their total width:
\hline\hline % inserts double horizontal lines
HJD & \multicolumn{3}{c}{Methods}\\
\hline % inserts single horizontal line
The output is:
HJD | Methods | ||
1 | 50 | -837 | 970 |
2 | 47 | 877 | 230 |
3 | 31 | 25 | 415 |
4 | 35 | 144 | 2356 |
5 | 45 | 300 | 556 |
Some examples of a table with footnotes or a rotated table in landscape are given in the aa_example file.
Large tables (longer than one page)
Tables larger than a page should be composed at the end of the document.
\end{thebibliography}\begin{longtable}{lllrrr}
\caption{\label{kstars} Sample stars with absolute magnitude}\\
\hline\hline
Catalogue& $M_{V}$ & Spectral & Distance & Mode & Count Rate \\
\hline
\endfirsthead
\caption{continued.}\\
\hline\hline
Catalogue& $M_{V}$ & Spectral & Distance & Mode & Count Rate \\
\hline
\endhead
\hline
\endfoot
Gl 33 & 6.37 & K2 V & 7.46 & S & 0.043170\\
Gl 66AB & 6.26 & K2 V & 8.15 & S & 0.260478\\
Gl 68 & 5.87 & K1 V & 7.47 & P & 0.026610\\
& & & & H & 0.008686\\
Gl 86
\footnote{Source not included in the HRI catalog. See Sect.~5.4.2 for details.}
& 5.92 & K0 V & 10.91& S & 0.058230\\
\end{longtable}
Some other examples are given in the aa_example file.
Notes to tables
A&A LaTex macro package provides some special commands to format notes in the tables in the proper A&A layout, as illustrated in the examples given below.- References below the table:
They are introduced in the TEX file using the command \tablebib, as in the example below.
Table 2: List of nearby SNe used in this work. SN name Epoch Bands References (with respect to B maximum) 1981B 0 UBV 1 1986G -3, -1, 0, 1, 2 BV 2 1989B -5, -1, 0, 3, 5 UBVRI 3, 4 1990N 2, 7 UBVRI 5 1991M 3 VRI 6 SNe 91bg-like 1991bg 1, 2 BVRI 7 1999by -5, -4, -3, 3, 4, 5 UBVRI 8 SNe 91T-like 1991T -3, 0 UBVRI 9, 10 2000cx -3, -2, 0, 1, 5 UBVRI 11
The corresponding TEX code is as follows:
\begin{table*}
\caption ...
\begin{tabular}
... Content of the table
...
\hline
\end{tabular}
\tablebib{
(1)~\citet{branch83}; (2) \citet{phillips87}; (3) \citet{barbon90}; (4) \citet{wells94};
(5) \citet{mazzali93}; (6) \citet{gomez98}; (7) \citet{kirshner93}; (8) \citet{patat96};
(9) \citet{salvo01}; (10) \citet{branch03}; (11) \citet{jha99}.
}
\end{table*}
- Notes below the table:
Notes can refer to special portions of the table and be introduced with superscripts. In this case, the author should use the command \tablefootmark and \tablefoottext. Notes can also include general remarks on the whole table. In this case, the note is not preceded with a superscript and is introduced with the command \tablefoot. A detailed example is given below, followed by the related TEX code.
Table 3: Spectral types and photometry for stars in the region. Star Spectral type RA(J2000) Dec(J2000) 69 B1V 09 15 54.046 -50 00 26.67 49 B0.7V *09 15 54.570 -50 00 03.90 LS 1267 (86) O8V 09 15 52.787 11.07a 24.6 7.58a 1.37a 0.20a LS 1262 B0V 09 15 05.17 11.17b MO 2-119 B0.5V 09 15 33.7 11.74c LS 1269 O8.5V 09 15 56.60 10.85d
(a) Photometry for MF13, LS 1267 and HD 80077 from Dupont et al. (b) Photometry for LS 1262, LS 1269 from Durand et al. (c) Photometry for MO2-119 from Mathieu et al.
\begin{table}
\caption{\label{t7}Spectral types and photometry for stars in the region.}
\centering
\begin{tabular}{lccc}
\hline\hline
Star&Spectral type&RA(J2000)&Dec(J2000)\\
\hline
69 &B1\,V &09 15 54.046 & $-$50 00 26.67\\
49 &B0.7\,V &*09 15 54.570& $-$50 00 03.90\\
LS~1267~(86) &O8\,V &09 15 52.787&11.07\tablefootmark{a}\\
24.6 &7.58\tablefootmark{1}&1.37\tablefootmark{a} &0.20\tablefootmark{a}\\
\hline
LS~1262 &B0\,V &09 15 05.17&11.17\tablefootmark{b}\\
MO 2-119 &B0.5\,V &09 15 33.7 &11.74\tablefootmark{c}\\
LS~1269 &O8.5\,V &09 15 56.60&10.85\tablefootmark{d}\\
\hline
\end{tabular}
\tablefoot{
The top panel shows likely members of Pismis~11. The second panel contains likely
members of Alicante~5. The bottom panel displays stars outside the clusters.\\
\tablefoottext{a}{Photometry for MF13, LS~1267 and HD~80077 from Dupont et al.}
\tablefoottext{b}{Photometry for LS~1262, LS~1269 from Durand et al.}
\tablefoottext{c}{Photometry for MO2-119 from Mathieu et al.}
}
\end{table}
Some other examples of large, online tables are also given in the aa_example file.