/[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.17 - (show annotations) (download) (as text)
Wed Jan 28 18:19:36 2004 UTC (20 years, 2 months ago) by molod
Branch: MAIN
Changes since 1.16: +17 -1 lines
File MIME type: application/x-tex
Added some definitions for latex in the prologue

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

  ViewVC Help
Powered by ViewVC 1.1.22