Debian Codegraph @

texmf-dist/doc/latex/revtex4-1/sample/aps/apssamp.tex

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