/[MITgcm]/manual/manual.tex
ViewVC logotype

Diff of /manual/manual.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.2 by adcroft, Wed Aug 8 22:14:44 2001 UTC revision 1.32 by jmc, Mon Aug 1 22:14:19 2005 UTC
# Line 1  Line 1 
1  % $Header$  % $Header$
2  % $Name$  % $Name$
3    
4  \documentclass[12pt]{book}  \documentclass[10pt]{book}
5    
6  \usepackage{amsfonts}  %To help cross-reference
7    %\usepackage{showlabels}
8    
9    %aja%\usepackage{amsfonts}
10  \usepackage{amsmath}  \usepackage{amsmath}
11  \usepackage{html}  \usepackage{html}
12  \usepackage{epsfig}  \usepackage{hthtml}
13  \usepackage{graphics,subfigure}  \usepackage{graphicx}
14  \usepackage{array}  
15  \usepackage{multirow}  %cnh%\usepackage{array}
16  \usepackage{fancyhdr}  %cnh%\usepackage{multirow}
17  \usepackage{psfrag}  
18  %\usepackage{oldgerm}  %eh3  Commands to reference either files or symbols within the "HTML-ized"
19    %eh3  ("vdb") code.
20    %eh3  
21    %afe seems like these need to be long, sorry
22    \newcommand{\varlink}[2]{\htmladdnormallink{\tt #1}{../code_reference/vdb/byname/#2.html}}
23    \newcommand{\filelink}[2]{\htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html}}
24    
25    % afe  Commands to standardize typesetting
26    \newcommand{\file}[1]{\texttt{#1}}
27    \newcommand{\sectiontitle}[1]{\textsl{#1}}
28    \newcommand{\code}[1]{\texttt{#1}}
29    
30    %%  EH3 : try out the epsfig package
31    \usepackage[dvips]{epsfig}
32    \def\scalefig#1{\epsfxsize #1\textwidth}
33    
34    %EH3% ==========================================================
35    %EH3%  ***   PRIVATE SECTIONS   ******   PRIVATE SECTIONS   ***
36    %EH3%
37    %EH3%  Directions: To build the ``private'' or ``local-only''
38    %EH3%    version of this manual, then edit the following so
39    %EH3%    they appear as:
40    %EH3%
41    %EH3%    % \includecomment{versionprivate}
42    %EH3%    \excludecoment{versionprivate}
43    %EH3%
44    %EH3%    The default is to include everything which is:
45    %EH3%
46    %EH3%    \includecomment{versionprivate}
47    %EH3%    % \excludecoment{versionprivate}
48    
49    %\includecomment{versionprivate}
50    \excludecomment{versionprivate}
51    
52    %EH3%
53    %EH3%    To use this comment, simply bracket any part of the
54    %EH3%    manual with two lines that contain ONLY the following
55    %EH3%    pair:
56    %EH3%
57    %EH3%      \begin{versionprivate}
58    %EH3%      \end{versionprivate}
59    %EH3%
60    %EH3%    with NO additional comments or other commands on the
61    %EH3%    lines containing the \begin{...}\end{...} statements.
62    %EH3%
63    %EH3%  ***   PRIVATE SECTIONS   ******   PRIVATE SECTIONS   ***
64    %EH3% ==========================================================
65    
66    
67    %ph%\usepackage{epsfig}
68    %ph%\usepackage{psfrag}
69    %ph%\usepackage{oldgerm}
70    
71  % I commented the following because it introduced excessive white space  % I commented the following because it introduced excessive white space
72  %\usepackage{palatcm}              % better PDF  %aja%\usepackage{palatcm}              % better PDF
73    
74  % page headers and footers  % page headers and footers
75    %cnh%\usepackage{fancyhdr}
76  %\pagestyle{fancy}  %\pagestyle{fancy}
77  \fancyhead{}  %cnh%\fancyhead{}
78  \fancyhead[LO]{\slshape \rightmark}  %cnh%\fancyhead[LO]{\slshape \rightmark}
79  \fancyhead[RE]{\slshape \leftmark}  %cnh%\fancyhead[RE]{\slshape \leftmark}
80  \fancyhead[RO,LE]{\thepage}  %cnh%\fancyhead[RO,LE]{\thepage}
81  \fancyfoot[CO,CE]{\today}  %cnh%\fancyfoot[CO,CE]{\today}
82  \fancyfoot[RO,LE]{ }  %cnh%\fancyfoot[RO,LE]{ }
83  \renewcommand{\headrulewidth}{0.4pt}  %cnh%\renewcommand{\headrulewidth}{0.4pt}
84  \renewcommand{\footrulewidth}{0.4pt}  %cnh%\renewcommand{\footrulewidth}{0.4pt}
85    
86    % bibtex stuff
87    %aja%\newcommand{\BIBPATH}{.}
88    %aja%\usepackage{natbib}
89    %aja%\bibliographystyle{\BIBPATH/jmr_my}
90    %aja%\gdef\harvardleft{[}
91    %aja%\gdef\harvardright{]}
92    %aja%\bibpunct{[}{]}{,}{a}{}{,}
93    %\bibliographystyle{plain}
94    %-jmc: try agu bib-style (give author names & year instead of just a number)
95    \usepackage[square]{natbib}
96    \bibliographystyle{agu}
97    
98  % referencing  % referencing
99  \newcommand{\refequ}[1]{equation (\ref{equ:#1})}  %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})}
100  \newcommand{\refequbig}[1]{Equation (\ref{equ:#1})}  %ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})}
101  \newcommand{\reftab}[1]{Tab.~\ref{tab:#1}}  %ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}}
102  \newcommand{\reftabno}[1]{\ref{tab:#1}}  %ph%\newcommand{\reftabno}[1]{\ref{tab:#1}}
103  \newcommand{\reffig}[1]{Fig.~\ref{fig:#1}}  %ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}}
104  \newcommand{\reffigno}[1]{\ref{fig:#1}}  %ph%\newcommand{\reffigno}[1]{\ref{fig:#1}}
105    
106  % stuff for psfrag  % stuff for psfrag
107  \newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}}  %ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}}
108  \newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}}  %ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}}
109    
110    % This allows numbering of subsubsections
111    \setcounter{secnumdepth}{3}
112    % This changes the the chapter title
113    %\renewcommand{\chaptername}{Section}
114    
115    
116    % This allows hyperlinks in PDF
117    % hyperref package and colors for hyperref package
118    \usepackage{color}
119    \usepackage{hyperref}
120    %\usepackage[dvips]
121    \definecolor{darkgreen}{rgb}{0,0.4,0}
122    \definecolor{darkblue}{rgb}{0,0,0.4}
123    \definecolor{darkred}{rgb}{0.5,0,0}
124    \hypersetup{breaklinks=true,
125      colorlinks=true,
126      linkcolor=darkgreen,
127      citecolor=darkblue,
128      pagecolor=darkred,
129      pdftitle={MITgcm Release 1 Documentation},
130      pdfauthor={MITgcm-support@mitgcm.org},
131      pdfkeywords={oceanography, ocean model, general circulation model,
132        non-hydrostatic, finite volume, inverse methods, adjoint method}
133      }
134    
135    % Some definitions (AMM)
136    \def\p#1{{\partial \over {\partial #1}}}
137    \def\pp#1#2{{\partial #1 \over {\partial #2}}}
138    \def\dd#1#2{{d #1 \over {d #2}}}
139    \def\bq{\begin{equation}}
140    \def\bqa{\begin{eqnarray}}
141    \def\eq{\end{equation}}
142    \def\eqa{\end{eqnarray}}
143    
144    \def\h{ {1\over2} }
145    \def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}}
146    \def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}}
147    
148    \def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage}
149    
150    
151  \begin{document}  \begin{document}
152    
153    \bodytext{bgcolor="#FFFFFFFF"}
154    
155  \tableofcontents  \tableofcontents
156  \pagebreak  %\pagebreak
157    
158  % Part: Overview  %\part{MIT GCM basics}
159    
160    % Section: Overview
161  \input{part1/part1}  \input{part1/part1}
162  \pagebreak  %\pagebreak
163    
164  % Part: Discretization and Algorithm  % Section: Discretization and Algorithm
165  \input{part2/part2}  \input{part2/part2}
166  \pagebreak  %\pagebreak
167    
168  % Part: Getting started  % Section: Getting started
169  \input{part3/part3}  \input{part3/part3}
170  \pagebreak  %\pagebreak
171    
172  % Part: Software Architecture  % Section: Software Architecture
173  \input{part4/part4}  \input{part4/part4}
174  \pagebreak  %\pagebreak
175    
176    
177    %\part{Adjoint of the MIT GCM}
178    
179  % Part: Automatic Differentiation  % Section: Automatic Differentiation
180  \input{part5/part5}  \input{part5/part5}
181  \pagebreak  %\pagebreak
182    
183  % Part: Physical Packages  
184    %\part{Additional features}
185    
186    % Section: Physical Packages
187  \input{part6/part6}  \input{part6/part6}
188  \pagebreak  %\pagebreak
189    
190  % Part: Diagnostics  % Section: Pre-processing and Post-processing Tools
191  \input{part7/part7}  \input{part7/part7}
192  \pagebreak  %\pagebreak
193    
194  % Part: ECCO Interface  % Section: ECCO
195  \input{part8/part8}  \input{part8/part8}
196    %\pagebreak
197    
198    % Section: Model Uses
199    \input{model_uses}
200    %\pagebreak
201    
202    % Section: References:
203    %\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY}
204    \addcontentsline{toc}{chapter}{BIBLIOGRAPHY}
205    %aja%\bibliography{\BIBPATH/manual_references}
206    \bibliography{manual_references}
207    
208  \end{document}  \end{document}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.32

  ViewVC Help
Powered by ViewVC 1.1.22