Debian Codegraph @

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