Written and maintained by CASRAI Editorial Board
Last updated
REVTeX is the official LaTeX macro package maintained by the American Physical Society (APS) for preparing and submitting research manuscripts. Developed in collaboration with partner organizations including the American Institute of Physics (AIP) and the Society of Rheology (SOR), REVTeX defines document classes, formatting macros, and BibTeX styles that align directly with the production requirements of leading physical science journals. In modern computational and theoretical workflows across physics research, REVTeX provides the standard template required for journal peer review and automated preprint ingestion.
What it is used for in research
In physical science research, submitting a manuscript involves strict presentation standards for equations, complex author affiliations, multi-panel figures, and references. REVTeX formalizes these rules into automated LaTeX macros so authors do not need to manually design custom page layouts. Primary research applications include:
- Journal Submission to APS and AIP Publications: REVTeX provides dedicated substyle files for journals such as Physical Review Letters (PRL), Physical Review A through E, Physical Review X (PRX), Reviews of Modern Physics (RMP), and AIP journals like Applied Physics Letters.
- Preprint Distribution via arXiv: arXiv maintains built-in support for REVTeX 4, 4.1, and 4.2 within its TeX Live compilation tree, allowing theoretical and experimental physicists to archive manuscripts with consistent rendering.
- Multi-Author Collaboration Handling: In large experimental projects such as high-energy physics collaborations, author lists often span dozens of institutions. REVTeX provides automated affiliation grouping mechanisms that connect directly to mega-collaboration authorship workflows.
- Physics-Specific Typographical Formatting: The package provides native environments for two-column page balance, wide display equations that span both columns, double-ruled tables conforming to APS editorial style, and persistent bibliographic hyperlinking with Crossref DOIs and arXiv e-prints.
Install or access
REVTeX is distributed under the LaTeX Project Public License (LPPL 1.3c) and is included by default in all standard TeX distributions. Researchers can access or install the package through several official channels:
- TeX Live: REVTeX is packaged under the package name
revtex. On Linux or macOS systems running TeX Live, update or install via the TeX Live Manager:tlmgr install revtex - MiKTeX: On Windows environments running MiKTeX, open the MiKTeX Console, navigate to Packages, search for
revtex, and click Install. Alternatively, enable automatic on-the-fly package installation. - Overleaf and Cloud LaTeX Platforms: Cloud-based LaTeX editors maintain full installations of TeX Live. Creating a project using an official APS or AIP template loads the REVTeX environment automatically without local package configuration.
- Manual TDS Archive Installation: To install the distribution manually from the Comprehensive TeX Archive Network (CTAN), download
revtex.tds.zip, unpack the contents into the local TeX directory tree (such astexmf-local/), and index the files using the terminal command:texhash
Step-by-step task: drafting an article in REVTeX
Preparing a research paper with REVTeX follows a standardized sequence from class declaration through bibliography linking. Follow these numbered steps to configure a manuscript:
- Declare the Document Class: Begin the manuscript file by specifying the
revtex4-2class along with the target publisher, journal acronym, layout mode, and address format:documentclass[aps,prl,reprint,superscriptaddress]{revtex4-2}Use
preprintfor single-column, double-spaced peer-review copies orreprintfor a two-column approximation of published journal pages. For research in specialized subdisciplines like quantum physics, select the appropriate subdiscipline acronym (such asprafor Physical Review A). - Specify Author Affiliations: Manage institutional affiliations using either
groupedaddress(suitable for single institutions or small author teams) orsuperscriptaddress(recommended for multi-institutional author lists). Attach email and institution metadata directly to each author:author{Jane Doe} email{[email protected]} affiliation{Department of Physics, University of Example, City, State 12345, USA} author{John Smith} affiliation{Department of Physics, University of Example, City, State 12345, USA} affiliation{National Laboratory, City, State 67890, USA} - Add Abstract and Generate Title Block: Define the paper title and abstract before invoking the
maketitlecommand. In REVTeX, placingmaketitleafter the abstract is mandatory to ensure proper metadata parsing:title{Precision Measurement of Quantum Fluctuations} begin{abstract} We present experimental observations of phase-sensitive fluctuations in coupled optical cavities... end{abstract} maketitle - Format Wide Mathematical Equations: In two-column mode, lengthy equations that exceed a single column width should be wrapped in the
widetextenvironment to temporarily switch to a full-page width:begin{widetext} begin{equation} mathcal{L}_{mathrm{eff}} = -frac{1}{4} F_{munu} F^{munu} + bar{psi} (igamma^mu D_mu - m) psi + frac{1}{2} (D_mu phi)^dagger (D^mu phi) - V(phi) end{equation} end{widetext} - Create Double-Ruled Tables: Wrap standard tabular environments inside the
ruledtabularenvironment. This automatically applies the horizontal double rules mandated by APS style guides:begin{table}[b] caption{label{tab:params}System parameters and observed decay rates.} begin{ruledtabular} begin{tabular}{lcc} Parameter & Symbol & Measured Value \ hline Resonance Frequency & $omega_0$ & 5.42 GHz \ Coupling Constant & $g/2pi$ & 120 MHz \ Decay Rate & $kappa/2pi$ & 1.2 MHz \ end{tabular} end{ruledtabular} end{table} - Link References Using BibTeX: Reference citations in the body text using
cite{key}. At the end of the manuscript, call thebibliography{}macro with the base name of your.bibfile. REVTeX automatically applies the correct journal bibliography style (such asapsrev4-2.bst), eliminating the need for a manualbibliographystyle{}declaration when working with standard LaTeX bibliography styles:bibliography{manuscript_refs}
Output and how to read it
Compiling a REVTeX manuscript typically involves running pdflatex, bibtex, and two subsequent passes of pdflatex to resolve cross-references and bibliographic citations. Reading compiler output logs requires monitoring several diagnostic indicators:
- Overfull and Underfull
hboxWarnings: In two-columnreprintformat, narrow columns frequently produce overfull hbox warnings where mathematical expressions or long technical words breach column margins. Adding explicit hyphenation or enclosing complex equations insidewidetextresolves margin violations. - Substyle Confirmation Lines: When REVTeX initializes, the log file prints the active substyle file (such as
aps4-2.rtxoraip4-2.rtx). Verify that the compiler loaded the intended publisher substyle rather than falling back to default generic options. - Citation Key Resolution: Review the
.blg(BibTeX log) file to verify that all citation keys resolved successfully. REVTeX BibTeX styles automatically parse fields likedoiandeprint, generating clickable hyperlinks in the resulting PDF. - Estimated Page Length: While the
reprintoption formats the text into two columns closely mimicking printed physical review journal pages, editorial page-budget limits (such as the 4-page limit for Physical Review Letters) must be verified against official journal character-count tools rather than raw PDF page numbers.
Troubleshooting
Researchers encountering compilation errors in local environments or during arXiv submission should apply these targeted solutions:
- Missing
revtex4-2.clsError: If the compiler halts with! LaTeX Error: File 'revtex4-2.cls' not found, the TeX distribution lacks the REVTeX package. Install it using your distribution package manager (tlmgr install revtex) or download the archive from CTAN and runtexhash. maketitlePositioning Conflict: Placingmaketitlebefore the abstract produces missing abstract text or layout distortion. In REVTeX 4.2,maketitlemust always appear aftertitle,author, andbegin{abstract}...end{abstract}.widetextPage-Break Anomalies: Spanning equations across two columns withwidetextcan occasionally cause unexpected whitespace or premature page breaks. Ensure thatwidetextis not placed immediately adjacent to floats (figures or tables), and avoid nestingwidetextinside subordinate environments.- arXiv Compilation Failures on Legacy Submissions: arXiv compiles submissions using modern TeX Live versions. If an older paper prepared with REVTeX 4.0 or 4.1 fails to compile, bundle the specific legacy
.clsand.rtxfiles directly within the submitted archive tarball, or upgrade the document class torevtex4-2. - Conflicting Geometry or Page Layout Packages: Do not load external packages that alter page geometry (such as
geometry,fullpage, orhyperrefwith overriding page dimensions). REVTeX relies on internal layout packages (ltxgridandltxutil) that conflict with external page geometry drivers.
Free alternatives
While REVTeX is the mandatory standard for APS and AIP journals, researchers publishing across other physical science outlets or general repositories can consider these alternative document classes:
| Document Class | Primary Sponsoring Publisher | Key Strengths | Limitations Compared to REVTeX |
|---|---|---|---|
revtex4-2 |
American Physical Society (APS) | Native APS/AIP layout, automated superscriptaddress, built-in ruledtabular and widetext |
Specialized for physical science journals; rigid layout controls |
iopart |
IOP Publishing (Institute of Physics) | Tailored for Institute of Physics journals (e.g., Journal of Physics) | Requires custom equation and table macros; does not use standard natbib out of the box |
elsarticle |
Elsevier | Flexible support for multi-author affiliations across Elsevier science journals | Lacks native APS table ruling and physical review two-column reprint emulation |
aastex631 |
American Astronomical Society (AAS) | Designed for astronomical publications (e.g., ApJ, AJ) with dedicated celestial coordinate macros | Restricted to astrophysics workflows; not accepted by APS physics journals |
Standard article |
LaTeX Project | Universal compatibility, no external dependencies, easily customized | Requires extensive manual coding for two-column balance, frontmatter affiliations, and journal styles |
FAQ
Where can I download the official REVTeX template?
Official author templates—including apstemplate.tex for APS journals and aiptemplate.tex for AIP journals—are distributed within the revtex package on CTAN under the doc/latex/revtex/sample/ directory, and are preloaded on cloud platforms like Overleaf.
What is the difference between REVTeX 4.1 and REVTeX 4.2?
REVTeX 4.2 (released in version 4.2f) incorporates updated journal substyle files for new APS publications (such as PRX Energy and PR Research), improves compatibility with modern TeX Live engines, updates BibTeX integration for DOIs, and fixes float-handling bugs present in version 4.1.
Does arXiv support REVTeX 4.2?
Yes. arXiv provides native support for REVTeX 4.2 across its compilation servers. Authors submitting to arXiv do not need to upload standard REVTeX 4.2 class or style files as they are preinstalled in arXiv’s TeX Live environment.
Can I use REVTeX for non-APS publications?
Yes. REVTeX includes substyle support for AIP journals, the American Association of Physicists in Medicine (AAPM), and the Society of Rheology (SOR). However, other publishers like Elsevier and IEEE require their own respective class files (such as elsarticle or IEEEtran).
Sources
- CTAN: REVTeX Package Record (Version 4.2f, LPPL 1.3c), Comprehensive TeX Archive Network, https://www.ctan.org/pkg/revtex (read 2026-11-07).
- American Physical Society: REVTeX 4.2 Distribution README and Manifest, https://mirrors.ctan.org/macros/latex/contrib/revtex/README (read 2026-11-07).
- American Physical Society: APS Author Manuscript Template (apstemplate.tex), https://mirrors.ctan.org/macros/latex/contrib/revtex/sample/aps/apstemplate.tex (read 2026-11-07).
- arXiv Help: Status of REVTeX Support and Submission FAQ, https://info.arxiv.org/help/faq/revtex.html (read 2026-11-07).







