% ------  Simple style file for HFI-L2 LaTeX documents ---------
%                                      R. Ansari - LAL 
%                                      V 1.0   08/2000
% -------------------------------------------------------------- 
% Standard packages 
\usepackage{graphicx}
% Use this package for producing PDF files (the font name can be changed)
\usepackage{palatino}

%  Page sizes 
\setlength{\textwidth}{16cm}
\setlength{\textheight}{21.5cm}
\setlength{\topmargin}{0.5cm}
\setlength{\oddsidemargin}{0.cm}
\setlength{\evensidemargin}{0.cm}
\setlength{\unitlength}{1mm}

% ---------- Commands for setting up the title page ----------------

%  >>>  The title page head and document title
%  >>>  Usage: \titleph{ My document title }
%  The icon file hfi_icon_vsmall.eps in Encapsulated Postscript format is used
%  You can change the document group identification (Planck HFI-L2) 

\newcommand{\titleph}[1]
{
\vspace{1cm}
\makebox[30mm][c]{\includegraphics[width=3cm]{hfi_icon_small.eps}}
\hspace{5mm} \raisebox{12mm}{\rule{85 mm}{0.5 mm}\makebox[40 mm]{\bf Planck HFI-L2 }}
\vspace{2cm}
\begin{center}
% \par \renewcommand{\baselinestretch}{2.0} \small 
{\LARGE \bf #1}
\end{center}
}

%  >>>  The author list table 
%  >>>  Usage: \authors{ name1 & institute \\ name2 & institute ... }

\newcommand{\authors}[1]
{
\vspace{3 cm}
\begin{center}
\begin{tabular}{ll}
#1
\end{tabular}
\end{center}
}


%  >>> Title page foot, document No, revision , and date
%  >>> Usage \titlepf{PL-HFI-OOO-YY-ZZZnnn}{1.0}{2000-08-24}

\newcommand{\titlepf}[3]
{
\vfill
\hfill 
\framebox[\textwidth]{\hspace{0.5cm} \large \bf #1 \hspace{1cm} Rev: #2
\hfill #3 } \\
}

% >>> Simplified version for title page foot, with automatic insertion of date
% >>> Usage \titlepfd{PL-HFI-OOO-YY-ZZZnnn}
\newcommand{\titlepfd}[2]
{
\titlepf{#1}{#2}{\today}
}

% >>> The revision history table
\newcommand{\revisionhistory}
{
\newpage
\vspace*{1cm}
\begin{center}
\mbox{
\rule{50 mm}{0.6 mm} \makebox[60 mm]{\bf Revision history} \rule{50 mm}{0.6 mm} }
\end{center}
\vspace{2 mm}
}