/[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.1.1.1 by adcroft, Wed Aug 8 16:15:12 2001 UTC revision 1.22 by afe, Mon Mar 15 22:39:28 2004 UTC
# Line 3  Line 3 
3    
4  \documentclass[12pt]{book}  \documentclass[12pt]{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  \usepackage{palatcm}              % better PDF  %eh3  ("vdb") code.
20    %eh3  
21    \newcommand{\varlink}[2]{
22    \htmladdnormallink{\tt #1}{../code_reference/vdb/byname/#2.html}
23    }
24    \newcommand{\filelink}[2]{
25    \htmladdnormallink{\bf \tt #1}{../code_reference/vdb/byname/#2.html}
26    }
27    
28    % afe  Commands to standardize typesetting
29    \newcommand{\file}[1]{
30    \texttt{#1}
31    }
32    
33    \newcommand{\sectiontitle}[1]{
34    \textsl{#1}
35    }
36    
37    \newcommand{\code}[1]{
38    \texttt{#1}
39    }
40    
41    
42    
43    %eh3 try out the epsfig package
44    \usepackage[dvips]{epsfig}
45    \def\scalefig#1{\epsfxsize #1\textwidth}
46    
47    
48    %ph%\usepackage{epsfig}
49    %ph%\usepackage{psfrag}
50    %ph%\usepackage{oldgerm}
51    
52    % I commented the following because it introduced excessive white space
53    %aja%\usepackage{palatcm}              % better PDF
54    
55  % page headers and footers  % page headers and footers
56  \pagestyle{fancy}  %cnh%\usepackage{fancyhdr}
57  \fancyhead{}  %\pagestyle{fancy}
58  \fancyhead[LO]{\slshape \rightmark}  %cnh%\fancyhead{}
59  \fancyhead[RE]{\slshape \leftmark}  %cnh%\fancyhead[LO]{\slshape \rightmark}
60  \fancyhead[RO,LE]{\thepage}  %cnh%\fancyhead[RE]{\slshape \leftmark}
61  \fancyfoot[CO,CE]{\today}  %cnh%\fancyhead[RO,LE]{\thepage}
62  \fancyfoot[RO,LE]{ }  %cnh%\fancyfoot[CO,CE]{\today}
63  \renewcommand{\headrulewidth}{0.4pt}  %cnh%\fancyfoot[RO,LE]{ }
64  \renewcommand{\footrulewidth}{0.4pt}  %cnh%\renewcommand{\headrulewidth}{0.4pt}
65    %cnh%\renewcommand{\footrulewidth}{0.4pt}
66    
67    % bibtex stuff
68    %aja%\newcommand{\BIBPATH}{.}
69    %aja%\usepackage{natbib}
70    %aja%\bibliographystyle{\BIBPATH/jmr_my}
71    %aja%\gdef\harvardleft{[}
72    %aja%\gdef\harvardright{]}
73    %aja%\bibpunct{[}{]}{,}{a}{}{,}
74    \bibliographystyle{plain}
75    
76  % referencing  % referencing
77  \newcommand{\refequ}[1]{equation (\ref{equ:#1})}  %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})}
78  \newcommand{\refequbig}[1]{Equation (\ref{equ:#1})}  %ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})}
79  \newcommand{\reftab}[1]{Tab.~\ref{tab:#1}}  %ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}}
80  \newcommand{\reftabno}[1]{\ref{tab:#1}}  %ph%\newcommand{\reftabno}[1]{\ref{tab:#1}}
81  \newcommand{\reffig}[1]{Fig.~\ref{fig:#1}}  %ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}}
82  \newcommand{\reffigno}[1]{\ref{fig:#1}}  %ph%\newcommand{\reffigno}[1]{\ref{fig:#1}}
83    
84  % stuff for psfrag  % stuff for psfrag
85  \newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}}  %ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}}
86  \newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}}  %ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}}
87    
88    % This allows numbering of subsubsections
89    \setcounter{secnumdepth}{3}
90    % This changes the the chapter title
91    %\renewcommand{\chaptername}{Section}
92    
93    
94    % This allows hyperlinks in PDF
95    % hyperref package and colors for hyperref package
96    \usepackage{color}
97    \usepackage[dvips]{hyperref}
98    \definecolor{darkgreen}{rgb}{0,0.4,0}
99    \definecolor{darkblue}{rgb}{0,0,0.4}
100    \definecolor{darkred}{rgb}{0.5,0,0}
101    \hypersetup{breaklinks=true,
102      colorlinks=true,
103      linkcolor=darkgreen,
104      citecolor=darkblue,
105      pagecolor=darkred,
106      pdftitle={MITgcm Release 1 Documentation},
107      pdfauthor={MITgcm-support@mitgcm.org},
108      pdfkeywords={oceanography, ocean model, general circulation model,
109        non-hydrostatic, finite volume, inverse methods, adjoint method}
110      }
111    
112    % Some definitions (AMM)
113    \def\p#1{{\partial \over {\partial #1}}}
114    \def\pp#1#2{{\partial #1 \over {\partial #2}}}
115    \def\dd#1#2{{d #1 \over {d #2}}}
116    \def\bq{\begin{equation}}
117    \def\bqa{\begin{eqnarray}}
118    \def\eq{\end{equation}}
119    \def\eqa{\end{eqnarray}}
120    
121    \def\h{ {1\over2} }
122    \def\txt{\mbox{$2^\circ$ x $2.5^\circ \,$}}
123    \def\fxf{\mbox{$4^\circ$ x $5^\circ \,$}}
124    
125    \def\blankpage{ \vspace*{\fill} \vspace{5in} \vfill \newpage}
126    
127    
128  \begin{document}  \begin{document}
129    
130    \bodytext{bgcolor="#FFFFFFFF"}
131    
132  \tableofcontents  \tableofcontents
133  \pagebreak  %\pagebreak
134    
135    %\part{MIT GCM basics}
136    
137  % Part: Overview  % Section: Overview
138  \input{part1/part1}  \input{part1/part1}
139  \pagebreak  %\pagebreak
140    
141  % Part: Discretization and Algorithm  % Section: Discretization and Algorithm
142  \input{part2/part2}  \input{part2/part2}
143  \pagebreak  %\pagebreak
144    
145  % Part: Getting started  % Section: Getting started
146  \input{part3/part3}  \input{part3/part3}
147  \pagebreak  %\pagebreak
148    
149  % Part: Software Architecture  % Section: Software Architecture
150  \input{part4/part4}  \input{part4/part4}
151  \pagebreak  %\pagebreak
152    
153  % Part: Automatic Differentiation  
154    %\part{Adjoint of the MIT GCM}
155    
156    % Section: Automatic Differentiation
157  \input{part5/part5}  \input{part5/part5}
158  \pagebreak  %\pagebreak
159    
160    
161  % Part: Physical Packages  %\part{Additional features}
162    
163    % Section: Physical Packages
164  \input{part6/part6}  \input{part6/part6}
165  \pagebreak  %\pagebreak
166    
167  % Part: Diagnostics  % Section: Diagnostics
168  \input{part7/part7}  \input{part7/part7}
169  \pagebreak  %\pagebreak
170    
171  % Part: ECCO Interface  % Section: ECCO
172  \input{part8/part8}  \input{part8/part8}
173    %\pagebreak
174    
175    % Section: References:
176    %\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY}
177    \addcontentsline{toc}{chapter}{BIBLIOGRAPHY}
178    %aja%\bibliography{\BIBPATH/manual_references}
179    \bibliography{manual_references}
180    
181  \end{document}  \end{document}

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.22