| 1 |
%% File: aguplus.tex |
| 2 |
%% ============================================= |
| 3 |
%% IMPORTANT NOTICE: |
| 4 |
%% See the copyright and distribution conditions below. |
| 5 |
%% ============================================= |
| 6 |
%% This is the user's manual for |
| 7 |
%% AGU++ |
| 8 |
%% an extension to the AGU |
| 9 |
%% LaTeX package AGUTeX |
| 10 |
%% --------------------------------- |
| 11 |
%% Copyright 1993-1999 Patrick W Daly |
| 12 |
%% Max-Planck-Institut f\"ur Aeronomie |
| 13 |
%% Max-Planck-Str. 2 |
| 14 |
%% D-37191 Katlenburg-Lindau |
| 15 |
%% Germany |
| 16 |
%% E-mail: [email protected] |
| 17 |
%% |
| 18 |
%% This program can be redistributed and/or modified under the terms |
| 19 |
%% of the LaTeX Project Public License Distributed from CTAN |
| 20 |
%% archives in directory macros/latex/base/lppl.txt; either |
| 21 |
%% version 1 of the License, or any later version. |
| 22 |
%% |
| 23 |
%% This is a contributed file to the LaTeX2e system. |
| 24 |
%% |
| 25 |
\def\FileID#1 [#2 #3 #4] |
| 26 |
{\def\pckname{#1}\def\pckdate{#2}\def\pckversion{#3}} |
| 27 |
\FileID{aguplus} |
| 28 |
[1999/08/19 1.6b (PWD)] |
| 29 |
\ifx\documentclass\undefined |
| 30 |
\documentstyle[twoside,agupp,aguplus]{article} |
| 31 |
\def\LaTeXe{\protect\pLaTeXe} |
| 32 |
\def\pLaTeXe{\mbox{\LaTeX\kern.15em$2_{\textstyle\varepsilon}$}} |
| 33 |
\makeatletter |
| 34 |
\def\p@LaTeX{\@tempcnta=\the\fam \leavevmode L\raise.42ex |
| 35 |
\hbox{$\fam\@tempcnta\scriptstyle\kern-.3em A$}\kern-.15em% |
| 36 |
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX} |
| 37 |
\makeatother |
| 38 |
\let\bfseries=\bf \let\mdseries=\rm |
| 39 |
\let\upshape=\rm \let\itshape=\it |
| 40 |
\let\slshape=\sl \let\scshape=\sc |
| 41 |
\let\sffamily=\sf \let\rmfamily=\rm |
| 42 |
\let\ttfamily=\tt \let\normalfont=\rm |
| 43 |
\newcommand{\emph}[1]{{\em #1\/}} |
| 44 |
\newcommand{\textbf}[1]{{\bf #1}} |
| 45 |
\newcommand{\textit}[1]{{\it #1}\/} |
| 46 |
\newcommand{\texttt}[1]{{\tt #1}} |
| 47 |
\newcommand{\textsf}[1]{{\sf #1}} |
| 48 |
\newcommand{\textrm}[1]{{\rm #1}} |
| 49 |
\newcommand{\textsc}[1]{{\sc #1}} |
| 50 |
\newcommand{\textsl}[1]{{\sl #1\/}} |
| 51 |
\else |
| 52 |
\documentclass[twoside,agupp]{aguplus} |
| 53 |
\fi |
| 54 |
\newcommand{\btx}{\textsc{Bib}\TeX} |
| 55 |
\newcommand{\app}{{\small\optionlogo}} |
| 56 |
\newcommand{\bsl}{\char`\\} |
| 57 |
\lefthead{P. W. Daly} |
| 58 |
\righthead{\protect\optionlogo: an Extension to AGU\TeX} |
| 59 |
\cpright{PD}{1993} |
| 60 |
\afour |
| 61 |
|
| 62 |
\sloppy |
| 63 |
\begin{document} |
| 64 |
\let\filename=\pckname |
| 65 |
|
| 66 |
\slugcomment{Version \pckversion\ from \pckdate} |
| 67 |
|
| 68 |
\title{The \LaTeX{} |
| 69 |
Extension Package \optionlogo\\ |
| 70 |
for Use with AGU\TeX} |
| 71 |
|
| 72 |
\author{Patrick W. Daly} |
| 73 |
\affil{Max-Planck-Institut f\"ur Aeronomie, Lindau, Germany} |
| 74 |
\authoraddr{P. W. Daly, Max-Planck-Institut f\"ur Aeronomie, D--37189 |
| 75 |
Katlenburg-Lindau, Germany} |
| 76 |
|
| 77 |
\begin{abstract} |
| 78 |
This paper describes how to use the AGU package (AGU\TeX) for producing |
| 79 |
manuscripts, preprints, and camera-ready copy, together with an unofficial |
| 80 |
extension package called \app{}. This extension adds extra features such as |
| 81 |
author-year citations with \btx{} and true figures in the preprint version. |
| 82 |
Other extra features include corrected coding to avoid having to give certain |
| 83 |
numbers explicitly, sublabelling of equations, figures, etc., and balancing |
| 84 |
two columns of text on the last page. These features were all part of my older |
| 85 |
unofficial AGU package and are thus well-known among its users. |
| 86 |
|
| 87 |
\end{abstract} |
| 88 |
|
| 89 |
\section{Introduction} |
| 90 |
At the beginning of 1994, the American Geophysical Union (AGU) finally |
| 91 |
came out with its own official \LaTeX\ package for producing manuscripts |
| 92 |
and camera-ready copy for its journals. At the same time the format of |
| 93 |
the journals was dramatically altered. Thus my unofficial \LaTeX\ package |
| 94 |
for AGU (\texttt{art-jgr} and \texttt{art-grl}) became not only |
| 95 |
superfluous but obsolete. |
| 96 |
|
| 97 |
However, in looking over the instructions and coding of the official package, |
| 98 |
I realize that not only are some imperfections present, but many useful |
| 99 |
features of my styles are missing. The most noticeable of these is the means |
| 100 |
of using author-year citations with \btx{} in an automated manner. |
| 101 |
|
| 102 |
The coding imperfections are related to the way in which figure captions and |
| 103 |
tables are treated: they must be placed at the end of the document, and if an |
| 104 |
appendix is present, then the automatic numbering system will consider them as |
| 105 |
appendix figures and tables (numbered A1, A2, \dots). To avoid this, explicit |
| 106 |
numbers must be given, something that violates the essential principles of a |
| 107 |
formatting program like \LaTeX. A second implication of this treatment is that |
| 108 |
preprints will be missing the figures and tables in the text. In my older |
| 109 |
system, neither of these problems occurred. |
| 110 |
|
| 111 |
{\em By popular demand}, I have undertaken to write an extension to the |
| 112 |
official AGU package, called \app (for AGU doubly-ionized or super-charged, as |
| 113 |
you please). It includes my extra features without changing any of the formats |
| 114 |
of the original package. The user should prepare his documents in the manner |
| 115 |
described by the AGU, except that figures, tables, and plates are to be |
| 116 |
included {\em in the text\/} as described below. A number of extra commands |
| 117 |
are available to control and/or enable the extra features. |
| 118 |
|
| 119 |
Version~4.0 of AGU\TeX\ was released in August 1996, adding the doubled |
| 120 |
captions and the supplemental abstract, things which already existed in \app. |
| 121 |
Some recoding was necessary in this package to accommodate those changes. |
| 122 |
(Actually, the changes had to be nullified!) |
| 123 |
|
| 124 |
This manual explains the official package with my extensions. This is to |
| 125 |
enable the user to obtain all the necessary information in one article rather |
| 126 |
than to have to search among several. It is not meant to serve as instructions |
| 127 |
for the standard AGU package alone, although differences will be indicated; |
| 128 |
neither is it intended to be a manual for \LaTeX, since it assumes that the |
| 129 |
user already understands the workings of that text formatting scheme. The |
| 130 |
basic manual for \LaTeX{} is \citet{ltx:lamport2}; a more recent |
| 131 |
and more extensive work is by \citet{ltx:guide3}. |
| 132 |
|
| 133 |
\section{The Official Package} |
| 134 |
The official AGU package is called AGU\TeX. It consists of an instruction |
| 135 |
manual (\texttt{aguguide.tex}), a sample article (\texttt{sample.tex}), |
| 136 |
and, of course, a number of \emph{style options} that |
| 137 |
are to be used with the standard main style \texttt{article}. These are |
| 138 |
\begin{description} |
| 139 |
\item[\ttfamily agums] to produce a manuscript for submission; |
| 140 |
|
| 141 |
\item[\ttfamily agupp] to produce a preprint in two-column format (like |
| 142 |
this paper) for distribution to colleagues; |
| 143 |
|
| 144 |
\item[\ttfamily jgrga] to produce camera-ready copy (or \emph{galley proofs}) |
| 145 |
for the \emph{Journal of Geophysical Research} (JGR), the \emph{Global |
| 146 |
Biogeochemical Cycles}, and \emph{Pale\-ocean\-o\-graphy}; |
| 147 |
|
| 148 |
\item[\ttfamily grlga] to produce camera-ready copy for \emph{Geophysical |
| 149 |
Research Letters} (GRL); |
| 150 |
|
| 151 |
\item[\ttfamily tecga] to produce camera-ready copy for \emph{Tectonics}; |
| 152 |
|
| 153 |
\item[\ttfamily paleo] to produce camera-ready copy for |
| 154 |
\emph{Paleoceanography}; |
| 155 |
|
| 156 |
\item[\ttfamily radga] to produce camera-ready copy for \emph{Radio |
| 157 |
Science}; |
| 158 |
|
| 159 |
\item[\ttfamily rtjga] to produce camera-ready copy for \emph{Russian |
| 160 |
Translation Journal}. |
| 161 |
\end{description} |
| 162 |
For example, the first line of the document should be something like |
| 163 |
\begin{quote} |
| 164 |
\verb!\documentstyle[jgrga]{article}! \\ |
| 165 |
\makebox[0pt][r]{or\hspace{1ex}}\verb!\documentstyle[agums]{article}! |
| 166 |
\end{quote} |
| 167 |
for JGR camera-ready copy or a manuscript, respectively. |
| 168 |
|
| 169 |
Note that the term \emph{galley proofs} is more accurate than |
| 170 |
\emph{camera-ready copy}, since the latter implies finished pages in 1-to-1 |
| 171 |
relation with the final journal article. In fact, the papers are still cut and |
| 172 |
pasted together, with figures and tables inserted by hand. However, I will |
| 173 |
continue to refer to the galley proofs as camera-ready copy since this is the |
| 174 |
terminology that most of us are used to. |
| 175 |
|
| 176 |
\subsection{The New \LaTeX{} Standard} |
| 177 |
On 1994 June~1, a new improved, modernized \LaTeX{} was released and |
| 178 |
declared to be the only supported standard. This new version is called |
| 179 |
\LaTeXe. The older one, version~2.09, is still available but will no |
| 180 |
longer be updated. It is also expected that \LaTeX{} programmers who |
| 181 |
write extension packages (like AGU\TeX{} and \app) will do so in future |
| 182 |
only for \LaTeXe. |
| 183 |
|
| 184 |
\LaTeXe{} can operate in one of two modes. The \emph{native mode}, which |
| 185 |
is more efficient, is invoked by calling \verb!\documentclass! in place |
| 186 |
of \verb!\documentstyle!. In the new jargon, what used to be \emph{main |
| 187 |
style} (e.g., \texttt{article}) is now a \emph{class}, and \emph{style |
| 188 |
options} (like \texttt{agupp}) are called \emph{packages}, to be loaded |
| 189 |
with the command \verb!\usepackage!. |
| 190 |
|
| 191 |
There is also a \emph{compatibility mode} that emulates the 2.09 version, |
| 192 |
allowing older documents and many (but not all) extension packages to run |
| 193 |
just as before. It is the \verb!\documentstyle! command that activates |
| 194 |
this mode. As it now stands, AGU\TeX{} (version 4.0) will not run in |
| 195 |
native mode, but will procede in compatibility mode, with some minor |
| 196 |
discrepancies. (In \texttt{agums}, for manuscripts, 12~pt should be |
| 197 |
selected, otherwise the file \texttt{art12.sty} is read in; this file no |
| 198 |
longer exists in \LaTeXe.) |
| 199 |
|
| 200 |
I now provide \app{} for both versions of \LaTeX: as a style option |
| 201 |
\texttt{\filename.sty} for 2.09 or compatibility, and as a class file |
| 202 |
\texttt{\filename.cls} for \LaTeXe{} native mode. The latter also fixes |
| 203 |
up the problems in AGU\TeX{} so that it can run in native mode, but only |
| 204 |
with \app. By providing a class file for \LaTeXe{} instead of a package, |
| 205 |
I can distinguish between the two with the file extension. The |
| 206 |
alternative would be to issue two versions with identical names, which |
| 207 |
could cause headaches. |
| 208 |
|
| 209 |
\subsection{The Extension Package} |
| 210 |
The \app{} extension package requires that AGU\TeX{} be present and |
| 211 |
available on the system. It does not replace the official AGU package, |
| 212 |
but rather uses it with modifications. |
| 213 |
|
| 214 |
For \LaTeXe, \app{} is called as a class with one of the AGU\TeX{} |
| 215 |
packages as an option, as e.g. |
| 216 |
\begin{quote} |
| 217 |
\verb!\documentclass[jgrga]{!\texttt{\filename}\verb!}! |
| 218 |
\end{quote} |
| 219 |
This loads the \texttt{article} class and then the selected package |
| 220 |
before making the \app{} modifications. |
| 221 |
(Do not load the AGU\TeX{} package with \verb!\usepackage!, since that |
| 222 |
would undo those modifications.) |
| 223 |
|
| 224 |
Of the regular options to \texttt{article}, only \texttt{twoside} |
| 225 |
is meaningful, and then only with the preprint |
| 226 |
\texttt{agupp} choice; there is no point in selecting \texttt{titlepage}. |
| 227 |
|
| 228 |
The manuscript produced with \texttt{agums} is double spaced. In order to |
| 229 |
generate a single space manuscript, add the option \texttt{tighten}, or |
| 230 |
include the command \verb!\tighten! in the preample. (Reminder: the |
| 231 |
\emph{preamble} is everything that comes before |
| 232 |
\verb!\begin{document}!.) To alternate between single and double |
| 233 |
spaced text, use the commands \verb!\singlespace! and \verb!\doublespace! |
| 234 |
anywhere in the text. |
| 235 |
|
| 236 |
For \LaTeX~2.09, \app{} is included by adding the option \texttt{\filename} |
| 237 |
\emph{after} the AGU\TeX{} option name, as e.g. |
| 238 |
\begin{quote} |
| 239 |
\verb!\documentstyle[jgrga,!\texttt{\filename}\verb!]{article}! |
| 240 |
\end{quote} |
| 241 |
|
| 242 |
\section{Organization of the Paper} |
| 243 |
|
| 244 |
\subsection{Front Material} |
| 245 |
Before the main body of the text, some information about the manuscript and |
| 246 |
paper must be given. This information may actually be printed at the end of |
| 247 |
the article, depending on which option has been selected, but it is always |
| 248 |
entered at the start, before \verb!\begin{document}!. |
| 249 |
\begin{quote} |
| 250 |
\verb!\received{!\emph{date\_received}\verb!}!\\ |
| 251 |
\verb!\revised{!\emph{date\_revised}\verb!}!\\ |
| 252 |
\verb!\accepted{!\emph{date\_accepted}\verb!}! |
| 253 |
\end{quote} |
| 254 |
These commands enter the relevant dates, which are only meaningful for the |
| 255 |
camera-ready copy. They will be communicated to the author by the editor. |
| 256 |
|
| 257 |
\begin{quote} |
| 258 |
\verb!\journalid{!\emph{vol}\verb!}{!\emph{journal\_date}\verb!}!\\ |
| 259 |
\verb!\articleid{!\emph{start\_page}\verb!}{!\emph{end\_page}\verb!}!\\ |
| 260 |
\verb!\paperid{!\emph{manuscript\_id}\verb!}! |
| 261 |
\end{quote} |
| 262 |
Again, this information will be communicated to the author by the editor. (It |
| 263 |
seems that at the moment the first two do not really do anything at all, but |
| 264 |
may be provided for the future when AGU dispenses with cutting and pasting and |
| 265 |
goes to true camera-ready production.) |
| 266 |
|
| 267 |
\begin{quote} |
| 268 |
\verb!\cpright{!\emph{type}\verb!}{!\emph{year}\verb!}!\\ |
| 269 |
\verb!\ccc{!\emph{code}\verb!}! |
| 270 |
\end{quote} |
| 271 |
These enter copyright information, for which \emph{code} will be communicated |
| 272 |
to the author. The \emph{type} is one of |
| 273 |
\begin{description} |
| 274 |
\item[\ttfamily AGU] for AGU copyright |
| 275 |
\item[\ttfamily Crown] for (Commonwealth) government copyright |
| 276 |
\item[\ttfamily PD] for public domain (no copyright) |
| 277 |
\end{description} |
| 278 |
|
| 279 |
\begin{quote} |
| 280 |
\verb!\lefthead{!\emph{authors}\verb!}!\\ |
| 281 |
\verb!\righthead{!\emph{short\_title}\verb!}! |
| 282 |
\end{quote} |
| 283 |
These commands permit text for the running heads to be included. For the |
| 284 |
camera-ready copy, they are (currently) printed out so many times at the end |
| 285 |
(later cutting and pasting!) but with \texttt{\filename}, they will be added |
| 286 |
at the top of each page of the preprint. |
| 287 |
|
| 288 |
\begin{quote} |
| 289 |
\verb!\slugcomment{!\emph{text}\verb!}! |
| 290 |
\end{quote} |
| 291 |
With this command, the author may include his own text to be printed at the |
| 292 |
top of the preprint title page, such as ``This article is to appear in |
| 293 |
\dots.'' It should be given before the \verb!\title! command. |
| 294 |
|
| 295 |
The information that is printed at the end of the camera-ready copy comes |
| 296 |
after the list of references, and the output is part of that command. If |
| 297 |
there are no references, then the information must be forced out with the |
| 298 |
command |
| 299 |
\begin{quote} |
| 300 |
\verb!\forcesluginfo! |
| 301 |
\end{quote} |
| 302 |
following the main text. |
| 303 |
|
| 304 |
\subsection[]{Declarations for \app} |
| 305 |
A number of additional \app{} declarations are available to enable or modify |
| 306 |
some of the features. These may all be given in the preamble too, although |
| 307 |
some may actually be permitted anywhere in the document. They are all |
| 308 |
described later, but are listed here for completeness. |
| 309 |
\begin{description} |
| 310 |
\item[\ttfamily \bsl sectionnumbers] |
| 311 |
turns on section numbering; default is no |
| 312 |
numbering, as preferred by AGU; must be given before the first |
| 313 |
\verb!\section! command. |
| 314 |
|
| 315 |
\item[\ttfamily \bsl extraabstract] |
| 316 |
prints a supplemental abstract at the end of the |
| 317 |
camera-ready version, as required by JGR; this may be invoked anywhere in |
| 318 |
the paper, for it only enables the output which always comes at the end. |
| 319 |
|
| 320 |
\item[\ttfamily \bsl printfigures] |
| 321 |
causes the figures and plates to be output at the |
| 322 |
end of the manuscript and camera-ready copy; this is in addition to the |
| 323 |
figure captions that are always output and is only meaningful if the |
| 324 |
\texttt{figure} and \texttt{plate} environments really contain |
| 325 |
something to print. |
| 326 |
|
| 327 |
\item[\ttfamily \bsl figmarkoff] |
| 328 |
suppresses the printing of marginal notes next to the location where |
| 329 |
\texttt{figure}, \texttt{plate}, and \texttt{table} environments occur; |
| 330 |
by default such mar\-gin\-al notes are enabled. |
| 331 |
|
| 332 |
\item[\ttfamily \bsl figmarkon] |
| 333 |
re-enables the marginal notes; these two declarations |
| 334 |
may be given as often and wherever one feels they are needed. |
| 335 |
|
| 336 |
\item[\ttfamily \bsl doublecaption\char`\{35pc\char`\}] |
| 337 |
enables the printing of all |
| 338 |
figure and plate captions in two widths: once in the single column width |
| 339 |
and again in the width specified, here 35~pc; JGR requires that all |
| 340 |
captions be provided in two sizes. (AGU\TeX-4.0 provides this feature |
| 341 |
automatically.) |
| 342 |
|
| 343 |
\item[\ttfamily \bsl afour] |
| 344 |
changes the page layout to be more appropriate to |
| 345 |
European A4 paper; for camera-ready this means only that the page is |
| 346 |
slightly longer but the column width remains the same. |
| 347 |
|
| 348 |
\end{description} |
| 349 |
|
| 350 |
\subsection{Title and Authors} |
| 351 |
The preamble is ended with \verb!\begin{document}!, and the title and author |
| 352 |
information are given. |
| 353 |
\begin{quote}\slshape |
| 354 |
Contrary to standard \LaTeX, the title and authors are printed by the commands |
| 355 |
that enter the information. This means these commands {\bfseries may not |
| 356 |
be given in the preamble!} For many authors, this means changing |
| 357 |
long-standing habits. |
| 358 |
\end{quote} |
| 359 |
|
| 360 |
The coding in \app{} corrects this, so that the traditional \LaTeX{} |
| 361 |
behavior is re-established. |
| 362 |
|
| 363 |
\begin{quote} |
| 364 |
\verb!\title{!\emph{full\_title}\verb!}!\\ |
| 365 |
\verb!\author{!\emph{names}\verb!}!\\ |
| 366 |
\verb!\affil{!\emph{organization}\verb!}!\\ |
| 367 |
\verb!\authoraddr{!\emph{full\_address}\verb!}! |
| 368 |
\end{quote} |
| 369 |
The order of these commands is important. First comes the \verb!\title!, the |
| 370 |
argument of which may be broken up into lines with \verb!\\! commands (not |
| 371 |
absolutely necessary). Next come sets of \verb!\author! and \verb!\affil! |
| 372 |
commands, one set per author organization. |
| 373 |
{\slshape(This again is different from standard \LaTeX{} where |
| 374 |
\verb!\author! is given only once.)} |
| 375 |
Finally, the \verb!\authoraddr! command is given (anywhere) once for each |
| 376 |
author, with the name and full postal address as argument. |
| 377 |
|
| 378 |
An alternative method of presenting the authors is with footnotes for the |
| 379 |
affiliations. This is done with the commands |
| 380 |
\begin{quote} |
| 381 |
\verb!\altaffilmark{!\emph{numbers}\verb!}!\\ |
| 382 |
\verb!\altaffiltext{!\emph{number}\verb!}{!\emph{text}\verb!}! |
| 383 |
\end{quote} |
| 384 |
The first command is included in the text of the \verb!\author! command; the |
| 385 |
second is given once per footnote afterwards. For example, |
| 386 |
\begin{quote} |
| 387 |
\begin{verbatim} |
| 388 |
\author{J. P. Smith\altaffilmark{1,2} |
| 389 |
and C. J. Jones\altaffilmark{2}} |
| 390 |
\altaffiltext{1}{On leave} |
| 391 |
\altaffiltext{2}{Research Institute X} |
| 392 |
\end{verbatim} |
| 393 |
\end{quote} |
| 394 |
The two methods (\verb!\affil! or footnotes) may be combined. |
| 395 |
|
| 396 |
The \verb!\authoraddr! commands should rightly come in the preamble after the |
| 397 |
copyright information. Their arguments are printed out only for the |
| 398 |
camera-ready copy, at the end. |
| 399 |
|
| 400 |
\subsection{The Abstract} |
| 401 |
Following the title comes the abstract. This is given as in standard \LaTeX{} |
| 402 |
within an \texttt{abstract} environment, as |
| 403 |
\begin{quote}\begin{verbatim} |
| 404 |
\begin{abstract} |
| 405 |
This is the text of the abstract. . . |
| 406 |
\end{abstract} |
| 407 |
\end{verbatim} |
| 408 |
\end{quote} |
| 409 |
|
| 410 |
\subsection{The Text Body} |
| 411 |
The rest of the body of the article is organized into \emph{sections}, |
| 412 |
\emph{subsections}, and \emph{sub-subsections}, with commands |
| 413 |
\verb!\section{!\emph{heading}\verb!}!, |
| 414 |
\verb!\subsection{!\emph{heading}\verb!}!, and |
| 415 |
\verb!\subsubsection{!\emph{heading}\verb!}!, whereby the third-level |
| 416 |
\emph{heading} should capitalize only the first word and end with a period. |
| 417 |
|
| 418 |
For AGU\TeX\ version 4.0 and later, all the text from the first section to the |
| 419 |
end of the references is to be included within the \verb!\begin{article}! |
| 420 |
\dots \verb!\end{article}! environment. |
| 421 |
With \app{}, this environment is optional. |
| 422 |
|
| 423 |
\subsubsection{This is a third-level heading.} |
| 424 |
It has been entered with: \verb!\subsubsection{!\texttt{This is a |
| 425 |
third-level heading.}\verb!}! with the final period included. (In the |
| 426 |
camera-ready copy, the third-level heading is run into the following text on |
| 427 |
the same line.) |
| 428 |
|
| 429 |
\begin{quote} |
| 430 |
Sections are normally not numbered, unless the \app{} declaration |
| 431 |
\verb!\sectionnumbers! has been issued. The AGU manual states that section |
| 432 |
numbering should be carried out \emph{by explicitly including the numbers in |
| 433 |
the heading text.} This would violate a fundamental principle of a |
| 434 |
formatting language like \LaTeX, and will lead to much annoyance when sections |
| 435 |
are referred to or are changed. The AGU's argument is that \LaTeX{} will not |
| 436 |
format the numbered sections in the way that it wants them. \app{} has |
| 437 |
corrected so that the automatic numbering may be used. |
| 438 |
\end{quote} |
| 439 |
|
| 440 |
\subsection{Appendices} |
| 441 |
As in normal \LaTeX, the declaration \verb!\appendix! is issued at that point |
| 442 |
where the appendices are to start. This command redefines a number of things |
| 443 |
so that the sectioning commands now function as appendix headers. The |
| 444 |
numbering of equations and tables is also changed. |
| 445 |
|
| 446 |
\begin{quote} |
| 447 |
With \app, the numbering of figures and plates is also changed. I think it was |
| 448 |
an oversight on the part of AGU not to do this too, for it seems strange to |
| 449 |
have such inconsistent behavior. Besides, there are enough examples in |
| 450 |
previous AGU publications where figures too are numbered within appendices. |
| 451 |
\end{quote} |
| 452 |
|
| 453 |
If there is only one appendix, it should be introduced with the command |
| 454 |
\verb!\section*! rather than \verb!\section!. Recall that the starred versions |
| 455 |
suppress section numbering, or in the case of appendices, lettering. |
| 456 |
|
| 457 |
\begin{quote} |
| 458 |
The standard AGU package requires that the appendix letter be included in the |
| 459 |
heading text. This is the same repugnant notion as putting section numbers in |
| 460 |
explicitly. In \app, this is not necessary. Thus where AGU says to give |
| 461 |
\verb!\section{Appendix A: Title}!, it is sufficient to type only |
| 462 |
\verb!\section{Title}! (or \verb!\section*{Title}! if there is only one |
| 463 |
appendix). |
| 464 |
\end{quote} |
| 465 |
|
| 466 |
\subsection{The Acknowledgments} |
| 467 |
Acknowledgments come after the main text, including appendices, but before the |
| 468 |
list of references. They are introduced with one of the commands |
| 469 |
\begin{quote} |
| 470 |
\verb!\acknowledgments!\\ |
| 471 |
\verb!\acknowledgment!\\ |
| 472 |
\verb!\acknowledgements!\\ |
| 473 |
\makebox[0pt][r]{or }\verb!\acknowledgement! |
| 474 |
\end{quote} |
| 475 |
Both the American and British versions of the command names print the same |
| 476 |
result: the American spelling! |
| 477 |
|
| 478 |
\section{Floats} |
| 479 |
|
| 480 |
The major difference between the official AGU package and \app{} is the |
| 481 |
treatment of figures, plates, and tables, objects that are referred to as |
| 482 |
`floats' in \LaTeX{} terminology because they do not appear where they are |
| 483 |
typed in in the text, but move around to an appropriate location. The AGU |
| 484 |
standard package wants \emph{all} floats to appear at the end of the |
| 485 |
manuscript and camera-ready copy (fair enough), and the figures and plates to |
| 486 |
be printed \emph{only as captions}. This means that the preprints will also |
| 487 |
only exhibit the captions, and that all floats come at the end and will not be |
| 488 |
integrated in the text. |
| 489 |
|
| 490 |
Another major, ridiculous problem, is that if there is an appendix in the |
| 491 |
work, then all floats entered at the end must be given explicit numbers, for |
| 492 |
otherwise \LaTeX{} automatic numbering will treat them as appendix items with |
| 493 |
corresponding numbering. I have already expressed my sentiment about explicit |
| 494 |
numbering. |
| 495 |
|
| 496 |
With \app, these problems are solved. Floats are entered in the text |
| 497 |
\emph{where they are first referred to}. For preprints, they are then |
| 498 |
printed in the text as in a normal \LaTeX{} article; for manuscripts and |
| 499 |
camera-ready copy, only a marginal note is printed with the number, |
| 500 |
something AGU insists on anyway. |
| 501 |
(This may be suppressed with \verb!\figmarkfalse! and reinstated with |
| 502 |
\verb!\figmarktrue!.) The figure and plate captions are then automatically |
| 503 |
listed at the end, followed by the tables, followed optionally by the figures |
| 504 |
and plates themselves. |
| 505 |
|
| 506 |
\subsection{Figures and Plates} |
| 507 |
\begin{figure} |
| 508 |
\figbox{\hsize}{6cm}{Paste Figure Here} |
| 509 |
\caption[]{A demonstration paste-in figure. The width was given as |
| 510 |
{\tt\protect\bsl hsize} (the column width), the height as |
| 511 |
6~cm.\label{fig:demo}} |
| 512 |
\end{figure} |
| 513 |
|
| 514 |
Figures are entered in the \texttt{figure} or \texttt{figure*} |
| 515 |
environments, the latter being intended for double-column figures in |
| 516 |
two-column (preprint) format. Both environments produce identical results |
| 517 |
for manuscripts and camera-ready. The AGU provides a command |
| 518 |
\verb!\figurewidth! to specify the \emph{width of the camera-ready |
| 519 |
caption}; if it is omitted, the caption width is the normal column width. |
| 520 |
There is a limited number of allowed values as arguments: 20~pc (the |
| 521 |
default single-column width), 35~pc, and 41~pc. (For \emph{Radio Science} |
| 522 |
with \texttt{radga}, the values are 19, 33, and 38~pc.) |
| 523 |
|
| 524 |
JGR is still demanding that all figure captions be printed twice, once in |
| 525 |
width 20 and again in 35~pc. To enable this, give \verb!\doublecaption{35pc}! |
| 526 |
somewhere in the document, preferrably in the preamble so you notice it. |
| 527 |
|
| 528 |
The standard AGU package says that a \texttt{figure} environment should contain |
| 529 |
only an optional \verb!\figurewidth! command and a compulsory \verb!\caption! |
| 530 |
command, and nothing else. \app{} allows real figure contents to be included, |
| 531 |
but packed in a special \verb!\figbox!. |
| 532 |
This command takes three arguments: |
| 533 |
the width and height of the box, and the figure contents. The contents may be |
| 534 |
merely a note about what figure is to be pasted here, or a diagram made with |
| 535 |
\texttt{picture} or \textsc{Pic}\TeX, or an imported figure from other software, |
| 536 |
such as an encapsulated PostScript\footnote{PostScript is registered trademark |
| 537 |
of Adobe-Systems Incorporated.} file. |
| 538 |
|
| 539 |
There is also a starred version \verb!\figbox*! that behaves exactly the same |
| 540 |
as \verb!\figbox! except that no frame is drawn around the figure. This is |
| 541 |
most useful for real figures, whereas the unstarred command is more |
| 542 |
appropriate for reserved space for glued-in figures. |
| 543 |
|
| 544 |
Examples of input text for figures are: |
| 545 |
\begin{verbatim} |
| 546 |
\begin{figure} |
| 547 |
\figbox{\hsize}{6cm}{Paste Figure Here} |
| 548 |
\caption[]{A demonstration paste-in figure. |
| 549 |
The width was given as {\tt hsize} |
| 550 |
(the column width), the height as |
| 551 |
6~cm.\label{fig:demo}} |
| 552 |
\end{figure} |
| 553 |
|
| 554 |
\begin{figure*} |
| 555 |
\figurewidth{35pc} |
| 556 |
\figbox*{}{}{% |
| 557 |
\includegraphics[width=35pc]{myfig.eps}} |
| 558 |
\caption{A plot of Y versus X for various |
| 559 |
times\label{fig:my}} |
| 560 |
\end{figure*} |
| 561 |
\end{verbatim} |
| 562 |
For this to work, you must have loaded the \texttt{graphicx} package with |
| 563 |
\verb!\usepackage! at the beginning, and you must have a PostScript driver for |
| 564 |
the output. (There are other packages with different syntaxes for importing |
| 565 |
graphics; use the one that you are most familiar with.) |
| 566 |
|
| 567 |
The result of the first example is shown in Figure~\ref{fig:demo}. |
| 568 |
|
| 569 |
The \verb!\figbox! command reserves a framed box of the specified size and |
| 570 |
centers the contents both horizontally and vertically. It makes use of the |
| 571 |
standard \LaTeX{} \verb!\framebox! command, which can be customized with the |
| 572 |
parameters \verb!\fboxrule! and \verb!\fboxsep!. To suppress the rule |
| 573 |
altogether, use \verb!\figbox*! rather than setting \verb!\fboxrule! to zero, |
| 574 |
since this will turn off the box around the marginal notes. |
| 575 |
|
| 576 |
It is possible to have \verb!\figbox! and \verb!\figbox*! scale automatically |
| 577 |
to the size of its contents, something that is useful when the contents are a |
| 578 |
real figure. If the first argument (the width) is left empty, both dimensions |
| 579 |
are automatically set; otherwise one can specify the width and leave the |
| 580 |
second (height) empty for automatic sizing. Thus the possibilities are: |
| 581 |
\begin{quote} |
| 582 |
\verb!\figbox{}{}{...} ! scales both automatically\\ |
| 583 |
\verb!\figbox{\hsize}{}{...} ! sets width to column width, height automatically |
| 584 |
\end{quote} |
| 585 |
Plates are made up in exactly the same way as figures but with the |
| 586 |
\texttt{plate} and \texttt{plate*} environments. These are not part of standard |
| 587 |
\LaTeX, but have been added for AGU publications. In place of |
| 588 |
\verb!\figurewidth!, one must use |
| 589 |
\verb!\platewidth!; however, \verb!\figbox! and \verb!\figbox*! work for |
| 590 |
plates as well. |
| 591 |
|
| 592 |
\subsection{Tables} |
| 593 |
Tables function somewhat differently from figures and plates because their |
| 594 |
contents will always be printed. Thus there is no equivalent of \verb!\figbox! |
| 595 |
for tables. |
| 596 |
|
| 597 |
Tables are constructed with the \LaTeX{} \texttt{tabular} or |
| 598 |
\texttt{tabbing} environments, as described in the manuals. To make them |
| 599 |
into floats, they must be included in a \texttt{table} or \texttt{table*} |
| 600 |
environment. For \app, they are to be placed in the text where |
| 601 |
appropriate, and not at the end as in standard AGU\TeX. |
| 602 |
There is an AGU command \verb!\tablewidth! to set the width of the |
| 603 |
table caption. Allowed values are 20, 30, 41, 48--57~pc, except for |
| 604 |
\emph{Radio Science} which has 19, 20, 37, 43--51~pc. |
| 605 |
|
| 606 |
The AGU package contains some additions to standard \LaTeX{} to put footnotes |
| 607 |
and comments in a table. These are |
| 608 |
\begin{quote} |
| 609 |
\verb!\tablenotemark{!\emph{letter}\verb!}!\\ |
| 610 |
\verb!\tablenotetext{!\emph{letter}\verb!}{!\emph{text}\verb!}!\\ |
| 611 |
\verb!\tablecomments{!\emph{cmnt\_text}\verb!}! |
| 612 |
\end{quote} |
| 613 |
The footnotes are numbered with lowercase letters which the author must enter |
| 614 |
explicitly. The \emph{cmnt\_text} is explanatory material that is printed |
| 615 |
below the table. These will all work with \app{} as well. |
| 616 |
|
| 617 |
AGU\TeX{} also provides an additional table-making environment, called |
| 618 |
\texttt{planotable}, for tables that may be continued over several pages. |
| 619 |
This too works with \app. |
| 620 |
|
| 621 |
|
| 622 |
\begin{planotable}{lcc} |
| 623 |
\tablewidth{20pc} |
| 624 |
\tablecaption{Coordinates of stations |
| 625 |
\label{tab:coords}} |
| 626 |
\tablehead{\colhead{Station} & |
| 627 |
\colhead{$\theta$\tablenotemark{\it a}} & |
| 628 |
\colhead{$\phi$\tablenotemark{\it b}}} |
| 629 |
\tablenotetext{\it a}{Latitute, north $>0$} |
| 630 |
\tablenotetext{\it b}{Longitude, east $>0$} |
| 631 |
\tablecomments{Taken from Broodey [1976]} |
| 632 |
\startdata |
| 633 |
Brixstone & $45^\circ$ & $90^\circ$ \nl |
| 634 |
Wilstone &$-45^\circ$ &$-50^\circ$ \nl |
| 635 |
Tipstone & $56^\circ$ &$124^\circ$ |
| 636 |
\end{planotable} |
| 637 |
|
| 638 |
The \texttt{planotable} environment is encouraged by AGU, because it |
| 639 |
automatically formats the tables with the three horizontal rules that they |
| 640 |
want: after the title, after the column headings, and after the table data. |
| 641 |
A typical example would look like |
| 642 |
\begin{verbatim} |
| 643 |
\begin{planotable}{lcc} |
| 644 |
\tablewidth{20pc} |
| 645 |
\tablecaption{Coordinates of stations |
| 646 |
\label{tab:coords}} |
| 647 |
\tablehead{\colhead{Station} & |
| 648 |
\colhead{$\theta$\tablenotemark{\it a}} & |
| 649 |
\colhead{$\phi$\tablenotemark{\it b}}} |
| 650 |
\tablenotetext{\it a}{Latitute, north $>0$} |
| 651 |
\tablenotetext{\it b}{Longitude, east $>0$} |
| 652 |
\tablecomments{Taken from Broodey [1976]} |
| 653 |
\startdata |
| 654 |
Brixstone & $45^\circ$ & $90^\circ$ \nl |
| 655 |
Wilstone &$-45^\circ$ &$-50^\circ$ \nl |
| 656 |
Tipstone & $56^\circ$ &$124^\circ$ |
| 657 |
\end{planotable} |
| 658 |
\end{verbatim} |
| 659 |
The result is shown in Table~\ref{tab:coords}. |
| 660 |
|
| 661 |
Additional commands possible are |
| 662 |
\begin{description} |
| 663 |
\item[\ttfamily\bsl tablebreak] to force a page break in the middle of table; |
| 664 |
\item[\ttfamily\bsl nodata] for table elements that are empty; |
| 665 |
\item[\ttfamily\bsl cutinhead] to add new heading centered across whole table. |
| 666 |
\end{description} |
| 667 |
|
| 668 |
\noindent |
| 669 |
\textbf{Note}: users who are familiar with the \texttt{longtable} environment |
| 670 |
from the package of the same name may use it too in place of |
| 671 |
\texttt{planotable}. However, be aware that that environment does not work in |
| 672 |
two-column mode. This means you can use it for manuscripts and camera-ready |
| 673 |
copy, but not for two-column preprints. |
| 674 |
|
| 675 |
\section{Citations and List of References} |
| 676 |
The great disappointment in AGU\TeX{} is the lack of a decent author-year |
| 677 |
citation scheme and \btx{} style file. This is corrected with \app, which also |
| 678 |
provides the bibliography style file \texttt{agu.bst} along with the interfacing |
| 679 |
to use it correctly. |
| 680 |
|
| 681 |
Even if one does not make use of \btx{} to generate the list of references, |
| 682 |
one may type it in oneself as a \texttt{thebibliography} environment. The form of |
| 683 |
the entries must be observed, however. |
| 684 |
\begin{verbatim} |
| 685 |
\begin{thebibliography}{} %<-- Note {} |
| 686 |
\bibitem[Smith {\it et al.}(1992)]{smi92} |
| 687 |
Smith, J. G., P. G. Jones, and F. H. Weston, |
| 688 |
Some results, {\it J. Strange Results}, |
| 689 |
{\it 32}, 345--350, 1992 |
| 690 |
|
| 691 |
\bibitem . . . |
| 692 |
\end{thebibliography} |
| 693 |
\end{verbatim} |
| 694 |
Each \verb!\bibitem! entry contains in square brackets the text that should |
| 695 |
appear in the citation, \emph{but with the year in round parentheses}. |
| 696 |
Following that is the \emph{key} to refer to the citation, here \texttt{smi92}. |
| 697 |
This is also the key that is used to identify a reference in a \btx{} |
| 698 |
database. Of course, it is much easier to make up such a database and let |
| 699 |
\btx{} generate the \texttt{thebibliography} environment. This is done with |
| 700 |
commands |
| 701 |
\begin{quote} |
| 702 |
\verb!\bibliographystyle{agu}!\\ |
| 703 |
\verb!\bibliography{!\emph{database}\verb!}! |
| 704 |
\end{quote} |
| 705 |
where \emph{database} is the name of the bibliographic database file(s) that |
| 706 |
are to be searched by \btx. (The \btx{} program must also be run after at |
| 707 |
least one \LaTeX{} processing, and then \LaTeX{} must be run at least two |
| 708 |
times more.) |
| 709 |
|
| 710 |
In the main text, the commands \verb!\citet! and \verb!\citep! are |
| 711 |
used almost as in |
| 712 |
standard \LaTeX{} to print the citation, but with the following variations: |
| 713 |
\\[1ex] |
| 714 |
\begin{tabular}{l@{~$\Rightarrow$~}l} |
| 715 |
\verb!\citet{smi92}! & Smith {\it et al.} [1992] \\ |
| 716 |
\verb!\citep{smi92}! & [Smith {\it et al.}, 1992] \\ |
| 717 |
\verb!\citep[p.~3]{smi92}! & [Smith {\it et al.}, 1992, p.~3]\\ |
| 718 |
\verb!\citep[see][]{smi92}! & [see Smith {\it et al.}, 1992] |
| 719 |
\end{tabular}\\[1ex] |
| 720 |
Note that the use of optional arguments is somewhat different from that |
| 721 |
of normal \LaTeX{} where only a single argument in square brackets is |
| 722 |
allowed to place a note \emph{after} the citation. Here one optional |
| 723 |
argument behaves that way, but if there are two, then the first goes |
| 724 |
before, the second after the citation. This is because in author-year |
| 725 |
citations one often wants to say [see Smith {\it et al.}, 1992, and |
| 726 |
references therein]. |
| 727 |
|
| 728 |
Multiple citations may be made with one \verb!\citep! command:\\[1ex] |
| 729 |
\begin{tabular}{l@{~$\Rightarrow$~}l} |
| 730 |
\verb!\citep{smi92,jam89}! & [Smith {\it et al.}, 1992; \\ |
| 731 |
\multicolumn{1}{c}{} & \quad James, 1989]\\ |
| 732 |
\verb!\citep{smi89,smi92}! & [Smith {\it et al.}, 1989, 1992] |
| 733 |
\end{tabular} |
| 734 |
|
| 735 |
It is also possible to cite the authors and years of a reference |
| 736 |
separately, as\\[1ex] |
| 737 |
\begin{tabular}{l@{~$\Rightarrow$~}l} |
| 738 |
\verb!\citeauthor{smi92}! & Smith {\it et al.}\\ |
| 739 |
\verb!\citeyear{smi92}! & 1992 |
| 740 |
\end{tabular} |
| 741 |
|
| 742 |
\section{Other Features} |
| 743 |
These are the major features of \app, but there are a few more |
| 744 |
nice frills that are provided at no extra charge. |
| 745 |
|
| 746 |
\subsection{Improved Preprint Title} |
| 747 |
The AGU\TeX{} style \texttt{agupp} puts the title, authors, and abstract on |
| 748 |
a titlepage and starts the two-column mode with the first \verb!\section! |
| 749 |
command on the next page. Frankly, this looks cheap. By selecting the |
| 750 |
option \texttt{twocolumn} explicitly, the title and authors are put on the |
| 751 |
same page as the opening text, but the abstract goes into a narrow |
| 752 |
column. (This is actually standard \LaTeX, so one should not complain.) |
| 753 |
\app, on the other hand, puts the |
| 754 |
title, author, and abstract all across the two columns of the starting |
| 755 |
text. |
| 756 |
This is illustrated on the first page of this paper. |
| 757 |
Furthermore, the information in \verb!\lefthead! and \verb!\righthead! |
| 758 |
are added in the running heads; the option \texttt{twoside} may be used |
| 759 |
to effect here. This looks far more professional, more like a reprint |
| 760 |
than a preprint. |
| 761 |
|
| 762 |
\subsection{Notation List} |
| 763 |
|
| 764 |
If there is to be a list of notations used, AGU wishes it to appear after any |
| 765 |
appendices but before the acknowledgements and reference list. They recommend |
| 766 |
using the \texttt{tabular} environment, which has some inconveniences, such as |
| 767 |
it cannot continue on to another page and one has to adjust a width manually. |
| 768 |
|
| 769 |
|
| 770 |
\app\ provides the \texttt{notation} environment for this, which takes as its |
| 771 |
argument the longest symbol to be listed. For example |
| 772 |
\begin{quote}\begin{verbatim} |
| 773 |
\begin{notation}{$V_{\mbox{\small max}}$} |
| 774 |
\item[$V$] velocity in general |
| 775 |
\item[$V_{\mbox{\small p}}$] |
| 776 |
proton velocity |
| 777 |
\item[$V_{\mbox{\small max}}$] |
| 778 |
maximum velocity |
| 779 |
\end{notation} |
| 780 |
\end{verbatim} |
| 781 |
\end{quote} |
| 782 |
This produces an unnumbered section heading \textbf{Notation} with the listing: |
| 783 |
\begin{quote}\begin{minipage}{0.8\columnwidth} |
| 784 |
\begin{notation}{$V_{\mbox{\small max}}$} |
| 785 |
\item[$V$] velocity in general |
| 786 |
\item[$V_{\mbox{\small p}}$] |
| 787 |
proton velocity |
| 788 |
\item[$V_{\mbox{\small max}}$] |
| 789 |
maximum velocity |
| 790 |
\end{notation} |
| 791 |
\end{minipage}\end{quote} |
| 792 |
|
| 793 |
\subsection{Supplemental Abstract} |
| 794 |
JGR requires an additional abstract with the paper number for printing in the |
| 795 |
JGR-Space Physics Subsets. By including the declaration |
| 796 |
\begin{quote} |
| 797 |
\verb!\extraabstract! |
| 798 |
\end{quote} |
| 799 |
anywhere in the paper (preferrably in the preamble), this will be printed |
| 800 |
automatically as the very last page of the camera-ready copy. For other |
| 801 |
versions, it does nothing, so that it may be left in all the time. |
| 802 |
|
| 803 |
\noindent |
| 804 |
\textbf{Note:} AGU\TeX-4.0 provides this feature too, with the command |
| 805 |
\verb|\printabstract| just before \verb|\end{document}|. This only works for |
| 806 |
\texttt{jgrga.sty}. |
| 807 |
|
| 808 |
\subsection{Sublabelling} |
| 809 |
Sometimes it is required to label some equations, figures, or tables as 4a, |
| 810 |
4b, 4c, \dots, that is, to sublabel them. This can be done with the pair of |
| 811 |
commands |
| 812 |
\begin{quote} |
| 813 |
\verb!\sublabon{!\emph{counter}\verb!}!\\ |
| 814 |
\verb!\sublaboff{!\emph{counter}\verb!}! |
| 815 |
\end{quote} |
| 816 |
where \emph{counter} is one of \texttt{equation}, \texttt{figure}, |
| 817 |
\texttt{plate}, or \texttt{table}. For example, |
| 818 |
\begin{verbatim} |
| 819 |
\sublabon{figure} |
| 820 |
\begin{figure} |
| 821 |
\caption{Caption of fig. 4a} |
| 822 |
\end{figure} |
| 823 |
\begin{figure} |
| 824 |
\caption{Caption of fig. 4b} |
| 825 |
\end{figure} |
| 826 |
\sublaboff{figure} |
| 827 |
\begin{figure} |
| 828 |
\caption{Caption of fig. 5} |
| 829 |
\end{figure} |
| 830 |
\end{verbatim} |
| 831 |
The \verb!\sublabon! contains an implicit \verb!\sublaboff! so it is not |
| 832 |
necessary to turn the sublabelling first off then on again in order to step |
| 833 |
the main counter: a single \verb!\sublabon! will do the job. |
| 834 |
|
| 835 |
AGU\TeX{} provides a \texttt{mathletters} environment that is equivalent to |
| 836 |
\verb!\sublabon{equation}!. There is no reason not to use this with \app{} |
| 837 |
too. |
| 838 |
|
| 839 |
\subsection{Balancing Two Columns} |
| 840 |
An annoying thing about the \LaTeX{} two-column mode is that the two columns |
| 841 |
on the last page are of different lengths. The \app{} package contains the |
| 842 |
command \verb!\balance! that activates the equalizing of columns of text on |
| 843 |
one page. Since this sometimes causes problems with floats and footnotes, it |
| 844 |
is better to issue it only on the last page. More precisely, it should appear |
| 845 |
somewhere in the text of the (unbalanced) left-hand column of the last page. |
| 846 |
Obviously, it only makes sense for preprints; in other modes, it has no |
| 847 |
effect, and may safely be left in the text. |
| 848 |
|
| 849 |
The counter command \verb!\nobalance! undoes the equalizing if this should be |
| 850 |
necessary. |
| 851 |
|
| 852 |
\subsection{Alternative Text for One and Two Columns} |
| 853 |
Often one needs to format text differently for the narrow columns of the |
| 854 |
preprint and camera-ready copy than for the wider columns of the manuscript. |
| 855 |
This is especially so for mathematical formulas. Since it is frustrating to |
| 856 |
have to alter the text every time one changes between manuscript and other |
| 857 |
output, \app{} provides the command |
| 858 |
\begin{quote} |
| 859 |
\verb!\iftwocol{!\emph{two\_col\_text}\verb!}{!\emph{one\_col\_text}\verb!}! |
| 860 |
\end{quote} |
| 861 |
to be able to keep the alternative versions always present. The {\em |
| 862 |
two\_col\_text\/} will be printed for preprints or camera-ready copy (which |
| 863 |
ultimately appears as double columns) and \emph{one\_col\_text} for |
| 864 |
manuscripts. |
| 865 |
|
| 866 |
\section{Conclusions} |
| 867 |
The extension package \app{} adds features to AGU\TeX{} that have been gained |
| 868 |
over many years of practical experience of providing camera-ready copy to JGR |
| 869 |
and GRL. It has not been thought up out of the blue, but derives from feedback |
| 870 |
between the author, his colleagues, other users, and their interactions with |
| 871 |
the AGU copy editors, who often have been quite frustrating in their demands. |
| 872 |
The extension package is a distillation from the full-fledged \LaTeX{} styles |
| 873 |
\texttt{art-jgr} and \texttt{art-grl}. However, since \app{} is an extension to |
| 874 |
AGU\TeX, it simply assumes the layout specifications given to it, and so |
| 875 |
should be able to survive any future format alterations. |
| 876 |
|
| 877 |
It is the offspring of a battle-tested warrior and as such should be able to |
| 878 |
provide much more sturdy service. Its major advantages over standard AGU\TeX{} |
| 879 |
are |
| 880 |
\begin{enumerate} |
| 881 |
\item explicit numbering of many items can be avoided, |
| 882 |
|
| 883 |
\item figures, plates, and tables may be put into the text so that decent |
| 884 |
preprints are made with a minimum of changes (simply by changing an option |
| 885 |
in \verb!\documentstyle! or \verb!\documentclass!), |
| 886 |
|
| 887 |
\item and yet figure captions and tables appear at the end as required for |
| 888 |
manuscripts and camera-ready copy, |
| 889 |
|
| 890 |
\item author-year citations may be done comfortably with \btx, |
| 891 |
|
| 892 |
\item appendices do not require explicit lettering, nor do they imply that |
| 893 |
tables must be explicitly numbered afterwards, |
| 894 |
|
| 895 |
\item sublabelling of counters other than \texttt{equation} is possible, |
| 896 |
|
| 897 |
\item alternative text may be inserted for narrow and wide columns so that, |
| 898 |
for example, math formulas always fit properly, |
| 899 |
|
| 900 |
\item the appearance of the first preprint page is improved, with title, |
| 901 |
authors, and abstract across the two columns of text, |
| 902 |
|
| 903 |
\item the two columns on the last page of a preprint may be nicely balanced. |
| 904 |
\end{enumerate} |
| 905 |
|
| 906 |
The main emphasis of \app{} is that explicit numbering should be avoided at |
| 907 |
all costs, and that the text should be able to output manuscripts, |
| 908 |
camera-ready copy, and preprints, with only a simple change to the |
| 909 |
\verb!\documentstyle/class! command. |
| 910 |
|
| 911 |
\appendix |
| 912 |
\section{Encapsulated PostScript} |
| 913 |
As mentioned here, it is possible to include encapsulated PostScript files in |
| 914 |
a figure or plate, but within a \verb!\figbox*! frame. What makes a PostScript |
| 915 |
file `encapsulated' is the addition of certain standardized comments, the most |
| 916 |
important of which, for our purposes, is the \emph{bounding box |
| 917 |
specifications}. This tells \LaTeX{} (more properly the \texttt{dvips} driver) |
| 918 |
how to scale and shift the diagram to make it fit into the reserved space. |
| 919 |
|
| 920 |
However, many application programs cheat on the bounding box. It is not |
| 921 |
trivial to calculate (I know, for I have written a program to do it), so many |
| 922 |
programs just give the size of the full page. In this case, the figure will |
| 923 |
not fit so well into \verb!\figbox*!, which places the center of the specified |
| 924 |
bounding box in the center of the \verb!\figbox*!. If your figures come out |
| 925 |
displaced, or too small, then this may be the problem. A bounding box |
| 926 |
adjustment is necessary. |
| 927 |
|
| 928 |
For encapsulated PostScript diagrams, or for any other real figures, it is |
| 929 |
better to use \verb!\figbox*! rather than \verb!\figbox! in order to suppress |
| 930 |
the frame drawn around the figure. |
| 931 |
|
| 932 |
\balance |
| 933 |
\section{A Template for an \app{} Article} |
| 934 |
I present here the outline of a source file with the essential |
| 935 |
AGU\TeX{} and \app{} shown. |
| 936 |
\begin{small} |
| 937 |
\begin{verbatim} |
| 938 |
\documentclass[twoside,agupp]{aguplus} |
| 939 |
%\documentclass[agums]{aguplus} |
| 940 |
%\documentclass[jgrga]{aguplus} |
| 941 |
% STANDARD PACKAGE FOR GRAPHICS |
| 942 |
\usepackage{graphicx} |
| 943 |
% ALTERNATIVELY: (LaTeX 2.09) |
| 944 |
%\documentstyle[twoside,agupp,aguplus]{article} |
| 945 |
%\documentstyle[agums,aguplus]{article} |
| 946 |
%\documentstyle[jgrga,aguplus]{article} |
| 947 |
% AGU++ OPTIONS |
| 948 |
%\printfigures % ADDS FIGURES AT END |
| 949 |
%\doublecaption{35pc} % CAPTIONS PRINTED TWICE |
| 950 |
%\sectionnumbers % TURNS ON SECTION NUMBERS |
| 951 |
%\extraabstract % ADDS SUPPLEMENTAL ABSTRACT |
| 952 |
%\afour % EUROPEAN A4 PAPER SIZE |
| 953 |
%\figmarkoff % SUPPRESS MARGINAL MARKINGS |
| 954 |
|
| 955 |
% AGUTeX OPTIONS AND ENTRIES |
| 956 |
%\tighten % TURNS OFF DOUBLE SPACING |
| 957 |
%\singlespace % RESTORES SINGLE SPACING |
| 958 |
%\doublespace % RESTORES DOUBLE SPACING |
| 959 |
\lefthead{authors} |
| 960 |
\righthead{short title} |
| 961 |
\received{date1} |
| 962 |
\revised{date2} |
| 963 |
\accepted{date3} |
| 964 |
\journalid{JGRA}{Journal date} |
| 965 |
\articleid{page1}{page2} |
| 966 |
\paperid{94JZ12345} |
| 967 |
\ccc{0000-0000/00/94JZ-12345\$05.00} |
| 968 |
% \cpright{PD}{1994} |
| 969 |
% \cpright{Crown}{1994} |
| 970 |
% (No \ccc{} for Crown copyrights.) |
| 971 |
\cpright{AGU}{1994} |
| 972 |
|
| 973 |
\authoraddr{author1, full address} |
| 974 |
\authoraddr{author2, full address} |
| 975 |
|
| 976 |
\slugcomment{To appear ...} |
| 977 |
|
| 978 |
% END OF PREAMBLE |
| 979 |
\begin{document} |
| 980 |
\title{Full Title} |
| 981 |
% |
| 982 |
% TWO METHODS FOR GIVING THE AUTHORS |
| 983 |
% |
| 984 |
\author{author set 1} |
| 985 |
\affil{Institute 1} |
| 986 |
|
| 987 |
\author{author set 2\altaffilmark{1}} |
| 988 |
\affil{Institute 2} |
| 989 |
|
| 990 |
\altaffiltext{1}{Other institute} |
| 991 |
|
| 992 |
% ALTERNATIVELY: |
| 993 |
%\author{author1\altaffilmark{1} and |
| 994 |
% author2\altaffilmark{2,3}} |
| 995 |
%\altaffiltext{1}{Institute 1} |
| 996 |
%\altaffiltext{2}{Institute 2} |
| 997 |
%\altaffiltext{3}{Other institute} |
| 998 |
|
| 999 |
% |
| 1000 |
% THE ABSTRACT |
| 1001 |
% |
| 1002 |
\begin{abstract} |
| 1003 |
Text of abstract. |
| 1004 |
\end{abstract} |
| 1005 |
|
| 1006 |
% |
| 1007 |
% THE MAIN BODY OF TEXT |
| 1008 |
% |
| 1009 |
\begin{article} |
| 1010 |
\section{Introduction}\label{sec:lab} |
| 1011 |
|
| 1012 |
\subsection{..} |
| 1013 |
|
| 1014 |
\subsubsection{..} |
| 1015 |
|
| 1016 |
% |
| 1017 |
% FLOAT EXAMPLES |
| 1018 |
% |
| 1019 |
\begin{figure} |
| 1020 |
\figbox{\hsize}{10cm}{Paste Fig Here} |
| 1021 |
\caption{Caption text.\label{fig:lab}} |
| 1022 |
\end{figure} |
| 1023 |
|
| 1024 |
\begin{figure} |
| 1025 |
\figbox*{}{}{\includegraphics[height=10cm]{fig.eps}} |
| 1026 |
\caption{Caption text.\label{fig:eps}} |
| 1027 |
\end{figure} |
| 1028 |
|
| 1029 |
\begin{plate*} |
| 1030 |
\platewidth{35pc} |
| 1031 |
\figbox{35pc}{12cm}{Paste Plate Here} |
| 1032 |
\caption{Caption text.\label{pla:lab}} |
| 1033 |
\end{plate*} |
| 1034 |
|
| 1035 |
\begin{table} |
| 1036 |
\caption{Caption of table.\label{tab:lab}} |
| 1037 |
\begin{tabular}{...} |
| 1038 |
..... |
| 1039 |
\end{tabular} |
| 1040 |
\end{table} |
| 1041 |
|
| 1042 |
% |
| 1043 |
% CITATION EXAMPLES |
| 1044 |
% |
| 1045 |
As shown by \citet{smi92}, one may ... |
| 1046 |
|
| 1047 |
It has been shown \citep{smi92} that one may ... |
| 1048 |
|
| 1049 |
% |
| 1050 |
% APPENDIX |
| 1051 |
% |
| 1052 |
\appendix |
| 1053 |
\section{Some More Stuff} |
| 1054 |
|
| 1055 |
% |
| 1056 |
% ACKNOWLEDGMENTS |
| 1057 |
% |
| 1058 |
\acknowledgments |
| 1059 |
We wish to thank... |
| 1060 |
|
| 1061 |
% |
| 1062 |
% BALANCING PREPRINT COLUMNS |
| 1063 |
% |
| 1064 |
\balance |
| 1065 |
|
| 1066 |
% |
| 1067 |
% LIST OF REFERENCES (BIBTEX) |
| 1068 |
% |
| 1069 |
\bibliographystyle{agu} |
| 1070 |
\bibliography{...} |
| 1071 |
% |
| 1072 |
% WITHOUT BIBTEX |
| 1073 |
% |
| 1074 |
%\begin{thebibliography}{} |
| 1075 |
% \bibitem[author {\it et al.}(year)]{key} |
| 1076 |
% reference text |
| 1077 |
% |
| 1078 |
% \bibitem[author1 and author2(year)]{key} |
| 1079 |
% reference text |
| 1080 |
% |
| 1081 |
%\end{thebibliography} |
| 1082 |
|
| 1083 |
\end{article} |
| 1084 |
\end{document} |
| 1085 |
\end{verbatim} |
| 1086 |
|
| 1087 |
\end{small} |
| 1088 |
|
| 1089 |
\begin{thebibliography}{} |
| 1090 |
|
| 1091 |
\bibitem[{{\it Kopka and Daly\/}(1999)}]{ltx:guide3} |
| 1092 |
Kopka, H., and P.~W. Daly, {\it A Guide to \LaTeX---Document Preparation for |
| 1093 |
Beginners and Advanced Users\/}, 3rd ed., Addison Wesley Longman, Reading, |
| 1094 |
MA, 1999. |
| 1095 |
|
| 1096 |
\bibitem[{{\it Lamport\/}(1994)}]{ltx:lamport2} |
| 1097 |
Lamport, L., {\it \LaTeX---A Document Preparation System\/}, 2nd ed., |
| 1098 |
Addison-Wesley, Reading, MA, 1994. |
| 1099 |
|
| 1100 |
\end{thebibliography} |
| 1101 |
\end{document} |
| 1102 |
\endinput |
| 1103 |
%% |
| 1104 |
%% End of file `aguplus.tex'. |