Next: , Previous: , Up: LaTeX   [Contents][Index]


10.1.3.2 Using REVTeX

REVTeX is the standard macro package used for formatting scientific papers submitted to the American Physical Society, the American Institute of Physics, and some European journals. It modifies the sectioning commands of \documentclass{article} and provides various other useful macros.

Unfortunately, as of August, 1998, REVTeX is not fully compatible with LaTeX2e; it must be invoked with \documentstyle{revtex}, not \documentclass. This is annoying, because FWEB’s macros in fwebmac.sty default to \documentclass if they recognize that LaTeX2e is loaded.

To use REVTeX, uncomment the line in fwebmac.sty that says \useREVTeXtrue. (One cannot say ‘\useREVTeXtrue’ in the limbo section of one’s web source, because the document class has already been selected by that time.) You may wish to rename the resulting file, say to rwebmac.sty, so it can be loaded in place of the standard fwebmac.sty. To do that, one would use the command-line option ‘-wrwebmac.sty’ (see -w).

Saying \useREVTeXtrue selects \documentstyle rather than \documentclass. To implement a standard command such as \documentstyle[aps,my_macros]{revtex}, use the style-file (fweb.sty) parameters LaTeX.style and LaTeX.options, as in

LaTeX.style "revtex"
LaTeX.options "aps,my_macros"

Here my_macros.sty would be a user’s macro package loaded in addition to those of REVTeX and FWEB.

REVTeX support is extremely recent. There may be glitches; please report those. In a pinch, if LaTeX stops while processing a REVTeX file produced by FWEAVE, try typing ‘s’ (scroll mode) to force it to continue; you might get usable output.