Sample title
Note that, when numerical citations are used, the ref-
erences were sorted into the same order they appear in
the bibliography.
A reference within the bibliography is specified with a
\bibitem{#1} command, where the argument is the ci-
tation key mentioned above. \bibitem{#1} commands
may be crafted by hand or, preferably, generated by using
BibTEX. The AIP styles for REVTEX 4 include BibTEX
style files aipnum.bst and aipauth.bst, appropriate for
numbered and author-year bibliographies, respectively.
REVTEX 4 will automatically choose the style appropri-
ate for the document’s selected class options: the default
is numerical, and you obtain the author-year style by
specifying a class option of author-year.
This
sample file demonstrates a simple use of
BibTEX via a \bibliography command referencing the
aipsamp.bib file. Running BibTEX (in this case bibtex
aipsamp) after the first pass of LATEX produces the file
aipsamp.bbl which contains the automatically format-
ted \bibitem commands (including extra markup infor-
mation via \bibinfo commands). If not using BibTEX,
the thebibiliography environment should be used in-
stead.
a. Fourth-level heading is run in. Footnotes are pro-
duced using the \footnote{#1} command. Numeri-
cal style citations put footnotes into the bibliography1.
Author-year and numerical author-year citation styles
(each for its own reason) cannot use this method. Note:
due to the method used to place footnotes in the bibli-
ography, you must re-run BibTeX every time you change
any of your document’s footnotes.
II. MATH AND EQUATIONS
Inline math may be typeset using the $ delimiters.
Bold math symbols may be achieved using the bm package
and the \bm{#1} command it supplies. For instance, a
bold α can be typeset as $\bm{\alpha}$ giving α. Frak-
tur and Blackboard (or open face or double struck) char-
acters should be typeset using the \mathfrak{#1} and
\mathbb{#1} commands respectively. Both are supplied
by the amssymb package. For example, $\mathbb{R}$
gives R and $\mathfrak{G}$ gives G
In LATEX there are many different ways to display equa-
tions, and a few preferred ways are noted below. Dis-
played math will center by default. Use the class option
fleqn to flush equations left.
Below we have numbered single-line equations, the
1 Automatically placing footnotes into the bibliography requires
using BibTeX to compile the bibliography.
most common kind:
χ+(p) [2|p|(|p| + pz)]−1/2
11234567890abc123αβγδ1234556αβ
|p| + pz
1a
px + ipy
b
A2
2
,
.
(1)
(2)
Note the open one in Eq. (2).
Not all numbered equations will fit within a narrow
column this way. The equation number will move down
automatically if it cannot fit on the same line with a
one-line equation:
ab12345678abc123456abcdef αβγδ1234556αβ
.
(3)
When the \label{#1} command is used [cf. input for
Eq. (2)], the equation can be referred to in text without
knowing the equation number that TEX will assign to it.
Just use \ref{#1}, where #1 is the same name that used
in the \label{#1} command.
A2
Unnumbered single-line equations can be typeset using
the \[, \] format:
g+g+ → g+g+g+g+ . . . , q+q+ → q+g+g+ . . . .
A. Multiline equations
1a
b
Multiline
equations are obtained by using the
eqnarray environment. Use the \nonumber command
at the end of each line to avoid assigning a number:
σ2)2χ−σ2(p2)
i )−1δσ1,−σ2(ge
M =ig2
Z(4E1E2)1/2(l2
×[jlii]σ1χσ1(p1),
|2 = g2n−4
|M viol
g
S
(Q2) N n−2(N 2 − 1)
i
Sample title
3
Putting a \label{#1} command right after
the
\begin{subequations}, allows one to reference all the
equations in a subequations environment. For example,
the equations in the preceding subequations environment
were Eqs. (6).
A few notes on \tag{#1}. \tag{#1} requires amsmath.
The \tag{#1} must come before the \label{#1}, if any.
The numbering set with \tag{#1} is transparent to the
automatic numbering in REVTEX; therefore, the number
must be known ahead of time, and it must be manually
adjusted if other equations are added. \tag{#1} works
with both single-line and multiline equations. \tag{#1}
should only be used in exceptional case - do not use it to
number all equations in a paper.
Enclosing single-line and multiline
in
\begin{subequations} and \end{subequations} will
produce a set of equations that are “numbered” with let-
ters, as shown in Eqs. (6a) and (6b) below:
equations
abc123456abcdef αβγδ1234556αβ
1. Wide equations
,
(6a)
1a
b
A2
M =ig2
Z(4E1E2)1/2(l2
×[i]σ1χσ1(p1).
i )−1(ge
σ2)2χ−σ2(p2)
The equation that follows is set in a wide format, i.e.,
it spans across the full page. The wide format is reserved
for long equations that cannot be easily broken into four
(6b)
[ΓZ(3, 21)]σ1
12 − M 2
Q2
W
+ xW Qe
+
[ΓZ(13, 2)]σ1
13 − M 2
Q2
W
[Γγ(3, 21)]σ1
12 − M 2
Q2
W
.
+
[Γγ(13, 2)]σ1
13 − M 2
Q2
W
(7)
R(d) = ge
σ2
This is typed to show the output is in wide format. (Since
there is no input line between \equation and this para-
graph, there is no paragraph indent for this paragraph.)
III. CROSS-REFERENCING
REVTEX will automatically number sections, equa-
In order to refer-
tions, figure captions, and tables.
ence them in text, use the \label{#1} and \ref{#1}
commands. To reference a particular page, use the
\pageref{#1} command.
The \label{#1} should appear in a section heading,
within an equation, or in a table or figure caption. The
\ref{#1} command is used in the text where the citation
is to be displayed. Some examples: Section I on page 1,
Table I, and Fig. 1.
IV. FIGURES AND TABLES
Figures and tables are typically “floats”; LATEX deter-
mines their final position via placement rules. LATEX isn’t
always successful in automatically placing floats where
you wish them.
Figures are marked up with the figure envi-
ronment,
the content of which imports the image
(\includegraphics) followed by the figure caption
(\caption). The argument of the latter command should
TABLE I. This is a narrow table which fits into a text col-
umn when using twocolumn formatting. Note that REVTEX 4
adjusts the intercolumn spacing so that the table fills the en-
tire width of the column. Table captions are numbered au-
tomatically. This table illustrates left-aligned, centered, and
right-aligned columns.
Lefta
1
10
100
a Note a.
b Note b.
Centeredb
2
20
200
Right
3
30
300
itself contain a \label command if you wish to refer to
your figure with \ref.
Import your image using either the graphics or
graphix packages. These packages both define the
\includegraphics{#1} command, but they differ in the
optional arguments for specifying the orientation, scal-
ing, and translation of the figure. Fig. 1 is small enough
to fit in a single column, while Fig. 2 is too wide for a
single column, so instead the figure* environment has
been used.
The analog of the figure environment is table, which
uses the same \caption command. However, you should
type your caption command first within the table, in-
stead of last as you did for figure.
The heart of any table is the tabular environment,
Sample title
4
There are two methods for setting footnotes within a
table (these footnotes will be displayed directly below
the table rather than at the bottom of the page or in
the bibliography). The easiest and preferred method is
just to use the \footnote{#1} command. This will auto-
matically enumerate the footnotes with lowercase roman
letters. However, it is sometimes necessary to have mul-
tiple entries in the table share the same footnote. In this
case, create the footnotes using \footnotemark[#1] and
\footnotetext[#1]{#2}. #1 is a numeric value. Each
time the same value for #1 is used, the same mark is pro-
duced in the table. The \footnotetext[#1]{#2} com-
mands are placed after the tabular environment. Ex-
amine the LATEX source and output for Tables I and IV
for an illustration.
All AIP journals require that the initial citation of fig-
ures or tables be in numerical order. LATEX’s automatic
numbering of floats is your friend here:
just put each
figure environment immediately following its first refer-
ence (\ref), as we have done in this example file.
ACKNOWLEDGMENTS
We wish to acknowledge the support of the author
community in using REVTEX, offering suggestions and
encouragement, testing new versions, . . . .
Appendix A: Appendixes
To start the appendixes, use the \appendix command.
This signals that all following section commands refer to
appendixes instead of regular sections. Therefore, the
\appendix command should be used only once—to set up
the section commands to act as appendixes. Thereafter
normal section commands are used. The heading for a
section can be left empty. For example,
\appendix
\section{}
will produce an appendix heading that says “APPENDIX
A” and
\appendix
\section{Background}
will produce an appendix heading that says “APPENDIX
A: BACKGROUND” (note that the colon is set automat-
ically).
If there is only one appendix, then the letter “A”
should not appear. This is suppressed by using the star
version of the appendix command (\appendix* in the
place of \appendix).
Appendix B: A little more on appendixes
Observe that this appendix was started by using
FIG. 1. A figure caption. The figure captions are automati-
cally numbered.
TABLE II. Numbers in columns Three–Five have been aligned
by using the “d” column specifier (requires the dcolumn pack-
age). Non-numeric entries (those entries without a “.”) in a
“d” column are aligned on the decimal point. Use the “D”
specifier for more complex layouts.
One
one
He
Ca
Two
two
2
Cb
Three
three
2.77234
12537.64
Four
four
45672.
37.66345
Five
five
0.69
86.37
a Some tables require footnotes.
b Some tables need more than one footnote.
which represents the table content as a (vertical) se-
quence of table rows, each containing a (horizontal) se-
quence of table cells. Cells are separated by the & charac-
ter; the row terminates with \\. The required argument
for the tabular environment specifies how data are dis-
played in each of the columns. For instance, a column
may be centered (c), left-justified (l), right-justified (r),
or aligned on a decimal point (d). (Table II illustrates
the use of decimal column alignment.)
Extra column-spacing may be be specified as well, al-
though REVTEX 4 sets this spacing so that the columns
fill the width of the table. Horizontal rules are typeset us-
ing the \hline command. The doubled (or Scotch) rules
that appear at the top and bottom of a table can be
achieved by enclosing the tabular environment within
a ruledtabular environment. Rows whose columns
span multiple columns can be typeset using LATEX’s
\multicolumn{#1}{#2}{#3} command (for example, see
the first row of Table III).
The tables in this document illustrate various effects.
Tables that fit in a narrow column are contained in a
table environment. Table III is a wide table, therefore
set with the table* environment. Lengthy tables may
need to break across pages. A simple way to allow this
is to specify the [H] float placement on the table or
table* environment. Alternatively, using the standard
LATEX 2ε package longtable gives more control over how
tables break and allows headers and footers to be speci-
fied for each page of the table. An example of the use of
longtable can be found in the file summary.tex that is
included with the REVTEX 4 distribution.
Test Figure
Sample title
5
FIG. 2. Use the figure* environment to get a wide figure, spanning the page in twocolumn formatting.
TABLE III. This is a wide table that spans the page width in twocolumn mode. It is formatted using the table* environment.
It also demonstates the use of \multicolumn in rows with entries that span more than one column.
D1
4h
D5
4h
2nd alternative
1st alternative
(2e) + (2f )
Ion
K
Mn
Cl
He
Ag
a The z parameter of these positions is z ∼ 1
4 .
b This is a footnote in a table that spans the full page width in twocolumn mode. It is supposed to set on the full width of the page, just
(a) + (b) + (c) + (d)
(a) + (b) + (c) + (d)
lst alternative
(2c) + (2d)
(2g)a
(8r)a
(4i)
(2g)b
(4j)a
(4k)a
(4e)
(4e)a
(4g)a
2nd alternative
(4f )
(2a) + (2b)
(4h)a
as the caption does.
TABLE IV. A table with more columns still fits properly in
a column. Note that several entries share the same footnote.
Inspect the LATEX input for this table to see exactly how it is
done.
rc (˚A)
0.800
0.990
1.150
0.490
0.300
0.530
0.550
0.230
0.310
0.460
0.480
r0 (˚A)
14.10
15.90
15.90
17.60
15.20
17.10
17.80
15.80
16.70
18.40
18.90
κr0
Sna
2.550
2.710 Pbb
2.710 Cac
Srd
3.200
2.970 Lib
3.160 Nae
3.220 Ke
3.240 Rbc
3.330 Csd
3.500 Bae
3.550
Cu
Ag
Au
Mg
Zn
Cd
Hg
Al
Ga
In
Tl
rc (˚A)
0.680
0.450
0.750
0.900
0.380
0.760
1.120
1.330
1.420
0.960
r0 (˚A)
1.870
1.930
2.170
2.370
1.730
2.110
2.620
2.800
3.030
2.460
κr0
3.700
3.760
3.560
3.720
2.830
3.120
3.480
3.590
3.740
3.780
a Here’s the first, from Ref. Feynman, 1954.
b Here’s the second.
c Here’s the third.
d Here’s the fourth.
e And etc.
\section{A little more on appendixes}
Note the equation number in an appendix:
E = mc2.
(B1)
1. A subsection in an appendix
You can use a subsection or subsubsection in an ap-
pendix. Note the numbering: we are now in Ap-
pendix B 1.
a. A subsubsection in an appendix
Note the equation numbers in this appendix, produced
with the subequations environment:
E = mc,
E = mc2,
E mc3.
(B2a)
(B2b)
(B2c)
They turn out to be Eqs. (B2a), (B2b), and (B2c).
Agarwal, A. G., “Proceedings of the Fifth Low Temperature Con-
ference, Madison, WI, 1999,” Semiconductors 66, 1238 (2001).
Ballagh, R. and Savage, C.M., “Bose-einstein condensation: from
atomic physics to quantum fluids,” in Proceedings of the 13th
Physics Summer School, edited by C.M. Savage and M. Das
(World Scientific, Singapore, 2000) cond-mat/0008070.
Ballagh, R. and Savage, C.M., “Bose-einstein condensation: from
atomic physics to quantum fluids, proceedings of the 13th
physics summer school,”
(World Scientific, Singapore, 2000)
cond-mat/0008070.
Berman, Jr., G. P. and Izrailev, Jr., F. M., “Stability of nonlinear
modes,” Physica D 88, 445 (1983).
Beutler, E., in Williams Hematology, Vol. 2, edited by E. Beutler,
M. A. Lichtman, B. W. Coller, and T. S. Kipps (McGraw-Hill,
New York, 1994) 5th ed., Chap. 7, pp. 654–662.
Beutler, E., “Williams hematology,”
(McGraw-Hill, New York,
1994) Chap. 7, pp. 654–662, 5th ed.
Birell, N. D. and Davies, P. C. W., Quantum Fields in Curved
Space (Cambridge University Press, 1982).
Burstyn, Y., “Proceedings of the 5th International Molecular Beam
Epitaxy Conference, Santa Fe, NM,” (2004), (unpublished).
Davies, E. B. and Parns, L., “Trapped modes in acoustic waveg-
uides,” Q. J. Mech. Appl. Math. 51, 477–492 (1988).
Einstein, A., Podolsky, Yu, and Rosen, N., Phys. Rev. 47, 777
(1935).
Feynman, R. P., Phys. Rev. 94, 262 (1954).
Fields, W. K., ECE Report No. AL944 (2005) required institution
missing.
Wide Test Figure
Sample title
6
Johnson, M. P., Miller, K. L., and Smith, K., personal communi-
Boston, 1983) a full PROCEEDINGS entry.
cation (2007).
Kawa, S. R. and Lin, S.-J., J. Geophys. Res. 108, 4201 (2003),
DOI:10.1029/2002JD002268.
Knuth, Donald E., “Fundamental algorithms,” (Addison-Wesley,
Reading, Massachusetts, 1973) Section 1.2, pp. 10–119, 2nd ed.,
a full INBOOK entry.
Knuth, Donald E., Seminumerical Algorithms, 2nd ed., The Art
of Computer Programming, Vol. 2 (Addison-Wesley, Reading,
Massachusetts, 1981) a full BOOK entry.
Knvth, Jill C., “The programming of computer art,” Vernier Art
Center, Stanford, California (1988), a full BOOKLET entry.
Lincoll, Daniel D., “Semigroups of recurrences,” in High Speed
Computer and Algorithm Organization, Fast Computers No. 23,
edited by David J. Lipcoll, D. H. Lawrie, and A. H. Sameh (Aca-
demic Press, New York, 1977) 3rd ed., Part 3, pp. 179–183, a
full INCOLLECTION entry.
Phony-Baloney, F. Phidias, Fighting Fire with Fire: Festooning
French Phrases, PhD dissertation, Fanstord University, Depart-
ment of French (1988), a full PHDTHESIS entry.
Quinn, B., ed., Proceedings of the 2003 Particle Accelerator Con-
ference, Portland, OR, 12-16 May 2005 (Wiley, New York,
2001) albeit the conference was held in 2005, it was the 2003
conference, and the proceedings were published in 2001; go fig-
ure.
Smith, J., Proc. SPIE 124, 367 (2007a), required title is missing.
Smith, J., ed., AIP Conf. Proc., Vol. 841 (2007).
Smith, J. M., in Molecular Dynamics, edited by C. Brown (Aca-
demic, New York, 1980).
Smith, J. M., “Molecular dynamics,” (Academic, New York, 1980).
Smith, J. S. and Johnson, G. W., Philos. Trans. R. Soc. London,
Ser. B 777, 1395 (2005).
Smith, R., “Hummingbirds are our friends,” J. Appl. Phys. (these
Manmaker, Larry, The Definitive Computer Manual, Chips-R-Us,
proceedings) abstract No. DA-01.
Silicon Valley, silver ed. (1986), a full MANUAL entry.
Smith, S. M., Ph.D. thesis, Massachusetts Institute of Technology
Masterly, ´Edouard, Mastering Thesis Writing, Master’s project,
Stanford University, English Department (1988), a full MAS-
TERSTHESIS entry.
Nelson, J., U.S. Patent No. 5,693,000 (12 Dec. 2005).
Nelson, J., TWI Report 666/1999 (Jan. 1999) required institution
missing.
Nelson, J. K., M.S. thesis, New York University (1999b).
Oaho, Alfred V., Ullman, Jeffrey D., and Yannakakis, Mihalis, “On
notions of information transfer in VLSI circuits,” in Proc. Fif-
teenth Annual ACM, All ACM Conferences No. 17, edited by
Wizard V. Oz and Mihalis Yannakakis, ACM (Academic Press,
Boston, 1983) pp. 133–139, a full INPROCEDINGS entry.
Opechowski, W. and Guccione, R., “Introduction to the theory of
normal metals,” in Magnetism, Vol. IIa, edited by G. T. Rado
and H. Suhl (Academic Press, New York) p. 105.
Opechowski, W. and Guccione, R., “Introduction to the theory of
normal metals,” in Magnetism, Vol. IIa, edited by G. T. Rado
and H. Suhl (Academic Press, New York, 1965) p. 105.
Opechowski, W. and Guccione, R., “Introduction to the theory of
normal metals,” in Magnetism, Vol. IIa, edited by G. T. Rado
and H. Suhl (Academic Press, New York, 1965) p. 105.
Oz, Wizard V. and Yannakakis, Mihalis, eds., Proc. Fifteenth An-
nual, All ACM Conferences No. 17, ACM (Academic Press,
(2003).
Smith, V. K., Johnson, K., and Klein, M. O., “Surface chemistry
and preferential crystal orientation on a silicon surface,” (a), J.
Appl. Phys. (submitted).
Smith, W. J., Johnson, T. J., and Miller, B. G., “Surface chemistry
and preferential crystal orientation on a silicon surface,” (b), J.
Appl. Phys. (unpublished).
T´errific, Tom, “An O(n log n/log log n) sorting algorithm,” Wish-
ful Research Result 7 (Fanstord University, Computer Science
Department, Fanstord, California, 1988) a full TECHREPORT
entry.
¨Underwood, Ulrich, ˜Net, Ned, and ¯Pot, Paul, “Lower bounds for
wishful research results,” (1988), talk at Fanstord University (A
full UNPUBLISHED entry).
Witten, Edward(2001), hep-th/0106109.
Zakharov, V. E. and Shabat, A. B., “Exact theory of two-
dimensional self-focusing and one-dimensional self-modulation
of waves in nonlinear media,” Zh. Eksp. Teor. Fiz. 61, 118–134
(1971), [Sov. Phys. JETP 34, 62 (1972)].
Zalkins, Y. M., e-print arXiv:cond-mat/040426 (2008).