IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26149


Ignore:
Timestamp:
Nov 13, 2009, 4:27:17 PM (16 years ago)
Author:
Paul Price
Message:

Previous didn't have everything required to compile documents with latex. This looks like a more recent version.

Location:
trunk/doc/latex
Files:
4 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/latex/panstarrs.cls

    r26114 r26149  
    1111\NeedsTeXFormat{LaTeX2e}
    1212\ProvidesClass{panstarrs}[2003/06/29 LaTeX class for PanSTARRS]
    13 \LoadClass[12pt]{article}
    14 \RequirePackage{tocloft,ifthen,fancyhdr,vmargin}
    15 \RequirePackage{hyperref,times,amsmath,amssymb}
     13\LoadClass[11pt,letterpaper]{article}
     14\RequirePackage{tocloft,ifthen,fancyhdr,vmargin,longtable}
     15\RequirePackage{html}
     16\RequirePackage[colorlinks,ps2pdf,bookmarks=true,bookmarksnumbered=true,plainpages=false]{hyperref} %avoid ``destination with the same identifier'' errors
     17\RequirePackage{times,amsmath,amssymb,multirow}
    1618\RequirePackage{color,fullpage,boxedminipage,acronym,epsfig}
     19\RequirePackage{psmisc}
     20\RequirePackage{fancyvrb}
    1721
    1822% -- panstarrs definitions--
    1923\DeclareOption{panstarrs}{\input{panstarrs.def}}
     24\DeclareOption{spec}{\input{spec.def}}
    2025
    2126% -- page layout options --
     
    2934\textheight=9.0in
    3035\textwidth=7.35in
    31 \headheight=12pt
     36\headheight=15pt
    3237\headsep = 24pt
    3338\footskip=30pt
     
    3843\addtolength{\cftfignumwidth}{2em}
    3944
    40 % -- section numbering --
    41 \let\@section=\section \let\@subsection=\subsection
    42 \let\@subsubsection=\subsubsection
    43 \def\section{\renewcommand{\thefigure}{\thesection -\arabic{figure}} \setcounter{figure}{0} \@section}
    44 \def\subsection{\renewcommand{\thefigure}{\thesubsection -\arabic{figure}} \setcounter{figure}{0} \@subsection}
    45 \def\subsubsection{\renewcommand{\thefigure}{\thesubsubsection -\arabic{figure}} \setcounter{figure}{0} \@subsubsection}
    46 \def\paragraph{\@startsection{paragraph}{4}{\z@}%
    47   {-3.5ex\@plus -1ex \@minus -.2ex}%
    48   {1.5ex \@plus .2ex}%
    49   {\normalsize\bf}}
    50 \def\subparagraph{\@startsection{subparagraph}{5}{\z@}%
    51   {-3.5ex\@plus -1ex \@minus -.2ex}%
    52   {1.5ex \@plus .2ex}%
    53   {\normalsize\bf}}
    54 \def\subsubparagraph{\@startsection{subsubparagraph}{6}{\z@}%
    55   {-3.5ex\@plus -1ex \@minus -.2ex}%
    56   {1.5ex \@plus .2ex}%
    57   {\normalsize\it}}
    58 \let\subsubsubsection=\paragraph
     45%  % -- SRS section numbering / plain enumerate types --
     46%  \let\@section=\section
     47%  \let\@subsection=\subsection
     48%  \let\@subsubsection=\subsubsection
     49
     50%  \def\section{
     51%  %  uncomment these to label figures by section number
     52%  %  \renewcommand{\thefigure}{\thesection -\arabic{figure}}
     53%  %  \setcounter{figure}{0}
     54%    \@section
     55%  }
     56
     57%  \def\subsection{
     58%  %  uncomment these to label figures by section number
     59%  %  \renewcommand{\thefigure}{\thesubsection -\arabic{figure}}
     60%  %  \setcounter{figure}{0}
     61%    \@subsection
     62%  }
     63
     64%  \def\subsubsection{
     65%  %  uncomment these to label figures by section number
     66%  %  \renewcommand{\thefigure}{\thesubsubsection -\arabic{figure}}
     67%  %  \setcounter{figure}{0}
     68%    \@subsubsection
     69%  }
     70
     71%  \def\paragraph{
     72%    \@startsection{paragraph}{4}{\z@}%
     73%      {-3.5ex\@plus -1ex \@minus -.2ex}%
     74%      {1.5ex \@plus .2ex}%
     75%      {\normalsize\bf}
     76%  }
     77
     78%  \def\subparagraph{
     79%    \@startsection{subparagraph}{5}{\z@}%
     80%      {-3.5ex\@plus -1ex \@minus -.2ex}%
     81%      {1.5ex \@plus .2ex}%
     82%      {\normalsize\bf}
     83%  }
     84
     85%  \def\subsubparagraph{
     86%    \@startsection{subsubparagraph}{6}{\z@}%
     87%      {-3.5ex\@plus -1ex \@minus -.2ex}%
     88%      {1.5ex \@plus .2ex}%
     89%      {\normalsize\it}
     90%  }
     91
     92%  \let\subsubsubsection=\paragraph
     93%  \let\subsubsubsubsection=\subparagraph
     94
    5995
    6096% -- section display --
    61 \setcounter{secnumdepth}{4} % lowest level at which counters are displayed
     97\setcounter{secnumdepth}{5} % lowest level at which counters are displayed
    6298\setcounter{tocdepth}{3} % lowest level to be included in toc
    6399
     
    71107\newcommand\thesubtitle{}
    72108\newcommand\thedistribution{Approved for Public Release -- Distribution is Unlimited}
     109\newcommand\theaudience{panstarrs team}
    73110
    74111\newcommand{\docnumber}[1]{\renewcommand\thedocnumber{#1} }
     
    80117\newcommand{\subtitle}[1]{ \renewcommand\thesubtitle{#1} }
    81118\newcommand{\distribution}[1]{ \renewcommand\thedistribution{#1} }
     119\newcommand{\audience}[1]{ \renewcommand\theaudience{#1} }
     120
     121%%%%%%%%%%%%%%%%%%%% start of time code %%%%%%%%%%%%%%%%%%%%
     122%
     123% Code for printing the time by Michael Doob <mdoob@cc.umanitoba.ca>
     124%
     125\newcount\hour \newcount\minute
     126\hour=\time  \divide \hour by 60
     127\minute=\time
     128\loop \ifnum \minute > 59 \advance \minute by -60 \repeat
     129\def\nowtwelve{\ifnum \hour<13 \number\hour:%           % supresses leading 0's
     130                      \ifnum \minute<10 0\fi%           % so add it it
     131                      \number\minute
     132                      \ifnum \hour<12 \ A.M.\else \ P.M.\fi
     133         \else \advance \hour by -12 \number\hour:%     % supresses leading 0's
     134                      \ifnum \minute<10 0\fi%           % add it in
     135                      \number\minute \ P.M.\fi}
     136\def\nowtwentyfour{\ifnum \hour<10 0\fi%                % need a leading 0
     137                \number\hour:%                          % supresses leading 0's
     138                \ifnum \minute<10 0\fi%                 % add it in
     139                \number\minute}
     140\def\now{\nowtwelve}
     141%%%%%%%%%%%%%%%%%%%% end of time code %%%%%%%%%%%%%%%%%%%%
     142
    82143
    83144% -- MAKETITLE --
     
    101162
    102163\def\@maketitle{
    103   \pagenumbering{roman}
    104   \thispagestyle{empty}
    105   \unitlength 1.0in
    106   \begin{picture}(0.0,0.0)(0.0,9.375)
    107   \small
    108 
    109   \put (7.50, 9.85){\makebox(0,0)[br]{\small      {\bf Pan-STARRS Document Control}}}
    110   \put (7.50, 9.70){\makebox(0,0)[br]{\small      {\bf \thedocnumber-\theversion}}}
    111 
    112   \put (4.006, 8.30){\line(1,0){0.1}} % put the macron on Manoa
    113   \put (0.50, 8.10){\makebox(0,0)[bl]{\fontA UNIVERSITY OF HAWAII AT MANOA}}
    114   \put (0.50, 7.88){\makebox(0,0)[bl]{\fontB Institute for Astrononmy}}
    115 
    116   \put (0.50, 7.83){\line(1,0){6.5}}
    117   \put (0.50, 7.63){\makebox(0,0)[bl]{\small      {\bf Pan-STARRS Project Management System}}}
    118 
    119   \put (3.75, 5.25){\makebox(0,0)[bc]{\large {\bf \@title}}}
    120   \put (3.75, 5.00){\makebox(0,0)[bc]{\large {\bf \thesubtitle}}}
    121 
    122   \put (2.15, 4.75){\makebox(0,0)[l]{{\bf Grant Award No. }}}
    123   \put (2.15, 4.57){\makebox(0,0)[l]{{\bf Prepared For    }}}
    124   \put (2.15, 4.39){\makebox(0,0)[l]{{\bf Prepared By     }}}
    125   \put (2.15, 4.21){\makebox(0,0)[l]{{\bf Document No.    }}}
    126   \put (2.15, 4.03){\makebox(0,0)[l]{{\bf Document Date   }}}
    127   \put (2.15, 3.85){\makebox(0,0)[l]{{\bf Revision        }}}
    128 
    129   \put (3.75, 4.75){\makebox(0,0)[l]{{\bf : F29601-02-1-0268}}}
    130   \put (3.75, 4.57){\makebox(0,0)[l]{{\bf : Pan-STARRS Team}}}
    131   \put (3.75, 4.39){\makebox(0,0)[l]{{\bf : \@author}}}
    132   \put (3.75, 4.21){\makebox(0,0)[l]{{\bf : \thedocnumber-\theversion}}}
    133   \put (3.75, 4.03){\makebox(0,0)[l]{{\bf : \today}}}
    134   \put (3.75, 3.85){\makebox(0,0)[l]{{\bf : \theversion}}}
    135 
    136   \put (3.75, 2.50){\makebox(0,0)[c]{{\bf DISTRIBUTION STATEMENT}}}
    137   \put (3.75, 2.30){\makebox(0,0)[c]{{\bf \thedistribution}}}
    138 
    139   \put (3.75, 1.30){\makebox(0,0)[bc]{\scriptsize {\bf \copyright Institute for Astronomy, University of Hawaii}}}
    140   \put (3.75, 1.15){\makebox(0,0)[bc]{\scriptsize {\bf 2680 Woodlawn Drive, Honolulu, Hawaii 96822}}}
    141   \put (3.75, 1.00){\makebox(0,0)[bc]{\scriptsize {\bf An Equal Opportunity/Affirmative Action Institution}}}
    142   \end{picture}
    143 
    144   \pagebreak
    145   \unitlength 1.0in
    146   \begin{picture}(0.0,0.0)(0.5,9.375)
    147   \small
    148 
    149   \put (1.00, 8.50){\makebox(0,0)[l]{Submitted By:}}
    150   \put (1.00, 8.00){\line(1,0){5.5}}
    151   \put (6.70, 8.00){\line(1,0){0.8}}
    152   \put (1.00, 7.90){\makebox(0,0)[l]{[Insert Signature Block of Authorized Developer Representative]}}
    153   \put (6.70, 7.90){\makebox(0,0)[l]{Date}}
    154 
    155   \put (1.00, 7.00){\makebox(0,0)[l]{Approved By:}}
    156   \put (1.00, 6.50){\line(1,0){5.5}}
    157   \put (6.70, 6.50){\line(1,0){0.8}}
    158   \put (1.00, 6.40){\makebox(0,0)[l]{[Insert Signature Block of Customer Developer Representative]}}
    159   \put (6.70, 6.40){\makebox(0,0)[l]{Date}}
    160 
    161   \end{picture}
    162   \pagebreak
     164      \pagenumbering{roman}
     165      \thispagestyle{empty}
     166      \unitlength 1.0in
     167      \begin{picture}(0.0,0.0)(0.0,9.375)
     168      \small
     169   
     170      \put (7.50, 9.85){\makebox(0,0)[br]{\small      {\bf Pan-STARRS Document Control}}}
     171      \put (7.50, 9.70){\makebox(0,0)[br]{\small      {\bf \thedocnumber-\theversion}}}
     172   
     173      \put (4.006, 8.30){\line(1,0){0.1}} % put the macron on Manoa
     174      \put (0.50, 8.10){\makebox(0,0)[bl]{\fontA UNIVERSITY OF HAWAII AT MANOA}}
     175      \put (0.50, 7.88){\makebox(0,0)[bl]{\fontB Institute for Astrononmy}}
     176   
     177      \put (0.50, 7.83){\line(1,0){6.5}}
     178      \put (0.50, 7.63){\makebox(0,0)[bl]{\small      {\bf Pan-STARRS Project Management System}}}
     179   
     180      \put (3.75, 5.25){\makebox(0,0)[bc]{\large {\bf \@title}}}
     181      \put (3.75, 5.00){\makebox(0,0)[bc]{\large {\bf \thesubtitle}}}
     182   
     183      \put (2.15, 4.75){\makebox(0,0)[l]{{\bf Coop. Agreement No. }}}
     184      \put (2.15, 4.57){\makebox(0,0)[l]{{\bf Prepared For    }}}
     185      \put (2.15, 4.39){\makebox(0,0)[l]{{\bf Prepared By     }}}
     186      \put (2.15, 4.21){\makebox(0,0)[l]{{\bf Document No.    }}}
     187      \put (2.15, 4.03){\makebox(0,0)[l]{{\bf Document Date   }}}
     188      \put (2.15, 3.85){\makebox(0,0)[l]{{\bf Revision        }}}
     189   
     190      \put (3.75, 4.75){\makebox(0,0)[l]{{\bf : FA9451-06-2-0338}}}
     191      \put (3.75, 4.57){\makebox(0,0)[l]{{\bf : \theaudience}}}
     192      \put (3.75, 4.39){\makebox(0,0)[l]{{\bf : \@author}}}
     193      \put (3.75, 4.21){\makebox(0,0)[l]{{\bf : \thedocnumber-\theversion}}}
     194      \put (3.75, 4.03){\makebox(0,0)[l]{{\bf : \today}}}
     195      \put (3.75, 3.85){\makebox(0,0)[l]{{\bf : \theversion}}}
     196   
     197      \put (3.75, 2.50){\makebox(0,0)[c]{{\bf DISTRIBUTION STATEMENT}}}
     198      \put (3.75, 2.30){\makebox(0,0)[c]{{\bf \thedistribution}}}
     199   
     200      \put (3.75, 1.30){\makebox(0,0)[bc]{\footnotesize {\copyright Institute for Astronomy, University of Hawaii}}}
     201      \put (3.75, 1.15){\makebox(0,0)[bc]{\footnotesize {2680 Woodlawn Drive, Honolulu, Hawaii 96822}}}
     202      \put (3.75, 1.00){\makebox(0,0)[bc]{\footnotesize {An Equal Opportunity/Affirmative Action Institution}}}
     203      \end{picture}
     204   
     205      \pagebreak
     206      \unitlength 1.0in
     207      \begin{picture}(0.0,0.0)(0.5,9.375)
     208      \small
     209   
     210      \put (1.00, 8.50){\makebox(0,0)[l]{Submitted By:}}
     211      \put (1.00, 8.00){\line(1,0){5.5}}
     212      \put (6.70, 8.00){\line(1,0){0.8}}
     213      \put (1.00, 7.90){\makebox(0,0)[l]{[Insert Signature Block of Authorized Developer Representative]}}
     214      \put (6.70, 7.90){\makebox(0,0)[l]{Date}}
     215   
     216      \put (1.00, 7.00){\makebox(0,0)[l]{Approved By:}}
     217      \put (1.00, 6.50){\line(1,0){5.5}}
     218      \put (6.70, 6.50){\line(1,0){0.8}}
     219      \put (1.00, 6.40){\makebox(0,0)[l]{[Insert Signature Block of Customer Developer Representative]}}
     220      \put (6.70, 6.40){\makebox(0,0)[l]{Date}}
     221   
     222      \end{picture}
     223      \pagebreak
    163224}               
    164225
     
    174235% Make verbatim use a \footnotesize font (to allow 110-character lines)
    175236\let\oldverbatim@font=\verbatim@font
    176 \def\verbatim@font{\oldverbatim@font\footnotesize}
     237\def\verbatim@font{\oldverbatim@font\scriptsize}
    177238
    178239\def\RevisionsStart{
  • trunk/doc/latex/panstarrs.def

    r26114 r26149  
    66% LaTeX variables (cntl sequences) for entities significant to Pan-STARRS.
    77   \newcommand{\PS}{Pan-STARRS}
    8    \newcommand{\pipelinename}{Image Processing Pipeline}
    9    \newcommand{\thisdocument}{\PS/ \pipelinename\ Software Design Description}
    108   \newcommand\Object{\ensuremath{f}}                % an object
    119   \newcommand\ObjectSet{\ensuremath{\mathbf{f}}}    % a set of objects
     
    2725   \newcommand\AngularPitch{\ensuremath{p_{\text{\scriptsize pixel}}}}   % angular pitch of a pixel (e.g. 0.3 arcsec)
    2826
     27   \def\degree{\hbox{$^\circ$}}
     28   \def\arcmin{\hbox{$^\prime$}}
     29   \def\arcsec{\hbox{$^{\prime\prime}$}}
     30
    2931%
    3032% Typsetting documentation
     
    3739% \begin{verbatim}...\end{verbatim} for longer blocks
    3840%
     41
    3942\def\uncatcodespecials{\def\do##1{\catcode`##1=12}\dospecials}%
    4043{\catcode`\`=\active\gdef`{\relax\lq}}% this line inhibits Spanish
     
    4447     \spaceskip=0pt \xspaceskip=0pt % just in case...
    4548     \catcode`\`=\active
    46      \obeylines \uncatcodespecials \obeyspaces
     49     \uncatcodespecials \obeyspaces
    4750     \catcode`\{=1\catcode`\}=2
    4851    }%
     
    5154     \spaceskip=0pt \xspaceskip=0pt % just in case...
    5255     \catcode`\`=\active
    53      \obeylines \uncatcodespecials \obeyspaces
     56     \uncatcodespecials \obeyspaces
    5457    }%
    5558
     
    6063\def\CODE{\begingroup\SETUPC@DE\D@CODE}%
    6164
    62 \newcommand\note[1]{{\bf #1}}
    63 \newcommand\tbd[1]{\textbf{[{\color{red}#1}]}}
     65\newcommand\note[1]{\textbf{\color{red}#1}}
     66%\newcommand\tbd[1]{\textbf{\color{red}#1 (TBD)}}
     67%\newcommand\tbr[1]{\textbf{\color{blue}#1 (TBR)}}
    6468\newcommand\TBD[1]{\par\tbd{#1}\par}
     69\renewcommand\comment[1]{\footnote{{\color{red}#1}}}
    6570
    6671\newcommand{\file}[1]{\textit{#1}}%
     72
     73%
     74% embedded software function prototypes and datatypes
     75%
     76
     77\DefineVerbatimEnvironment%
     78  {prototype}{Verbatim}{fontsize=\footnotesize}
     79
     80\DefineVerbatimEnvironment%
     81  {datatype}{Verbatim}{fontsize=\footnotesize}
    6782
    6883%------------------------------------------------------------------------------
  • trunk/doc/latex/psreport.def

    r26114 r26149  
    3636  \put (3.75, 5.00){\makebox(0,0)[bc]{\Large {\bf \@title}}}
    3737
    38   \put (3.75, 4.70){\makebox(0,0)[bc]{\small      {\bf \@author}}}
    39   \put (3.75, 4.53){\makebox(0,0)[bc]{\small      {\bf \thegroup}}}
    40   \put (3.75, 4.36){\makebox(0,0)[bc]{\small      {\bf \theorganization}}}
    41   \put (3.75, 4.19){\makebox(0,0)[bc]{\small      {\bf \today}}}
     38%  \put (3.75, 4.70){\makebox(0,0)[bc]{\small      {\bf \@author}}}
     39%  \put (3.75, 4.53){\makebox(0,0)[bc]{\small      {\bf \thegroup}}}
     40%  \put (3.75, 4.36){\makebox(0,0)[bc]{\small      {\bf \theorganization}}}
     41%  \put (3.75, 4.19){\makebox(0,0)[bc]{\small      {\bf \today}}}
     42  \put (3.75, 4.70){\makebox(0,0)[bc]{\normalsize      {\bf \@author}}}
     43  \put (3.75, 4.53){\makebox(0,0)[bc]{\normalsize      {\bf \thegroup}}}
     44  \put (3.75, 4.36){\makebox(0,0)[bc]{\normalsize      {\bf \theorganization}}}
     45  \put (3.75, 4.19){\makebox(0,0)[bc]{\normalsize      {\bf \today}}}
     46
    4247
    4348  \put (3.75, 1.26){\makebox(0,0)[bc]{\scriptsize {\bf \copyright Institute for Astronomy}}}
Note: See TracChangeset for help on using the changeset viewer.