From 2faa60edf1f7539b222b7078f1208d241d8c10ec Mon Sep 17 00:00:00 2001 From: knodlseder <> Date: Wed, 28 Apr 2010 10:13:19 +0000 Subject: [PATCH] initial version --- doc/dev/coding/manual.sty | 129 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 129 insertions(+), 0 deletions(-) create mode 100644 doc/dev/coding/manual.sty diff --git a/doc/dev/coding/manual.sty b/doc/dev/coding/manual.sty new file mode 100644 index 0000000..9a133fe --- /dev/null +++ b/doc/dev/coding/manual.sty @@ -0,0 +1,129 @@ +%% +%% "manual.sty" provides definitions for the gammalib documentation +%% +%% Copyright (C) 2009 Jurgen Knodlseder +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{manual}[2009/10/07 gammalib ducomentation] + +% +% The page dimensions +% +%\setlength\paperheight{9.25in} +%\setlength\paperwidth{7.375in} +\setlength\parindent{0cm} +\setlength\parskip{0.2cm} +\setlength\linewidth{13.2cm} +\setlength\headheight{1.5cm} +\setlength\textwidth{16.3cm} +\setlength\textheight{22.5cm} +\setlength\oddsidemargin{0cm} +\setlength\topmargin{-1.7cm} +%\setlength\parindent{2em} +%\setlength\headheight{8pt} +\setlength\headsep{19pt} +\setlength\footskip{24pt} +%\setlength\textwidth{345pt} +%\setlength\textheight{46pc} +\setlength\evensidemargin{1.6804in} +%\setlength\oddsidemargin{1.5139in} +%\setlength\topmargin{.625in} + +% +% Page style +% +\pagestyle{myheadings} +\markboth{\task\ \doctype} + {\task\ \doctype} + +%\renewcommand{\subsection}{\@startsection{subsection}{3}{-4pc}{-16pt}{6pt}{% +% \rightmark{Introduction}}} + +% +% Define front-page command +% +\newcommand{\frontpage}{% +\begin{center} +\framebox[16cm]{ +\begin{minipage}[c]{16cm} +\vspace*{6.5cm} +\begin{center} + +% Software component +\framebox{ + \framebox{ + \parbox{10cm}{ + \vspace{5mm} \centerline{ + \vspace{5mm} \Huge \bf + \task\ \shorttype + } + } + } +} + +% Document type +\vspace{10mm} +{\Huge \bf \doctype} +\\[10mm] + +% Version, Date +{\normalsize \bf Version \version\\ \calendar} +\\[10mm] + +% Author +\rm +Author: \auth\ \\ +Approved by: \approv\ \\ + +% Affiliation +\vspace*{1cm} +Centre d'Etude Spatiale des Rayonnements\\ +9, avenue du Colonel-Roche\\ +31028 Toulouse Cedex 4\\ +FRANCE + +\vfill +\end{center} +\vspace*{4.5cm} +\end{minipage} +} +\end{center} + +\thispagestyle{empty} +\pagenumbering{roman} +\newpage +\begin{center} +\parbox{15cm}{ +\vspace{200mm} +\centerline{This page intentionally left blank} +\vspace{3mm} +%This software has been written to analyse data of the SPI +%telescope onboard INTEGRAL. +%Particular care has been taken in making the software user friendly +%and well documented. +%If you appreciated this effort, and if this software and User Manual +%were useful for your scientific work, the author would appreciate a +%corresponding acknowledgment in your published work. +} +\end{center} + +\newpage +\tableofcontents +\newpage +\pagenumbering{arabic} +} + + +% +% Further commands +% +%\newcommand{\icd}[1]{\item[{\tt #1}] } +\newcommand{\icd}[1]{\item{\tt #1} } +\newcommand{\cur}[1]{% +\icd{#1} specifies the current ISDC status when the function is entered. + If {\tt status != ISDC\_OK} the function does nothing and + returns the input status as return code. +} +\endinput +%% +%% End of file `manual.sty'. -- libgit2 0.21.4