--- manual/manual.tex 2001/09/26 20:19:41 1.4 +++ manual/manual.tex 2002/04/24 11:01:46 1.13 @@ -1,94 +1,141 @@ -% $Header: /home/ubuntu/mnt/e9_copy/manual/manual.tex,v 1.4 2001/09/26 20:19:41 adcroft Exp $ +% $Header: /home/ubuntu/mnt/e9_copy/manual/manual.tex,v 1.13 2002/04/24 11:01:46 heimbach Exp $ % $Name: $ \documentclass[12pt]{book} -\usepackage{amsfonts} +%To help cross-reference +%\usepackage{showlabels} + +%aja%\usepackage{amsfonts} \usepackage{amsmath} \usepackage{html} -\usepackage{epsfig} -\usepackage{graphics,subfigure} -\usepackage{array} -\usepackage{multirow} -\usepackage{fancyhdr} -\usepackage{psfrag} -%\usepackage{oldgerm} +\usepackage{graphicx} + +%cnh%\usepackage{array} +%cnh%\usepackage{multirow} + +% Command to reference entries in either "code" or "names" +% directories of browseable code tree. +\newcommand{\proclink}[2]{ +\htmladdnormallink{\em #1()}{../../code_reference/vdb/names/#2_docref.html} +} +\newcommand{\varlink}[2]{ +\htmladdnormallink{\bf \tt #1}{../../code_reference/vdb/names/#2_docref.html} +} + + + +%ph%\usepackage{epsfig} +%ph%\usepackage{psfrag} +%ph%\usepackage{oldgerm} + % I commented the following because it introduced excessive white space -%\usepackage{palatcm} % better PDF +%aja%\usepackage{palatcm} % better PDF % page headers and footers +%cnh%\usepackage{fancyhdr} %\pagestyle{fancy} -\fancyhead{} -\fancyhead[LO]{\slshape \rightmark} -\fancyhead[RE]{\slshape \leftmark} -\fancyhead[RO,LE]{\thepage} -\fancyfoot[CO,CE]{\today} -\fancyfoot[RO,LE]{ } -\renewcommand{\headrulewidth}{0.4pt} -\renewcommand{\footrulewidth}{0.4pt} +%cnh%\fancyhead{} +%cnh%\fancyhead[LO]{\slshape \rightmark} +%cnh%\fancyhead[RE]{\slshape \leftmark} +%cnh%\fancyhead[RO,LE]{\thepage} +%cnh%\fancyfoot[CO,CE]{\today} +%cnh%\fancyfoot[RO,LE]{ } +%cnh%\renewcommand{\headrulewidth}{0.4pt} +%cnh%\renewcommand{\footrulewidth}{0.4pt} + +% bibtex stuff +%aja%\newcommand{\BIBPATH}{.} +%aja%\usepackage{natbib} +%aja%\bibliographystyle{\BIBPATH/jmr_my} +%aja%\gdef\harvardleft{[} +%aja%\gdef\harvardright{]} +%aja%\bibpunct{[}{]}{,}{a}{}{,} +\bibliographystyle{plain} % referencing -\newcommand{\refequ}[1]{equation (\ref{equ:#1})} -\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} -\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} -\newcommand{\reftabno}[1]{\ref{tab:#1}} -\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} -\newcommand{\reffigno}[1]{\ref{fig:#1}} +%ph%\newcommand{\refequ}[1]{equation (\ref{equ:#1})} +%ph%\newcommand{\refequbig}[1]{Equation (\ref{equ:#1})} +%ph%\newcommand{\reftab}[1]{Tab.~\ref{tab:#1}} +%ph%\newcommand{\reftabno}[1]{\ref{tab:#1}} +%ph%\newcommand{\reffig}[1]{Fig.~\ref{fig:#1}} +%ph%\newcommand{\reffigno}[1]{\ref{fig:#1}} % stuff for psfrag -\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} -\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} +%ph%\newcommand{\textinfigure}[1]{{\footnotesize\textbf{\textsf{#1}}}} +%ph%\newcommand{\mathinfigure}[1]{\small\ensuremath{{#1}}} % This allows numbering of subsubsections \setcounter{secnumdepth}{3} % This changes the the chapter title %\renewcommand{\chaptername}{Section} -\usepackage{showlabels} +% This allows hyperlinks in PDF +% hyperref package and colors for hyperref package +\usepackage{color} +\usepackage[dvips]{hyperref} +\definecolor{darkgreen}{rgb}{0,0.4,0} +\definecolor{darkblue}{rgb}{0,0,0.4} +\definecolor{darkred}{rgb}{0.5,0,0} +\hypersetup{breaklinks=true, + colorlinks=true, + linkcolor=darkgreen, + citecolor=darkblue, + pagecolor=darkred, + pdftitle={MITgcm Release 1 Documentation}, + pdfauthor={support@mitgcm.org}, + pdfkeywords={oceanography, ocean model, general circulation model, + non-hydrostatic, finite volume, inverse methods, adjoint method} + } \begin{document} +\bodytext{bgcolor="#FFFFFFFF"} + \tableofcontents -\pagebreak +%\pagebreak -\part{The MIT GCM basics} +%\part{MIT GCM basics} % Section: Overview \input{part1/part1} -\pagebreak +%\pagebreak % Section: Discretization and Algorithm \input{part2/part2} -\pagebreak +%\pagebreak % Section: Getting started \input{part3/part3} -\pagebreak +%\pagebreak % Section: Software Architecture \input{part4/part4} -\pagebreak +%\pagebreak -\part{Adjoint of the MIT GCM} +%\part{Adjoint of the MIT GCM} % Section: Automatic Differentiation \input{part5/part5} -\pagebreak +%\pagebreak -\part{Additional features} +%\part{Additional features} % Section: Physical Packages \input{part6/part6} -\pagebreak +%\pagebreak % Section: Diagnostics \input{part7/part7} -\pagebreak +%\pagebreak -% Section: ECCO Interface -\input{part8/part8} +% Section: References: +%\markboth{BIBLIOGRAPHY}{BIBLIOGRAPHY} +\addcontentsline{toc}{chapter}{BIBLIOGRAPHY} +%aja%\bibliography{\BIBPATH/manual_references} +\bibliography{manual_references} \end{document}