| 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{graphics} | 
| 13 | \usepackage{graphics,subfigure} |  | 
| 14 | \usepackage{array} | %cnh%\usepackage{array} | 
| 15 | \usepackage{multirow} | %cnh%\usepackage{multirow} | 
| 16 | \usepackage{fancyhdr} |  | 
| 17 | \usepackage{psfrag} | %ph%\usepackage{epsfig} | 
| 18 | %\usepackage{oldgerm} | %ph%\usepackage{psfrag} | 
| 19 |  | %ph%\usepackage{oldgerm} | 
| 20 |  |  | 
| 21 | % I commented the following because it introduced excessive white space | % I commented the following because it introduced excessive white space | 
| 22 | %\usepackage{palatcm}              % better PDF | %aja%\usepackage{palatcm}              % better PDF | 
| 23 |  |  | 
| 24 | % page headers and footers | % page headers and footers | 
| 25 |  | %cnh%\usepackage{fancyhdr} | 
| 26 | %\pagestyle{fancy} | %\pagestyle{fancy} | 
| 27 | \fancyhead{} | %cnh%\fancyhead{} | 
| 28 | \fancyhead[LO]{\slshape \rightmark} | %cnh%\fancyhead[LO]{\slshape \rightmark} | 
| 29 | \fancyhead[RE]{\slshape \leftmark} | %cnh%\fancyhead[RE]{\slshape \leftmark} | 
| 30 | \fancyhead[RO,LE]{\thepage} | %cnh%\fancyhead[RO,LE]{\thepage} | 
| 31 | \fancyfoot[CO,CE]{\today} | %cnh%\fancyfoot[CO,CE]{\today} | 
| 32 | \fancyfoot[RO,LE]{ } | %cnh%\fancyfoot[RO,LE]{ } | 
| 33 | \renewcommand{\headrulewidth}{0.4pt} | %cnh%\renewcommand{\headrulewidth}{0.4pt} | 
| 34 | \renewcommand{\footrulewidth}{0.4pt} | %cnh%\renewcommand{\footrulewidth}{0.4pt} | 
| 35 |  |  | 
| 36 |  | % bibtex stuff | 
| 37 |  | \newcommand{\BIBPATH}{.} | 
| 38 |  | \usepackage{natbib} | 
| 39 |  | \bibliographystyle{\BIBPATH/jmr_my} | 
| 40 |  | \gdef\harvardleft{[} | 
| 41 |  | \gdef\harvardright{]} | 
| 42 |  | \bibpunct{[}{]}{,}{a}{}{,} | 
| 43 |  |  | 
| 44 | % referencing | % referencing | 
| 45 | \newcommand{\refequ}[1]{equation (\ref{equ:#1})} | %ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} | 
| 46 | \newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} | %ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} | 
| 47 | \newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} | %ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} | 
| 48 | \newcommand{\reftabno}[1]{\ref{tab:#1}} | %ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} | 
| 49 | \newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} | %ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} | 
| 50 | \newcommand{\reffigno}[1]{\ref{fig:#1}} | %ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} | 
| 51 |  |  | 
| 52 | % stuff for psfrag | % stuff for psfrag | 
| 53 | \newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} | %ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} | 
| 54 | \newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} | %ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} | 
| 55 |  |  | 
| 56 | % This allows numbering of subsubsections | % This allows numbering of subsubsections | 
| 57 | \setcounter{secnumdepth}{3} | \setcounter{secnumdepth}{3} | 
| 58 | % This changes the the chapter title | % This changes the the chapter title | 
| 59 | %\renewcommand{\chaptername}{Section} | %\renewcommand{\chaptername}{Section} | 
| 60 |  |  | 
|  | \usepackage{showlabels} |  | 
|  |  |  | 
| 61 |  |  | 
| 62 | \begin{document} | \begin{document} | 
| 63 |  |  | 
| 64 |  | \bodytext{bgcolor="#FFFFFFFF"} | 
| 65 |  |  | 
| 66 | \tableofcontents | \tableofcontents | 
| 67 | \pagebreak | \pagebreak | 
| 68 |  |  | 
| 69 | \part{The MIT GCM basics} | \part{MIT GCM basics} | 
| 70 |  |  | 
| 71 | % Section: Overview | % Section: Overview | 
| 72 | \input{part1/part1} | \input{part1/part1} | 
| 73 | \pagebreak | %\pagebreak | 
| 74 |  |  | 
| 75 | % Section: Discretization and Algorithm | % Section: Discretization and Algorithm | 
| 76 | \input{part2/part2} | \input{part2/part2} | 
| 77 | \pagebreak | %\pagebreak | 
| 78 |  |  | 
| 79 | % Section: Getting started | % Section: Getting started | 
| 80 | \input{part3/part3} | \input{part3/part3} | 
| 81 | \pagebreak | %\pagebreak | 
| 82 |  |  | 
| 83 | % Section: Software Architecture | % Section: Software Architecture | 
| 84 | \input{part4/part4} | \input{part4/part4} | 
| 85 | \pagebreak | %\pagebreak | 
| 86 |  |  | 
| 87 |  |  | 
| 88 | \part{Adjoint of the MIT GCM} | \part{Adjoint of the MIT GCM} | 
| 89 |  |  | 
| 90 | % Section: Automatic Differentiation | % Section: Automatic Differentiation | 
| 91 | \input{part5/part5} | \input{part5/part5} | 
| 92 | \pagebreak | %\pagebreak | 
| 93 |  |  | 
| 94 |  |  | 
| 95 | \part{Additional features} | \part{Additional features} | 
| 96 |  |  | 
| 97 | % Section: Physical Packages | % Section: Physical Packages | 
| 98 | \input{part6/part6} | \input{part6/part6} | 
| 99 | \pagebreak | %\pagebreak | 
| 100 |  |  | 
| 101 | % Section: Diagnostics | % Section: Diagnostics | 
| 102 | \input{part7/part7} | \input{part7/part7} | 
| 103 | \pagebreak | %\pagebreak | 
| 104 |  |  | 
| 105 | % Section: ECCO Interface | % Section: ECCO Interface | 
| 106 | \input{part8/part8} | \input{part8/part8} | 
| 107 |  | %\pagebreak | 
| 108 |  |  | 
| 109 |  | % Section: References: | 
| 110 |  | \markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} | 
| 111 |  | \addcontentsline{toc}{chapter}{BIBLIOGRAPHY} | 
| 112 |  | \bibliography{\BIBPATH/manual_references} | 
| 113 |  |  | 
| 114 | \end{document} | \end{document} |