Changeset 26149
- Timestamp:
- Nov 13, 2009, 4:27:17 PM (16 years ago)
- Location:
- trunk/doc/latex
- Files:
-
- 4 added
- 3 edited
-
html.sty (added)
-
panstarrs.cls (modified) (7 diffs)
-
panstarrs.def (modified) (6 diffs)
-
panstarrsl2h.def (added)
-
psmisc.sty (added)
-
psreport.def (modified) (1 diff)
-
spec.def (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/latex/panstarrs.cls
r26114 r26149 11 11 \NeedsTeXFormat{LaTeX2e} 12 12 \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} 16 18 \RequirePackage{color,fullpage,boxedminipage,acronym,epsfig} 19 \RequirePackage{psmisc} 20 \RequirePackage{fancyvrb} 17 21 18 22 % -- panstarrs definitions-- 19 23 \DeclareOption{panstarrs}{\input{panstarrs.def}} 24 \DeclareOption{spec}{\input{spec.def}} 20 25 21 26 % -- page layout options -- … … 29 34 \textheight=9.0in 30 35 \textwidth=7.35in 31 \headheight=1 2pt36 \headheight=15pt 32 37 \headsep = 24pt 33 38 \footskip=30pt … … 38 43 \addtolength{\cftfignumwidth}{2em} 39 44 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 59 95 60 96 % -- section display -- 61 \setcounter{secnumdepth}{ 4} % lowest level at which counters are displayed97 \setcounter{secnumdepth}{5} % lowest level at which counters are displayed 62 98 \setcounter{tocdepth}{3} % lowest level to be included in toc 63 99 … … 71 107 \newcommand\thesubtitle{} 72 108 \newcommand\thedistribution{Approved for Public Release -- Distribution is Unlimited} 109 \newcommand\theaudience{panstarrs team} 73 110 74 111 \newcommand{\docnumber}[1]{\renewcommand\thedocnumber{#1} } … … 80 117 \newcommand{\subtitle}[1]{ \renewcommand\thesubtitle{#1} } 81 118 \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 82 143 83 144 % -- MAKETITLE -- … … 101 162 102 163 \def\@maketitle{ 103 \pagenumbering{roman}104 \thispagestyle{empty}105 \unitlength 1.0in106 \begin{picture}(0.0,0.0)(0.0,9.375)107 \small108 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 Manoa113 \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 AwardNo. }}}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 {\bf2680 Woodlawn Drive, Honolulu, Hawaii 96822}}}141 \put (3.75, 1.00){\makebox(0,0)[bc]{\scriptsize {\bfAn Equal Opportunity/Affirmative Action Institution}}}142 \end{picture}143 144 \pagebreak145 \unitlength 1.0in146 \begin{picture}(0.0,0.0)(0.5,9.375)147 \small148 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 \pagebreak164 \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 163 224 } 164 225 … … 174 235 % Make verbatim use a \footnotesize font (to allow 110-character lines) 175 236 \let\oldverbatim@font=\verbatim@font 176 \def\verbatim@font{\oldverbatim@font\ footnotesize}237 \def\verbatim@font{\oldverbatim@font\scriptsize} 177 238 178 239 \def\RevisionsStart{ -
trunk/doc/latex/panstarrs.def
r26114 r26149 6 6 % LaTeX variables (cntl sequences) for entities significant to Pan-STARRS. 7 7 \newcommand{\PS}{Pan-STARRS} 8 \newcommand{\pipelinename}{Image Processing Pipeline}9 \newcommand{\thisdocument}{\PS/ \pipelinename\ Software Design Description}10 8 \newcommand\Object{\ensuremath{f}} % an object 11 9 \newcommand\ObjectSet{\ensuremath{\mathbf{f}}} % a set of objects … … 27 25 \newcommand\AngularPitch{\ensuremath{p_{\text{\scriptsize pixel}}}} % angular pitch of a pixel (e.g. 0.3 arcsec) 28 26 27 \def\degree{\hbox{$^\circ$}} 28 \def\arcmin{\hbox{$^\prime$}} 29 \def\arcsec{\hbox{$^{\prime\prime}$}} 30 29 31 % 30 32 % Typsetting documentation … … 37 39 % \begin{verbatim}...\end{verbatim} for longer blocks 38 40 % 41 39 42 \def\uncatcodespecials{\def\do##1{\catcode`##1=12}\dospecials}% 40 43 {\catcode`\`=\active\gdef`{\relax\lq}}% this line inhibits Spanish … … 44 47 \spaceskip=0pt \xspaceskip=0pt % just in case... 45 48 \catcode`\`=\active 46 \ obeylines \uncatcodespecials \obeyspaces49 \uncatcodespecials \obeyspaces 47 50 \catcode`\{=1\catcode`\}=2 48 51 }% … … 51 54 \spaceskip=0pt \xspaceskip=0pt % just in case... 52 55 \catcode`\`=\active 53 \ obeylines \uncatcodespecials \obeyspaces56 \uncatcodespecials \obeyspaces 54 57 }% 55 58 … … 60 63 \def\CODE{\begingroup\SETUPC@DE\D@CODE}% 61 64 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)}} 64 68 \newcommand\TBD[1]{\par\tbd{#1}\par} 69 \renewcommand\comment[1]{\footnote{{\color{red}#1}}} 65 70 66 71 \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} 67 82 68 83 %------------------------------------------------------------------------------ -
trunk/doc/latex/psreport.def
r26114 r26149 36 36 \put (3.75, 5.00){\makebox(0,0)[bc]{\Large {\bf \@title}}} 37 37 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 42 47 43 48 \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.
