spacer
spacer
Home arrow Author information arrow LaTeX issues
     
 


 
How to prepare your TEX file: examples

Example of a manuscript header with structured abstract    |   Examples of tables and figures

Example of a manuscript header with traditional abstract    |   Material for the electronic edition: examples

 

Example of a manuscript header with structured abstract

\documentclass[structabstract]{aa}
\usepackage{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{ This e-mail address is being protected from spam bots, you need JavaScript enabled to view it }}

\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[traditabstract]{aa}
\usepackage{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{ This e-mail address is being protected from spam bots, you need JavaScript enabled to view it This e-mail address is being protected from spam bots, you need JavaScript enabled to view it }

\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.

\begin{figure}
  \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.

Table 1: Nonlinear Model Results

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.dem file.

 

Large tables (longer than one page)

Tables larger than a page should be composed at the end of the document. In the text, at the place where the large table should appear, add the command: \addtocounter{table}{1}. Tables counters will be well numbered.

Authors may use one of the two dedicated packages supertabular and longtable. Put the package in the preamble of your document as follows:

\usepackage{longtable} or \usepackage{supertabular}
and write your long table at the end.

supertabular

\end{thebibliography}
% end of the main text
\clearpage
\onecolumn
% if table 2
\setcounter{table}{2}
\begin{supertabular}
...
\end{supertabular}

longtable

aa.cls has adapted a command \longtab{}{} to this package.

\end{thebibliography}
% if table 2
\longtab{2}{
\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}
}% End \longtab

Some examples are given in the aa.dem file.

 

Material for the electronic edition: examples 

  • Text appendices
    Online appendices have to be placed at the end after \end{thebibliography}. Add the Online command and write your text (this section will be published as received, without any changes by the publisher).

    \end{thebibliography}

    \Online

    \begin{appendix} %First online appendix
    \section{Background galaxy number counts}
    ...
    \begin{figure*}
    \centering
    \includegraphics[width=16.4cm,clip]{1787f24.ps}
    \caption{Plotted above...}\label{appfig}
    \end{figure*}
    ...
    \end{appendix}

    \begin{appendix} %Second online appendix
    ...
    \end{appendix}
    \end{document}

  • Some tables or figures are in the printed version and some are only in the electronic version.
    Leave all the tables or figures in the text, at their right place, and use the commands \onlfig{}{} and \onltab{}{}. These elements will be automatically placed at the end in the section Online material.

    \documentclass{aa}
    ...
    \begin{document}
    ...
    \begin{figure*}%f1
    \includegraphics[width=10.9cm]{1787f01.eps}
    \caption{Shown in greyscale is a...}\label{301}}
    \end{figure*}
    ...
    % Figure 2 and 3 available electronically only
    \onlfig{2}{
    \begin{figure*}%f2
    \includegraphics[width=11.6cm]{1787f02.eps}
    \caption {Shown in greyscale...} \label{018}
    \end{figure*}
    }% end of onlfig
    ... \onlfig{3}{
    \begin{figure*}%f3
    \includegraphics[width=11.2cm]{1787f03.eps}
    \caption{Shown in panels...} \label{059}
    \end{figure*}
    }% end of onlfig
    ...
    \begin{table}%t1
    \caption{Complexes characterisation.}\label{starbursts}
    \begin{tabular}{lccc}
    ...
    \end{tabular}
    \end{table}
    ...
    % Figure 4 available electronically only
    \onlfig{4}{
    \begin{figure*}%f4
    \includegraphics[width=11.2cm]{1787f04.eps}
    \caption{Shown in panels...} \label{38}}
    \end{figure*}
    }% end of onlfig
    ...
    % Table 2 available electronically only
    \onltab{2}{
    \begin{table*}%t2
    \caption{List of the LMC stellar complexes...}\label{Properties}
    \begin{tabular}{lccccccccc}
    ...
    \end{tabular}
    \end{table*}
    }% end of onltab

Some other examples of large, online tables are also given in the aa.dem file.