%
% $Id: SANDtemplate.tex,v 1.3 2007/12/13 21:27:14 rolf Exp $
% A template to build SAND reports. See the examples for more details and
% formatting suggestions. A command reference is available at
% http://www.cs.sandia.gov/~rolf/SANDreport
%
\documentclass[pdf,12pt,strict]{SANDreport}
\usepackage{subfigure}
\usepackage{graphicx}
\usepackage{url}
\usepackage{textcomp}
\usepackage{verbatim}
\usepackage{hyperref}
\usepackage{multicol}
\usepackage{paralist}
\usepackage{amsmath}
\usepackage{fancyvrb}
\usepackage{mathptmx}	% Use the Postscript Times font
\fvset{frame=single}
%\numberwithin{figure}{section}


% ---------------------------------------------------------------------------- %
% Set the title, author, and date
%
    \title{Optika: A GUI Framework for Parameterized Applications}
    \author{Kurtis L. Nusbaum \\
    Scalable Algorithms \\
    Sandia National Laboratories\\
    Mailstop 1318
    Albuquerque, NM 87185-1318\\
    klnusbaum@gmail.com
    }		% Use First, Middle, Initial
    \date{}		% Leave this here but empty


% ---------------------------------------------------------------------------- %
% These are mandatory
%
\SANDnum{SAND2011-5369}		% e.g. \SANDnum{SAND2006-0420}
\SANDprintDate{June 2011}	% Month, year
\SANDauthor{Kurtis L. Nusbaum}		% One line, separated by commas


% ---------------------------------------------------------------------------- %
% These are optional
%
%\SANDrePrintDate{}	% May be repeated for successive printings
\SANDsupersed{SAND2011-4199}{June 2011}	% {Old SAND number}{Old date}


% ---------------------------------------------------------------------------- %
% Build your markings. See example files and SAND Report Guide
%
    %\SANDreleaseType{}
    %\SANDmarkTopBottomCoverBackTitle{}
    %\SANDmarkBottomCover{}
    %\SANDmarkTopBottomCoverTitle{}
    %\SANDmarkTop{}
    %\SANDmarkBottom{}
    %\SANDmarkTopBottom{}
    %\SANDmarkCover{}
    %\SANDmarkCoverTitle{}


% ---------------------------------------------------------------------------- %
% Start the document
%
\begin{document}
    \maketitle

    % ------------------------------------------------------------------------ %
    % An Abstract is required for SAND reports
    %
    \begin{abstract}
    \input{OptikaAbstract}
    \end{abstract}


    % ------------------------------------------------------------------------ %
    % An Acknowledgment section is optional but important
    %
    \clearpage
    \section*{Acknowledgment}
    \input{OptikaAck}


    % ------------------------------------------------------------------------ %
    % The table of contents and list of figures and tables
    %
    \cleardoublepage		% TOC needs to start on an odd page
    \tableofcontents
    \listoffigures
    \listoftables


    % ---------------------------------------------------------------------- %
    % An optional preface or Foreword
    %\clearpage
    %\chapter*{Preface}
    %\addcontentsline{toc}{chapter}{Preface}


    % ---------------------------------------------------------------------- %
    % An optional executive summary
    %\clearpage
    %\chapter*{Summary}
    %\addcontentsline{toc}{chapter}{Summary}


    % ---------------------------------------------------------------------- %
    % An optional glossary. We don't want it to be numbered
    \clearpage
    \section*{Nomenclature}
    \addcontentsline{toc}{section}{Nomenclature}
    \input{OptikaNomenclature}


    % ---------------------------------------------------------------------- %
    % This is where the body of the report begins; usually with an Introduction
    %
    \SANDmain		% Start the main part of the report

    \input{OptikaIntro}

    \input{OptikaThesis}


    % ---------------------------------------------------------------------- %
    % References
    %
    \clearpage
    % If hyperref is included, then \phantomsection is already defined.
    % If not, we need to define it.
    \providecommand*{\phantomsection}{}
    \phantomsection
    \addcontentsline{toc}{chapter}{References}
    \bibliographystyle{plain}
    \bibliography{OptikaSANDReport}


    % ---------------------------------------------------------------------- %
    %
    \appendix
    \input{OptikaFunctions}

    % \printindex

  %\include{SANDdistribution}
  \begin{SANDdistribution}[NM]% or [CA]
	% \SANDdistCRADA	% If this report is about CRADA work
	% \SANDdistPatent	% If this report has a Patent Caution or Patent Interest
	% \SANDdistLDRD	% If this report is about LDRD work

	\SANDdistInternal{1}{1318}{Kurtis Nusbaum}{01426}
	\SANDdistInternal{1}{1320}{Dr. Michael Heroux}{01426}
	% External Address Format: {num copies}{Address}
	%\SANDdistExternal{}{}
	%\bigskip

	% The following MUST BE between the external and internal distributions!
	% \SANDdistClassified % If this report is classified

	% Internal Address Format: {num copies}{Mail stop}{Name}{Org}
	%\SANDdistInternal{}{}{}{}

	% Mail Channel Address Format: {num copies}{Mail Channel}{Name}{Org}
	%\SANDdistInternalM{}{}{}{}
  \end{SANDdistribution}


    % The second printing
    %\begin{SANDreDistribution}
    %    \SANDdistExternal{}{}
    %    \bigskip
    %    \SANDdistInternal{}{}{}{}
    %    \SANDdistInternalM{}{}{}{}
    %\end{SANDreDistribution}

\end{document}
