Commit 2faa60edf1f7539b222b7078f1208d241d8c10ec
1 parent
cab2eaa6
initial version
Showing
1 changed file
with
129 additions
and
0 deletions
doc/dev/coding/manual.sty
0 → 100644
| 1 | +%% | |
| 2 | +%% "manual.sty" provides definitions for the gammalib documentation | |
| 3 | +%% | |
| 4 | +%% Copyright (C) 2009 Jurgen Knodlseder | |
| 5 | +%% | |
| 6 | +\NeedsTeXFormat{LaTeX2e} | |
| 7 | +\ProvidesPackage{manual}[2009/10/07 gammalib ducomentation] | |
| 8 | + | |
| 9 | +% | |
| 10 | +% The page dimensions | |
| 11 | +% | |
| 12 | +%\setlength\paperheight{9.25in} | |
| 13 | +%\setlength\paperwidth{7.375in} | |
| 14 | +\setlength\parindent{0cm} | |
| 15 | +\setlength\parskip{0.2cm} | |
| 16 | +\setlength\linewidth{13.2cm} | |
| 17 | +\setlength\headheight{1.5cm} | |
| 18 | +\setlength\textwidth{16.3cm} | |
| 19 | +\setlength\textheight{22.5cm} | |
| 20 | +\setlength\oddsidemargin{0cm} | |
| 21 | +\setlength\topmargin{-1.7cm} | |
| 22 | +%\setlength\parindent{2em} | |
| 23 | +%\setlength\headheight{8pt} | |
| 24 | +\setlength\headsep{19pt} | |
| 25 | +\setlength\footskip{24pt} | |
| 26 | +%\setlength\textwidth{345pt} | |
| 27 | +%\setlength\textheight{46pc} | |
| 28 | +\setlength\evensidemargin{1.6804in} | |
| 29 | +%\setlength\oddsidemargin{1.5139in} | |
| 30 | +%\setlength\topmargin{.625in} | |
| 31 | + | |
| 32 | +% | |
| 33 | +% Page style | |
| 34 | +% | |
| 35 | +\pagestyle{myheadings} | |
| 36 | +\markboth{\task\ \doctype} | |
| 37 | + {\task\ \doctype} | |
| 38 | + | |
| 39 | +%\renewcommand{\subsection}{\@startsection{subsection}{3}{-4pc}{-16pt}{6pt}{% | |
| 40 | +% \rightmark{Introduction}}} | |
| 41 | + | |
| 42 | +% | |
| 43 | +% Define front-page command | |
| 44 | +% | |
| 45 | +\newcommand{\frontpage}{% | |
| 46 | +\begin{center} | |
| 47 | +\framebox[16cm]{ | |
| 48 | +\begin{minipage}[c]{16cm} | |
| 49 | +\vspace*{6.5cm} | |
| 50 | +\begin{center} | |
| 51 | + | |
| 52 | +% Software component | |
| 53 | +\framebox{ | |
| 54 | + \framebox{ | |
| 55 | + \parbox{10cm}{ | |
| 56 | + \vspace{5mm} \centerline{ | |
| 57 | + \vspace{5mm} \Huge \bf | |
| 58 | + \task\ \shorttype | |
| 59 | + } | |
| 60 | + } | |
| 61 | + } | |
| 62 | +} | |
| 63 | + | |
| 64 | +% Document type | |
| 65 | +\vspace{10mm} | |
| 66 | +{\Huge \bf \doctype} | |
| 67 | +\\[10mm] | |
| 68 | + | |
| 69 | +% Version, Date | |
| 70 | +{\normalsize \bf Version \version\\ \calendar} | |
| 71 | +\\[10mm] | |
| 72 | + | |
| 73 | +% Author | |
| 74 | +\rm | |
| 75 | +Author: \auth\ \\ | |
| 76 | +Approved by: \approv\ \\ | |
| 77 | + | |
| 78 | +% Affiliation | |
| 79 | +\vspace*{1cm} | |
| 80 | +Centre d'Etude Spatiale des Rayonnements\\ | |
| 81 | +9, avenue du Colonel-Roche\\ | |
| 82 | +31028 Toulouse Cedex 4\\ | |
| 83 | +FRANCE | |
| 84 | + | |
| 85 | +\vfill | |
| 86 | +\end{center} | |
| 87 | +\vspace*{4.5cm} | |
| 88 | +\end{minipage} | |
| 89 | +} | |
| 90 | +\end{center} | |
| 91 | + | |
| 92 | +\thispagestyle{empty} | |
| 93 | +\pagenumbering{roman} | |
| 94 | +\newpage | |
| 95 | +\begin{center} | |
| 96 | +\parbox{15cm}{ | |
| 97 | +\vspace{200mm} | |
| 98 | +\centerline{This page intentionally left blank} | |
| 99 | +\vspace{3mm} | |
| 100 | +%This software has been written to analyse data of the SPI | |
| 101 | +%telescope onboard INTEGRAL. | |
| 102 | +%Particular care has been taken in making the software user friendly | |
| 103 | +%and well documented. | |
| 104 | +%If you appreciated this effort, and if this software and User Manual | |
| 105 | +%were useful for your scientific work, the author would appreciate a | |
| 106 | +%corresponding acknowledgment in your published work. | |
| 107 | +} | |
| 108 | +\end{center} | |
| 109 | + | |
| 110 | +\newpage | |
| 111 | +\tableofcontents | |
| 112 | +\newpage | |
| 113 | +\pagenumbering{arabic} | |
| 114 | +} | |
| 115 | + | |
| 116 | + | |
| 117 | +% | |
| 118 | +% Further commands | |
| 119 | +% | |
| 120 | +%\newcommand{\icd}[1]{\item[{\tt #1}] } | |
| 121 | +\newcommand{\icd}[1]{\item{\tt #1} } | |
| 122 | +\newcommand{\cur}[1]{% | |
| 123 | +\icd{#1} specifies the current ISDC status when the function is entered. | |
| 124 | + If {\tt status != ISDC\_OK} the function does nothing and | |
| 125 | + returns the input status as return code. | |
| 126 | +} | |
| 127 | +\endinput | |
| 128 | +%% | |
| 129 | +%% End of file `manual.sty'. | ... | ... |