% segman.tex
\documentstyle[seg,manuscript]{revtex} % This line gives a manuscript style.
%
%\documentstyle[seg]{revtex}  % Uncomment this line for a preprint style.
%
% Adapted from the JGG LaTex manual by Brian Spies 
%        (spies@ridgefield.sdr.slb.com) Sept. 1993., modified 11-5-93
%
% Rewritten for REV\TeX by Martin Karrenbach
%           martin@sep.stanford.edu, 9-13-93
%
\def\s{\char`\\}  
\def\GEO{{\sl Geophysics\ }}
\def\La{\LaTeX\ }
\def\seg{{\bf seg\ }}
\def\BibTeX{\rm B{\sc ib}\TeX}
%
\begin{document}
\bibliographystyle{seg}

\title{A Brief Guide for Preparing Geophysics Manuscripts \\ Using \LaTeX}

\author{by The Friends of Geophysics\footnotemark[1]}

\footnotetext[1]{Brian Spies, Bill Harlan, Martin Karrenbach, Michael Prange}

\date{September 13, 1993}

\maketitle

\section{Introduction}
The SEG encourages contributors of \GEO to submit their 
manuscripts in the form of \LaTeX\ files or plain \TeX\ text files.
This speeds up the publication process and results in fewer 
%stet
typugrophical
%stet
errors. The \LaTeX\ or \TeX\ file should be sent with the paper copy after
the review process is completed and all changes have been made. 

Since the format of an article produced with \LaTeX\ is determined by the
style file employed, we have prepared a set of style files named 
{\tt seg.sty, seg10.sty, seg12.sty, segbib.sty, seg.bst} and {\tt revtex.sty}
in order to keep consistency with \GEO format.
This style set is based on REV\TeX\ , a \LaTeX\ framework for publishing
scientific papers, which is used by the The American Physical Society,
the American Institute of Physics and the Optical Society of America.

A complete package that includes the relevant REV\TeX\ files and SEG
macros can be obtained by anonymous ftp from 
{\tt sepftp.stanford.edu /pub/SEGTeX} , or via email from 
{\tt listserv@sep.stanford.edu} or from SEG, as described in the next section.
You should consult the manual and/or guide books of \LaTeX\ on
how to obtain and use \LaTeX\ itself.

%For those interested, the REV\TeX\ package can be obtained from the 
%{ftp~site} {\tt pinet.aip.org /pub/revtex} or from 
%{\tt Niord.SHSU,edu:[FILESERV.REVTEX]}.
%
%The SEG style package is still under development, with the ultimate goal
%of submitting papers in a camera ready format.
%

A small sample file, called {\tt segskeleton.tex}, is also available.  This
file contains an example layout of a standard paper and
can be easily edited and expanded into your own paper. Another example
file ({\tt easybib.tex}) shows how to use \BibTeX\ for creating
 bibliographies and references in your paper.
%
\section{Preparation}
\subsection{How to get a copy of the SEG style package}
If you have access to the INTERNET you can obtain a copy of the package by
anonympus ftp from {\tt sepftp.stanford.edu} (net address 36.51.0.59) in the
directory {\tt /pub/SEGTeX}.  Login as anonymous and use your e-mail
address as the password.  Alternatively, for Unix users, send e-mail to
{\tt listserv@sep.stanford.edu} with the line ``get segtex segtex.shar'' in
the body of the text to get a compressed copy of the files.  
PC or Mac users can get the package in form of a single
uncompressed file by sending the line ``get segtex segtex.ascii''.
For help information send the email message ``help''.
To join a
discussion group, put the line ``subscribe segtex Your Name'' in the text.

If you do not have e-mail you can ask for a copy of the style file, manual
and sample files by sending a blank formatted 5.25-inch 2HD or 3.5-inch
MS-DOS floppy disk to:

\begin{quote}
\fbox{\begin{tabular}{l}
Geophysics\\
Society of Exploration Geophysicists\\
P.O. Box  702740\\
Tulsa,   OK  74170-2740\\
Attention: Ken Brenkman
\end{tabular}}
\end{quote}
\vspace{0.1in}

Also, you can get a copy personally from somebody who already obtained one,
since the SEG permits free copying of the style package and related documents.

\subsection{Installation}
Copy all {\tt .sty} and {\tt .bst} files ({\tt seg.sty, seg10.sty, seg12.sty,
segbib.sty, seg.bst, revtex.sty, epsf.sty}) 
into the same directory where you keep
other \LaTeX\ style files (such as {\tt article.sty}  etc.).
If you are using \LaTeX\ on a unix machine, it will be most likely
{\tt/usr/lib/tex/inputs} or {\tt/usr/local/lib/tex/inputs}, and if
you use MicroTeX on an MS-DOS (or PC-DOS) machine, it will be
{\tt\verb+\+TEX INPUTS} (or the directory specified by the environment
variable {\tt \verb+\+TEXINPUTS}).
Consult your \LaTeX\ installation manual or a \TeX\ guru around you.
If you are in a hurry and can't find a \TeX guru then just keep these 
style files in the same directory as your paper.
%
\section{Preparing Your Manuscript}
Preparation of your manuscript using the \seg
style is similar to the procedure used with the {\bf article} style, which is
most commonly used with \LaTeX\ . Additional extensions are described below.
The easiest way to produce a manuscript for \GEO is by
starting with the {\tt segskeleton.tex} file
and by editing it accordingly.

\begin{enumerate}
\item
The first lines of the text file should be
\begin{quote}
{\tt \verb+\+documentstyle[seg,manuscript]\{revtex\}}\\
{\tt \verb+\+begin\{document\}}\\
{\tt \verb+\+bibliographystyle\{seg\}}\\
\end{quote}
\item
The title, the author(s) and their affiliation are specified through
a {\tt\s maketitle} command as in the {\bf article} style\footnote{\LaTeX\
manual, section 2.2.2.}.   

For example:
\begin{quote}
\tt
\s title\{Life with Geophones and Jugs\}\\
\s author\{Popul R. Demand\} \\
\s address\{Flat Land University, Green Acres, HW 99999\}\\ 
\s author\{Joe E. Second\}\\
\s address\{Arctic Oil, Sicily\}\\
\s maketitle
\end{quote}     

\item
The abstract should be inserted using the {\bf abstract} environment.
\begin{verbatim}
\begin{abstract}
The abstract is the most important ...
\end{abstract}
\end{verbatim}

\item
Each major heading should be typeset using the \verb+\section+ command.
\begin{verbatim}
\section{Introduction}
\end{verbatim}

Headings of the next lowest rank should be typeset using the 
\verb+\subsection+ command.
\begin{verbatim}
\subsection{Historical Development}
\end{verbatim}

For headings of lower rank typeset using the 
\verb+\subsubsection+ command.
\begin{verbatim}
\subsubsection{Middle Ages}
\end{verbatim}

\item
Acknowledgments should be placed before the reference list.
\begin{verbatim}
\section{Acknowledgment}
\end{verbatim}

\item
Citations and references should be formatted using the 
{\bf bibliography} environment with citation\footnote{\LaTeX\
manual, section 4.3.1.}, as shown in the {\tt segskeleton.tex} 
sample file.

\item
Appendices should be placed after the acknowledgments and the reference
list.  The appendices should be started by a {\tt\verb+\+appendix} command,
and ordinary {\tt\verb+\+section} commands used to label each appendix.
Appendices are automatically numbered as A, B, \ldots in the order of
appearance. Equations in them are automatically numbered as (A-1), etc.
%
\item
Figure and table captions can be placed anywhere in the paper using the
{\bf figure}, {\bf plot} and {\bf table} environments.  The {\bf plot}
command is used to include encapsulated PostScript figures, and is
described later in the manual.
\end{enumerate}

For a comprehensive listing see the example file {\tt segskeleton.tex}.

\subsection{Additional Features:}
Several more commands than usually encountered in \LaTeX\ are available 
within this style package. The sample file exercises a few specific macros.
If you are interested, we encourage you to read the  complete REV\TeX\ 
manual.

\subsection{Adding New Macros}
Some authors use specialized definitions, or macros, in their files.
These definitions serve different purposes: some macros save the author from 
typing long character strings repetitively and some macros act as 
commands and environments to the \TeX\ program.

The first kind of macros enables the author to replace a frequently used
used long string by a shorter string. These macros are not very likely
to cause trouble during the typesetting process.

The second kind however, defines or redefines \TeX\ environments and
can cause stylistic changes.  Papers which define such environments are not
eligible for electronic submission.
Therefore we advise authors to restrain from  using  complicated macros
and ask to suggest to the \GEO Editor the inclusion of their macros.

\boxit{
Modifications to the {\tt seg.sty} file itself is not allowed,
since it interferes with future enhancements of the style file.  
Instead, send your suggestions to the \GEO Editor.
}

\subsection{Figure Inclusion} 
Figures in PostScript format can be included into a {\tt\bf dvi} document. 
There are several \TeX\  packages that allow such an inclusion.
We decided on using one of the most common ones
namely {\tt epsf.sty} that comes with {\tt dvips}. It was written
by T. Rockicki and can be ftp'd from 
{\tt labrea.stanford.edu} or many other sites that have \TeX\ .
The SEG style file relies on having {\tt epsf.sty} installed and 
this will be the only package supported in seg.sty. {\tt epsf} takes
encapsulated PostScript and includes it into your \TeX\ document.
Be sure that your figures are {\bf encapsulated PostScript} (EPSF) figures.

We encourage for PostScript figure inclusion to use the command 
{\tt \verb+\plot+} that is available in the SEG style file.
This command takes three arguments:
\begin{verbatim}
\plot{file}{width=6.in,height=4.in}{caption....}
\end{verbatim}
Using this command has several effects.
\begin{enumerate}
\item A file with the name {\tt file.ps} is included.
\item A label {\tt fig:file} is set for referencing, 
      use \verb+\ref{fig:file}+.
\item The figure is scaled to {\tt width=6.in} and {\tt height=6.in}.
If only width is given then the height will be scaled accordingly,
if only the height is given then the width will be scaled accordingly.
If neither width nor height are given, then the figure will be scaled
such that the figure width is the same as the text width. (Remember
to leave no spaces in the comma separated list of the second argument.)
\item A figure caption is produced.
\end{enumerate}

\noindent
Using this plot macro will allow for easy expandability at a later time,
while leaving the author unaffected.
For simplicity we suggest that plot files should be called something
like FIG1.ps, FIG2.ps, etc.

When referencing a figure that is not included as an EPSF file, the 
{\bf figure} command \footnote{\LaTeX\ manual, sections 3.5.1 and C.8.1} 
should be used. (Using the {\bf plot} command without an included EPSF figure
will result in a \LaTeX\ warning, but is otherwise harmless).

The SEG style file will automatically place a list of figures at the end of
the paper, irrespective of whether the {\bf figure} or {\bf plot} command is
used.  This list will be followed by the figures themselves if EPSF files
are included. 

\end{document}

