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

Contents of /manual/manual.tex

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


Revision 1.18 - (show annotations) (download) (as text)
Thu Jan 29 15:11:39 2004 UTC (20 years, 2 months ago) by edhill
Branch: MAIN
Changes since 1.17: +4 -1 lines
File MIME type: application/x-tex
 o more changes to genmake2 in part3
 o trial of the "epsfig" package

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

  ViewVC Help
Powered by ViewVC 1.1.22