technote.sty 2.3 KB
%%
%% "manual.sty" provides definitions for a gammalib technical note
%% 
%% Copyright (C) 2011 Jurgen Knodlseder
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{technote}[2011/10/20 gammalib technical note]

%
% 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\ Tech-Note \shorttype
   }
  }
 }
}

% Document type
\vspace{10mm}
{\Huge \bf \doctype}
\\[5mm]
{\normalsize \bf\reference}
\\[10mm]

% Version, Date
{\normalsize \bf Version: \version\\ \calendar}
\\[10mm]

% Author
\rm
Author: \auth\ \\
Approved by: \approv\ \\

% Affiliation
\vspace*{1cm}
Institut de Recherche en Astrophysique et Plan\'etologie (IRAP)\\
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}
}
\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'.