Debian Codegraph @

texmf-dist/doc/latex/revtex4-1/auguide/auguide4-1.tex

raw
1 %% ****** Start of file authguide.tex ****** %
2 %%
3 %% This file is part of the APS files in the REVTeX 4 distribution.
4 %% Version 4.1r of REVTeX, August 2010
5 %%
6 %% Copyright (c) 2009, 2010 The American Physical Society.
7 %%
8 %% See the REVTeX 4.1 README file for restrictions and more information.
9 %%
10 \listfiles
11 \documentclass[%
12 ,aps%
13 ,twocolumn%
14 ,secnumarabic%
15 ,amssymb, amsmath,nobibnotes, aps, prl, floatfix]{revtex4-1}
16 \usepackage{docs}%
17 \usepackage{bm}%
18 %\usepackage[colorlinks=true,linkcolor=blue]{hyperref}%
19 %\nofiles
20 \expandafter\ifx\csname package@font\endcsname\relax\else
21 \expandafter\expandafter
22 \expandafter\usepackage
23 \expandafter\expandafter
24 \expandafter{\csname package@font\endcsname}%
25 \fi
26
27 \begin{document}
28
29 \title{\revtex~4.1 Author's Guide}%
30 \author{American Physical Society}%
31 \email{[email protected]}
32 \affiliation{1 Research Road, Ridge, NY 11961}
33 \date{August 2010}%
34 \maketitle
35 \tableofcontents
36 \clearpage
37 \section{Introduction}
38
39 This is the author's guide to \revtex~4.1, the preferred submission
40 format for all APS and AIP journals. This guide is intended to be a concise
41 introduction to \revtex~4.1. The documentation has been separated out
42 into smaller units to make it easier to locate essential
43 information.
44
45 The following documentation is also part of the \revtex~4.1
46 distribution. Updated versions of these will be maintained at
47 the \revtex~4.1 homepage located at \url{http://authors.aps.org/revtex4/}.
48 \begin{itemize}
49 \item \textit{APS Author Guide for \revtex~4.1}
50 \item \textit{Author's Guide to AIP Substyles for \revtex~4.1}
51 \item \textit{\revtex~4.1 Command and Options Summary}
52 \item \textit{What's New in \revtex~4.1}
53 \end{itemize}
54 This guide assumes a working \revtex~4.1
55 installation. Please see the installation instructions included with the
56 distribution.
57 \subsection{Changes in \revtex~4.1}
58 The \revtex\ system for \LaTeX\ began its development in 1986 and has
59 gone through three major revisions since then. \revtex~4 was released in August, 2001. Since that time,
60 many user requests for new features were received. The main goals for \revtex~4.1 are to incorporate
61 this user feedback and provide support for the journals of the American Institute of Physics (AIP) . It incorporates the following changes:
62
63 \begin{itemize}
64 \item \textbf{Added support for APS journal \textit{Physical Review Special Topics -- Physics Education Research}}.
65 \item \textbf{Added support for AIP journals.} There is now an explicit \texttt{aip} society option along with support for AIP journals. Please see the \textit{Author's Guide to AIP Substyles for \revtex~4.1}. In addition, \revtex~4.1 provides an extensible system for the easy addition of new collections of journals.
66 \item \textbf{Endnotes now ordered correctly.} Endnotes in the bibliography now appear in the correct order, interleaved with citations.
67 \item \textbf{Multiple references in a single citation supported using a special starred (*) argument to the \cmd\cite\ command.} One of the major new features in 4.1 made possible by the joint work on \texttt{natbib 8.3}. Multiple Bib\TeX\ entries can be combined into a single \cmd\bibitem\ command.
68 \item \textbf{Free form text can be prepended and appended to a bibliographic entry using the special starred (*) argument to the \cmd\cite\ command.} Often a citation in the bibliography will have explanatory text such as \textit{See also} or \textit{and references therein} before and after the actual citation. The new \revtex~4.1 \cmd\cite\ command allows the specification of both text to precede and follow a citation.
69 \item \textbf{Structured Abstracts.} Use of the \texttt{description} environment in abstracts now provides for ``structured" abstracts.
70 \item \textbf{Figures referring to videos now supported.} A ``figure" may now be labeled as a \textbf{Video} by using the \texttt{video} environment. A frame from the video may be included in the figure and a URL to link the caption's label to the online video also may be included. There is also a \cmd\listofvideos\ command.
71 \item \textbf{Better support for arXiv.org in Bib\TeX\ } Three more Bib\TeX\ fields have been added: \texttt{SLACcitation}, \texttt{archivePrefix}, and \texttt{primaryClass} in addition to the existing field \texttt{eprint}.
72 \item \textbf{Improved Bib\TeX\ \texttt{bst} files.} In addition to the new features above, numerous other improvements to the APS \texttt{bst} files have been made, including support for displaying journal article titles (using the new \texttt{longbibliography} option) and many fixes for \textit{Reviews of Modern Physics}. Also, long author lists are no longer automatically truncated.
73 \item \textbf{\cmd\footnote\ in \cmd\widetext\ and \texttt{table*} environments improved.} \cmd\footnote\relax s in the \cmd\widetext\ or \texttt{table*} environments are now correctly placed and formatted.
74 \item \textbf{Email addresses no longer print twice on papers less than one page long.}
75 \item \textbf{\texttt{eqnarray} alignment improved.}
76 \item \textbf{\cmd\collaboration\ can be used with the \texttt{groupedaddress} option now.}
77 \item \textbf{\texttt{letterpaper} now ensured as default paper size.}
78 \item \textbf{Table of Contents formatting improved.}
79 \item \textbf{Support for the \texttt{longtable} package improved.}
80 \item \textbf{\texttt{reftest} restored.}
81 \item \textbf{Compatibility with the \texttt{geometry, lineno, lscape} and \texttt{colortbl} packages improved.} For line numbering, rather than using \texttt{lineno.sty} directly, the \texttt{linenumbers} class option should be used (this will call in \texttt{lineno.sty} with a proper set of default parameters).
82 \item \texttt{hyperref} \textbf{fixes}. Improvements were to make footnotes work better with the \texttt{hyperref} package. In particular, table footnotes were fixed. More anchors for \texttt{hyperref} were also added (titlepage, abstract, and acknowledgements).
83 \item \textbf{Documents can have more than 256 \cmd\cite\ commands now.}
84 \item \textbf{\cmd\listoffigures\ and \cmd\listoftables\ fixed.}
85 \item \textbf{Figure and table labels in captions now reflect proper APS style.}
86 \item \textbf{RMP style files conform better to RMP style guidelines.}
87 \item \textbf{Section heading upper-casing improved.}
88 \item \textbf{Repeated characters at start of affiliation no longer disappear when using \texttt{groupedaddress} option.}
89 \item \textbf{There have been many other bug fixes and improvements to the internal \texttt{ltxgrid} package as well.}
90 \end{itemize}
91
92 \subsection{\revtex~4 Backwards Compatibility}
93 Documents prepared under \revtex~4 should process correctly under \revtex~4.1. However, the formatting of the pages and, if using Bib\TeX, the references may change.
94
95
96
97 \subsection{Submitting to APS Journals}
98
99 Authors using \revtex~4.1 to prepare a manuscript for submission to
100 \textit{Physical Review Letters}, \textit{Physical Review}, \textit{Reviews of Modern Physics},
101 or other APS journals must also read the companion document \textit{APS Author Guide for \revtex~4.1}
102 distributed with \revtex\ and follow the guidelines detailed there.
103
104 The \revtex~4.1 distribution includes both a template
105 (\file{apstemplate.tex}) and a sample document (\file{apssamp.tex}).
106 The template is a good starting point for a manuscript. In the
107 following sections are instructions that should be sufficient for
108 creating a paper using \revtex~4.1.
109
110 Further information about submissions to the American
111 Physical Society may be found at \url{http://publish.aps.org/}.
112
113 \subsection{Submitting to AIP Journals}
114
115 \revtex~4.1 includes support for the journals of the American Institute of Physics.
116 The style files and authoring guides for these journals are distributed as part
117 \revtex~4.1 distribution. The distribution includes both a template
118 (\file{aiptemplate.tex}) and a sample document (\file{aipsamp.tex}).
119 The template is a good starting point for a manuscript. In the
120 following sections are instructions that should be sufficient for
121 creating a paper using \revtex~4.1.
122
123
124
125 More information may be found at
126 \url{http://www.aip.org/pubservs/compuscript.html}. Please consult the \textit{Author's Guide to AIP Substyles for \revtex~4.1} for more information about submissions to AIP journals, AIP styles files, and other AIP-specific information.
127
128 \subsection{Contact Information}\label{sec:aipresources}%
129 Any bugs, problems, or inconsistencies with \revtex\ or the APS journal style files should be reported to
130 \revtex\ support at \[email protected]+. Reports should include information on the error and a \textit{small}
131 sample document that manifests the problem if possible (please don't send large files!). Issues related to the AIP journal styles should be sent directly to \[email protected]+.
132
133 \section{Some \LaTeXe\ Basics}
134 \revtex~4.1 must sometimes patch the underlying
135 \LaTeX\ kernel. This means that \revtex~4.1 requires a fairly recent version of
136 \LaTeXe. Versions prior to 2005/12/01 may not work
137 correctly. \revtex~4.1 will be maintained to be compatible with future
138 versions of \LaTeXe.
139
140 \subsection{Useful \LaTeXe\ Markup}
141 \LaTeXe\ markup is the preferred way to accomplish many basic tasks.
142
143 \subsubsection{Fonts}
144
145 Because \revtex~4.1 is based upon \LaTeXe, it inherits all of the
146 macros used for controlling fonts. Of particular importance are the
147 \LaTeXe\ macros \cmd{\textit}, \cmd{\textbf}, \cmd{\texttt} for changing to
148 an italic, bold, or typewriter font respectively. One should always
149 use these macros rather than the lower-level \TeX\ macros \cmd{\it},
150 \cmd{\bf}, and \cmd{\tt}. The \LaTeXe\ macros offer
151 improvements such as better italic correction and scaling in super-
152 and subscripts for example. Table~\ref{tab:fonts}
153 summarizes the font selection commands in \LaTeXe.
154
155 \begin{table}
156 \caption{\label{tab:fonts}\LaTeXe\ font commands}
157 \begin{ruledtabular}
158 \begin{tabular}{ll}
159 \multicolumn{2}{c}{\textbf{Text Fonts}}\\
160 \textbf{Font command} & \textbf{Explanation} \\
161 \cmd\textit\marg{text} & Italics\\
162 \cmd\textbf\marg{text} & Boldface\\
163 \cmd\texttt\marg{text} & Typewriter\\
164 \cmd\textrm\marg{text} & Roman\\
165 \cmd\textsl\marg{text} & Slanted\\
166 \cmd\textsf\marg{text} & Sans Serif\\
167 \cmd\textsc\marg{text} & Small Caps\\
168 \cmd\textmd\marg{text} & Medium Series\\
169 \cmd\textnormal\marg{text} & Normal Series\\
170 \cmd\textup\marg{text} & Upright Series\\
171 &\\
172 \multicolumn{2}{c}{\textbf{Math Fonts}}\\
173 \cmd\mathit\marg{text} & Math Italics\\
174 \cmd\mathbf\marg{text} & Math Boldface\\
175 \cmd\mathtt\marg{text} & Math Typewriter\\
176 \cmd\mathsf\marg{text} & Math Sans Serif\\
177 \cmd\mathcal\marg{text} & Calligraphic\\
178 \cmd\mathnormal\marg{text} & Math Normal\\
179 \cmd\bm\marg{text}& Bold math for Greek letters\\
180 & and other symbols\\
181 \cmd\mathfrak\marg{text}\footnotemark[1] & Fraktur\\
182 \cmd\mathbb\marg{text}\footnotemark[1] & Blackboard Bold\\
183 \end{tabular}
184 \end{ruledtabular}
185 \footnotetext[1]{Requires \classname{amsfonts} or \classname{amssymb} class option}
186 \end{table}
187
188 \subsubsection{User-defined macros}
189 \LaTeXe\ provides several macros that enable users to easily create new
190 macros for use in their manuscripts:
191 \begin{itemize}
192 \footnotesize
193 \item \cmd\newcommand\marg{\\command}\oarg{narg}\oarg{opt}\marg{def}
194 \item \cmd\newcommand\verb+*+\marg{\\command}\oarg{narg}\oarg{opt}\marg{def}
195 \item \cmd\renewcommand\marg{\\command}\oarg{narg}\oarg{opt}\marg{def}
196 \item \cmd\renewcommand\verb+*+\marg{\\command}\oarg{narg}\oarg{opt}\marg{def}
197 \item \cmd\providecommand\marg{\\command}\oarg{narg}\oarg{opt}\marg{def}
198 \item \cmd\providecommand\verb+*+\marg{\\command}\oarg{narg}\oarg{opt}\marg{def}
199 \end{itemize}
200 Here \meta{\\command} is the name of the macro being defined,
201 \meta{narg} is the number of arguments the macro takes,
202 \meta{opt} are optional default values for the arguments, and
203 \meta{def} is the actually macro definiton. \cmd\newcommand\ creates a
204 new macro, \cmd\renewcommand\ redefines a previously defined macro,
205 and \cmd\providecommand\ will define a macro only if it hasn't
206 been defined previously. The *-ed versions are an optimization that
207 indicates that the macro arguments will always be ``short'' arguments. This is
208 almost always the case, so the *-ed versions should be used whenver
209 possible.
210
211 The use of these macros is preferred over using plain \TeX's low-level
212 macros such as
213 \cmd\def{},\cmd\edef{}, and \cmd\gdef{}. APS authors must follow the
214 \textit{APS Author Guide for \revtex~4.1} when defining macros.
215
216 \subsubsection{Symbols}
217
218 \LaTeXe\ has added some convenient commands for some special symbols
219 and effects. These are summarized in Table~\ref{tab:special}. See
220 \cite{Guide} for details.
221
222 \begin{table}
223 \caption{\label{tab:special}\LaTeXe\ commands for special symbols and effects}
224 \begin{ruledtabular}
225 \begin{tabular}{lc}
226 Command & Symbol/Effect\\
227 \cmd\textemdash & \textemdash\\
228 \cmd\textendash & \textendash\\
229 \cmd\textexclamdown & \textexclamdown\\
230 \cmd\textquestiondown & \textquestiondown\\
231 \cmd\textquotedblleft & \textquotedblleft\\
232 \cmd\textquotedblright & \textquotedblright\\
233 \cmd\textquoteleft & \textquoteleft\\
234 \cmd\textquoteright & \textquoteright\\
235 \cmd\textbullet & \textbullet\\
236 \cmd\textperiodcentered & \textperiodcentered\\
237 \cmd\textvisiblespace & \textvisiblespace\\
238 \cmd\textcompworkmark & Break a ligature\\
239 \cmd\textcircled\marg{char} & Circle a character\\
240 \end{tabular}
241 \end{ruledtabular}
242 \end{table}
243
244 \LaTeXe\ provides additional symbols in a
245 separate package called \classname{latexsym}. To use these symbols, include
246 the package using:
247 \begin{verbatim}
248 \usepackage{latexsym}
249 \end{verbatim}
250
251 \subsection{Using \LaTeXe\ packages with \revtex}\label{sec:usepackage}%
252
253 Many \LaTeXe\ packages are available, for instance, on CTAN at
254 \url{http://www.ctan.org/tex-archive/macros/latex/required/}
255 and at
256 \url{http://www.ctan.org/tex-archive/macros/latex/contrib/}
257 or may be available on other distribution media, such as the \TeX\
258 Live CD-ROM \url{http://www.tug.org/texlive/}. Some of these packages
259 are automatically loaded by \revtex~4.1 when certain class options are
260 invoked and are, thus, ``required.'' They will either be distributed
261 with \revtex\ or are already included with a standard \LaTeXe\
262 distribution.
263
264 Required packages are automatically loaded by \revtex\ on an as-needed
265 basis. Other packages should be loaded using the
266 \cmd\usepackage\ command. To load the
267 \classname{hyperref} package, the document preamble might look like:
268 \begin{verbatim}
269 \documentclass{revtex}
270 \usepackage{hyperref}
271 \end{verbatim}
272
273 Some common (and very useful) \LaTeXe\ packages are \textit{a priori}
274 important enough that \revtex~4.1 has been designed to be specifically
275 compatible with them.
276 A bug stemming from the use of one of these packages in
277 conjunction with any of the APS journals may be reported by contacting
278 \revtex\ support.
279 \begin{description}
280 \item[\textbf{AMS packages}] \revtex~4.1 is compatible with and depends
281 upon the AMS packages
282 \classname{amsfonts},
283 \classname{amssymb}, and
284 \classname{amsmath}. In fact, \revtex~4.1 requires use of these packages
285 to accomplish some common tasks. See Section~\ref{sec:math} for more.
286 \revtex~4.1 requires version 2.0 or higher of the AMS-\LaTeX\ package.
287
288 \item[\textbf{array and dcolumn}]
289 The \classname{array} and \classname{dcolumn} packages are part of
290 \LaTeX's required suite of packages. \classname{dcolumn} is required
291 to align table columns on decimal points (and it in turn depends upon
292 the \classname{array} package).
293
294 \item[\textbf{longtable}]
295 \file{longtable.sty} may be used for large tables that will span more than one
296 page. \revtex~4.1 dynamically applies patches to longtable.sty so that
297 it will work in two-column mode.
298
299 \item[\textbf{hyperref}] \file{hyperref.sty} is a package by Sebastian Rahtz that is
300 used for putting hypertext links into \LaTeXe\ documents.
301 \revtex~4.1 has hooks to allow e-mail addresses and URL's to become
302 hyperlinks if \classname{hyperref} is loaded.
303
304 \item[\textbf{lineno}] \revtex~4.1 improves compatibility with \classname{lineno.sty}. This package should only be loaded via the new \classoption{linenumbers} class option. See Section~\ref{sec:lineno} for more information.
305
306 \item[\textbf{lscape}] \revtex~4.1 improves compatibility with \classname{lscape.sty}.
307
308 \item[\textbf{geometry}] \revtex~4.1 improves compatibility with \classname{geometry.sty}.
309
310 \item[\textbf{colortbl}] \revtex~4.1 improves compatibility with \classname{colortbl.sty}.
311
312 \end{description}
313
314 Other packages will conflict with \revtex~4.1 and should be
315 avoided. Usually such a conflict arises because the package adds
316 enhancements that \revtex~4.1 already includes. Here are some common
317 packages that clash with \revtex~4.1:
318 \begin{description}
319 \item[\textbf{multicol}] \file{multicol.sty} is a package by Frank Mittelbach
320 that adds support for multiple columns. In fact, early versions of
321 \revtex~4.1 used \file{multicol.sty} for precisely this. \revtex~4.1
322 incorporates its own support for multiple-column typesetting.
323
324 \item[\textbf{cite}] Donald Arseneau's \file{cite.sty} is often used to provide
325 support for sorting a \cmd\cite\ command's arguments into numerical
326 order and to collapse consecutive runs of reference numbers. \revtex~4.1
327 has this functionality built-in already via the \classname{natbib} package.
328
329 \item[\textbf{mcite}] \revtex~4.1 already contains a lot of this
330 functionality through its updated syntax for the \cmd\cite\ command and
331 the latest \classname{natbib} package.
332
333 \item[\textbf{endfloat}] The same functionality can be accomplished
334 using the \classoption{endfloats} class option.
335
336 \item[\textbf{float}] \texttt{float.sty} provides a mechanism for creating new float classes with just a few commands. \revtex~4.1 has limited compatible with float.sty. If attempting to use this package, be sure to put any \cmd\newfloat\ commands after the \verb+\begin{document}+ line.
337
338 \end{description}
339
340 \section{The Document Preamble}
341
342 The preamble of a \LaTeX\ document is the set of commands that precede
343 the \envb{document} line. It contains a
344 \cmd\documentclass\ line to load the \revtex~4.1 class (\textit{i.e.},
345 all of the \revtex~4.1 macro definitions), \cmd\usepackage\ macros to
346 load other macro packages, and other macro definitions.
347
348 \subsection{The \emph{documentclass} line}
349 The basic formatting of the manuscript is controlled by setting
350 \emph{class options} using
351 \cmd\documentclass\oarg{options}\aarg{\classname{revtex4-1}}.
352 The optional arguments that appear in the square brackets control the layout of the
353 document. At this point, one only needs to choose:
354 \begin{itemize}
355 \item Either the \classoption{aps} (default) or \classoption{aip} society option
356 \item One of the chosen society's journal styles such as \classoption{prl} or \classoption{apl}
357 \item A layout option such as \classoption{preprint} (single-column formatting), \classoption{reprint} (an approximation
358 to the selected journal's actual layout which may be one- or two-column depending on the journal), or \classoption{twocolumn}
359 \end{itemize}
360 Usually, one would want to use \classoption{preprint} for draft papers. Paper size options are also
361 available as well. In particular, \classoption{a4paper} is available
362 as well as the rest of the standard \LaTeX\ paper sizes. A
363 full list of class options is given in the \textit{\revtex~4.1 Command
364 and Options Summary}.
365
366 \subsection{Loading other packages}
367 Other packages may be loaded into a \revtex~4.1 document by using the
368 standard \LaTeXe\ \cmd\usepackage\ command. For instance, to load
369 the \classoption{graphics} package, one would use
370 \verb+\usepackage{graphics}+.
371
372 \section{The Front Matter}\label{sec:front}
373
374 After choosing the basic look and feel of the document by selecting
375 the appropriate class options and loading in whatever other macros are
376 needed, one is ready to move on to creating a new manuscript. After
377 the preamble, be sure to put in a \envb{document} line (and put
378 in an \enve{document} as well). This section describes the macros
379 \revtex~4.1 provides for formatting the front matter of the
380 article. The behavior and usage of these macros can be quite
381 different from those provided in the \LaTeXe\ \classname{article} class.
382 \subsection{Setting the title}
383
384 The title of the manuscript is simply specified by using the
385 \cmd\title\aarg{title} macro. A \verb+\\+ may be used to put a line
386 break in a long title.
387
388 \subsection{Specifying a date}%
389
390 The \cmd\date\marg{date} command outputs the date on the
391 manuscript. Using \cmd\today\ will cause \LaTeX{} to insert the
392 current date whenever the file is run:
393 \begin{verbatim}
394 \date{\today}
395 \end{verbatim}
396
397 \subsection{Specifying authors and affiliations}
398
399 The \revtex~4.1 macros for specifying authors and their affiliations are designed
400 to save labor for authors and during production. Authors and affiliations are
401 arranged into groupings called, appropriately enough, \emph{author
402 groups}. Each author group is a set of authors who share the same set
403 of affiliations. Author names are specified with the \cmd\author\
404 macro while affiliations (or addresses) are specified with the
405 \cmd\affiliation\ macro. Author groups are specified by sequences of
406 \cmd\author\ macros followed by \cmd\affiliation\ macros. An
407 \cmd\affiliation\ macro applies to all previously specified
408 \cmd\author\ macros which don't already have an affiliation supplied.
409
410 For example, if Bugs Bunny and Roger Rabbit are both at Looney Tune
411 Studios, while Mickey Mouse is at Disney World, the markup would be:
412 \begin{verbatim}
413 \author{Bugs Bunny}
414 \author{Roger Rabbit}
415 \affiliation{Looney Tune Studios}
416 \author{Mickey Mouse}
417 \affiliation{Disney World}
418 \end{verbatim}
419 The default is to display this as
420 \begin{center}
421 Bugs Bunny and Roger Rabbit\\
422 \emph{Looney Tune Studios}\\
423 Mickey Mouse\\
424 \emph{Disney World}\\
425 \end{center}
426 This layout style for displaying authors and their affiliations is
427 chosen by selecting the class option
428 \classoption{groupedaddress}. Journal styles usually default this option,
429 so it need not be specified explicitly. The other major way of displaying this
430 information is to use superscripts on the authors and
431 affiliations. This can be accomplished by selecting the class option
432 \classoption{superscriptaddress}. To achieve the display
433 \begin{center}
434 Bugs Bunny,$^{1}$ Roger Rabbit,$^{1,2}$ and Mickey Mouse$^{2}$\\
435 \emph{$^{1}$Looney Tune Studios}\\
436 \emph{$^{2}$Disney World}\\
437 \end{center}
438 one would use the markup
439 \begin{verbatim}
440 \author{Bugs Bunny}
441 \affiliation{Looney Tune Studios}
442 \author{Roger Rabbit}
443 \affiliation{Looney Tune Studios}
444 \affiliation{Disney World}
445 \author{Mickey Mouse}
446 \affiliation{Disney World}
447 \end{verbatim}
448
449 Note that \revtex~4.1 takes care of any commas and \emph{and}'s that join
450 the author names together and font selection, as well as any
451 superscript numbering. Only the author names and affiliations should
452 be given within their respective macros. See below for further information
453 regarding the proper way to add footnotes to author names and affiliations.
454
455 There is a third class option, \classoption{unsortedaddress}, for
456 controlling author/affiliation display. The default
457 \classoption{groupedaddress} will actually sort authors into the
458 approriate author groups if one chooses to specify an affiliation for
459 each author. The markup:
460 \begin{verbatim}
461 \author{Bugs Bunny}
462 \affiliation{Looney Tune Studios}
463 \author{Mickey Mouse}
464 \affiliation{Disney World}
465 \author{Roger Rabbit}
466 \affiliation{Looney Tune Studios}
467 \end{verbatim}
468 will result in the same display as for the first case given
469 above even though Roger Rabbit is specified after Mickey Mouse. To
470 avoid Roger Rabbit being moved into the same author group as Bugs
471 Bunny, use the
472 \classoption{unsortedaddress} option instead. In general, it is safest
473 to list authors in the order they should appear and specify
474 affiliations for multiple authors rather than one at a time. This will
475 afford the most independence for choosing the display option. Finally,
476 it should be mentioned that the affiliations for the
477 \classoption{superscriptaddress} are presented and numbered
478 in the order that they are encountered. These means that the order
479 will usually follow the order of the authors. An alternative ordering
480 can be forced by including a list of \cmd\affiliation\ commands before
481 the first \cmd{\author} in the desired order. Then use the exact same
482 text for each affilation when specifying them for each author.
483
484 If an author doesn't have an affiliation, the \cmd\noaffiliation\
485 macro may be used in the place of an \cmd\affiliation\ macro.
486
487
488 \subsubsection{Collaborations}
489
490 A collaboration name can be specified with the \cmd\collaboration\
491 command. This is very similar to the \cmd\author\ command. In \revtex~4.1, it can
492 be used with both the \classoption{superscriptaddress} and \classoption{groupedaddress} class options. The
493 \cmd\collaboration\ command should appear at the end of the list of
494 authors. The collaboration name will be appear centered in parentheses
495 between the list of authors and the list of
496 affiliations. Because collaborations
497 don't normally have affiliations, one needs to follow the
498 \cmd\collaboration\ with \cmd\noaffiliation.
499
500 \subsubsection{Footnotes for authors, collaborations, affiliations or title}\label{sec:footau}
501
502 Often one wants to specify additional information associated with an
503 author, collaboration, or affiliation such as an e-mail address, an
504 alternate affiliation, or some other ancillary information.
505 \revtex~4.1 introduces several new macros just for this purpose. They
506 are:
507 \begin{itemize}
508 \item\cmd\email\oarg{optional text}\aarg{e-mail address}
509 \item\cmd\homepage\oarg{optional text}\aarg{URL}
510 \item\cmd\altaffiliation\oarg{optional text}\aarg{affiliation}
511 \item\cmd\thanks\aarg{miscellaneous text}
512 \end{itemize}
513 In the first three, the \emph{optional text} will be prepended before the
514 actual information specified in the required argument. In the APS journal style files, \cmd\email\ and \cmd\homepage\ no longer have a default value. However, in the AIP styles, each have a default text for their optional arguments
515 (`Electronic address:' and `URL:' respectively). The \cmd\thanks\
516 macro should only be used if one of the other three do not apply. Any
517 author name can have multiple occurences of these four macros. Note
518 that unlike the
519 \cmd\affiliation\ macro, these macros only apply to the \cmd\author\
520 that directly precedes it. Any \cmd\affiliation\ \emph{must} follow
521 the other author-specific macros. A typical usage might be as follows:
522 \begin{verbatim}
523 \author{Bugs Bunny}
524 \email[E-mail me at: ]{[email protected]}
525 \homepage[Visit: ]{http://looney.com/}
526 \altaffiliation[Permanent address: ]
527 {Warner Brothers}
528 \affiliation{Looney Tunes}
529 \end{verbatim}
530 This would result in the footnote ``E-mail me at: \texttt{[email protected]},
531 Visit: \texttt{http://looney.com/}, Permanent address: Warner
532 Brothers'' being attached to Bugs Bunny. Note that:
533 \begin{itemize}
534 \item Only an e-mail address, URL, or affiliation should go in the
535 required argument in the curly braces.
536 \item The font is automatically taken care of.
537 \item An explicit space is needed at the end of the optional text if one is
538 desired in the output.
539 \item Use the optional arguments to provide customized
540 text only if there is a good reason to.
541 \end{itemize}
542
543 The \cmd\collaboration\ , \cmd\affiliation\ , or even \cmd\title\ can
544 also have footnotes attached via these commands. If any ancillary data
545 (\cmd\thanks, \cmd\email, \cmd\homepage, or
546 \cmd\altaffiliation) are given in the wrong context (e.g., before any
547 \cmd\title, \cmd\author, \cmd\collaboration, or \cmd\affiliation\
548 command has been given), then a warning is given in the \TeX\ log, and
549 the command is ignored.
550
551 Duplicate sets of ancillary data are merged, giving rise to a single
552 shared footnote. However, this only applies if the ancillary data are
553 identical: even the order of the commands specifying the data must be
554 identical. Thus, for example, two authors can share a single footnote
555 indicating a group e-mail address.
556
557 Duplicate \cmd\affiliation\ commands may be given in the course of the
558 front matter, without the danger of producing extraneous affiliations
559 on the title page. However, ancillary data should be specified for
560 only the first instance of any particular institution's
561 \cmd\affiliation\ command; a later instance with different ancillary
562 data will result in a warning in the \TeX\ log.
563
564 It is preferable to arrange authors into
565 sets. Within each set all the authors share the same group of
566 affiliations. For each author, give the \cmd\author\ (and appropriate
567 ancillary data), then follow this author group with the needed group
568 of \cmd\affiliation\ commands.
569
570 If affiliations have been listed before the first
571 \cmd\author\ macro to ensure a particular ordering, be sure
572 that any later \cmd\affiliation\ command for the given institution is
573 an exact copy of the first, and also ensure that no ancillary data is
574 given in these later instances.
575
576
577 Each journal class option has a default behavior for the placement of these
578 ancillary information footnotes. For instance, the \classoption{prb} option puts all
579 such footnotes at the start of the bibliography while the \classoption{prl}
580 journal styles displays them on the first page. One can override a
581 journal style's default behavior by specifying explicitly the class
582 option
583 \classoption{bibnotes} (puts the footnotes at the start of the
584 bibliography) or \classoption{nobibnotes} (puts them on the first page).
585 Please consult the documentation for the various journal style files for further information.
586
587 \subsubsection{Specifying first names and surnames}
588
589 Many authors have names in which either the surname appears first
590 or in which the surname is made up of more than one name. To ensure
591 that such names are accurately captured for indexing and other
592 purposes, the \cmd\surname\ macro should be used to indicate which portion
593 of a name is the surname. Similarly, there is a \cmd\firstname\ macro
594 as well, although usage of \cmd\surname\ should be sufficient. If an
595 author's surname is a single name and written last, it is not
596 necessary to use these macros. These macros do nothing but indicate
597 how a name should be indexed. Here are some examples:
598 \begin{verbatim}
599 \author{Andrew \surname{Lloyd Weber}}
600 \author{\surname{Mao} Tse-Tung}
601 \end{verbatim}
602
603 \subsection{The abstract}
604 An abstract for a paper is specified by using the \env{abstract}
605 environment:
606 \begin{verbatim}
607 \begin{abstract}
608 Text of abstract
609 \end{abstract}
610 \end{verbatim}
611 Note that in \revtex~4.1 the abstract must be specified before the
612 \cmd\maketitle\ command and there is no need to embed it in an explicit
613 minipage environment.
614
615 \subsubsection{Structured abstracts}
616 A new feature in \revtex~4.1 is support for \textit{structured abstracts}. A ``structured" abstract is an abstract divided into labeled sections. For instance, \textit{Physical Review C} would like authors to provide abstracts with sections summarizing the paper's \textbf{Background}, \textbf{Purpose}, \textbf{Method}, \textbf{Results}, and \textbf{Conclusions}. This can be accomplished by using the \texttt{description} environment within the \texttt{abstract} environment. For example:
617 \begin{verbatim}
618 \begin{abstract}
619 \begin{description}
620 \item[Background] This part would describe the
621 context needed to understand what the paper
622 is about.
623 \item[Purpose] This part would state the purpose
624 of the present paper.
625 \item[Method] This part describe the methods
626 used in the paper.
627 \item[Results] This part would summarize the
628 results.
629 \item[Conclusions] This part would state the
630 conclusions of the paper.
631 \end{description}
632 \end{abstract}
633 \end{verbatim}
634
635 \subsection{PACS codes}
636 APS and AIP authors are asked to supply suggested PACS codes with their
637 submissions. The \cmd\pacs\ macro is provided as a way to do this:
638 \begin{verbatim}
639 \pacs{23.23.+x, 56.65.Dy}
640 \end{verbatim}
641 The actual display of the PACS numbers below the abstract is
642 controlled by two class options: \classoption{showpacs} and
643 \classoption{noshowpacs}. In particular, this is now independent of
644 the \classoption{preprint} option. \classoption{showpacs} must be
645 explicitly included in the class options to display the PACS codes.
646
647 \subsection{Keywords}
648 A \cmd\keywords\ macro may also be used to indicate keywords for the
649 article.
650 \begin{verbatim}
651 \keywords{nuclear form; yrast level}
652 \end{verbatim}
653 This will be displayed below the abstract and PACS (if supplied). Like
654 PACS codes, the actual display of the the keywords is controlled by
655 two classoptions: \classoption{showkeys} and
656 \classoption{noshowkeys}. An explicit \classoption{showkeys} must be
657 included in the \cmd\documentclass\ line to display the keywords.
658
659 \subsection{Institutional report numbers}
660 Institutional report numbers can be specified using the \cmd\preprint\
661 macro. If the \classoption{preprintnumbers} class option is specified, these will be displayed in the upper right corner of the first page. Multiple \cmd\preprint\ macros maybe supplied (space is
662 limited though, so only three or less may actually fit). Please note that the \classoption{preprint} class option does not automatically invoke \classoption{preprintnumbers}.
663
664 \subsection{maketitle}
665 After specifying the title, authors, affiliations, abstract, PACS
666 codes, and report numbers, the final step for formatting the front
667 matter of the manuscript is to execute the \cmd\maketitle\ macro by
668 simply including it:
669 \begin{verbatim}
670 \maketitle
671 \end{verbatim}
672 The \cmd\maketitle\ macro must follow all of the macros listed
673 above. The macro will format the front matter in accordance with the various
674 class options that were specified in the
675 \cmd\documentclass\ line (either implicitly through defaults or
676 explicitly).
677
678 \section{The body of the paper}
679
680 For typesetting the body of a paper, \revtex~4.1 relies heavily on
681 standard \LaTeXe\ and other packages (particulary those that are part
682 of AMS-\LaTeX). Users unfamiliar with these packages should read the
683 following sections carefully.
684
685 \subsection{Section headings}
686
687 Section headings are input as in \LaTeX.
688 The output is similar, with a few extra features.
689
690 Four levels of headings are available in \revtex{}:
691 \begin{quote}
692 \cmd\section\marg{title text}\\
693 \cmd\subsection\marg{title text}\\
694 \cmd\subsubsection\marg{title text}\\
695 \cmd\paragraph\marg{title text}
696 \end{quote}
697
698 Use the starred form of the command to suppress the automatic numbering; e.g.,
699 \begin{verbatim}
700 \section*{Introduction}
701 \end{verbatim}
702
703 To label a section heading for cross referencing, best practice is to
704 place the \cmd\label\marg{key} within the argument specifying the heading:
705 \begin{verbatim}
706 \section{\label{sec:intro}Introduction}
707 \end{verbatim}
708
709 In some journal substyles, such as those of the APS,
710 all text in the \cmd\section\ command is automatically set uppercase.
711 If a lowercase letter is needed, use \cmd\lowercase\aarg{x}.
712 For example, to use ``He'' for helium in a \cmd\section\marg{title text} command, type
713 \verb+H+\cmd\lowercase\aarg{e} in \marg{title text}.
714
715 Use \cmd\protect\verb+\\+ to force a line break in a section heading.
716 (Fragile commands must be protected in section headings, captions, and
717 footnotes and \verb+\\+ is a fragile command.)
718
719 \subsection{Paragraphs and General Text}
720
721 Paragraphs always end with a blank input line. Because \TeX\
722 automatically calculates linebreaks and word hyphenation in a
723 paragraph, it is not necessary to force linebreaks or hyphenation. Of
724 course, compound words should still be explicitly hyphenated, e.g.,
725 ``author-prepared copy.''
726
727 Use directional quotes for quotation marks around quoted text
728 (\texttt{``xxx''}), not straight double quotes (\texttt{"xxx"}).
729 For opening quotes, use one or two backquotes; for closing quotes,
730 use one or two forward quotes (apostrophes).
731
732 \subsection{One-column vs. two-column layouts}\label{sec:widetext}
733
734 One of the hallmarks of \textit{Physical Review} and many of the AIP journals is their two-column
735 formatting. \revtex~4.1 provides the \classoption{reprint} class option that provides for each
736 journal class option a close approximation to the journal's actual production formatting. Note that
737 the \classoption{reprint} option will give either one or two-column formatting as appropriate for the particular journal.
738 For most APS and AIP journals, the \classoption{reprint} option will take care of formatting the front matter
739 (including the abstract) as a single column and will typeset the body in two columns. \revtex~4.1 has its own
740 built-in two-column formatting macros to provide well-balanced columns as well as reasonable control over the placement of floats in either
741 one- or two-column modes. When drafting papers, it is common to use a one-column format. This is best achieved by using the
742 \classoption{preprint} class option. Authors may override a particular journal's formatting by using the lower level options \classoption{onecolumn} and \classoption{twocolum}, but best practice is to stick with the \classoption{preprint} and \classoption{reprint} options.
743
744 Please note that the \classoption{reprint} class option is only an \textit{approximation} of a journal's final layout. Because of font differences, figure rescaling, and other factors, authors should not expect the \classoption{reprint} option to give fully accurate estimates of an article's ultimate length after being typeset for the journal.
745
746 Occasionally it is necessary to change the formatting from two-column to
747 one-column to better accommodate very long equations that are more
748 easily read when typeset to the full width of the page. This is
749 accomplished using the \env{widetext} environment:
750 \begin{verbatim}
751 \begin{widetext}
752 long equation goes here
753 \end{widetext}
754 \end{verbatim}
755 In two-column mode, this will temporarily return to one-column mode,
756 balancing the text before the environment into two short columns, and
757 returning to two-column mode after the environment has
758 finished. \revtex~4.1 will also add horizontal rules to guide the
759 reader's eye through what may otherwise be a confusing break in the
760 flow of text. The
761 \env{widetext} environment has no effect on the output under the
762 \classoption{preprint} class option because this already uses
763 one-column formatting.
764
765 Use of the \env{widetext} environment should be restricted to the bare
766 minimum of text that needs to be typeset this way. However, short pieces
767 of paragraph text and/or math between nearly contiguous wide equations
768 should be incorporated into the surrounding wide sections.
769
770 Low-level control over the column grid can be accomplished with the
771 \cmd\onecolumngrid\ and \cmd\twocolumngrid\ commands. Using these, one
772 can avoid the horizontal rules added by \env{widetext}. These commands
773 should only be used if absolutely necessary. Wide figures and tables
774 should be accommodated using the proper \verb+*+ environments.
775
776 \subsection{Cross-referencing}\label{sec:xrefs}
777
778 \revtex{} inherits the \LaTeXe\ features for labeling and cross-referencing
779 section headings, equations, tables, and figures. This section
780 contains a simplified explanation of these cross-referencing features.
781 The proper usage in the context of section headings, equations,
782 tables, and figures is discussed in the appropriate sections.
783
784 Cross-referencing depends upon the use of ``tags,'' which are defined by
785 the user. The \cmd\label\marg{key} command is used to identify tags for
786 \revtex. Tags are strings of characters that serve to label section
787 headings, equations, tables, and figures that replace explicit,
788 by-hand numbering.
789
790 Files that use cross-referencing (and almost all manuscripts do)
791 need to be processed through \revtex\ at least twice to
792 ensure that the tags have been properly linked to appropriate numbers.
793 If any tags are added in subsequent editing sessions,
794 \LaTeX{} will display a warning message in the log file that ends with
795 \texttt{... Rerun to get cross-references right}.
796 Running the file through \revtex\ again (possibly more than once) will
797 resolve the cross-references. If the error message persists, check
798 the labels; the same \marg{key} may have been used to label more than one
799 object.
800
801 Another \LaTeX\ warning is \texttt{There were undefined references},
802 which indicates the use of a key in a \cmd\ref\ without ever
803 using it in a \cmd\label\ statement.
804
805 \revtex{} performs autonumbering exactly as in standard \LaTeX.
806 When the file is processed for the first time,
807 \LaTeX\ creates an auxiliary file (with the \file{.aux} extension) that
808 records the value of each \meta{key}. Each subsequent run retrieves
809 the proper number from the auxiliary file and updates the auxiliary
810 file. At the end of each run, any change in the value of a \meta{key}
811 produces a \LaTeX\ warning message.
812
813 Note that with footnotes appearing in the bibliography, extra passes
814 of \LaTeX\ may be needed to resolve all cross-references. For
815 instance, putting a \cmd\cite\ inside a \cmd\footnote\ will require at
816 least three passes.
817
818 Using the \classname{hyperref} package to create hyperlinked PDF files
819 will cause reference ranges to be expanded to list every
820 reference in the range. This behavior can be avoided by using the
821 \classname{hypernat} package available from \url{www.ctan.org}.
822
823 \subsection{Acknowledgments}
824 Use the \env{acknowledgments} environment for an acknowledgments
825 section. Depending on the journal substyle, this element may be
826 formatted as an unnumbered section title \textit{Acknowledgments} or
827 simply as a paragraph. Please note the spelling of
828 ``acknowledgments.''
829 \begin{verbatim}
830 \begin{acknowledgments}
831 The authors would like to thank...
832 \end{acknowledgments}
833 \end{verbatim}
834
835 \subsection{Appendices}
836 The \cmd\appendix\ command signals that all following sections are
837 appendices, so \cmd\section\marg{title text} after \cmd\appendix\ will set
838 \marg{title text} as an appendix heading (an empty \marg{title text}
839 is permitted). For a single appendix, use a
840 \cmd\appendix\verb+*+ followed by \cmd\section\marg{title text}
841 command to suppress the appendix letter in the section heading.
842
843 \subsection{\label{sec:lineno}Line numbering}
844 \revtex~4.1 provides the \classoption{linenumbers} class option to enable line numbering. While it is
845 possible to directly call in the \classname{lineno.sty}, using the class option ensures
846 that the default parameters needed to properly typeset the line numbers are set up correctly. It is
847 still possible for authors to override parameters such as \cmd\linenumbersep\ as usual, however.
848
849 \section{Math and equations}\label{sec:math}
850
851 \subsection{Math in text}
852
853 Not surprisingly, \revtex\ uses the \TeX\ math \verb+$+ delimiters
854 for math embedded in text. For example,
855 \verb|$a^{z}$| give $a^{z}$. Within math mode, use
856 \verb+^+\marg{math} for superscripts and
857 \verb+_+\marg{math} for subscripts. If the braces after the
858 \verb+^+ are omitted, \TeX{} will
859 superscript the next \emph{token} (generally a single character or
860 command). Thus it is safest to use explicit braces \verb+{}+.
861
862 As with text, math should not require extensive explicit vertical or
863 horzontal motion commands, because \TeX\ calculates math spacing
864 itself automatically. In particular, explicit spacing around
865 relations (e.g., $=$) or operators (e.g., $+$) should be
866 unnecessary. These suggestions notwithstanding, some fine-tuning of
867 math is required in specific cases, see Chapter~18 in the \TeX
868 book\cite{TeXbook}.
869
870 \subsection{Text in math}\label{sec:textinmath}
871
872 There are times when normal, non-italic text needs to be inserted
873 into a math expression. The \cmd\text\marg{text} command is the
874 preferred method of accomplishing this. It produces regular text
875 \emph{and} scales correctly in superscripts:
876 \verb+$y=x \text{ for } x_{\text{e-p}}$+ gives
877 ``$y=x \text{ for } x_{\text{e-p}}$''. To use the \cmd\text\ command,
878 the \classname{amsmath} package must be loaded: include a
879 \cmd\usepackage\aarg{\classname{amsmath}} command in the document
880 preamble or use the class option \classoption{amsmath}. Please note
881 that \revtex~4.1 requires version 2.0 or higher of \classname{amsmath}.
882
883 Other common alternatives may be less desirable. Using the standard
884 \LaTeXe\ \cmd\mbox\marg{text} will give normal text, including a hyphen,
885 but will not scale correctly in superscripts:
886 \verb+$x_{\mbox{e-p}}$+ gives ``$x_{\mbox{e-p}}$''.
887 The \cmd\rm\ command
888 only switches to Roman font for math letters. It does not, for
889 example, handle hyphens correctly:
890 \verb+$$x_{\rm{e-p}}$+ gives ``$x_{\rm e-p}$''. But note that
891 \cmd\textrm{}, it does work: \verb+$x_{\textrm{e-p}}$+ gives ``$x_{\textrm{e-p}}$''.
892
893 \subsection{Displayed equations}\label{sec:dispmath}
894
895 Equations are set centered in the column width or flush left depending
896 on the selected journal substyle.
897
898 For the simplest type of displayed equation, a numbered, one-line
899 equation, use the \env{equation} environment.
900 \revtex\ takes care of the equation number%
901 ---the number will be set below the equation if necessary.
902 Use \cmd\[\dots\cmd\] for a single, one-line unnumbered display equation.
903
904 Use the \env{eqnarray} environment when more than one consecutive
905 equation occurs, putting each equation in a separate row of the
906 environment, and using \cmd\nonumber\ before the row end (\cmd\\) to
907 suppress the equation number where necessary. If the equations are
908 related to each other, align each on the respective relation operator
909 (such as $=$).
910
911 When an equation is broken over lines or is continued over multiple
912 relation operators, it is called a multi-line or continued equation,
913 respectively; here, too, use the \env{eqnarray} environment.
914
915 For a continued equation, align each row on the relation operator just
916 as with multiple equations, and use the \cmd\nonumber\ command to
917 suppress auto-numbering on broken lines. Also, use the starred form
918 of the row end (\cmd\\\verb+*+) to prevent a pagebreak at that
919 juncture.
920
921 Short displayed equations that can appear together on a single line
922 separated by \cmd\qquad\ space may be placed in a single
923 \env{equation} environment.
924
925 As explained in Section~\ref{sec:widetext}, occasionally in two-column
926 mode a long equation, in order to fit it in the narrow column width,
927 would need to be broken into so many lines that it would affect
928 readibility. Set it in a wide column using the \env{widetext}
929 environment. Then return to the normal text width as soon as
930 possible.
931
932 The sample file \file{apssamp.tex} illustrates how to obtain each of
933 the above effects.
934
935 \subsection{Numbering displayed equations}
936
937 \revtex~4.1 automatically numbers equations.
938 For single-line and multi-line equations, use the
939 \env{equation} and \env{eqnarray} environments as described above.
940 For unnumbered single-line equations, use the \verb+\[+\dots\verb+\]+
941 construction. The command \cmd\nonumber\ will suppress the numbering
942 on a single line of an
943 \env{eqnarray}.
944 For a multi-line equation with no equation numbers at all,
945 use the \env{eqnarray*} environment.
946
947 A series of equations can be a labeled with a lettered sequence,
948 e.g., (3a), (3b), and (3c), by
949 putting the respective \env{equation} or \env{eqnarray} environment within a
950 \env{subequations} environment.
951 The \classname{amsmath} package (can be loaded with the
952 \classoption{amsmath} class option) is required for this.
953
954 Use the command \cmd\tag\marg{number} to produce an idiosyncratic
955 equation number: $(1')$, for example. Numbers assigned by \cmd\tag\
956 are completely independent of \revtex's automatic numbering. The
957 package \classname{amsmath} is required for using the \cmd\tag\
958 command. Please
959 note that the use of the \texttt{tag} command may conflict with the use of the \classoption{hyperref} package
960 due an incompatibility between \classoption{amsmath} and \classoption{hyperref}.
961
962 To have \revtex{} reset the equation numbers at the start of each section,
963 use the \classoption{eqsecnum} class option in the document preamble.
964
965 See the sample file \file{apssamp.tex} for some examples.
966
967 \subsection{Cross-referencing displayed equations}
968
969 To refer to a numbered equation, use
970 the \cmd\label\marg{key} and \cmd\ref\marg{key} commands.
971 The \cmd\label\marg{key} command is used within the referenced equation
972 (on the desired line of the \env{eqnarray}, if a multi-line equation):
973 \begin{verbatim}
974 \begin{equation}
975 A=B \label{pauli}
976 \end{equation}
977 ... It follows from Eq.~(\ref{pauli})
978 that this is the case ...
979 \begin{eqnarray}
980 A & = &B,\label{pauli2}\\
981 A'& = &B'
982 \end{eqnarray}
983 \end{verbatim}
984 gives
985 \begin{equation}
986 A=B \label{pauli}
987 \end{equation}
988 ... It follows from Eq.~(\ref{pauli})
989 that this is the case ...
990 \begin{eqnarray}
991 A & = &B,\label{pauli2}\\
992 A'& = &B'
993 \end{eqnarray}
994
995 Please note the parentheses surrounding the \cmd\ref\ command.
996 These are \emph{not} provided automatically and, thus, must be
997 explicitly incorporated.
998
999 Numbers produced with \cmd\tag\ can also be cross-referenced by adding
1000 a \cmd\label\ command after the \cmd\tag\ command.
1001
1002 Using a \cmd\label\ after \envb{subequations} to reference the
1003 \emph{general} number of the equations in the
1004 \env{subequations} environment. For example, if
1005 \begin{verbatim}
1006 \begin{subequations}
1007 \label{allequations} % notice location
1008 \begin{eqnarray}
1009 E&=&mc^2,\label{equationa}
1010 \\
1011 E&=&mc^2,\label{equationb}
1012 \\
1013 E&=&mc^2,\label{equationc}
1014 \end{eqnarray}
1015 \end{subequations}
1016 \end{verbatim}
1017 %
1018 gives the output
1019 \begin{subequations}
1020 \label{allequations} % notice location
1021 \begin{eqnarray}
1022 E&=&mc^2,\label{equationa}
1023 \\
1024 E&=&mc^2,\label{equationb}
1025 \\
1026 E&=&mc^2,\label{equationc}
1027 \end{eqnarray}
1028 \end{subequations}
1029 %
1030 then \verb+Eq.~(\ref{allequations})+ gives ``Eq.~(\ref{allequations})''.
1031
1032 {\bf Note:} incorrect cross-referencing will result if
1033 \cmd\label\ is used in an unnumbered single-line equation
1034 (i.e., within the \verb+\[+ and \verb+\]+ commands),
1035 or if \cmd\label\ is used on a line of an eqnarray that is not being numbered
1036 (i.e., a line that has a \cmd\nonumber).
1037
1038 \subsection{Using the AMS packages \classoption{amsfonts},
1039 \classoption{amssymb}, and \classoption{amsmath}}\label{AMS}
1040
1041 The American Mathematical Society's AMS-\LaTeX\ packages provided extra
1042 fonts, symbols, and math markup that are quite convenient. \revtex~4.1
1043 supports the use of these packages directly. To use the \classoption{amsfonts},
1044 \classoption{amssymb}, and \classoption{amsmath} class options,
1045 AMS-\LaTeX\ (and perhaps the additional AMS fonts) will need to be
1046 installed. Please note that \revtex~4.1 requires version 2.0 or higher
1047 of AMS-\LaTeX. These packages can be downloaded from
1048 \url{http://www.ams.org/tex/}.
1049
1050 There are two class options for accessing the AMS fonts:
1051 \classoption{amsfonts} and \classoption{amssymb}.
1052 The \classoption{amsfonts} option defines the \cmd\mathfrak\ and
1053 \cmd\mathbb\ commands to switch to the Fraktur and
1054 Blackboard Bold fonts, respectively.
1055 These fonts are selected with the \cmd\mathfrak\ and \cmd\mathbb\
1056 font-switching commands:
1057 \verb+${\mathfrak{G}}$+ gives a Fraktur ``$\mathfrak{G}$''
1058 and \verb+${\mathbb{Z}}$+ gives a Blackboard Bold ``$\mathbb{Z}$''.
1059 \revtex{} does not currently support the use of the extra Euler fonts
1060 (the AMS fonts starting with \texttt{eur} or \texttt{eus}) or the
1061 Cyrillic fonts (the AMS fonts starting with \texttt{w}).
1062
1063 The \classoption{amssymb} class option gives all the font
1064 capabilities of the
1065 \classoption{amsfonts} class option and further defines the commands
1066 for many commonly used math symbols. These symbols will scale
1067 correctly in superscripts and other places. See the AMS-\LaTeX\
1068 documentation for the complete list of symbols available.
1069
1070 \subsection{Bold symbols in math}\label{sec:bboxamsfonts}
1071
1072 \revtex~4.1 uses the standard \LaTeXe\ Bold Math (\classname{bm}) package as the
1073 basis for creating bold symbols in math mode. As usual, this requires
1074 an explicit \cmd\usepackage\aarg{\classname{bm}} in the document
1075 preamble. The command
1076 \cmd\bm\marg{symbol} makes \marg{symbol} bold in math mode, ensuring
1077 that it is the correct size, even in superscripts. If the correct font
1078 in the correct size is not available then result is the \marg{symbol}
1079 set at the
1080 correct size in lightface and a \LaTeXe\ warning that says
1081 ``\texttt{No boldmath typeface in this size}\dots''. Most bold special
1082 characters will require that the AMS fonts be installed and the
1083 \classoption{amsfonts} class option be invoked.
1084
1085 \cmd\bm\ is the proper means to get bold Greek characters---upper- and
1086 lowercase---and other symbols.
1087 The following will come out bold with \cmd\bm:
1088 normal math italic letters, numbers,
1089 Greek letters (uppercase and lowercase),
1090 small bracketing and operators, and \cmd\mathcal. Fraktur
1091 characters will come out bold in a \cmd\bm; however, Blackboard Bold
1092 requires using the \cmd\mathbb\ command rather than \cmd{\bm}.
1093 The \classoption{amsfonts} option adds support for bold math
1094 letters and symbols in smaller sizes and in superscripts when a
1095 \cmd\bm\marg{symbol} is used.
1096 For example, \verb+$\pi^{\bm{\pi}}$+ gives a bold
1097 lowercase pi in the superscript position: $^{\pi\bm{\pi}}$.
1098
1099 Note that \cmd\bm\marg{math} is a fragile command and, thus, should be
1100 preceded by \cmd\protect\ in commands with moving arguments.
1101
1102 \section{Footnotes}
1103 \LaTeX's standard \cmd\footnote\ command is available in
1104 \revtex~4.1. The footnote text can either appear at the bottom of a page or
1105 as part of the bibliography. This choice can be controlled by two class options:
1106 \classoption{footinbib} and \classoption{nofootinbib}. \revtex~4.1
1107 defaults to the former. Specific journal options may select a
1108 different value than the default.
1109
1110 Please note that even if Bib\TeX\ is not being used for the references, you
1111 may have to run Bib\TeX\ if you are using footnotes without the \classoption{nofootinbib} option.
1112 The log file will contain errors about missing references such as \texttt{Note1} in this case and a file ending in
1113 \texttt{Notes.bib} will have been produced during the processing of the \TeX\ file.
1114
1115 Note that in the latter case, the
1116 argument of the
1117 \cmd\footnote\ command is a moving argument in the sense of the \LUG,
1118 Appendix~C.1.3: any fragile command within that argument must be
1119 preceded by a \cmd\protect\ command.
1120
1121 The \cmd\footnote\ macro \emph{should not} be used in the front
1122 matter for indicating author/affiliation relationships or to provide
1123 additional information about authors (such as an e-mail
1124 address). See Section~\ref{sec:footau} for the proper way to do
1125 this.
1126
1127 Finally, footnotes that appear in tables behave differently. They
1128 will be typeset as part of the table itself. See
1129 Section~\ref{sec:tablenote} for details.
1130
1131 \section{Citations and References}\label{sec:endnotes}
1132
1133 \revtex~4.1 adds significant new functionality to \revtex~4's
1134 typesetting of citations and references. The new functionality is
1135 designed to make it easier to use Bib\TeX\ and produce the desired output
1136 in the reference section without having to edit Bib\TeX's output. The new features include:
1137 \begin{itemize}
1138 \item Endnotes created with the \cmd\footnote\ command are automatically interleaved with the bibliographic references. \revtex~4 would typeset all endnotes at the end of the bibliography.
1139 \item Combining multiple references automatically into a single entry in the bibliography. \revtex~4 required by-hand editing of Bib\TeX\ output. This is achieved by prepending an asterisk (*) to the reference's \textit{key} in the \cmd\cite\ command. \verb+\cite{{key1,*key2}+ would make a single entry in the bibliography by combining into one \cmd\bibitem\ the entries from the \texttt{.bib} file with keys \textit{key1} and \textit{key2}. See Section~\ref{sec:multiple} for more details.
1140 \item Text can be prepended or appended to an entry in the bibliography. \revtex~4 required by-hand editing of the Bib\TeX\ output. See Section~\ref{sec:prepend} for an example of how to do this.
1141 \end{itemize}
1142
1143 Proper formatting of references requires Patrick Daly's \classname{natbib} citation package. \BibTeX\ style files
1144 for APS and AIP journals are created using his \classname{custom-bib} tool kit. From an author's point of view, all this means is that a proper
1145 \revtex~4.1 installation requires having \classname{natbib} (version 8.31a
1146 or higher) installed. It also means that the full set of
1147 \classname{natbib} functionality is available from within \revtex~4.1
1148 (but see the \textit{APS Author Guide for \revtex~4.1} and \textit{Author's Guide to AIP Substyles for \revtex~4.1} for restrictions if
1149 submitting to an APS or AIP journal). The \classname{natbib} documentation contains many examples; see in
1150 particular the \verb+natnotes.tex+ file for a convenient summary. Please also note that \classname{natbib 8.3} and later now gives an error (rather than merely a warning as in earlier versions) if you try to use a Bib\TeX\ file that isn't compatible with author-year style citations with a journal style that requires author-year citations (such as \textit{Reviews of Modern Physics}).
1151
1152 \subsection{Citing a reference}
1153 As in standard \LaTeX, references are cited in text using the
1154 \cmd\cite\marg{key} command and are listed in the bibliography using
1155 the \cmd\bibitem\marg{key} command. The \cmd\cite{} macro enables
1156 \revtex~4.1 to automatically number the references in the manuscript.
1157
1158 A typical example might be:
1159 \begin{verbatim}
1160 String theory\cite{GSW} attempts to
1161 provide a theory of everything.
1162 \end{verbatim}
1163 The corresponding \cmd\bibitem{} would be:
1164 \begin{verbatim}
1165 \bibitem{GSW} M.~Greene, J.~Schwarz, and
1166 E.~Witten, \textit{Superstring Theory:
1167 Introduction}, (Cambridge University
1168 Press, London, 1985).
1169 \end{verbatim}
1170
1171 Journals differ in how the \cmd\cite\ will be displayed. Most APS journals
1172 display the citation in-line, as a number, enclosed in square brackets,
1173 \textit{e.g.}, ``String theory[1] attempts\dots.'' Other journals
1174 (most notably \textit{Physical Review B})
1175 instead use a number in a superscript: ``String theory$^{1}$ attempts\dots.''
1176 Selecting the journal substyle using a class option (such as
1177 \classoption{prb}) will invoke the appropriate style.
1178 In journal substyles using superscripts,
1179 the macro the \cmd\onlinecite\marg{key} is necessary to get the number
1180 to appear on the baseline.
1181 For example, ``String theory (see, for example,
1182 \verb+Ref.~\onlinecite{GSW}+)'' will give the output
1183 ``String theory (see, for example, Ref.~1).''
1184
1185 The \cmd{\onlinecite} command has the same semantics as
1186 \classname{natbib}'s \cmd{\citealp} command.
1187
1188 A \cmd\cite\ command with multiple keys is formatted with consecutive
1189 reference numbers collapsed; e.g., [1,2,3,5] will be output as
1190 [1--3,5]. To split the list over more than one line, use
1191 a \verb+%+ character immediately following a comma:
1192 \begin{verbatim}
1193 . . . \cite{a,b,c,d,e,f,%
1194 g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z}
1195 \end{verbatim}
1196 The \verb+%+ avoids unwanted spaces.
1197
1198 \subsection{Author/Year (Non-numeric) Citations}
1199
1200 \textit{Reviews of Modern Physics} uses a citation style based on the
1201 first author's last name and the year of the reference rather than a
1202 simple number. Support for this style of citing references is the
1203 primary reason \revtex~4.1 uses the \classname{natbib}
1204 package. \classname{natbib} uses an optional argument to the
1205 \cmd\bibitem\ macro to specify what text to use for the \cmd\cite\
1206 text:
1207 \begin{quote}
1208 \cmd\bibitem\verb+[+\meta{short-name}\verb+(+\meta{year}\verb+)+\meta{long-name}\verb+]+
1209 \end{quote}
1210 where \meta{short-name} is the author name used in a parenthetical citation,
1211 \meta{long-name} that used in a textual citation, and
1212 \meta{year} is the year. More concretely, the \cmd\bibitem\ example
1213 above would appear as
1214 \begin{verbatim}
1215 \bibitem[Greene et al.(1985)Green,
1216 Schwarz, and Witten]{GSW}
1217 M.~Greene, J.~Schwarz, and E.~Witten,
1218 \textit{Superstring Theory},
1219 (Cambridge Press, London, 1985).
1220 \end{verbatim}
1221
1222 When the citation constitutes part of the grammar of the sentence,
1223 the \cmd\textcite\marg{key} command may be used (analogous to the
1224 \cmd\onlinecite\ command above). Both \cmd\textcite\ and
1225 \cmd\onlinecite\ are built upon \classname{natbib}'s rich repertoire of
1226 macros (\cmd\citep{}, \cmd\citet{}, etc.). These macros are available in
1227 \revtex~4.1; however, APS authors must follow the
1228 \textit{APS Author Guide for \revtex~4.1}
1229 guidelines regarding \classname{natbib}'s macros.
1230
1231 \subsection{Combined Author/Year and Numeric Citations}
1232
1233 AIP's \textit{Journal of Mathematical Physics} uses a combined author/year and numerical citation style. \revtex~4.1 supports this referencing style. Please see the \textit{Author's Guide to AIP Substyles for \revtex~4.1} for more information about this style.
1234
1235 \subsection{\label{sec:use-bib}Using Bib\TeX}
1236
1237 The \cmd\bibitem{} entries can be coded by hand as above, of course, but the
1238 use of \BibTeX\ with the new style files provided with \revtex~4.1 makes
1239 it particularly simple to generate marked-up references that can, for
1240 instance, take advantage of packages like
1241 \classname{hyperref} for linking. They also save the trouble of having
1242 to specify formatting like the italics for the book title in the above
1243 example. And, for those wishing to use author/year citations, \BibTeX\
1244 will automatically generate the appropriate optional arguments for the
1245 \cmd\bibitem\ commands.
1246
1247 \BibTeX\ is an adjunct to \LaTeX\ that aids in the
1248 preparation of bibliographies. \BibTeX\ allows authors to build up a
1249 database or collection of bibliography entries that may be used for many
1250 manuscripts. A \BibTeX\ style file then specifies how to transform the
1251 entries into a proper \cmd\bibitem{} for a particular journal. Here we
1252 give a brief summary of how to get started with \BibTeX. More details can be
1253 found in the LaTeX books listed in the references.
1254
1255 Selecting a journal style by using an appropriate class option will
1256 automatically select the correct \BibTeX\ style file from those included in
1257 \revtex~4.1. Four basic \BibTeX\ style files are included: \file{apsrev4-1.bst} (APS journals using a numeric citation style, \textit{i.e.}, all but RMP), \file{apsrmp4-1.bst} (author/year style citations for RMP),
1258 \file{aipauth4-1.bst} (AIP journal using an author/year citation style), and \file{aipnum4-1.bst} (AIP journals using a numeric citation style). In addition, there are ``long" versions for each of these that add the titles of cited articles to the bibliography. The selection can be overridden by specifying an
1259 alternative \file{.bst} file using the standard \LaTeXe
1260 \cmd\bibliographystyle\ macro. This must appear in the preamble
1261 before the \envb{document} line in \revtex~4.1 (this differs from
1262 standard \LaTeX).
1263
1264 The \BibTeX\ database files will contain entries such as:
1265 \begin{verbatim}
1266 @Book{GSW,
1267 author=``M. Greene, J. Schwarz,
1268 E. Witten'',
1269 title=``Superstring theory:
1270 Introduction'',
1271 publisher=``Cambridge University
1272 Press'',
1273 address=``London'',
1274 year=``1985''
1275 }
1276 \end{verbatim}
1277 There are entry formats for articles, technical reports, e-prints,
1278 theses, books, proceedings, and articles that appear in books or
1279 proceedings. The styles provided with
1280 \revtex~4.1 also allows URL's and e-print identifiers to be specified
1281 for any of the different entry types. There is also an additional
1282 ``collaboration'' field that can be used in addition to ``author'.'
1283
1284 To actually create the bibliography in the manuscript, the
1285 \cmd\bibliography\marg{bib files} macro is used.
1286 Here \meta{bib files} is a comma-separated list of \BibTeX\ bibliography
1287 database files, each with the \file{.bib} extension. The
1288 \cmd\bibliography\ macro should be placed at the location where the
1289 references are to appear (usually after the main body of the
1290 paper). When the manuscript is processed with \LaTeX\ for the first
1291 time, the keys corresponding for the \cmd\cite{} macros used in the
1292 manuscript are written out to the \file{.aux} file. Then \BibTeX\ should
1293 be run (if the manuscript is called \file{paper.tex}, the command would
1294 be \verb+bibtex paper+. This will produce a \file{.bbl} file containing all
1295 of the \cmd\bibitem{}'s for the manuscript. Subsequent runs of \LaTeXe\
1296 will call this file in to resolve the references. \LaTeXe\ should be run
1297 repeatedly until all references are resolved.
1298
1299 The \BibTeX-produced \cmd\bibitem{}'s created using the \revtex\ style files appear considerably more complex than the example given
1300 above. This is because the style files add in \cmd\bibinfo{},
1301 \cmd\bibnamefont{}, \cmd\eprint{}, and \cmd\url{} macros for
1302 specifying additional formatting and tagging. The \cmd\bibinfo\ macro
1303 is mostly a do-nothing macro that serves merely to tag the information with
1304 the field information from the original entry in the \BibTeX\ database.
1305 The \cmd\eprint\ and \cmd\url\ macros can be used to create the
1306 appropriate hyperlinks in target formats such as PDF.
1307
1308 For more information on using \BibTeX\ with \LaTeX, see Sections~4.3.1
1309 and~C.11.3 of the \LUG\cite{LaTeXman}, Section~13.2 of \cite{Compan},
1310 or the online \BibTeX\ manual \file{btxdoc.tex} from
1311 \url{http://www.ctan.org/tex-archive/biblio/bibtex/distribs/doc/}.
1312
1313 \subsubsection{\texttt{arXiv.org} support in Bib\TeX}
1314
1315
1316 \revtex~4.1 has better support for citing e-prints from \texttt{arXiv.org} For instance, the \texttt{.bib} entry
1317 \begin{verbatim}
1318 @Unpublished{Ginsparg:1988ui,
1319 author = "Ginsparg, Paul H.",
1320 title = "{Applied Conformal Field Theory}",
1321 year = "1988",
1322 eprint = "hep-th/9108028",
1323 archivePrefix = "arXiv",
1324 SLACcitation = "%%CITATION=HEP-TH/9108028;%%"
1325 }
1326 \end{verbatim}
1327 will include the arXiv.org e-print identifier as \texttt{arXiv:hep-th/9108028} and hyperlink it (if using \texttt{hyperref}). The newer format for arXiv identifiers with primary classificiations will produce output such as \texttt{arXiv:0905.1949 [hep-ph]}.
1328
1329
1330
1331 \subsection{\label{sec:multiple}Multiple references in a single bibliography entry}
1332 One of the most frequently requested features since the release of \revtex~4 has been to allow more than one reference to appear in a single bibliography entry when using Bib\TeX. This can now be done in \revtex~4.1 by using a starred (*) argument to the \cmd\cite\ command. This requires the latest version of \texttt{natbib}, developed in conjunction with \revtex~4.1, and the new \texttt{bst} files that come with \revtex~4.1. To combine multiple references into a single \cmd\bibitem, precede the second, third, etc. citation keys in the \cmd\cite\ command with an asterisk (*). For example \verb+\cite{bethe, *feynman, *bohr}+ will combine the \cmd\bibitem\relax s with keys \texttt{bethe}, \texttt{feynman}, and \texttt{bohr} into a single entry in the bibliography separated by semicolons.
1333
1334 \subsection{\label{sec:prepend}Prepending and/or appending text to a citation}
1335 The expanded syntax for the \cmd\cite\ command argument can also be used to specify text before and/or after a citation. For instance, a citation such as:
1336 \begin{verbatim}
1337 [19] A similar expression was derived in
1338 A. V. Andreev, Phys. Rev. Lett. 99, 247204
1339 (2007) in the context of carbon nanotube
1340 p-n junctions. The only difference is that no
1341 integration over ky is present there.
1342 \end{verbatim}
1343 may be created by the following \cmd\cite\ command:
1344 \begin{verbatim}
1345 \cite{*[{A similar expression was derived
1346 in }] [{ in the context of carbon nanotube
1347 p-n junctions. The only difference is that
1348 no integration over ky is present
1349 there.}] andreev2007}
1350 \end{verbatim}
1351 Please note the use of curly braces to enclose the text within the square brackets as well as the spaces next to the brackets.
1352
1353 \section{Figures and Artwork}\label{sec:figures}
1354 \subsection{\texttt{figure} environment}
1355
1356 Figures may be included into a \revtex~4.1 manuscript by using the
1357 standard \LaTeXe\ macros. It should be noted that \LaTeXe\ includes
1358 several powerful packages for including the files in various
1359 formats. The two main packages are \classname{graphics} and
1360 \classname{graphicx}. Both offer a macro called
1361 \cmd\includegraphics\oarg{args}\marg{filename};
1362 they mainly differ in how arguments for
1363 controlling figure scaling, translation, and orientation
1364 are specified. For more information on the enhancements of the \classname{graphicx} package,
1365 see \cite{CompanG} or the guide \file{grfguide.pdf} available at
1366 \url{http://www.ctan.org/tex-archive/macros/latex/required/graphics/}.
1367 \revtex~4.1 no longer has the \classoption{epsf} class option, though
1368 the \classname{epsfig} package provides a similar interface.
1369
1370
1371 The \env{figure} environment should be used to add a caption to the figure and
1372 to allow \LaTeX\ to number and place the figures where they fit best.
1373 \LaTeX\ will label and automatically number the captions FIG.~1,
1374 FIG.~2, etc. For example:
1375 \begin{verbatim}
1376 \begin{figure}
1377 \includegraphics{fig1.eps}
1378 \caption{\label{fig1}Text of first caption.}
1379 \end{figure}
1380 \end{verbatim}
1381 Note how the \cmd\label\marg{key} command is used to cross-reference
1382 figures in text. The \cmd\label\marg{key} command should be inserted
1383 inside the figure caption. As usual, the \cmd\ref\marg{key} macro can
1384 then by used to refer to the label: ``As depicted in
1385 FIG.\verb+~\ref{fig1}+\dots''.
1386
1387 Figures are normally set to the width of the column in
1388 which they are placed. This means that in two-column mode, the figure
1389 will be placed in a single, narrow column. For wide figures, the
1390 \cmd\figure\verb+*+ environment should be used
1391 instead. This will place the figure across both columns (the figure
1392 usually will
1393 appear either at the top or the bottom of the following page).
1394
1395
1396 Captions less than one line long are centered under the figure,
1397 otherwise they span the width of the figure.
1398
1399 Note that is unnecessary (and undesirable) to use explicit centering
1400 commands inside the float environments.
1401
1402 \subsection{\texttt{video} environment}
1403 Papers often refer to multimedia material such as videos. The \texttt{video} environment is identical to the \texttt{figure} environment, but the caption will be labeled as a \textbf{Video} (with its own counter independent of figures). A URL can also be specified so that the caption label can be linked to the online video (if using the \texttt{hyperref} package). The included graphic (using \cmd\includegraphics\ from the \texttt{graphics} or \texttt{graphicx} package) would be a representation frame from the video. A \texttt{\cmd\listofvideos} is also provided. For example:
1404 \begin{verbatim}
1405 \begin{video}
1406 \includegraphics{videoframe.jpg}
1407 \setfloatlink{http://some.video.com/fun.mov}
1408 \caption{\label{vid:interest}This is a video
1409 of something fun.}
1410 \end{video}
1411 \end{verbatim}
1412 There is also a corresponding \cmd\listofvideos\ command.
1413
1414 \section{Tables}\label{sec:tables}
1415
1416 Tables are very similar to figures. They should be input using the
1417 \env{table} environment as detailed below, and
1418 \LaTeX\ will label and number the captions TABLE~1, TABLE~2, etc.
1419 (or in whatever format required by the chosen journal
1420 substyle). Tables without captions won't be numbered.
1421
1422 Each table must begin with \envb{table}, end with \enve{table}. A
1423 caption can be specified using the \cmd\caption\marg{text} command.
1424 Captions less than one line long are centered under the figure,
1425 otherwise they span the width of the figure.
1426 To refer to the table via cross-referencing, a \cmd\label\marg{key}
1427 command should appear within the \cmd{\caption}. Use the
1428 \cmd\ref\marg{key} command to cite tables in text. The \env{table}
1429 environment will set the table to the width of the column. Thus, in
1430 two-column mode, the table will be confined to a single column. To set a
1431 table to the full width of the page, rather than the column, use the
1432 \env{table*} environment.
1433
1434 The heart of the table is the
1435 \env{tabular} environment. This will behave for the most part as in
1436 standard \LaTeXe\ (please refer to Section~3.6.3 and Appendix~C.10.2 of the
1437 \LUG{} for more details about the \env{tabular} environment).
1438 Note that \revtex~4.1 no longer automatically adds double (Scotch) rules
1439 around tables. Nor does the \env{tabular} environment set various
1440 table parameters for column spacing as before. Instead, a new
1441 environment \env{ruledtabular} provides this functionality. This
1442 environment should surround the \env{tabular} environment:
1443 \begin{verbatim}
1444 \begin{table}
1445 \caption{\label{<key>}....}
1446 \begin{ruledtabular}
1447 \begin{tabular}
1448 ...
1449 \end{tabular}
1450 \end{ruledtabular}
1451 \end{table}
1452 \end{verbatim}
1453
1454 A basic table looks as follows:
1455 \begin{verbatim}
1456 \begin{table}
1457 \caption{\label{tab:example}Text of table caption.}
1458 \begin{ruledtabular}
1459 \begin{tabular}{ll}
1460 Heading 1 & Heading 2\\
1461 Cell 1 & Cell 2\\
1462 \end{tabular}
1463 \end{ruledtabular}
1464 \end{table}
1465 \end{verbatim}
1466
1467 The \env{quasitable} environment is no longer in \revtex~4.1. The
1468 standard \env{tabular} environment can be used instead because it
1469 no longer puts in the double rules.
1470
1471 \subsection{Aligning on a decimal point}
1472 Numerical columns should align on the decimal point (or
1473 decimal points if more than one is is present). This is accomplished
1474 by again using a standard \LaTeXe\ package, \classname{dcolumn} which
1475 must be loaded in the manuscript's preamble:
1476 \begin{verbatim}
1477 \usepackage{dcolumn}
1478 \end{verbatim}
1479 Once this package is loaded, the column specifier `\texttt{d}' can be
1480 used in the table's \env{tabular}\marg{preamble} enviroment preamble.
1481 The `\texttt{d}' should be used for simple numeric data with a single
1482 decimal point.
1483 %
1484 The entry of a \texttt{d} column is typeset in math mode; do not
1485 insert any \verb+$+ math delimiters into a `\texttt{d}' column. Items
1486 without a decimal point are simply set in math mode, centered. If
1487 text is required in the column, use \cmd\text\ or \cmd\mbox\ as
1488 appropriate. If multiple decimal points are present then the last is
1489 used for alignment. To escape from the `\texttt{d}' column use
1490 \cmd\multicolumn\ as usual. See the sample file \file{apssamp.tex} for examples.
1491
1492 \subsection{Footnotes in Tables}\label{sec:tablenote}
1493
1494 Footnotes in a table are labeled \emph{a}, \emph{b}, \emph{c},
1495 etc. They can be specified by using the \LaTeX\ \cmd\footnote\
1496 command. Furthermore,
1497 \cmd\footnotemark\ and \cmd\footnotetext\ can be used so that multiple entries
1498 can to refer to the same footnote. The footnotes for a table are typeset
1499 at the bottom of the table, rather than at the bottom of the page or
1500 at the end of the references. The arguments for \cmd\footnotemark\ and
1501 \cmd\footnotetext\ should be numbers 1, 2, \dots. The journal style
1502 will convert these to letters. See sample file \file{apssamp.tex} for
1503 examples and explanations of use.
1504
1505 \subsection{Dealing with Long Tables}
1506 By default, tables are set in a smaller size than the text body
1507 (\cmd\small). The \cmd\squeezetable\ declaration makes the table font
1508 smaller still (\cmd\scriptsize). Thus, putting the
1509 \cmd\squeezetable\ command before the \envb{table} line in a table
1510 will reduce the font size. If this isn't sufficient to fit
1511 the table on a page, the standard \LaTeXe\ \classname{longtable}
1512 package may be used. The scope of the
1513 \cmd\squeezetable\ command must be limited by enclosing it with a group:
1514 \begin{verbatim}
1515 \begingroup
1516 \squeezetable
1517 \begin{table}
1518 [...]
1519 \end{table}
1520 \endgroup
1521 \end{verbatim}
1522
1523 Tables are normally set to the width of the column in
1524 which they are placed. This means that in two-column mode, the table
1525 will be placed in a single, narrow column. For wide tables, the
1526 \cmd\table\verb+*+ environment should be used
1527 instead. This will place the table across both columns (the table
1528 usually will
1529 appear either at the top or the bottom of the following page).
1530
1531
1532 To break tables across pages, \revtex~4.1requires adding to the
1533 table a float placement option of [H] (meaning put the table ``here''
1534 and effectively ``unfloating'' the table) to the \envb{table}
1535 command. The commands \verb+\\*+ and \cmd{\samepage} can be used to
1536 control where the page breaks occur (these are the same as for the
1537 \env{eqnarray} environment).
1538
1539 Long tables are more robustly handled by using the
1540 \classname{longtable.sty} package included with the standard \LaTeXe\
1541 distribution (put \verb+\usepackage{longtable}+ in the preamble). This
1542 package gives precise control over the layout of the table.
1543 The \revtex~4.1 package contains patches that enable the
1544 \classname{longtable} package to work in two-column mode. Of course, a
1545 table set in two-column mode needs to be narrow enough to fit within
1546 the column. Otherwise, the columns may overlap. \revtex~4.1 provides
1547 an additional environment \env{longtable*} which allows a longtable to
1548 span the whole page width. Currently, the \env{longtable*} and
1549 \env{ruledtabular} environments are incompatible. In order to get the
1550 double (Scotch) rule, it is necessary to add the \verb+\hline\hline+
1551 manually (or define \verb+\endfirsthead+ and \verb+\endlastfoot+
1552 appropriately). For more documentation on the \env{longtable}
1553 environment and on the package options of the
1554 \classname{longtable} package, please see the documentation available at
1555 \url{http://www.ctan.org/macros/latex/required/tools/longtable.dtx} or
1556 refer to \cite{Compan}.
1557
1558 \section{Placement of Figures, Tables, and Other Floats}
1559 \label{sec:place}
1560
1561 By default, figures and tables (and any other ``floating'' environments
1562 defined by other packages) float to the top or bottom of the page
1563 using the standard \LaTeX\ float placement mechanism. Initially, each
1564 \env{figure} or \env{table} environment should be put immediately
1565 following its first reference in the text; this will usually result in
1566 satisfactory placement on the page. An optional argument for either
1567 environment adjusts the float placement. For example:
1568 \begin{quote}
1569 \envb{figure}\oarg{placement}\\
1570 \dots\\
1571 \enve{figure}
1572 \end{quote}
1573 where \meta{placement} can be any combination of \verb|htbp!|, signifying
1574 ``here'', ``top'', ``bottom'', ``page'', and ``as soon as possible'',
1575 respectively. The same placement argument may be added to a
1576 \envb{table}. For more details about float placement,
1577 see the instructions in the \LUG, Appendix~C.9.1.
1578
1579 In two-column mode, a page may contain both a \env{widetext}
1580 environment and a float. \revtex~4.1 may not always be able to
1581 automatically put the float in the optimal place. For instance, a
1582 float may be placed at the bottom of a column just before the
1583 \env{widetext} begins. To workaround this, try moving the float
1584 environment below the \env{widetext} environment. Alternative
1585 \meta{placements} may also alleviate the problem.
1586
1587 \env{figure} and \env{table} environments should not
1588 be enclosed in a \env{widetext} environment to make them span
1589 the page to accommodate wide figures or tables. Rather, the
1590 \env{figure*} or \env{table*} environments should be used instead.
1591
1592 Sometimes in \LaTeX\ the float placement mechanism breaks down and a
1593 float can't be placed. Such a ``stuck'' float may mean that it and all
1594 floats that follow are moved to the end of the job (and if there are
1595 too many of floats, the fatal error \texttt{Too many unprocessed floats}
1596 will occur). \revtex~4.1 provides the class option
1597 \classoption{floatfix} which attempts to invoke emergency float
1598 processing to avoid creating a ``stuck'' float. \revtex~4.1 will provide
1599 a message suggesting the use of
1600 \classoption{floatfix}. If \classoption{floatfix} doesn't work or if
1601 the resulting positioning of the float is poor, the float should be
1602 repositioned by hand.
1603
1604 \revtex~4.1 offers an additional possibility for placing the floats. By
1605 using the either the \classoption{endfloats} or the
1606 \classoption{endfloats*} class option all floats may be held
1607 back (using an external file) and then set elsewhere in the document
1608 using the the commands \cmd\printtables\ and \cmd\printfigures{},
1609 placed where the tables and figures are to be printed (usually at the
1610 end of the document). (This is similar to the standard
1611 \cmd\printindex\ command). Using a \texttt{*}-form of the commands
1612 (\cmd\printfigures\verb+*+ and
1613 \cmd\printtables\verb+*+) will begin the figures
1614 or tables on a new page. Alternatively, the option
1615 \classoption{endfloats*} may be used to change the behavior of the
1616 non-\texttt{*}-forms so that every float will appear on a separate
1617 page at the end.
1618
1619 Without one of the \classoption{endfloats} class options, these float
1620 placement commands are silently ignored, so it is always safe to use
1621 them. If one of the \classoption{endfloats} class options is given,
1622 but the \cmd\printtables\ command is missing, the tables will be
1623 printed at the end of the document. Likewise, if \cmd\printfigures\ is
1624 missing, the figures will be printed at the end of the document.
1625 Therefore it is also safe to omit these commands as long as \revtex's
1626 default choices for ordering figures and tables are satisfactory.
1627
1628 The \classoption{endfloats} option (or perhaps some journal substyle
1629 that invokes it), requires explicit \envb{figure}, \enve{figure},
1630 \envb{table}, and \enve{table} lines. In particular, do \emph{not}
1631 define typing shortcuts for table and figure environments, such as
1632 \begin{verbatim}
1633 \def\bt{\begin{table}}% Incompatible!
1634 \def\et{\end{table}}%
1635 \end{verbatim}
1636
1637 Please note that it is generally undesirable to have all floats moved
1638 to the end of the manuscript. APS no longer requires this for
1639 submissions. In fact, the editors and referees will have an easier time
1640 reading the paper if the floats are set in their normal positions.
1641
1642 \section{Rotating Floats}
1643
1644 Often a figure or table is too wide to be typeset in the standard
1645 orientation and it is necessary to rotate the float 90
1646 degrees. \revtex~4.1 provides a new environment \env{turnpage} as an
1647 easy means to accomplish this. The \env{turnpage} environment depends
1648 on one of the packages \classname{graphics} or \classname{graphicx}
1649 being loaded. To use the \env{turnpage} environment, simply enclose
1650 the \env{figure} or \env{table} environment with the \env{turnpage}
1651 environment:
1652 \begin{verbatim}
1653 \documentclass[...]{revtex4}
1654 \usepackage{graphicx}
1655 [...]
1656 \begin{turnpage}
1657 \begin{figure} or \begin{table}
1658 [...]
1659 \end{figure} or \end{table}
1660 \end{turnpage}
1661 \end{verbatim}
1662 A turnpage float will be typeset on a page by itself. Currently, there
1663 is no mechanism for breaking such a float across multiple pages.
1664
1665 \section{\revtex~4.1 symbols and the \classname{revsymb4-1} package}
1666
1667 Symbols made available in earlier versions of \revtex\ are
1668 defined in a separate package, \classname{revsymb4-1},
1669 so that they may be used with other classes.
1670 This might be useful if, say, copying text from a \revtex\ document to
1671 a non-\revtex\ document. \revtex~4.1 automatically includes these
1672 symbols so it is not necessary to explicitly call them in with a
1673 \cmd\usepackage\ statement.
1674
1675 Table~\ref{tab:revsymb} summarizes the symbols defined in this package.
1676 Note that \cmd{\overcirc}, \cmd{\overdots}, and \cmd{\corresponds} are
1677 no longer in \revtex~4.1. Use \cmd{\mathring} (standard in \LaTeXe),
1678 \cmd{\dddot} (with the \classoption{amsmath} package loaded), and
1679 \cmd\triangleq\ (with the \classoption{amssymb} class option) respectively.
1680 \cmd{\succsim}, \cmd{\precsim}, \cmd{\lesssim}, and \cmd{\gtrsim} are
1681 also defined either in \classname{amsmath} or \classname{amssymb}. The
1682 AMS versions of these commands will be used if the appropriate AMS
1683 package is loaded.
1684
1685 \begin{table}
1686 \caption{\label{tab:revsymb}Special \revtex~4.1 symbols, accents, and
1687 boldfaced parentheses defined in \file{revsymb.sty}}
1688 \begin{ruledtabular}
1689 \begin{tabular}{ll|ll}
1690 \cmd\lambdabar & $\lambdabar$ &\cmd\openone & $\openone$\\
1691 \cmd\altsuccsim & $\altsuccsim$ & \cmd\altprecsim & $\altprecsim$ \\
1692 \cmd\alt & $\alt$ & \cmd\agt & $\agt$ \\
1693 \cmd\tensor\ x & $\tensor x$ & \cmd\overstar\ x & $\overstar x$ \\
1694 \cmd\loarrow\ x & $\loarrow x$ & \cmd\roarrow\ x & $\roarrow x$ \\
1695 \cmd\biglb\ ( \cmd\bigrb ) & $\biglb( \bigrb)$ &
1696 \cmd\Biglb\ ( \cmd\Bigrb )& $\Biglb( \Bigrb)$ \\
1697 & & \\
1698 \cmd\bigglb\ ( \cmd\biggrb ) & $\bigglb( \biggrb)$ &
1699 \cmd\Bigglb\ ( \cmd\Biggrb\ ) & $\Bigglb( \Biggrb)$ \\
1700 \end{tabular}
1701 \end{ruledtabular}
1702 \end{table}
1703
1704 \section{Other \revtex~4.1 Features}
1705 %\subsection{Hooks}
1706 %To be written....
1707
1708 \subsection{Job-specific Override Files}
1709 \revtex~4.1 allows manuscript-specific macro definitions to be put
1710 in a file separate from the main \TeX\ file. One merely creates a file
1711 with the same basename as the \TeX\ file, but with the extension
1712 `.rty'. Thus, if the \TeX\ file is names man.tex, the macro
1713 definitions would go in man.rty. Note that the .rty file should be in
1714 the same directory as the \TeX\ file. APS authors should follow the
1715 guidelines in the \textit{APS Author Guide for \revtex~4.1} when
1716 submitting. Similarly, AIP authors should refer to the \textit{Author's Guide to AIP Substyles for \revtex~4.1}
1717
1718
1719 \begin{thebibliography}{}\label{sec:TeXbooks}
1720 \bibitem[Knuth(1986)]{TeXbook} D.E. Knuth, \emph{The \TeX book},
1721 (Addison-Wesley, Reading, MA, 1986).
1722 \bibitem[Lamport(1996)]{LaTeXman} L. Lamport, \emph{\LaTeX, a Document
1723 Preparation System}, (Addison-Wesley, Reading, MA, 1996).
1724 \bibitem[Kopka(1995)]{Guide} H. Kopka and P. Daly, \emph{A Guide to
1725 \LaTeXe}, (Addison-Wesley, Reading, MA, 1995).
1726 \bibitem[Goossens(1994)]{Compan} M. Goossens, F. Mittelbach, and
1727 A. Samarin, \emph{The \LaTeX\
1728 Companion}, (Addison-Wesley, Reading, MA, 1994).
1729 \bibitem[Goossens(1997)]{CompanG} M. Goossens, S. Rahtz, and
1730 F. Mittelbach, \emph{The
1731 \LaTeX\ Graphics Companion}, (Addison-Wesley, Reading, MA, 1997).
1732 \bibitem[Rahtz(1999)]{CompanW} S. Rahtz, M. Goossens, \emph{et
1733 al.},\emph{The \LaTeX\ Web Companion}, (Addison-Wesley, Reading, MA, 1999).
1734 \end{thebibliography}
1735
1736 \end{document}
1737