| 1 |
% ****** Start of file apssamp.tex ****** |
| 2 |
% |
| 3 |
% This file is part of the APS files in the REVTeX 4 distribution. |
| 4 |
% Version 4.0 of REVTeX, August 2001 |
| 5 |
% |
| 6 |
% Copyright (c) 2001 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.0 |
| 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[twocolumn,showpacs,preprintnumbers,amsmath,amssymb]{revtex4} |
| 22 |
%\documentclass[preprint,showpacs,preprintnumbers,amsmath,amssymb]{revtex4} |
| 23 |
|
| 24 |
% Some other (several out of many) possibilities |
| 25 |
%\documentclass[preprint,aps]{revtex4} |
| 26 |
%\documentclass[preprint,aps,draft]{revtex4} |
| 27 |
%\documentclass[prb]{revtex4}% Physical Review B |
| 28 |
|
| 29 |
\usepackage{graphicx}% Include figure files |
| 30 |
\usepackage{dcolumn}% Align table columns on decimal point |
| 31 |
\usepackage{bm}% bold math |
| 32 |
|
| 33 |
%\nofiles |
| 34 |
|
| 35 |
\begin{document} |
| 36 |
|
| 37 |
\preprint{APS/123-QED} |
| 38 |
|
| 39 |
\title{Manuscript Title:\\with Forced Linebreak}% Force line breaks with \\ |
| 40 |
|
| 41 |
\author{Ann Author} |
| 42 |
\altaffiliation[Also at ]{Physics Department, XYZ University.}%Lines break automatically or can be forced with \\ |
| 43 |
\author{Second Author}% |
| 44 |
\email{[email protected]} |
| 45 |
\affiliation{% |
| 46 |
Authors' institution and/or address\\ |
| 47 |
This line break forced with \textbackslash\textbackslash |
| 48 |
}% |
| 49 |
|
| 50 |
\author{Charlie Author} |
| 51 |
\homepage{http://www.Second.institution.edu/~Charlie.Author} |
| 52 |
\affiliation{ |
| 53 |
Second institution and/or address\\ |
| 54 |
This line break forced% with \\ |
| 55 |
}% |
| 56 |
|
| 57 |
\date{\today}% It is always \today, today, |
| 58 |
% but any date may be explicitly specified |
| 59 |
|
| 60 |
\begin{abstract} |
| 61 |
An article usually includes an abstract, a concise summary of the work |
| 62 |
covered at length in the main body of the article. It is used for |
| 63 |
secondary publications and for information retrieval purposes. Valid |
| 64 |
PACS numbers may be entered using the \verb+\pacs{#1}+ command. |
| 65 |
\end{abstract} |
| 66 |
|
| 67 |
\pacs{Valid PACS appear here}% PACS, the Physics and Astronomy |
| 68 |
% Classification Scheme. |
| 69 |
%\keywords{Suggested keywords}%Use showkeys class option if keyword |
| 70 |
%display desired |
| 71 |
\maketitle |
| 72 |
|
| 73 |
\section{\label{sec:level1}First-level heading:\protect\\ The line |
| 74 |
break was forced \lowercase{via} \textbackslash\textbackslash} |
| 75 |
|
| 76 |
This sample document demonstrates proper use of REV\TeX~4 (and |
| 77 |
\LaTeXe) in mansucripts prepared for submission to APS |
| 78 |
journals. Further information can be found in the REV\TeX~4 |
| 79 |
documentation included in the distribution or available at |
| 80 |
\url{http://publish.aps.org/revtex4/}. |
| 81 |
|
| 82 |
When commands are referred to in this example file, they are always |
| 83 |
shown with their required arguments, using normal \TeX{} format. In |
| 84 |
this format, \verb+#1+, \verb+#2+, etc. stand for required |
| 85 |
author-supplied arguments to commands. For example, in |
| 86 |
\verb+\section{#1}+ the \verb+#1+ stands for the title text of the |
| 87 |
author's section heading, and in \verb+\title{#1}+ the \verb+#1+ |
| 88 |
stands for the title text of the paper. |
| 89 |
|
| 90 |
Line breaks in section headings at all levels can be introduced using |
| 91 |
\textbackslash\textbackslash. A blank input line tells \TeX\ that the |
| 92 |
paragraph has ended. Note that top-level section headings are |
| 93 |
automatically uppercased. If a specific letter or word should appear in |
| 94 |
lowercase instead, you must escape it using \verb+\lowercase{#1}+ as |
| 95 |
in the word ``via'' above. |
| 96 |
|
| 97 |
\subsection{\label{sec:level2}Second-level heading: Formatting} |
| 98 |
|
| 99 |
This file may be formatted in both the \texttt{preprint} and |
| 100 |
\texttt{twocolumn} styles. \texttt{twocolumn} format may be used to |
| 101 |
mimic final journal output. Either format may be used for submission |
| 102 |
purposes; however, for peer review and production, APS will format the |
| 103 |
article using the \texttt{preprint} class option. Hence, it is |
| 104 |
essential that authors check that their manuscripts format acceptably |
| 105 |
under \texttt{preprint}. Manuscripts submitted to APS that do not |
| 106 |
format correctly under the \texttt{preprint} option may be delayed in |
| 107 |
both the editorial and production processes. |
| 108 |
|
| 109 |
The \texttt{widetext} environment will make the text the width of the |
| 110 |
full page, as on page~\pageref{eq:wideeq}. (Note the use the |
| 111 |
\verb+\pageref{#1}+ to get the page number right automatically.) The |
| 112 |
width-changing commands only take effect in \texttt{twocolumn} |
| 113 |
formatting. It has no effect if \texttt{preprint} formatting is chosen |
| 114 |
instead. |
| 115 |
|
| 116 |
\subsubsection{\label{sec:level3}Third-level heading: References and Footnotes} |
| 117 |
Reference citations in text use the commands \verb+\cite{#1}+ or |
| 118 |
\verb+\onlinecite{#1}+. \verb+#1+ may contain letters and numbers. |
| 119 |
The reference itself is specified by a \verb+\bibitem{#1}+ command |
| 120 |
with the same argument as the \verb+\cite{#1}+ command. |
| 121 |
\verb+\bibitem{#1}+ commands may be crafted by hand or, preferably, |
| 122 |
generated by using Bib\TeX. REV\TeX~4 includes Bib\TeX\ style files |
| 123 |
\verb+apsrev.bst+ and \verb+apsrmp.bst+ appropriate for |
| 124 |
\textit{Physical Review} and \textit{Reviews of Modern Physics}, |
| 125 |
respectively. REV\TeX~4 will automatically choose the style |
| 126 |
appropriate for the journal specified in the document class |
| 127 |
options. This sample file demonstrates the basic use of Bib\TeX\ |
| 128 |
through the use of \verb+\bibliography+ command which references the |
| 129 |
\verb+assamp.bib+ file. Running Bib\TeX\ (typically \texttt{bibtex |
| 130 |
apssamp}) after the first pass of \LaTeX\ produces the file |
| 131 |
\verb+apssamp.bbl+ which contains the automatically formatted |
| 132 |
\verb+\bibitem+ commands (including extra markup information via |
| 133 |
\verb+\bibinfo+ commands). If not using Bib\TeX, the |
| 134 |
\verb+thebibiliography+ environment should be used instead. |
| 135 |
|
| 136 |
To cite bibliography entries, use the \verb+\cite{#1}+ command. Most |
| 137 |
journal styles will display the corresponding number(s) in square |
| 138 |
brackets: \cite{feyn54,witten2001}. To avoid the square brackets, use |
| 139 |
\verb+\onlinecite{#1}+: Refs.~\onlinecite{feyn54} and |
| 140 |
\onlinecite{witten2001}. REV\TeX\ ``collapses'' lists of |
| 141 |
consecutive reference numbers where possible. We now cite everyone |
| 142 |
together \cite{feyn54,witten2001,epr}, and once again |
| 143 |
(Refs.~\onlinecite{epr,feyn54,witten2001}). Note that the references |
| 144 |
were also sorted into the correct numerical order as well. |
| 145 |
|
| 146 |
When the \verb+prb+ class option is used, the \verb+\cite{#1}+ command |
| 147 |
displays the reference's number as a superscript rather than using |
| 148 |
square brackets. Note that the location of the \verb+\cite{#1}+ |
| 149 |
command should be adjusted for the reference style: the superscript |
| 150 |
references in \verb+prb+ style must appear after punctuation; |
| 151 |
otherwise the reference must appear before any punctuation. This |
| 152 |
sample was written for the regular (non-\texttt{prb}) citation style. |
| 153 |
The command \verb+\onlinecite{#1}+ in the \texttt{prb} style also |
| 154 |
displays the reference on the baseline. |
| 155 |
|
| 156 |
Footnotes are produced using the \verb+\footnote{#1}+ command. Most |
| 157 |
APS journal styles put footnotes into the bibliography. REV\TeX~4 does |
| 158 |
this as well, but instead of interleaving the footnotes with the |
| 159 |
references, they are listed at the end of the references\footnote{This |
| 160 |
may be improved in future versions of REV\TeX.}. Because the correct |
| 161 |
numbering of the footnotes must occur after the numbering of the |
| 162 |
references, an extra pass of \LaTeX\ is required in order to get the |
| 163 |
numbering correct. |
| 164 |
|
| 165 |
\section{Math and Equations} |
| 166 |
Inline math may be typeset using the \verb+$+ delimiters. Bold math |
| 167 |
symbols may be achieved using the \verb+bm+ package and the |
| 168 |
\verb+\bm{#1}+ command it supplies. For instance, a bold $\alpha$ can |
| 169 |
be typeset as \verb+$\bm{\alpha}$+ giving $\bm{\alpha}$. Fraktur and |
| 170 |
Blackboard (or open face or double struck) characters should be |
| 171 |
typeset using the \verb+\mathfrak{#1}+ and \verb+\mathbb{#1}+ commands |
| 172 |
respectively. Both are supplied by the \texttt{amssymb} package. For |
| 173 |
example, \verb+$\mathbb{R}$+ gives $\mathbb{R}$ and |
| 174 |
\verb+$\mathfrak{G}$+ gives $\mathfrak{G}$ |
| 175 |
|
| 176 |
In \LaTeX\ there are many different ways to display equations, and a |
| 177 |
few preferred ways are noted below. Displayed math will center by |
| 178 |
default. Use the class option \verb+fleqn+ to flush equations left. |
| 179 |
|
| 180 |
Below we have numbered single-line equations; this is the most common |
| 181 |
type of equation in \textit{Physical Review}: |
| 182 |
\begin{eqnarray} |
| 183 |
\chi_+(p)\alt{\bf [}2|{\bf p}|(|{\bf p}|+p_z){\bf ]}^{-1/2} |
| 184 |
\left( |
| 185 |
\begin{array}{c} |
| 186 |
|{\bf p}|+p_z\\ |
| 187 |
px+ip_y |
| 188 |
\end{array}\right)\;, |
| 189 |
\\ |
| 190 |
\left\{% |
| 191 |
\openone234567890abc123\alpha\beta\gamma\delta1234556\alpha\beta |
| 192 |
\frac{1\sum^{a}_{b}}{A^2}% |
| 193 |
\right\}% |
| 194 |
\label{eq:one}. |
| 195 |
\end{eqnarray} |
| 196 |
Note the open one in Eq.~(\ref{eq:one}). |
| 197 |
|
| 198 |
Not all numbered equations will fit within a narrow column this |
| 199 |
way. The equation number will move down automatically if it cannot fit |
| 200 |
on the same line with a one-line equation: |
| 201 |
\begin{equation} |
| 202 |
\left\{ |
| 203 |
ab12345678abc123456abcdef\alpha\beta\gamma\delta1234556\alpha\beta |
| 204 |
\frac{1\sum^{a}_{b}}{A^2}% |
| 205 |
\right\}. |
| 206 |
\end{equation} |
| 207 |
|
| 208 |
When the \verb+\label{#1}+ command is used [cf. input for |
| 209 |
Eq.~(\ref{eq:one})], the equation can be referred to in text without |
| 210 |
knowing the equation number that \TeX\ will assign to it. Just |
| 211 |
use \verb+\ref{#1}+, where \verb+#1+ is the same name that used in |
| 212 |
the \verb+\label{#1}+ command. |
| 213 |
|
| 214 |
Unnumbered single-line equations can be typeset |
| 215 |
using the \verb+\[+, \verb+\]+ format: |
| 216 |
\[g^+g^+ \rightarrow g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow |
| 217 |
q^+g^+g^+ \dots ~. \] |
| 218 |
|
| 219 |
\subsection{Multiline equations} |
| 220 |
|
| 221 |
Multiline equations are obtained by using the \verb+eqnarray+ |
| 222 |
environment. Use the \verb+\nonumber+ command at the end of each line |
| 223 |
to avoid assigning a number: |
| 224 |
\begin{eqnarray} |
| 225 |
{\cal M}=&&ig_Z^2(4E_1E_2)^{1/2}(l_i^2)^{-1} |
| 226 |
\delta_{\sigma_1,-\sigma_2} |
| 227 |
(g_{\sigma_2}^e)^2\chi_{-\sigma_2}(p_2)\nonumber\\ |
| 228 |
&&\times |
| 229 |
[\epsilon_jl_i\epsilon_i]_{\sigma_1}\chi_{\sigma_1}(p_1), |
| 230 |
\end{eqnarray} |
| 231 |
\begin{eqnarray} |
| 232 |
\sum \vert M^{\text{viol}}_g \vert ^2&=&g^{2n-4}_S(Q^2)~N^{n-2} |
| 233 |
(N^2-1)\nonumber \\ |
| 234 |
& &\times \left( \sum_{i<j}\right) |
| 235 |
\sum_{\text{perm}} |
| 236 |
\frac{1}{S_{12}} |
| 237 |
\frac{1}{S_{12}} |
| 238 |
\sum_\tau c^f_\tau~. |
| 239 |
\end{eqnarray} |
| 240 |
\textbf{Note:} Do not use \verb+\label{#1}+ on a line of a multiline |
| 241 |
equation if \verb+\nonumber+ is also used on that line. Incorrect |
| 242 |
cross-referencing will result. Notice the use \verb+\text{#1}+ for |
| 243 |
using a Roman font within a math environment. |
| 244 |
|
| 245 |
To set a multiline equation without \emph{any} equation |
| 246 |
numbers, use the \verb+\begin{eqnarray*}+, |
| 247 |
\verb+\end{eqnarray*}+ format: |
| 248 |
\begin{eqnarray*} |
| 249 |
\sum \vert M^{\text{viol}}_g \vert ^2&=&g^{2n-4}_S(Q^2)~N^{n-2} |
| 250 |
(N^2-1)\\ |
| 251 |
& &\times \left( \sum_{i<j}\right) |
| 252 |
\left( |
| 253 |
\sum_{\text{perm}}\frac{1}{S_{12}S_{23}S_{n1}} |
| 254 |
\right) |
| 255 |
\frac{1}{S_{12}}~. |
| 256 |
\end{eqnarray*} |
| 257 |
To obtain numbers not normally produced by the automatic numbering, |
| 258 |
use the \verb+\tag{#1}+ command, where \verb+#1+ is the desired |
| 259 |
equation number. For example, to get an equation number of |
| 260 |
(\ref{eq:mynum}), |
| 261 |
\begin{equation} |
| 262 |
g^+g^+ \rightarrow g^+g^+g^+g^+ \dots ~,~~q^+q^+\rightarrow |
| 263 |
q^+g^+g^+ \dots ~. \tag{2.6$'$}\label{eq:mynum} |
| 264 |
\end{equation} |
| 265 |
|
| 266 |
A few notes on \verb=\tag{#1}=. \verb+\tag{#1}+ requires |
| 267 |
\texttt{amsmath}. The \verb+\tag{#1}+ must come before the |
| 268 |
\verb+\label{#1}+, if any. The numbering set with \verb+\tag{#1}+ is |
| 269 |
\textit{transparent} to the automatic numbering in REV\TeX{}; |
| 270 |
therefore, the number must be known ahead of time, and it must be |
| 271 |
manually adjusted if other equations are added. \verb+\tag{#1}+ works |
| 272 |
with both single-line and multiline equations. \verb+\tag{#1}+ should |
| 273 |
only be used in exceptional case - do not use it to number all |
| 274 |
equations in a paper. |
| 275 |
|
| 276 |
Enclosing single-line and multiline equations in |
| 277 |
\verb+\begin{subequations}+ and \verb+\end{subequations}+ will produce |
| 278 |
a set of equations that are ``numbered'' with letters, as shown in |
| 279 |
Eqs.~(\ref{subeq:1}) and (\ref{subeq:2}) below: |
| 280 |
\begin{subequations} |
| 281 |
\label{eq:whole} |
| 282 |
\begin{equation} |
| 283 |
\left\{ |
| 284 |
abc123456abcdef\alpha\beta\gamma\delta1234556\alpha\beta |
| 285 |
\frac{1\sum^{a}_{b}}{A^2} |
| 286 |
\right\},\label{subeq:1} |
| 287 |
\end{equation} |
| 288 |
\begin{eqnarray} |
| 289 |
{\cal M}=&&ig_Z^2(4E_1E_2)^{1/2}(l_i^2)^{-1} |
| 290 |
(g_{\sigma_2}^e)^2\chi_{-\sigma_2}(p_2)\nonumber\\ |
| 291 |
&&\times |
| 292 |
[\epsilon_i]_{\sigma_1}\chi_{\sigma_1}(p_1).\label{subeq:2} |
| 293 |
\end{eqnarray} |
| 294 |
\end{subequations} |
| 295 |
Putting a \verb+\label{#1}+ command right after the |
| 296 |
\verb+\begin{subequations}+, allows one to |
| 297 |
reference all the equations in a subequations environment. For |
| 298 |
example, the equations in the preceding subequations environment were |
| 299 |
Eqs.~(\ref{eq:whole}). |
| 300 |
|
| 301 |
\subsubsection{Wide equations} |
| 302 |
The equation that follows is set in a wide format, i.e., it spans |
| 303 |
across the full page. The wide format is reserved for long equations |
| 304 |
that cannot be easily broken into four lines or less: |
| 305 |
\begin{widetext} |
| 306 |
\begin{equation} |
| 307 |
{\cal R}^{(\text{d})}= |
| 308 |
g_{\sigma_2}^e |
| 309 |
\left( |
| 310 |
\frac{[\Gamma^Z(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2} |
| 311 |
+\frac{[\Gamma^Z(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2} |
| 312 |
\right) |
| 313 |
+ x_WQ_e |
| 314 |
\left( |
| 315 |
\frac{[\Gamma^\gamma(3,21)]_{\sigma_1}}{Q_{12}^2-M_W^2} |
| 316 |
+\frac{[\Gamma^\gamma(13,2)]_{\sigma_1}}{Q_{13}^2-M_W^2} |
| 317 |
\right)\;. \label{eq:wideeq} |
| 318 |
\end{equation} |
| 319 |
\end{widetext} |
| 320 |
This is typed to show the output is in wide format. |
| 321 |
(Since there is no input line between \verb+\equation+ and |
| 322 |
this paragraph, there is no paragraph indent for this paragraph.) |
| 323 |
\section{Cross-referencing} |
| 324 |
REV\TeX{} will automatically number sections, equations, figure |
| 325 |
captions, and tables. In order to reference them in text, use the |
| 326 |
\verb+\label{#1}+ and \verb+\ref{#1}+ commands. To reference a |
| 327 |
particular page, use the \verb+\pageref{#1}+ command. |
| 328 |
|
| 329 |
The \verb+\label{#1}+ should appear in a section heading, within an |
| 330 |
equation, or in a table or figure caption. The \verb+\ref{#1}+ command |
| 331 |
is used in the text where the citation is to be displayed. Some |
| 332 |
examples: Section~\ref{sec:level1} on page~\pageref{sec:level1}, |
| 333 |
Table~\ref{tab:table1}, and Fig.~\ref{fig:epsart}. |
| 334 |
|
| 335 |
\section{Figures and Tables} |
| 336 |
Figures and tables are typically ``floats'' which means that their |
| 337 |
final position is determined by \LaTeX\ while the document is being |
| 338 |
typeset. \LaTeX\ isn't always successful in placing floats |
| 339 |
optimally. |
| 340 |
|
| 341 |
Figures may be inserted by using either the \texttt{graphics} or |
| 342 |
\texttt{graphix} packages. These packages both define the |
| 343 |
\verb+\includegraphics{#1}+ command, but they differ in how optional |
| 344 |
arguments for specifying the orientation, scaling, and translation of the |
| 345 |
figure. Fig.~\ref{fig:epsart} shows a figure that is small enough to |
| 346 |
fit in a single column. It is embedded using the \texttt{figure} |
| 347 |
environment which provides both the caption and the imports the figure |
| 348 |
file. |
| 349 |
\begin{figure} |
| 350 |
\includegraphics{fig_1}% Here is how to import EPS art |
| 351 |
\caption{\label{fig:epsart} A figure caption. The figure captions are |
| 352 |
automatically numbered.} |
| 353 |
\end{figure} |
| 354 |
|
| 355 |
Fig.~\ref{fig:wide} is a figure that is too wide for a single column, |
| 356 |
so instead the \texttt{figure*} environment has been used. |
| 357 |
\begin{figure*} |
| 358 |
\includegraphics{fig_2}% Here is how to import EPS art |
| 359 |
\caption{\label{fig:wide}Use the figure* environment to get a wide |
| 360 |
figure that spans the page in \texttt{twocolumn} formatting.} |
| 361 |
\end{figure*} |
| 362 |
|
| 363 |
The heart of any table is the \texttt{tabular} environment which gives |
| 364 |
the rows of the tables. Each row consists of column entries separated |
| 365 |
by \verb+&+'s and terminates with \textbackslash\textbackslash. The |
| 366 |
required argument for the \texttt{tabular} environment |
| 367 |
specifies how data are displayed in the columns. For instance, entries |
| 368 |
may be centered, left-justified, right-justified, aligned on a decimal |
| 369 |
point. Extra column-spacing may be be specified as well, although |
| 370 |
REV\TeX~4 sets this spacing so that the columns fill the width of the |
| 371 |
table. Horizontal rules are typeset using the \verb+\hline+ |
| 372 |
command. The doubled (or Scotch) rules that appear at the top and |
| 373 |
bottom of a table can be achieved enclosing the \texttt{tabular} |
| 374 |
environment within a \texttt{ruledtabular} environment. Rows whose |
| 375 |
columns span multiple columns can be typeset using the |
| 376 |
\verb+\multicolumn{#1}{#2}{#3}+ command (for example, see the first |
| 377 |
row of Table~\ref{tab:table3}). |
| 378 |
|
| 379 |
Tables~\ref{tab:table1}-\ref{tab:table4} show various effects. Tables |
| 380 |
that fit in a narrow column are contained in a \texttt{table} |
| 381 |
environment. Table~\ref{tab:table3} is a wide table set with the |
| 382 |
\texttt{table*} environment. Long tables may need to break across |
| 383 |
pages. The most straightforward way to accomplish this is to specify |
| 384 |
the \verb+[H]+ float placement on the \texttt{table} or |
| 385 |
\texttt{table*} environment. However, the standard \LaTeXe\ package |
| 386 |
\texttt{longtable} will give more control over how tables break and |
| 387 |
will allow headers and footers to be specified for each page of the |
| 388 |
table. A simple example of the use of \texttt{longtable} can be found |
| 389 |
in the file \texttt{summary.tex} that is included with the REV\TeX~4 |
| 390 |
distribution. |
| 391 |
|
| 392 |
There are two methods for setting footnotes within a table (these |
| 393 |
footnotes will be displayed directly below the table rather than at |
| 394 |
the bottom of the page or in the bibliography). The easiest |
| 395 |
and preferred method is just to use the \verb+\footnote{#1}+ |
| 396 |
command. This will automatically enumerate the footnotes with |
| 397 |
lowercase roman letters. However, it is sometimes necessary to have |
| 398 |
multiple entries in the table share the same footnote. In this case, |
| 399 |
there is no choice but to manually create the footnotes using |
| 400 |
\verb+\footnotemark[#1]+ and \verb+\footnotetext[#1]{#2}+. |
| 401 |
\texttt{\#1} is a numeric value. Each time the same value for |
| 402 |
\texttt{\#1} is used, the same mark is produced in the table. The |
| 403 |
\verb+\footnotetext[#1]{#2}+ commands are placed after the \texttt{tabular} |
| 404 |
environment. Examine the \LaTeX\ source and output for |
| 405 |
Tables~\ref{tab:table1} and \ref{tab:table2} for examples. |
| 406 |
|
| 407 |
\begin{table} |
| 408 |
\caption{\label{tab:table1}This is a narrow table which fits into a |
| 409 |
narrow column when using \texttt{twocolumn} formatting. Note that |
| 410 |
REV\TeX~4 adjusts the intercolumn spacing so that the table fills the |
| 411 |
entire width of the column. Table captions are numbered |
| 412 |
automatically. This table illustrates left-aligned, centered, and |
| 413 |
right-aligned columns. } |
| 414 |
\begin{ruledtabular} |
| 415 |
\begin{tabular}{lcr} |
| 416 |
Left\footnote{Note a.}&Centered\footnote{Note b.}&Right\\ |
| 417 |
\hline |
| 418 |
1 & 2 & 3\\ |
| 419 |
10 & 20 & 30\\ |
| 420 |
100 & 200 & 300\\ |
| 421 |
\end{tabular} |
| 422 |
\end{ruledtabular} |
| 423 |
\end{table} |
| 424 |
|
| 425 |
\begin{table} |
| 426 |
\caption{\label{tab:table2}A table with more columns still fits |
| 427 |
properly in a column. Note that several entries share the same |
| 428 |
footnote. Inspect the \LaTeX\ input for this table to see |
| 429 |
exactly how it is done.} |
| 430 |
\begin{ruledtabular} |
| 431 |
\begin{tabular}{cccccccc} |
| 432 |
&$r_c$ (\AA)&$r_0$ (\AA)&$\kappa r_0$& |
| 433 |
&$r_c$ (\AA) &$r_0$ (\AA)&$\kappa r_0$\\ |
| 434 |
\hline |
| 435 |
Cu& 0.800 & 14.10 & 2.550 &Sn\footnotemark[1] |
| 436 |
& 0.680 & 1.870 & 3.700 \\ |
| 437 |
Ag& 0.990 & 15.90 & 2.710 &Pb\footnotemark[2] |
| 438 |
& 0.450 & 1.930 & 3.760 \\ |
| 439 |
Au& 1.150 & 15.90 & 2.710 &Ca\footnotemark[3] |
| 440 |
& 0.750 & 2.170 & 3.560 \\ |
| 441 |
Mg& 0.490 & 17.60 & 3.200 &Sr\footnotemark[4] |
| 442 |
& 0.900 & 2.370 & 3.720 \\ |
| 443 |
Zn& 0.300 & 15.20 & 2.970 &Li\footnotemark[2] |
| 444 |
& 0.380 & 1.730 & 2.830 \\ |
| 445 |
Cd& 0.530 & 17.10 & 3.160 &Na\footnotemark[5] |
| 446 |
& 0.760 & 2.110 & 3.120 \\ |
| 447 |
Hg& 0.550 & 17.80 & 3.220 &K\footnotemark[5] |
| 448 |
& 1.120 & 2.620 & 3.480 \\ |
| 449 |
Al& 0.230 & 15.80 & 3.240 &Rb\footnotemark[3] |
| 450 |
& 1.330 & 2.800 & 3.590 \\ |
| 451 |
Ga& 0.310 & 16.70 & 3.330 &Cs\footnotemark[4] |
| 452 |
& 1.420 & 3.030 & 3.740 \\ |
| 453 |
In& 0.460 & 18.40 & 3.500 &Ba\footnotemark[5] |
| 454 |
& 0.960 & 2.460 & 3.780 \\ |
| 455 |
Tl& 0.480 & 18.90 & 3.550 & & & & \\ |
| 456 |
\end{tabular} |
| 457 |
\end{ruledtabular} |
| 458 |
\footnotetext[1]{Here's the first, from Ref.~\onlinecite{feyn54}.} |
| 459 |
\footnotetext[2]{Here's the second.} |
| 460 |
\footnotetext[3]{Here's the third.} |
| 461 |
\footnotetext[4]{Here's the fourth.} |
| 462 |
\footnotetext[5]{And etc.} |
| 463 |
\end{table} |
| 464 |
|
| 465 |
\begin{table*} |
| 466 |
\caption{\label{tab:table3}This is a wide table that spans the page |
| 467 |
width in \texttt{twocolumn} mode. It is formatted using the |
| 468 |
\texttt{table*} environment. It also demonstates the use of |
| 469 |
\textbackslash\texttt{multicolumn} in rows with entries that span |
| 470 |
more than one column.} |
| 471 |
\begin{ruledtabular} |
| 472 |
\begin{tabular}{ccccc} |
| 473 |
&\multicolumn{2}{c}{$D_{4h}^1$}&\multicolumn{2}{c}{$D_{4h}^5$}\\ |
| 474 |
Ion&1st alternative&2nd alternative&lst alternative |
| 475 |
&2nd alternative\\ \hline |
| 476 |
K&$(2e)+(2f)$&$(4i)$ &$(2c)+(2d)$&$(4f)$ \\ |
| 477 |
Mn&$(2g)$\footnote{The $z$ parameter of these positions is $z\sim\frac{1}{4}$.} |
| 478 |
&$(a)+(b)+(c)+(d)$&$(4e)$&$(2a)+(2b)$\\ |
| 479 |
Cl&$(a)+(b)+(c)+(d)$&$(2g)$\footnotemark[1] |
| 480 |
&$(4e)^{\text{a}}$\\ |
| 481 |
He&$(8r)^{\text{a}}$&$(4j)^{\text{a}}$&$(4g)^{\text{a}}$\\ |
| 482 |
Ag& &$(4k)^{\text{a}}$& &$(4h)^{\text{a}}$\\ |
| 483 |
\end{tabular} |
| 484 |
\end{ruledtabular} |
| 485 |
\end{table*} |
| 486 |
|
| 487 |
\begin{table} |
| 488 |
\caption{\label{tab:table4}Numbers in columns Three--Five have been |
| 489 |
aligned by using the ``d'' column specifier (requires the |
| 490 |
\texttt{dcolumn} package). Non-numeric entries (those entries without |
| 491 |
a ``.'') in a ``d'' column are aligned on the decimal point. Use the |
| 492 |
``D'' specifier for more complex layouts. } |
| 493 |
\begin{ruledtabular} |
| 494 |
\begin{tabular}{ccddd} |
| 495 |
One&Two&\mbox{Three}&\mbox{Four}&\mbox{Five}\\ |
| 496 |
\hline |
| 497 |
one&two&\mbox{three}&\mbox{four}&\mbox{five}\\ |
| 498 |
He&2& 2.77234 & 45672. & 0.69 \\ |
| 499 |
C\footnote{Some tables require footnotes.} |
| 500 |
&C\footnote{Some tables need more than one footnote.} |
| 501 |
& 12537.64 & 37.66345 & 86.37 \\ |
| 502 |
\end{tabular} |
| 503 |
\end{ruledtabular} |
| 504 |
\end{table} |
| 505 |
|
| 506 |
\textit{Physical Review} style requires that the initial citation of |
| 507 |
figures or tables be in numerical order in text, so don't cite |
| 508 |
Fig.~\ref{fig:wide} until Fig.~\ref{fig:epsart} has been cited. |
| 509 |
|
| 510 |
\begin{acknowledgments} |
| 511 |
We wish to acknowledge the support of the author community in using |
| 512 |
REV\TeX{}, offering suggestions and encouragement, testing new versions, |
| 513 |
\dots. |
| 514 |
\end{acknowledgments} |
| 515 |
|
| 516 |
\appendix |
| 517 |
|
| 518 |
\section{Appendixes} |
| 519 |
|
| 520 |
To start the appendixes, use the \verb+\appendix+ command. |
| 521 |
This signals that all following section commands refer to appendixes |
| 522 |
instead of regular sections. Therefore, the \verb+\appendix+ command |
| 523 |
should be used only once---to setup the section commands to act as |
| 524 |
appendixes. Thereafter normal section commands are used. The heading |
| 525 |
for a section can be left empty. For example, |
| 526 |
\begin{verbatim} |
| 527 |
\appendix |
| 528 |
\section{} |
| 529 |
\end{verbatim} |
| 530 |
will produce an appendix heading that says ``APPENDIX A'' and |
| 531 |
\begin{verbatim} |
| 532 |
\appendix |
| 533 |
\section{Background} |
| 534 |
\end{verbatim} |
| 535 |
will produce an appendix heading that says ``APPENDIX A: BACKGROUND'' |
| 536 |
(note that the colon is set automatically). |
| 537 |
|
| 538 |
If there is only one appendix, then the letter ``A'' should not |
| 539 |
appear. This is suppressed by using the star version of the appendix |
| 540 |
command (\verb+\appendix*+ in the place of \verb+\appendix+). |
| 541 |
|
| 542 |
\section{A little more on appendixes} |
| 543 |
|
| 544 |
Observe that this appendix was started by using |
| 545 |
\begin{verbatim} |
| 546 |
\section{A little more on appendixes} |
| 547 |
\end{verbatim} |
| 548 |
|
| 549 |
Note the equation number in an appendix: |
| 550 |
\begin{equation} |
| 551 |
E=mc^2. |
| 552 |
\end{equation} |
| 553 |
|
| 554 |
\subsection{\label{app:subsec}A subsection in an appendix} |
| 555 |
|
| 556 |
You can use a subsection or subsubsection in an appendix. Note the |
| 557 |
numbering: we are now in Appendix \ref{app:subsec}. |
| 558 |
|
| 559 |
Note the equation numbers in this appendix, produced with the |
| 560 |
subequations environment: |
| 561 |
\begin{subequations} |
| 562 |
\begin{eqnarray} |
| 563 |
E&=&mc, \label{appa} |
| 564 |
\\ |
| 565 |
E&=&mc^2, \label{appb} |
| 566 |
\\ |
| 567 |
E&\agt& mc^3. \label{appc} |
| 568 |
\end{eqnarray} |
| 569 |
\end{subequations} |
| 570 |
They turn out to be Eqs.~(\ref{appa}), (\ref{appb}), and (\ref{appc}). |
| 571 |
\newpage %Just because of unusual number of tables stacked at end |
| 572 |
\bibliography{apssamp}% Produces the bibliography via BibTeX. |
| 573 |
|
| 574 |
\end{document} |
| 575 |
% |
| 576 |
% ****** End of file apssamp.tex ****** |