REVTeX guide
Document structure
Journal articles created with the American Physical Society's REVTeX4 package have the following basic structure:
\documentclass[aps,prl,twocolumn,groupedaddress,
amsmath,amssymb,amsfonts,graphics]{revtex4}
%% preamble %%
\begin{document}
\title{Strong correlations in X${}_2$Y${}_{12}$}
\author{A. B. Smith}
\email[]{absmith@nowhere.edu}
\affiliation{Department of Physics, Nowhere University, Nowhere WX 01234}
\author{C. D. Jones}
\affiliation{Department of Chemistry, Somewhere Tech, Somewhere YZ 56789}
\date{July 15, 2005}
\begin{abstract}
%% abstract %%
\end{abstract}
\pacs{71.27.+a, 71.10.Fd, 71.30.+h}
\maketitle
%% body %%
\end{document}
It is possible to specify the date using the \today macro, which inserts the date at the time of compilation. This is bad practice and should be avoided, epecially if you intend to submit your article to the e-Print archive. arXiv.org handles article requests by autogenerating pdf and ps documents on the fly. If you use \today, those documents will be stamped with the day of request and not the day of submission.
The \pacs macro allows you to specify the subject matter of your article according to the Physics and Astronomy Classification Scheme (PACS numbers).
Sectioning
The body of the paper generally consists of text, equations, and figures organized into various sections and subsections.
\section{ \label{SEC:introduction} Introduction }
Whether the Hubbard model can give rise to superconductivity that
is purely electronic in origin remains an open question \ldots
\section{ \label{SEC:results} Numerical Results }
We discuss three different numerical approaches to
the problem introduced in Sec.~\ref{SEC:introduction} \ldots
\subsection{ \label{SUBSEC:qmc} Quantum Monte Carlo }
The first simulation is perform using stochastic series expansion
with directed loops \ldots
Sections following the \appendix command are treated as appendices.
\appendix
\section{ \label{APP:hs-transformation} The Hubbard-Stratonovich
Transformation }
The interaction term $\hat{n}_{i\uparrow}\hat{n}_{i\downarrow}$
can be decomposed \ldots
Typesetting equations
REVTeX offers several environments for creating equation blocks (via AMS-LaTeX). A numbered equation spanning a single line is typeset using the equation environment:
\begin{equation} \label{EQ:normalization}
\int \! d\omega \, A(\omega) = 1
\end{equation}
The equation can be referred to subsequently by its \label argument. The special escape sequences \! and \, insert a small negative and small positive space.
The align environment is appropriate for multiple equations on several lines. The point of alignment is specified by a single ampersand (&):
\begin{align}
M_0 &= \int \! d\omega \, A(\omega) \label{EQ:moment0} \\
M_1 &= \int \! d\omega \, A(\omega)\omega \label{EQ:moment1} \\
M_2 &= \int \! d\omega \, A(\omega)\omega^2 \label{EQ:moment2}
\end{align}
The gather environment provides the same functionality but centres rather than aligns the equations. (Note that align and gather supercede the eqnarray environment, which should be considered obsolete.) To align equations in several columns, use alignat. alignat takes an integer argument representing the number of ampersand pairs per line (the first indicating the align point and the second acting as a separator).
\begin{alignat*}{3}
a &= 1 & \qquad b &= 2 & \qquad c &= 3 \\
a^2 &= 1 & b^2 &= 4 & c^2 &= 9 \\
a^3 &= 1 & b^3 &= 8 & c^3 &= 27
\end{alignat*}
The starred form of the environment name indicates that equation numbering should be suppressed. This also holds for equation*, align*, gather*, etc.
\begin{equation} \label{EQ:integration}
\begin{split}
Z &= \int_{-\infty}^{\infty} \! dx \, e^{-ax^2} \\
&= \frac{1}{\sqrt{a}} \int_{-\infty}^{\infty} \! dy \, e^{-y^2} \\
&= \sqrt{\frac{1}{a}}
\end{split}
\end{equation}
Labels
Notice that we have included \label declarations in most of the examples above. These allow us to associate a unique name with each structural element, so that we can refer back to it later.
\section{ \label{SEC:Introduction} Introduction }
The purpose of Sec.~\ref{SEC:Introduction} is to motivate
Eq.~\eqref{EQ:normalization} and to discuss why the higher
moments, Eqs.~(\ref{EQ:moment0}--\ref{EQ:moment1}), are equally
important. The basic ideas are illustrated in Fig.~\ref{FIG:spectrum}.
In Physical Review style, Equation (Eq.), Figure (Fig.), and Section (Sec.) are spelled out in full if they begin a sentence but are otherwise abbreviated.
Figures
The figure environment creates a captioned floating block that can contain text or graphics. The \includegraphics command can handle most common formats, although for maximum portability it's best to stick to Encapulated PostScript.
\begin{figure}
\includegraphics{spectrum.eps}
\caption{ \label{FIG:spectrum}
The spectral function of the single-particle propagator \ldots
}
\end{figure}
The spectral function, obtained by the Maximum Entropy method, is
plotted in Fig.~\ref{FIG:spectrum}.
In two-column mode, the figure* environment can be used to create wide figures that stretch across the page.
Bibliography
The best way to manage large numbers of references is to use BibTeX. Nonetheless, for a short paper it may be more convenient to put in the references by hand using the thebibliography environment.
\begin{thebibliography}{99}
\bibitem{Smith04} A. B. Smith, Phys. Rev. B {\bf 11}, 12345 (2004).
\bibitem{Jones03} C. D. Jones, X.-Z. Wang, and E. F. Boulanger, Phys.
Rev. Lett. {\bf 36} 023456 (2003); \emph{ibid}., Phys. Rev. B {\bf 16},
345, (2003).
\end{thebibliography}
Citing references in the text can be done in two ways. The \cite command uses a superscript or bracket notation, depending on the journal style, whereas \onlinecite produces normal roman script.
A recent Monte Carlo study~\cite{Smith04} confirms the unusual
transport behaviour first reported by Jones \emph{et al}.\ in
Ref.~\onlinecite{Jones03}.