next up previous contents
Next: Fast Facts for Up: Installing REVTeX 3.1 Previous: Running an older

Converting a REVTeX v2.x file to REVTeX v3.1

To change a file over from v2.x to run with v3.1, you need to make the following changes. If you have a file formatted with version 1.x, first delete the optional arguments to the \bibitem commands. That is, \bibitem[1]{firstref} would become \bibitem{firstref}, etc. Then make the following changes.



\documentstyle[revtex]{aps}
becomes
\documentstyle[aps]{revtex}
The preprint and eqsecnum options work the same as before.



\tightenlines
becomes
\tighten



$\alt$ and $\agt$
become
$\lesssim$ and $\gtrsim$



\begin{title}
XXX
\end{title}
becomes
\title{XXX}



\begin{instit}
XXX
\end{instit}
becomes
\address{XXX}



\receipt{XXX}
becomes
\date{XXX}



\maketitle should be added just before the \begin{abstract} command is entered.



\figure{XXX\label{YYY}}
becomes
\begin{figure}
\caption{XXX\label{YYY}}
\end{figure}



Tablenotes should be converted over to run correctly. The first three \tablenotes{#1} commands would be treated as follows:

\tablenotes{$^{\rm a}$Tablenote a.}
\tablenotes{$^{\rm b}$Tablenote b.}
\tablenotes{$^{\rm c}$Tablenote c.}
becomes
\tablenotetext[1]{Tablenote a.}
\tablenotetext[2]{Tablenote b.}
\tablenotetext[3]{Tablenote c.}
Further tablenotes should be treated similarly. This should allow older tables to run correctly. There is much greater capability in the new tablenote macros, however. See apssamp.tex for examples and explanations.



\nonum\section{XXX}
becomes
\section*{XXX}



Note that there should only be one \unletteredappendix command in any file.

\unletteredappendix{XXX}
becomes
\appendix
\section*{XXX}



Note that there may be more than one \appendix command in any file. The first occurrence should be treated as follows:

\appendix{XXX}
becomes
\appendix
\section{XXX}
Subsequent occurrences should be treated as follows:
\appendix{XXX}
becomes
\section{XXX}






Fri Feb 6 11:29:29 GMT 1998