Help with revTeX4
Dennis Silverman
Dept. of Physics and Astronomy
U. C. Irvine
djsilver@uci.edu
Introduction
-
revTeX4 will be required soon to get compuserve publications free of page
charges.
-
There are several revTeX4 documents
on the APS website, under research journals, so I will only describe what
is unclear or left out of the documents that applies to the shared teTeX
distribution here at UCI on dcslib.
-
It is fastest to start with template.aps
which
includes the latex to make a paper in revtex4.
BibTeX:
-
APS says that this will be required, and I will describe a simple way to
do this.
-
However, they also say that if you do not use BibTeX, you just replace
-
\begin{references} by \begin{thebibliography}, and the same for the
-
\end{references} by \end{thebibliography}.
-
The BibTeX method is to make a file.bib with any references that you may
ever use in a format that identifies each part of the reference.
-
HOWEVER, if you are in high energy physics, you can look up each paper
on spires, where there is a BibTeX option that displays each reference
in the complicated BibTeX format.
-
You can then highlight that and copy it into your file.bib which you have
opened in a word processor.
-
In Linux, the copy is to the clipboard. The command "xclipboard"
displays each BibTeX reference, one at a time.
-
You can then save it to the file clipboard.
-
Running emacs on file.bib, you can include the file with the insert command.
-
You can make several different file1.bib, file2.bib, etc.
-
In the paper then, instead of the entire reference section, you only have
one statement:
-
\bibliography{file1,file2}
-
Each BibTeX reference has at the start the citation, such as
-
Use this in your cite commands: \cite{Silverman:1998tw}
-
Then run: latex papername (you don't need the .tex ending here)
-
Then run: bibtex papername
-
Then run: latex papername
-
BibTeX has then created a papername.bbl file with only the references which
you cited in the paper, drawn from the files.bib.
-
These don't appear in your papername.tex file, but will appear when you
do: dvips papername, and later gv: papername.
-
When you submit the paper, you are supposed to include the papername.bbl
file in the papername.tex so that you do not send a separate .bbl file.
-
The .bbl file is in the \begin{thebibliography} format and you have to
insert that mode before it, and finish with the \end{thebibliography}.
-
A key point in this is I was not able to find the all important apsrev.bst
file in the teTeX distribution at UCI. This file is also not apparent
on the APS web site. If you need it, click on the above link.
Graphics:
-
below \documentclass, but before \begin{document} you need
-
Use the figure environment:
-
\begin{figure}
-
\includegraphics{file.eps}
-
\caption{\label{fig1} ...}
-
\end{figure}
-
file.eps graphics are then called up with
-
\includegraphics{file.eps} or
-
\includegraphics[height=8cm]{file.eps} or
-
\includegraphics[width=8cm]{file.eps}
-
If you are going to the twocolumn journal version:
-
remove "draft" from \documentclass and add "twocolumn", since figures
will not appear with the "draft" qualifier in two column
-
[width=8cm] works and 9cm sometimes is too large in twocolumn mode
-
you should remove [ht] as a qualifier to \begin{figure} since this will
allow figures to be placed throughout the page
Dennis Silverman, djsilver@uci.edu
.