The Handbook of UTAM Tomobook
Xiang Xiao and C. Boonyasiriwat
Here is the template file: template.tex
Here is an example: example.tex, vel.eps
To compile a Latex file, use: latex file.tex
To view a DVI file, use: xdvi file.dvi
To view a PS/PDF file, use: kghostview file.ps
or kghostview file.pdf
To convert a DVI file to a PS file, use: dvips file.dvi file.ps
To convert a DVI file to a PDF file, use: dvipdf file.dvi file.pdf
1. what we have? create.tomo.tar
tar -tf create.tomo.tar
02_cp.csh
03_create_pdf.csh
04_create_ps.csh
04_create_ps_pdf.csh
05_create_html.csh
aaa.bat
aaa.out
dvialw.sty
GETPATH.c
GETTITLE.c
readme.txt
tomobook.sty
GETPATH
GETTITLE
gopdf
gopdf2
gops
gops2
latex2html2
pro
tomobk_content_book.ps.tex
tomobk.pdf.tex
tomobk.ps.tex
gops
also all the tomobook tex backup is on the tomofs server,
go through
/uufs/geophys.utah.edu/common/tomofs/www/htdocs/tomo04/04_mid/TEX/
/uufs/geophys.utah.edu/common/tomofs/www/htdocs/tomo04/04_ann/TEX/
/uufs/geophys.utah.edu/common/tomofs/www/htdocs/tomo05/05_ann/TEX/
/uufs/geophys.utah.edu/common/tomofs/www/htdocs/tomo05/05_mid/TEX/
/uufs/geophys.utah.edu/common/tomofs/www/htdocs/tomo05/06_mid/TEX/
to check for more examples. and all the following report TEX should backup in the server
Usage: pro fname1 fname2 path_of_fname1 short_title
fname1: source latex file name without '.tex'
fname2: processed latex file name without '.tex'
path_of_fname1: the absolute path of the source file
short_title: short title string, like 'Migration Method'
the short title is for the chapter title on the page header. Make sure it's short enough
for a single example:
pro /uufs/geophys.utah.edu/common/seismic/xiao/seis/seiswork/04_annual/IM/Migration/interferometry xxiao_inter /uufs/geophys.utah.edu/common/seismic/xiao/seis/seiswork/04_annual/IM/Migration/ 'Salt Flank Imaging'
what pro does:
cp interferometry.tex to xxiao_inter_single.tex and modify it to xxiao_inter.tex,
for tomobook (see the difference shown below). cp the the figures and save them in fig/seismic or fig/utamfs, the figures location should be relative path or abosolute path with uufs/geophys.utah.edu/common/, and then compile the ps file xxiao_inter_single.ps (don't save it in the PS/. Directory or it will cover a good file which already save in this directory);
for preface, remember to change pagebreak to newpage, and change the first several lines to:
\chapter*{Preface}
\addcontentsline{toc}{chapter}{Preface}
\pagestyle{myheadings}
\markboth{Preface}{Preface}
\begin{center}
\Large{\bf{2004 UTAM ACCOMPLISHMENTS}}\\
\end{center}
This report summarizes
the midyear 2004 research accomplishments of the UTAM researchers. .......
change the year to current year, modify author names, modify the included LaTex filenames. For tomobk.ps.tex and tomobk.pdf.tex
correct the errors for every latex file;
content, use
different tex file locate in the content
directory, long title including author name to make contents.
Use
for example:
\chapter[Interferometrically
Removing the Kinematic Effects of Salt or Overburden in VSP, CDP and
HSP Data (G.T. Schuster, J. Yu and Y. Sun)]
{\bf
INTERFEROMETRICALLY REMOVING THE KINEMATIC EFFECTS OF SALT OR
OVERBURDEN IN VSP, CDP AND HSP DATA}
\chapterauthor{Gerard T. Schuster, Jianhua Yu, and Yonghe Sun}
make content using different latex file in contents directory. Simply put author name and the full paper title on it.
Make sure it's chapter title(with first character capitalized); and proper noun every character capitalized; and prep. uncapitalized.
author and title
chapter title:the shorttitle in pro command is for the chapter title on the page header. Make sure it's short enough.
Author name: if have multi author, and too long, use \\ to endline, so it will get good seperate in pdf files.
Title: must be capitalized in the {\bf }. But not in the content.
\vspace{1cm}
No large and other font definition in the chapter, you can delete every command line if you want; (remove every newcommand definition if you want, but no recommend, or you should correct the formula by hand);
Section and subsection: all section must be centering, all subsection must be left (without centering), make sure don't miss up section and subsection.
The first line must be blank
the last line must end with \\\\, not the figures.
Section must be capitalized, subsection only the first character capitalized
make sure don't miss up section and subsection. For example, introduction mistaked as subsection
Equation
make long equations to equarray, and make them look nice.
figures
wideth 5.5 inch the largest
center captions( no font definition in captions)
\begin{minipage}[t]{2.9in} change to large enough than the figures width 3.5in or 3.0in
student version of matlab, replace it with blank in all ps file in fig directory,
reference
\begin{description}{\leftmargin
0.5in}
\item Keho, T., 1986, The vertical seismic profile: Imaging heterogeneous media: MIT
dissertation.
\end{description}
remove the blank between 0.5 and in
use \item instead of \incident . Don't use change all but change separetly.
When checking the tomobook, check carefully the equations, figures and tables.
Usually equations are too long for the page, and tables too wide ...
1.the fisrt page need to separate and shrink, needs the windows fit the “2004 annual “
2. odd pages are at the right.
ssh to fault, using 03_create_pdf.csh, this command needs dvipdfm command which only exist in fault. The gopdf2 command in 03_create_pdf.csh will mv the compile files automatically into directory PDF
Checking your pdf file, for the tabel, figures, (exspecillay large figures and figures make in xfig , or rotate files, and several figures are maded in a page with hfill and vfill);
alternate option is to use ctex or others textools, use dvi2pdf in ctex.
The ps2pdf or acrobat batch conversion is of low quality, are not allowed.
Save all pdf files in PDF files, and backup your texfile for the pdf compling.
change to user jerry: su jerry
create directory 04_ann and 04_mid in directory /uufs/geophys.utah.edu/common/utamfs/www/htdocs/tomo04
create 04_ann.html and 04_mid.html and link to the reports.html, change the main page to map to the newreport.
create 04_ann.html and then whole html version report.
Be carefully about the capitalized of the single report ps/pdf page