| 1 |
% ****** Start of file apssamp.tex ****** |
| 2 |
% |
| 3 |
% This file is part of the APS files in the REVTeX 4.2 distribution. |
| 4 |
% Version 4.2a of REVTeX, December 2014 |
| 5 |
% |
| 6 |
% Copyright (c) 2014 The American Physical Society. |
| 7 |
% |
| 8 |
% See the REVTeX 4 README file for restrictions and more information. |
| 9 |
% |
| 10 |
% TeX'ing this file requires that you have AMS-LaTeX 2.0 installed |
| 11 |
% as well as the rest of the prerequisites for REVTeX 4.2 |
| 12 |
% |
| 13 |
% See the REVTeX 4 README file |
| 14 |
% It also requires running BibTeX. The commands are as follows: |
| 15 |
% |
| 16 |
% 1) latex apssamp.tex |
| 17 |
% 2) bibtex apssamp |
| 18 |
% 3) latex apssamp.tex |
| 19 |
% 4) latex apssamp.tex |
| 20 |
% |
| 21 |
\documentclass[% |
| 22 |
reprint, |
| 23 |
%superscriptaddress, |
| 24 |
%groupedaddress, |
| 25 |
%unsortedaddress, |
| 26 |
%runinaddress, |
| 27 |
%frontmatterverbose, |
| 28 |
%preprint, |
| 29 |
%preprintnumbers, |
| 30 |
%nofootinbib, |
| 31 |
%nobibnotes, |
| 32 |
%bibnotes, |
| 33 |
amsmath,amssymb, |
| 34 |
aps, |
| 35 |
%pra, |
| 36 |
%prb, |
| 37 |
%rmp, |
| 38 |
%prstab, |
| 39 |
%prstper, |
| 40 |
%floatfix, |
| 41 |
]{revtex4-2} |
| 42 |
|
| 43 |
\usepackage{graphicx}% Include figure files |
| 44 |
\usepackage{dcolumn}% Align table columns on decimal point |
| 45 |
\usepackage{bm}% bold math |
| 46 |
%\usepackage{hyperref}% add hypertext capabilities |
| 47 |
%\usepackage[mathlines]{lineno}% Enable numbering of text and display math |
| 48 |
%\linenumbers\relax % Commence numbering lines |
| 49 |
|
| 50 |
%\usepackage[showframe,%Uncomment any one of the following lines to test |
| 51 |
%%scale=0.7, marginratio={1:1, 2:3}, ignoreall,% default settings |
| 52 |
%%text={7in,10in},centering, |
| 53 |
%%margin=1.5in, |
| 54 |
%%total={6.5in,8.75in}, top=1.2in, left=0.9in, includefoot, |
| 55 |
%%height=10in,a5paper,hmargin={3cm,0.8in}, |
| 56 |
%]{geometry} |
| 57 |
|
| 58 |
\begin{document} |
| 59 |
|
| 60 |
\preprint{APS/123-QED} |
| 61 |
|
| 62 |
\title{Manuscript Title:\\with Forced Linebreak}% Force line breaks with \\ |
| 63 |
\thanks{A footnote to the article title}% |
| 64 |
|
| 65 |
\author{Ann Author} |
| 66 |
\altaffiliation[Also at ]{Physics Department, XYZ University.}%Lines break automatically or can be forced with \\ |
| 67 |
\author{Second Author}% |
| 68 |
\email{[email protected]} |
| 69 |
\affiliation{% |
| 70 |
Authors' institution and/or address\\ |
| 71 |
This line break forced with \textbackslash\textbackslash |
| 72 |
}% |
| 73 |
|
| 74 |
\collaboration{MUSO Collaboration}%\noaffiliation |
| 75 |
|
| 76 |
\author{Charlie Author} |
| 77 |
\homepage{http://www.Second.institution.edu/~Charlie.Author} |
| 78 |
\affiliation{ |
| 79 |
Second institution and/or address\\ |
| 80 |
This line break forced% with \\ |
| 81 |
}% |
| 82 |
\affiliation{ |
| 83 |
Third institution, the second for Charlie Author |
| 84 |
}% |
| 85 |
\author{Delta Author} |
| 86 |
\affiliation{% |
| 87 |
Authors' institution and/or address\\ |
| 88 |
This line break forced with \textbackslash\textbackslash |
| 89 |
}% |
| 90 |
|
| 91 |
\collaboration{CLEO Collaboration}%\noaffiliation |
| 92 |
|
| 93 |
\date{\today}% It is always \today, today, |
| 94 |
% but any date may be explicitly specified |
| 95 |
|
| 96 |
\begin{abstract} |
| 97 |
An article usually includes an abstract, a concise summary of the work |
| 98 |
covered at length in the main body of the article. |
| 99 |
\begin{description} |
| 100 |
\item[Usage] |
| 101 |
Secondary publications and information retrieval purposes. |
| 102 |
\item[Structure] |
| 103 |
You may use the \texttt{description} environment to structure your abstract; |
| 104 |
use the optional argument of the \verb+\item+ command to give the category of each item. |
| 105 |
\end{description} |
| 106 |
\end{abstract} |
| 107 |
|
| 108 |
%\keywords{Suggested keywords}%Use showkeys class option if keyword |
| 109 |
%display desired |
| 110 |
\maketitle |
| 111 |
|
| 112 |
%\tableofcontents |
| 113 |
|
| 114 |
\section{\label{sec:level1}First-level heading:\protect\\ The line |
| 115 |
break was forced \lowercase{via} \textbackslash\textbackslash} |
| 116 |
|
| 117 |
This sample document demonstrates proper use of REV\TeX~4.2 (and |
| 118 |
\LaTeXe) in mansucripts prepared for submission to APS |
| 119 |
journals. Further information can be found in the REV\TeX~4.2 |
| 120 |
documentation included in the distribution or available at |
| 121 |
\url{http://journals.aps.org/revtex/}. |
| 122 |
|
| 123 |
When commands are referred to in this example file, they are always |
| 124 |
shown with their required arguments, using normal \TeX{} format. In |
| 125 |
this format, \verb+#1+, \verb+#2+, etc. stand for required |
| 126 |
author-supplied arguments to commands. For example, in |
| 127 |
\verb+\section{#1}+ the \verb+#1+ stands for the title text of the |
| 128 |
author's section heading, and in \verb+\title{#1}+ the \verb+#1+ |
| 129 |
stands for the title text of the paper. |
| 130 |
|
| 131 |
Line breaks in section headings at all levels can be introduced using |
| 132 |
\textbackslash\textbackslash. A blank input line tells \TeX\ that the |
| 133 |
paragraph has ended. Note that top-level section headings are |
| 134 |
automatically uppercased. If a specific letter or word should appear in |
| 135 |
lowercase instead, you must escape it using \verb+\lowercase{#1}+ as |
| 136 |
in the word ``via'' above. |
| 137 |
|
| 138 |
\subsection{\label{sec:level2}Second-level heading: Formatting} |
| 139 |
|
| 140 |
This file may be formatted in either the \texttt{preprint} or |
| 141 |
\texttt{reprint} style. \texttt{reprint} format mimics final journal output. |
| 142 |
Either format may be used for submission purposes. \texttt{letter} sized paper should |
| 143 |
be used when submitting to APS journals. |
| 144 |
|
| 145 |
\subsubsection{Wide text (A level-3 head)} |
| 146 |
The \texttt{widetext} environment will make the text the width of the |
| 147 |
full page, as on page~\pageref{eq:wideeq}. (Note the use the |
| 148 |
\verb+\pageref{#1}+ command to refer to the page number.) |
| 149 |
\paragraph{Note (Fourth-level head is run in)} |
| 150 |
The width-changing commands only take effect in two-column formatting. |
| 151 |
There is no effect if text is in a single column. |
| 152 |
|
| 153 |
\subsection{\label{sec:citeref}Citations and References} |
| 154 |
A citation in text uses the command \verb+\cite{#1}+ or |
| 155 |
\verb+\onlinecite{#1}+ and refers to an entry in the bibliography. |
| 156 |
An entry in the bibliography is a reference to another document. |
| 157 |
|
| 158 |
\subsubsection{Citations} |
| 159 |
Because REV\TeX\ uses the \verb+natbib+ package of Patrick Daly, |
| 160 |
the entire repertoire of commands in that package are available for your document; |
| 161 |
see the \verb+natbib+ documentation for further details. Please note that |
| 162 |
REV\TeX\ requires version 8.31a or later of \verb+natbib+. |
| 163 |
|
| 164 |
\paragraph{Syntax} |
| 165 |
The argument of \verb+\cite+ may be a single \emph{key}, |
| 166 |
or may consist of a comma-separated list of keys. |
| 167 |
The citation \emph{key} may contain |
| 168 |
letters, numbers, the dash (-) character, or the period (.) character. |
| 169 |
New with natbib 8.3 is an extension to the syntax that allows for |
| 170 |
a star (*) form and two optional arguments on the citation key itself. |
| 171 |
The syntax of the \verb+\cite+ command is thus (informally stated) |
| 172 |
\begin{quotation}\flushleft\leftskip1em |
| 173 |
\verb+\cite+ \verb+{+ \emph{key} \verb+}+, or\\ |
| 174 |
\verb+\cite+ \verb+{+ \emph{optarg+key} \verb+}+, or\\ |
| 175 |
\verb+\cite+ \verb+{+ \emph{optarg+key} \verb+,+ \emph{optarg+key}\ldots \verb+}+, |
| 176 |
\end{quotation}\noindent |
| 177 |
where \emph{optarg+key} signifies |
| 178 |
\begin{quotation}\flushleft\leftskip1em |
| 179 |
\emph{key}, or\\ |
| 180 |
\texttt{*}\emph{key}, or\\ |
| 181 |
\texttt{[}\emph{pre}\texttt{]}\emph{key}, or\\ |
| 182 |
\texttt{[}\emph{pre}\texttt{]}\texttt{[}\emph{post}\texttt{]}\emph{key}, or even\\ |
| 183 |
\texttt{*}\texttt{[}\emph{pre}\texttt{]}\texttt{[}\emph{post}\texttt{]}\emph{key}. |
| 184 |
\end{quotation}\noindent |
| 185 |
where \emph{pre} and \emph{post} is whatever text you wish to place |
| 186 |
at the beginning and end, respectively, of the bibliographic reference |
| 187 |
(see Ref.~[\onlinecite{witten2001}] and the two under Ref.~[\onlinecite{feyn54}]). |
| 188 |
(Keep in mind that no automatic space or punctuation is applied.) |
| 189 |
It is highly recommended that you put the entire \emph{pre} or \emph{post} portion |
| 190 |
within its own set of braces, for example: |
| 191 |
\verb+\cite+ \verb+{+ \texttt{[} \verb+{+\emph{text}\verb+}+\texttt{]}\emph{key}\verb+}+. |
| 192 |
The extra set of braces will keep \LaTeX\ out of trouble if your \emph{text} contains the comma (,) character. |
| 193 |
|
| 194 |
The star (*) modifier to the \emph{key} signifies that the reference is to be |
| 195 |
merged with the previous reference into a single bibliographic entry, |
| 196 |
a common idiom in APS and AIP articles (see below, Ref.~[\onlinecite{epr}]). |
| 197 |
When references are merged in this way, they are separated by a semicolon instead of |
| 198 |
the period (full stop) that would otherwise appear. |
| 199 |
|
| 200 |
\paragraph{Eliding repeated information} |
| 201 |
When a reference is merged, some of its fields may be elided: for example, |
| 202 |
when the author matches that of the previous reference, it is omitted. |
| 203 |
If both author and journal match, both are omitted. |
| 204 |
If the journal matches, but the author does not, the journal is replaced by \emph{ibid.}, |
| 205 |
as exemplified by Ref.~[\onlinecite{epr}]. |
| 206 |
These rules embody common editorial practice in APS and AIP journals and will only |
| 207 |
be in effect if the markup features of the APS and AIP Bib\TeX\ styles is employed. |
| 208 |
|
| 209 |
\paragraph{The options of the cite command itself} |
| 210 |
Please note that optional arguments to the \emph{key} change the reference in the bibliography, |
| 211 |
not the citation in the body of the document. |
| 212 |
For the latter, use the optional arguments of the \verb+\cite+ command itself: |
| 213 |
\verb+\cite+ \texttt{*}\allowbreak |
| 214 |
\texttt{[}\emph{pre-cite}\texttt{]}\allowbreak |
| 215 |
\texttt{[}\emph{post-cite}\texttt{]}\allowbreak |
| 216 |
\verb+{+\emph{key-list}\verb+}+. |
| 217 |
|
| 218 |
\subsubsection{Example citations} |
| 219 |
By default, citations are numerical\cite{Beutler1994}. |
| 220 |
Author-year citations are used when the journal is RMP. |
| 221 |
To give a textual citation, use \verb+\onlinecite{#1}+: |
| 222 |
Refs.~\onlinecite{[][{, and references therein}]witten2001,Bire82}. |
| 223 |
By default, the \texttt{natbib} package automatically sorts your citations into numerical order and ``compresses'' runs of three or more consecutive numerical citations. |
| 224 |
REV\TeX\ provides the ability to automatically change the punctuation when switching between journal styles that provide citations in square brackets and those that use a superscript style instead. This is done through the \texttt{citeautoscript} option. For instance, the journal style \texttt{prb} automatically invokes this option because \textit{Physical |
| 225 |
Review B} uses superscript-style citations. The effect is to move the punctuation, which normally comes after a citation in square brackets, to its proper position before the superscript. |
| 226 |
To illustrate, we cite several together |
| 227 |
\cite{[See the explanation of time travel in ]feyn54,*[The classical relativistic treatment of ][ is a relative classic]epr,witten2001,Berman1983,Davies1998,Bire82}, |
| 228 |
and once again in different order (Refs.~\cite{epr,feyn54,Bire82,Berman1983,witten2001,Davies1998}). |
| 229 |
Note that the citations were both compressed and sorted. Futhermore, running this sample file under the \texttt{prb} option will move the punctuation to the correct place. |
| 230 |
|
| 231 |
When the \verb+prb+ class option is used, the \verb+\cite{#1}+ command |
| 232 |
displays the reference's number as a superscript rather than in |
| 233 |
square brackets. Note that the location of the \verb+\cite{#1}+ |
| 234 |
command should be adjusted for the reference style: the superscript |
| 235 |
references in \verb+prb+ style must appear after punctuation; |
| 236 |
otherwise the reference must appear before any punctuation. This |
| 237 |
sample was written for the regular (non-\texttt{prb}) citation style. |
| 238 |
The command \verb+\onlinecite{#1}+ in the \texttt{prb} style also |
| 239 |
displays the reference on the baseline. |
| 240 |
|
| 241 |
\subsubsection{References} |
| 242 |
A reference in the bibliography is specified by a \verb+\bibitem{#1}+ command |
| 243 |
with the same argument as the \verb+\cite{#1}+ command. |
| 244 |
\verb+\bibitem{#1}+ commands may be crafted by hand or, preferably, |
| 245 |
generated by Bib\TeX. |
| 246 |
REV\TeX~4.2 includes Bib\TeX\ style files |
| 247 |
\verb+apsrev4-2.bst+, \verb+apsrmp4-2.bst+ appropriate for |
| 248 |
\textit{Physical Review} and \textit{Reviews of Modern Physics}, |
| 249 |
respectively. |
| 250 |
|
| 251 |
\subsubsection{Example references} |
| 252 |
This sample file employs the \verb+\bibliography+ command, |
| 253 |
which formats the \texttt{\jobname .bbl} file |
| 254 |
and specifies which bibliographic databases are to be used by Bib\TeX\ |
| 255 |
(one of these should be by arXiv convention \texttt{\jobname .bib}). |
| 256 |
Running Bib\TeX\ (via \texttt{bibtex \jobname}) |
| 257 |
after the first pass of \LaTeX\ produces the file |
| 258 |
\texttt{\jobname .bbl} which contains the automatically formatted |
| 259 |
\verb+\bibitem+ commands (including extra markup information via |
| 260 |
\verb+\bibinfo+ and \verb+\bibfield+ commands). |
| 261 |
If not using Bib\TeX, you will have to create the \verb+thebibiliography+ environment |
| 262 |
and its \verb+\bibitem+ commands by hand. |
| 263 |
|
| 264 |
Numerous examples of the use of the APS bibliographic entry types appear in the bibliography of this sample document. |
| 265 |
You can refer to the \texttt{\jobname .bib} file, |
| 266 |
and compare its information to the formatted bibliography itself. |
| 267 |
|
| 268 |
\subsection{Footnotes}% |
| 269 |
Footnotes, produced using the \verb+\footnote{#1}+ command, |
| 270 |
usually integrated into the bibliography alongside the other entries. |
| 271 |
Numerical citation styles do this% |
| 272 |
\footnote{Automatically placing footnotes into the bibliography requires using BibTeX to compile the bibliography.}; |
| 273 |
author-year citation styles place the footnote at the bottom of the text column. |
| 274 |
Note: due to the method used to place footnotes in the bibliography, |
| 275 |
\emph{you must re-run Bib\TeX\ every time you change any of your document's footnotes}. |
| 276 |
|
| 277 |
\section{Math and Equations} |
| 278 |
Inline math may be typeset using the \verb+$+ delimiters. Bold math |
| 279 |
symbols may be achieved using the \verb+bm+ package and the |
| 280 |
\verb+\bm{#1}+ command it supplies. For instance, a bold $\alpha$ can |
| 281 |
be typeset as \verb+$\bm{\alpha}$+ giving $\bm{\alpha}$. Fraktur and |
| 282 |
Blackboard (or open face or double struck) characters should be |
| 283 |
typeset using the \verb+\mathfrak{#1}+ and \verb+\mathbb{#1}+ commands |
| 284 |
respectively. Both are supplied by the \texttt{amssymb} package. For |
| 285 |
example, \verb+$\mathbb{R}$+ gives $\mathbb{R}$ and |
| 286 |
\verb+$\mathfrak{G}$+ gives $\mathfrak{G}$ |
| 287 |
|
| 288 |
In \LaTeX\ there are many different ways to display equations, and a |
| 289 |
few preferred ways are noted below. Displayed math will center by |
| 290 |
default. Use the class option \verb+fleqn+ to flush equations left. |
| 291 |
|
| 292 |
Below we have numbered single-line equations; this is the most common |
| 293 |
type of equation in \textit{Physical Review}: |
| 294 |
\begin{eqnarray} |
| 295 |
\chi_+(p)\alt{\bf [}2|{\bf p}|(|{\bf p}|+p_z){\bf ]}^{-1/2} |
| 296 |
\left( |
| 297 |
\begin{array}{c} |
| 298 |
|{\bf p}|+p_z\\ |
| 299 |
px+ip_y |
| 300 |
\end{array}\right)\;, |
| 301 |
\\ |
| 302 |
\left\{% |
| 303 |
\openone234567890abc123\alpha\beta\gamma\delta1234556\alpha\beta |
| 304 |
\frac{1\sum^{a}_{b}}{A^2}% |
| 305 |
\right\}% |
| 306 |
\label{eq:one}. |
| 307 |
\end{eqnarray} |
| 308 |
Note the open one in Eq.~(\ref{eq:one}). |
| 309 |
|
| 310 |
Not all numbered equations will fit within a narrow column this |
| 311 |
way. The equation number will move down automatically if it cannot fit |
| 312 |
on the same line with a one-line equation: |
| 313 |
\begin{equation} |
| 314 |
\left\{ |
| 315 |
ab12345678abc123456abcdef\alpha\beta\gamma\delta1234556\alpha\beta |
| 316 |
\frac{1\sum^{a}_{b}}{A^2}% |
| 317 |
\right\}. |
| 318 |
\end{equation} |
| 319 |
|
| 320 |
When the \verb+\label{#1}+ command is used [cf. input for |
| 321 |
Eq.~(\ref{eq:one})], the equation can be referred to in text without |
| 322 |
knowing the equation number that \TeX\ will assign to it. Just |
| 323 |
use \verb+\ref{#1}+, where \verb+#1+ is the same name that used in |
| 324 |
the \verb+\label{#1}+ command. |
| 325 |
|
| 326 |
Unnumbered single-line equations can be typeset |
| 327 |
using the \verb+\[+, \verb+\]+ format: |
| 328 |
\[g^+g^+ \rightarrow g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow |
| 329 |
q^+g^+g^+ \dots ~. \] |
| 330 |
|
| 331 |
|
| 332 |
\subsection{Multiline equations} |
| 333 |
|
| 334 |
Multiline equations are obtained by using the \verb+eqnarray+ |
| 335 |
environment. Use the \verb+\nonumber+ command at the end of each line |
| 336 |
to avoid assigning a number: |
| 337 |
\begin{eqnarray} |
| 338 |
{\cal M}=&&ig_Z^2(4E_1E_2)^{1/2}(l_i^2)^{-1} |
| 339 |
\delta_{\sigma_1,-\sigma_2} |
| 340 |
(g_{\sigma_2}^e)^2\chi_{-\sigma_2}(p_2)\nonumber\\ |
| 341 |
&&\times |
| 342 |
[\epsilon_jl_i\epsilon_i]_{\sigma_1}\chi_{\sigma_1}(p_1), |
| 343 |
\end{eqnarray} |
| 344 |
\begin{eqnarray} |
| 345 |
\sum \vert M^{\text{viol}}_g \vert ^2&=&g^{2n-4}_S(Q^2)~N^{n-2} |
| 346 |
(N^2-1)\nonumber \\ |
| 347 |
& &\times \left( \sum_{i<j}\right) |
| 348 |
\sum_{\text{perm}} |
| 349 |
\frac{1}{S_{12}} |
| 350 |
\frac{1}{S_{12}} |
| 351 |
\sum_\tau c^f_\tau~. |
| 352 |
\end{eqnarray} |
| 353 |
\textbf{Note:} Do not use \verb+\label{#1}+ on a line of a multiline |
| 354 |
equation if \verb+\nonumber+ is also used on that line. Incorrect |
| 355 |
cross-referencing will result. Notice the use \verb+\text{#1}+ for |
| 356 |
using a Roman font within a math environment. |
| 357 |
|
| 358 |
To set a multiline equation without \emph{any} equation |
| 359 |
numbers, use the \verb+\begin{eqnarray*}+, |
| 360 |
\verb+\end{eqnarray*}+ format: |
| 361 |
\begin{eqnarray*} |
| 362 |
\sum \vert M^{\text{viol}}_g \vert ^2&=&g^{2n-4}_S(Q^2)~N^{n-2} |
| 363 |
(N^2-1)\\ |
| 364 |
& &\times \left( \sum_{i<j}\right) |
| 365 |
\left( |
| 366 |
\sum_{\text{perm}}\frac{1}{S_{12}S_{23}S_{n1}} |
| 367 |
\right) |
| 368 |
\frac{1}{S_{12}}~. |
| 369 |
\end{eqnarray*} |
| 370 |
|
| 371 |
To obtain numbers not normally produced by the automatic numbering, |
| 372 |
use the \verb+\tag{#1}+ command, where \verb+#1+ is the desired |
| 373 |
equation number. For example, to get an equation number of |
| 374 |
(\ref{eq:mynum}), |
| 375 |
\begin{equation} |
| 376 |
g^+g^+ \rightarrow g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow |
| 377 |
q^+g^+g^+ \dots ~. \tag{2.6$'$}\label{eq:mynum} |
| 378 |
\end{equation} |
| 379 |
|
| 380 |
\paragraph{A few notes on \texttt{tag}s} |
| 381 |
\verb+\tag{#1}+ requires the \texttt{amsmath} package. |
| 382 |
Place the \verb+\tag{#1}+ command before the \verb+\label{#1}+, if any. |
| 383 |
The numbering produced by \verb+\tag{#1}+ \textit{does not affect} |
| 384 |
the automatic numbering in REV\TeX; |
| 385 |
therefore, the number must be known ahead of time, |
| 386 |
and it must be manually adjusted if other equations are added. |
| 387 |
\verb+\tag{#1}+ works with both single-line and multiline equations. |
| 388 |
\verb+\tag{#1}+ should only be used in exceptional cases---% |
| 389 |
do not use it to number many equations in your paper. |
| 390 |
Please note that this feature of the \texttt{amsmath} package |
| 391 |
is \emph{not} compatible with the \texttt{hyperref} (6.77u) package. |
| 392 |
|
| 393 |
Enclosing display math within |
| 394 |
\verb+\begin{subequations}+ and \verb+\end{subequations}+ will produce |
| 395 |
a set of equations that are labeled with letters, as shown in |
| 396 |
Eqs.~(\ref{subeq:1}) and (\ref{subeq:2}) below. |
| 397 |
You may include any number of single-line and multiline equations, |
| 398 |
although it is probably not a good idea to follow one display math |
| 399 |
directly after another. |
| 400 |
\begin{subequations} |
| 401 |
\label{eq:whole} |
| 402 |
\begin{eqnarray} |
| 403 |
{\cal M}=&&ig_Z^2(4E_1E_2)^{1/2}(l_i^2)^{-1} |
| 404 |
(g_{\sigma_2}^e)^2\chi_{-\sigma_2}(p_2)\nonumber\\ |
| 405 |
&&\times |
| 406 |
[\epsilon_i]_{\sigma_1}\chi_{\sigma_1}(p_1).\label{subeq:2} |
| 407 |
\end{eqnarray} |
| 408 |
\begin{equation} |
| 409 |
\left\{ |
| 410 |
abc123456abcdef\alpha\beta\gamma\delta1234556\alpha\beta |
| 411 |
\frac{1\sum^{a}_{b}}{A^2} |
| 412 |
\right\},\label{subeq:1} |
| 413 |
\end{equation} |
| 414 |
\end{subequations} |
| 415 |
Giving a \verb+\label{#1}+ command directly after the \verb+\begin{subequations}+, |
| 416 |
allows you to reference all the equations in the \texttt{subequations} environment. |
| 417 |
For example, the equations in the preceding subequations environment were |
| 418 |
Eqs.~(\ref{eq:whole}). |
| 419 |
|
| 420 |
\subsubsection{Wide equations} |
| 421 |
The equation that follows is set in a wide format, i.e., it spans the full page. |
| 422 |
The wide format is reserved for long equations |
| 423 |
that cannot easily be set in a single column: |
| 424 |
\begin{widetext} |
| 425 |
\begin{equation} |
| 426 |
{\cal R}^{(\text{d})}= |
| 427 |
g_{\sigma_2}^e |
| 428 |
\left( |
| 429 |
\frac{[\Gamma^Z(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2} |
| 430 |
+\frac{[\Gamma^Z(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2} |
| 431 |
\right) |
| 432 |
+ x_WQ_e |
| 433 |
\left( |
| 434 |
\frac{[\Gamma^\gamma(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2} |
| 435 |
+\frac{[\Gamma^\gamma(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2} |
| 436 |
\right)\;. |
| 437 |
\label{eq:wideeq} |
| 438 |
\end{equation} |
| 439 |
\end{widetext} |
| 440 |
This is typed to show how the output appears in wide format. |
| 441 |
(Incidentally, since there is no blank line between the \texttt{equation} environment above |
| 442 |
and the start of this paragraph, this paragraph is not indented.) |
| 443 |
|
| 444 |
\section{Cross-referencing} |
| 445 |
REV\TeX{} will automatically number such things as |
| 446 |
sections, footnotes, equations, figure captions, and table captions. |
| 447 |
In order to reference them in text, use the |
| 448 |
\verb+\label{#1}+ and \verb+\ref{#1}+ commands. |
| 449 |
To reference a particular page, use the \verb+\pageref{#1}+ command. |
| 450 |
|
| 451 |
The \verb+\label{#1}+ should appear |
| 452 |
within the section heading, |
| 453 |
within the footnote text, |
| 454 |
within the equation, or |
| 455 |
within the table or figure caption. |
| 456 |
The \verb+\ref{#1}+ command |
| 457 |
is used in text at the point where the reference is to be displayed. |
| 458 |
Some examples: Section~\ref{sec:level1} on page~\pageref{sec:level1}, |
| 459 |
Table~\ref{tab:table1},% |
| 460 |
\begin{table}[b]%The best place to locate the table environment is directly after its first reference in text |
| 461 |
\caption{\label{tab:table1}% |
| 462 |
A table that fits into a single column of a two-column layout. |
| 463 |
Note that REV\TeX~4 adjusts the intercolumn spacing so that the table fills the |
| 464 |
entire width of the column. Table captions are numbered |
| 465 |
automatically. |
| 466 |
This table illustrates left-, center-, decimal- and right-aligned columns, |
| 467 |
along with the use of the \texttt{ruledtabular} environment which sets the |
| 468 |
Scotch (double) rules above and below the alignment, per APS style. |
| 469 |
} |
| 470 |
\begin{ruledtabular} |
| 471 |
\begin{tabular}{lcdr} |
| 472 |
\textrm{Left\footnote{Note a.}}& |
| 473 |
\textrm{Centered\footnote{Note b.}}& |
| 474 |
\multicolumn{1}{c}{\textrm{Decimal}}& |
| 475 |
\textrm{Right}\\ |
| 476 |
\colrule |
| 477 |
1 & 2 & 3.001 & 4\\ |
| 478 |
10 & 20 & 30 & 40\\ |
| 479 |
100 & 200 & 300.0 & 400\\ |
| 480 |
\end{tabular} |
| 481 |
\end{ruledtabular} |
| 482 |
\end{table} |
| 483 |
and Fig.~\ref{fig:epsart}.% |
| 484 |
\begin{figure}[b] |
| 485 |
\includegraphics{fig_1}% Here is how to import EPS art |
| 486 |
\caption{\label{fig:epsart} A figure caption. The figure captions are |
| 487 |
automatically numbered.} |
| 488 |
\end{figure} |
| 489 |
|
| 490 |
\section{Floats: Figures, Tables, Videos, etc.} |
| 491 |
Figures and tables are usually allowed to ``float'', which means that their |
| 492 |
placement is determined by \LaTeX, while the document is being typeset. |
| 493 |
|
| 494 |
Use the \texttt{figure} environment for a figure, the \texttt{table} environment for a table. |
| 495 |
In each case, use the \verb+\caption+ command within to give the text of the |
| 496 |
figure or table caption along with the \verb+\label+ command to provide |
| 497 |
a key for referring to this figure or table. |
| 498 |
The typical content of a figure is an image of some kind; |
| 499 |
that of a table is an alignment.% |
| 500 |
\begin{figure*} |
| 501 |
\includegraphics{fig_2}% Here is how to import EPS art |
| 502 |
\caption{\label{fig:wide}Use the figure* environment to get a wide |
| 503 |
figure that spans the page in \texttt{twocolumn} formatting.} |
| 504 |
\end{figure*} |
| 505 |
\begin{table*} |
| 506 |
\caption{\label{tab:table3}This is a wide table that spans the full page |
| 507 |
width in a two-column layout. It is formatted using the |
| 508 |
\texttt{table*} environment. It also demonstates the use of |
| 509 |
\textbackslash\texttt{multicolumn} in rows with entries that span |
| 510 |
more than one column.} |
| 511 |
\begin{ruledtabular} |
| 512 |
\begin{tabular}{ccccc} |
| 513 |
&\multicolumn{2}{c}{$D_{4h}^1$}&\multicolumn{2}{c}{$D_{4h}^5$}\\ |
| 514 |
Ion&1st alternative&2nd alternative&lst alternative |
| 515 |
&2nd alternative\\ \hline |
| 516 |
K&$(2e)+(2f)$&$(4i)$ &$(2c)+(2d)$&$(4f)$ \\ |
| 517 |
Mn&$(2g)$\footnote{The $z$ parameter of these positions is $z\sim\frac{1}{4}$.} |
| 518 |
&$(a)+(b)+(c)+(d)$&$(4e)$&$(2a)+(2b)$\\ |
| 519 |
Cl&$(a)+(b)+(c)+(d)$&$(2g)$\footnotemark[1] |
| 520 |
&$(4e)^{\text{a}}$\\ |
| 521 |
He&$(8r)^{\text{a}}$&$(4j)^{\text{a}}$&$(4g)^{\text{a}}$\\ |
| 522 |
Ag& &$(4k)^{\text{a}}$& &$(4h)^{\text{a}}$\\ |
| 523 |
\end{tabular} |
| 524 |
\end{ruledtabular} |
| 525 |
\end{table*} |
| 526 |
|
| 527 |
Insert an image using either the \texttt{graphics} or |
| 528 |
\texttt{graphix} packages, which define the \verb+\includegraphics{#1}+ command. |
| 529 |
(The two packages differ in respect of the optional arguments |
| 530 |
used to specify the orientation, scaling, and translation of the image.) |
| 531 |
To create an alignment, use the \texttt{tabular} environment. |
| 532 |
|
| 533 |
The best place to locate the \texttt{figure} or \texttt{table} environment |
| 534 |
is immediately following its first reference in text; this sample document |
| 535 |
illustrates this practice for Fig.~\ref{fig:epsart}, which |
| 536 |
shows a figure that is small enough to fit in a single column. |
| 537 |
|
| 538 |
In exceptional cases, you will need to move the float earlier in the document, as was done |
| 539 |
with Table~\ref{tab:table3}: \LaTeX's float placement algorithms need to know |
| 540 |
about a full-page-width float earlier. |
| 541 |
|
| 542 |
Fig.~\ref{fig:wide} |
| 543 |
has content that is too wide for a single column, |
| 544 |
so the \texttt{figure*} environment has been used.% |
| 545 |
\begin{table}[b] |
| 546 |
\caption{\label{tab:table4}% |
| 547 |
Numbers in columns Three--Five are aligned with the ``d'' column specifier |
| 548 |
(requires the \texttt{dcolumn} package). |
| 549 |
Non-numeric entries (those entries without a ``.'') in a ``d'' column are aligned on the decimal point. |
| 550 |
Use the ``D'' specifier for more complex layouts. } |
| 551 |
\begin{ruledtabular} |
| 552 |
\begin{tabular}{ccddd} |
| 553 |
One&Two& |
| 554 |
\multicolumn{1}{c}{\textrm{Three}}& |
| 555 |
\multicolumn{1}{c}{\textrm{Four}}& |
| 556 |
\multicolumn{1}{c}{\textrm{Five}}\\ |
| 557 |
%\mbox{Three}&\mbox{Four}&\mbox{Five}\\ |
| 558 |
\hline |
| 559 |
one&two&\mbox{three}&\mbox{four}&\mbox{five}\\ |
| 560 |
He&2& 2.77234 & 45672. & 0.69 \\ |
| 561 |
C\footnote{Some tables require footnotes.} |
| 562 |
&C\footnote{Some tables need more than one footnote.} |
| 563 |
& 12537.64 & 37.66345 & 86.37 \\ |
| 564 |
\end{tabular} |
| 565 |
\end{ruledtabular} |
| 566 |
\end{table} |
| 567 |
|
| 568 |
The content of a table is typically a \texttt{tabular} environment, |
| 569 |
giving rows of type in aligned columns. |
| 570 |
Column entries separated by \verb+&+'s, and |
| 571 |
each row ends with \textbackslash\textbackslash. |
| 572 |
The required argument for the \texttt{tabular} environment |
| 573 |
specifies how data are aligned in the columns. |
| 574 |
For instance, entries may be centered, left-justified, right-justified, aligned on a decimal |
| 575 |
point. |
| 576 |
Extra column-spacing may be be specified as well, |
| 577 |
although REV\TeX~4 sets this spacing so that the columns fill the width of the |
| 578 |
table. Horizontal rules are typeset using the \verb+\hline+ |
| 579 |
command. The doubled (or Scotch) rules that appear at the top and |
| 580 |
bottom of a table can be achieved enclosing the \texttt{tabular} |
| 581 |
environment within a \texttt{ruledtabular} environment. Rows whose |
| 582 |
columns span multiple columns can be typeset using the |
| 583 |
\verb+\multicolumn{#1}{#2}{#3}+ command (for example, see the first |
| 584 |
row of Table~\ref{tab:table3}).% |
| 585 |
|
| 586 |
Tables~\ref{tab:table1}, \ref{tab:table3}, \ref{tab:table4}, and \ref{tab:table2}% |
| 587 |
\begin{table}[b] |
| 588 |
\caption{\label{tab:table2} |
| 589 |
A table with numerous columns that still fits into a single column. |
| 590 |
Here, several entries share the same footnote. |
| 591 |
Inspect the \LaTeX\ input for this table to see exactly how it is done.} |
| 592 |
\begin{ruledtabular} |
| 593 |
\begin{tabular}{cccccccc} |
| 594 |
&$r_c$ (\AA)&$r_0$ (\AA)&$\kappa r_0$& |
| 595 |
&$r_c$ (\AA) &$r_0$ (\AA)&$\kappa r_0$\\ |
| 596 |
\hline |
| 597 |
Cu& 0.800 & 14.10 & 2.550 &Sn\footnotemark[1] |
| 598 |
& 0.680 & 1.870 & 3.700 \\ |
| 599 |
Ag& 0.990 & 15.90 & 2.710 &Pb\footnotemark[2] |
| 600 |
& 0.450 & 1.930 & 3.760 \\ |
| 601 |
Au& 1.150 & 15.90 & 2.710 &Ca\footnotemark[3] |
| 602 |
& 0.750 & 2.170 & 3.560 \\ |
| 603 |
Mg& 0.490 & 17.60 & 3.200 &Sr\footnotemark[4] |
| 604 |
& 0.900 & 2.370 & 3.720 \\ |
| 605 |
Zn& 0.300 & 15.20 & 2.970 &Li\footnotemark[2] |
| 606 |
& 0.380 & 1.730 & 2.830 \\ |
| 607 |
Cd& 0.530 & 17.10 & 3.160 &Na\footnotemark[5] |
| 608 |
& 0.760 & 2.110 & 3.120 \\ |
| 609 |
Hg& 0.550 & 17.80 & 3.220 &K\footnotemark[5] |
| 610 |
& 1.120 & 2.620 & 3.480 \\ |
| 611 |
Al& 0.230 & 15.80 & 3.240 &Rb\footnotemark[3] |
| 612 |
& 1.330 & 2.800 & 3.590 \\ |
| 613 |
Ga& 0.310 & 16.70 & 3.330 &Cs\footnotemark[4] |
| 614 |
& 1.420 & 3.030 & 3.740 \\ |
| 615 |
In& 0.460 & 18.40 & 3.500 &Ba\footnotemark[5] |
| 616 |
& 0.960 & 2.460 & 3.780 \\ |
| 617 |
Tl& 0.480 & 18.90 & 3.550 & & & & \\ |
| 618 |
\end{tabular} |
| 619 |
\end{ruledtabular} |
| 620 |
\footnotetext[1]{Here's the first, from Ref.~\onlinecite{feyn54}.} |
| 621 |
\footnotetext[2]{Here's the second.} |
| 622 |
\footnotetext[3]{Here's the third.} |
| 623 |
\footnotetext[4]{Here's the fourth.} |
| 624 |
\footnotetext[5]{And etc.} |
| 625 |
\end{table} |
| 626 |
show various effects. |
| 627 |
A table that fits in a single column employs the \texttt{table} |
| 628 |
environment. |
| 629 |
Table~\ref{tab:table3} is a wide table, set with the \texttt{table*} environment. |
| 630 |
Long tables may need to break across pages. |
| 631 |
The most straightforward way to accomplish this is to specify |
| 632 |
the \verb+[H]+ float placement on the \texttt{table} or |
| 633 |
\texttt{table*} environment. |
| 634 |
However, the \LaTeXe\ package \texttt{longtable} allows headers and footers to be specified for each page of the table. |
| 635 |
A simple example of the use of \texttt{longtable} can be found |
| 636 |
in the file \texttt{summary.tex} that is included with the REV\TeX~4 |
| 637 |
distribution. |
| 638 |
|
| 639 |
There are two methods for setting footnotes within a table (these |
| 640 |
footnotes will be displayed directly below the table rather than at |
| 641 |
the bottom of the page or in the bibliography). The easiest |
| 642 |
and preferred method is just to use the \verb+\footnote{#1}+ |
| 643 |
command. This will automatically enumerate the footnotes with |
| 644 |
lowercase roman letters. However, it is sometimes necessary to have |
| 645 |
multiple entries in the table share the same footnote. In this case, |
| 646 |
there is no choice but to manually create the footnotes using |
| 647 |
\verb+\footnotemark[#1]+ and \verb+\footnotetext[#1]{#2}+. |
| 648 |
\texttt{\#1} is a numeric value. Each time the same value for |
| 649 |
\texttt{\#1} is used, the same mark is produced in the table. The |
| 650 |
\verb+\footnotetext[#1]{#2}+ commands are placed after the \texttt{tabular} |
| 651 |
environment. Examine the \LaTeX\ source and output for |
| 652 |
Tables~\ref{tab:table1} and \ref{tab:table2} |
| 653 |
for examples. |
| 654 |
|
| 655 |
Video~\ref{vid:PRSTPER.4.010101} |
| 656 |
illustrates several features new with REV\TeX4.2, |
| 657 |
starting with the \texttt{video} environment, which is in the same category with |
| 658 |
\texttt{figure} and \texttt{table}.% |
| 659 |
\begin{video} |
| 660 |
\href{http://prst-per.aps.org/multimedia/PRSTPER/v4/i1/e010101/e010101_vid1a.mpg}{\includegraphics{vid_1a}}% |
| 661 |
\quad |
| 662 |
\href{http://prst-per.aps.org/multimedia/PRSTPER/v4/i1/e010101/e010101_vid1b.mpg}{\includegraphics{vid_1b}} |
| 663 |
\setfloatlink{http://link.aps.org/multimedia/PRSTPER/v4/i1/e010101}% |
| 664 |
\caption{\label{vid:PRSTPER.4.010101}% |
| 665 |
Students explain their initial idea about Newton's third law to a teaching assistant. |
| 666 |
Clip (a): same force. |
| 667 |
Clip (b): move backwards. |
| 668 |
}% |
| 669 |
\end{video} |
| 670 |
The \verb+\setfloatlink+ command causes the title of the video to be a hyperlink to the |
| 671 |
indicated URL; it may be used with any environment that takes the \verb+\caption+ |
| 672 |
command. |
| 673 |
The \verb+\href+ command has the same significance as it does in the context of |
| 674 |
the \texttt{hyperref} package: the second argument is a piece of text to be |
| 675 |
typeset in your document; the first is its hyperlink, a URL. |
| 676 |
|
| 677 |
\textit{Physical Review} style requires that the initial citation of |
| 678 |
figures or tables be in numerical order in text, so don't cite |
| 679 |
Fig.~\ref{fig:wide} until Fig.~\ref{fig:epsart} has been cited. |
| 680 |
|
| 681 |
\begin{acknowledgments} |
| 682 |
We wish to acknowledge the support of the author community in using |
| 683 |
REV\TeX{}, offering suggestions and encouragement, testing new versions, |
| 684 |
\dots. |
| 685 |
\end{acknowledgments} |
| 686 |
|
| 687 |
\appendix |
| 688 |
|
| 689 |
\section{Appendixes} |
| 690 |
|
| 691 |
To start the appendixes, use the \verb+\appendix+ command. |
| 692 |
This signals that all following section commands refer to appendixes |
| 693 |
instead of regular sections. Therefore, the \verb+\appendix+ command |
| 694 |
should be used only once---to setup the section commands to act as |
| 695 |
appendixes. Thereafter normal section commands are used. The heading |
| 696 |
for a section can be left empty. For example, |
| 697 |
\begin{verbatim} |
| 698 |
\appendix |
| 699 |
\section{} |
| 700 |
\end{verbatim} |
| 701 |
will produce an appendix heading that says ``APPENDIX A'' and |
| 702 |
\begin{verbatim} |
| 703 |
\appendix |
| 704 |
\section{Background} |
| 705 |
\end{verbatim} |
| 706 |
will produce an appendix heading that says ``APPENDIX A: BACKGROUND'' |
| 707 |
(note that the colon is set automatically). |
| 708 |
|
| 709 |
If there is only one appendix, then the letter ``A'' should not |
| 710 |
appear. This is suppressed by using the star version of the appendix |
| 711 |
command (\verb+\appendix*+ in the place of \verb+\appendix+). |
| 712 |
|
| 713 |
\section{A little more on appendixes} |
| 714 |
|
| 715 |
Observe that this appendix was started by using |
| 716 |
\begin{verbatim} |
| 717 |
\section{A little more on appendixes} |
| 718 |
\end{verbatim} |
| 719 |
|
| 720 |
Note the equation number in an appendix: |
| 721 |
\begin{equation} |
| 722 |
E=mc^2. |
| 723 |
\end{equation} |
| 724 |
|
| 725 |
\subsection{\label{app:subsec}A subsection in an appendix} |
| 726 |
|
| 727 |
You can use a subsection or subsubsection in an appendix. Note the |
| 728 |
numbering: we are now in Appendix~\ref{app:subsec}. |
| 729 |
|
| 730 |
Note the equation numbers in this appendix, produced with the |
| 731 |
subequations environment: |
| 732 |
\begin{subequations} |
| 733 |
\begin{eqnarray} |
| 734 |
E&=&mc, \label{appa} |
| 735 |
\\ |
| 736 |
E&=&mc^2, \label{appb} |
| 737 |
\\ |
| 738 |
E&\agt& mc^3. \label{appc} |
| 739 |
\end{eqnarray} |
| 740 |
\end{subequations} |
| 741 |
They turn out to be Eqs.~(\ref{appa}), (\ref{appb}), and (\ref{appc}). |
| 742 |
|
| 743 |
% The \nocite command causes all entries in a bibliography to be printed out |
| 744 |
% whether or not they are actually referenced in the text. This is appropriate |
| 745 |
% for the sample file to show the different styles of references, but authors |
| 746 |
% most likely will not want to use it. |
| 747 |
\nocite{*} |
| 748 |
|
| 749 |
\bibliography{apssamp}% Produces the bibliography via BibTeX. |
| 750 |
|
| 751 |
\end{document} |
| 752 |
% |
| 753 |
% ****** End of file apssamp.tex ****** |