
%-------------------------------ohptbl_english.sty-------------------------------------
% This file shall not be modified. 

% This latex style file is to be used for OHP and TBL telescope time proposals
% by European proposers (in teh OPTICON framework)
%
% Auteur: Pierre VASSELLERIE 
%           pour l'Institut National des Sciences de l'Univers
%
% version: 2.1 (25 juin 1999) modifiee par Pascal Sitbon, introduction des 
% structures thematiques, du cout et autres
% version 2.2 (16 Fevrier 2000): prise en compte des modifs du tbl (AML et FC)
% Cette version utilise les logos bitmap de l'OHP et du TBL
%
% version 3.1 (Sept 03): modification from the French form ohptbl.sty
% .........................................................................


\def\OhpTblVersion{3.1}
%
%
%
\typeout{_____________________________________________________________________}


\typeout{}
\typeout{ Macro LaTeX for telescope time proposals }
\typeout{ at Haute Provence and  Pic du Midi Observatories.}
\typeout{ Version 3.1 (Sept 03)}
\typeout{}
\typeout{ In case of any problem, please contact : anne-marie.lagrange@cnrs-dir.fr}
\typeout{}
\typeout{ The responsibility of the author, INSU OHP or TBL cannot be engaged }
\typeout{ by the use of this macro.}
\typeout{}
\typeout{_____________________________________________________________________}



%
% Definitions
%


% cross definition
\def\x{\Large\bf $\times$}


\def\oui{yes}
\def\non{no}


\def\pnps{PNPS}
\def\png{PNG}
\def\pcmi{PCMI}
\def\pnc{PNC}
\def\pnp{PNP}



\long\def\Logo#1{\gdef\logo{#1}}
\long\def\Structure#1{\gdef\struct{#1}}  %%%%%%%% @MODIF
\long\def\Titre#1{\gdef\titre{#1}}
\long\def\Resume#1{\gdef\resume{#1}}
\long\def\Site#1{\gdef\site{#1}}


\long\def\Telescope#1#2#3
{\def\parone{#1}\gdef\partwo{#2}\gdef\parthree{#3}}


\long\def\Nuits#1{\gdef\nuits{#1}}
\long\def\PremierePeriode#1{\gdef\periodeun{#1}}
\long\def\DeuxiemePeriode#1{\gdef\periodedeux{#1}}
\long\def\MauvaisesPeriodes#1{\gdef\mauvaisesperiodes{#1}}
\long\def\Lune#1#2#3#4
{\def\luneone{#1}\gdef\lunetwo{#2}\gdef\lunethree{#3}\gdef\lunefour{#4}}
\long\def\Cout#1{\gdef\cout{#1}}
\long\def\CoutNuits#1{\gdef\coutnuits{#1}}
\long\def\CoutSejour#1{\gdef\coutsejour{#1}}
\long\def\CoutVoyage#1{\gdef\coutvoyage{#1}}
\long\def\Chercheur#1{\gdef\chercheur{#1}}
\long\def\Adresse#1{\gdef\adresse{#1}}
\long\def\EMail#1{\gdef\email{#1}}
\long\def\Tel#1{\gdef\tel{#1}}
\long\def\Fax#1{\gdef\fax{#1}}
\long\def\Collaborateurs#1{\gdef\collaborateurs{#1}}


\def\ohp{OHP}
        \def\ohpun{193}
                \def\ohpcarelec{Carelec}
                \def\ohpelodie{Elodie}
                \def\ohpredfoc{RedFocal}
                \def\ohpvisiteur{Visiteur}
        \def\ohpdeux{152}
                \def\ohpaurelie{Aurelie}
%               \def\ohpvisiteur{Visiteur}
        \def\ohptrois{120}
                \def\ohpccd{CCD}
%               \def\ohpvisiteur{Visiteur}
        \def\ohpquatre{80}
%               \def\ohpccd{CCD}
%               \def\ohpvisiteur{Visiteur}


\def\tbl{TBL}
%        \def\tblun{f25}
%        \def\tbldeux{ISARD}
%                \def\tblimageur{Imageur}
%                \def\tblspectrolf{Spectro-LF}
%               \def\tblspectromf{Spectro-MF}
        \def\tbltrois{MOICAM}
                \def\tblmoicamun{f8}
                \def\tblmoicamdeux{f20}
        \def\tblquatre{STERENN}
        \def\tblcinq{MUSICOS}
                \def\tblspectro{Spectro}
                \def\tblpolar{Polarimetre}
        \def\tblsix{Visiteur}


% Lunes
\def\nl{No}
\def\pq{1st}
\def\pl{Full}
\def\dq{Last}
 


\long\def\Anterieur#1{\gdef\anterieur{#1}}
\long\def\JustificationProgramme#1{\gdef\justifprog{#1}}
\long\def\JustificationInstrument#1{\gdef\justifinst{#1}}
\long\def\JustificationNuits#1{\gdef\justifnuits{#1}}
\long\def\TotalNuits#1{\gdef\totalnuits{#1}}
\long\def\Obs_de_service#1{\gdef\service{#1}}
\long\def\JustificationPropriete#1{\gdef\justifprop{#1}}
\long\def\Autres_Moyens#1{\gdef\autrestel{#1}}
\long\def\Coordonnees#1{\gdef\coordonnees{#1}}
\long\def\Configuration#1{\gdef\config{#1}}
\long\def\Rapport#1{\gdef\rapport{#1}}
\long\def\Attributions#1{\gdef\attributions{#1}}
\long\def\Publications#1{\gdef\publications{#1}}
\long\def\Roles#1{\gdef\roles{#1}}



%
% Parametres generaux des pages pour du A4
%
%\setlength\paperheight {297mm}
%\setlength\paperwidth {210mm}
\setlength{\textheight} {270mm}
\setlength{\textwidth}  {175mm}
\setlength{\unitlength}{1mm}


\pagestyle{plain}


%
% Marges
%
\if@twoside \oddsidemargin -9mm \evensidemargin -9mm \marginparwidth 0pt
      \else \oddsidemargin -9mm \evensidemargin -9mm \marginparwidth 0pt
\fi
\topmargin -10mm \topskip 0pt
\headheight 0pt \headsep 0pt \footheight 0pt \footskip 0pt


\marginparsep 50pt
\parindent 0pt



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Page 1
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



% Infos: on decale de (2,2) le texte par rapport au cadre
%
%
\def\pageun{
\typeout{_____________________________________________________________________}


\typeout{ 1st page building}
\typeout{_____________________________________________________________________}


\typeout{}


                                % Le logo INSU


  \typeout{ INSU front end}
  \begin{picture}(175,10)
%    \put(0,0){\framebox(175,10){\ }}
    \put(2,7){\large\bf Institut National des Sciences de l'Univers}
    \put(0,5){\parbox{143mm}{\rule{\linewidth}{1mm}}}
    \put(2,2){\small\sf 3, rue Michel-Ange - B.P. 287 - 75766 Paris Cedex 16}
    \put(145,5){\huge\bf\it INSU}
  \end{picture}
  \\
                                % Le titre
  \typeout{Form title}
  \begin{picture}(175,24)
%    \put(0,0){\framebox(175,20){\ }}
    \put(0,20){\makebox(0,0)[tl]{\parbox{175mm}{
          \begin{center}
            {\LARGE\bf OHP-TBL PROPOSAL FORM}\\
%            {\normalsize\sf Ao\^ut-Janvier ou F\'evrier-Juillet 199}\\
% Decommenter la ligne correspondant a la bonne periode:
{\normalsize\sf Period March 2004 - August 2004}\\% pour le 2eme semestre
% {\normalsize\sf Periode September 2004 - February 2005}\\   % pour le 1er semestre
          \end{center}
          }}}
  \end{picture}
  \\
                                % Les adresses et logos
  \typeout{Addresses and logos}
  \begin{picture}(175,27.5)
    \put(2,25.5){\makebox(0,0)[tl]{\parbox{60mm}{
          {\normalsize\bf Observatoire de Haute-Provence}\\
          {\normalsize\sf F-04870 St Michel l'Observatoire}\\
          {\normalsize\sf T\'el (+33) 04.92.70.64.00}\\
          {\normalsize\sf Fax (+33) 04.92.76.62.95}\\
          }}}
    \ifx\oui\logo{
       \put(60,4){\epsfbox[0 0 60 64]{ohplogo.eps}}     
    } \else{
      \put(60,0){\framebox(30,27.5){\ }}
    }\fi
    \put(92,25.5){\makebox(0,0)[tl]{\parbox{58mm}{
          {\normalsize\bf Observatoire du Pic du Midi}\\
          {\normalsize\sf T\'elescope Bernard Lyot - BP 826}\\
          {\normalsize\sf F-65008 Tarbes C\'edex}\\
          {\normalsize\sf T\'el +33 5.62.56.60.00}\\
          {\normalsize\sf Fax   +33 5.62.34.67.63}\\
          }}}
    \ifx\oui\logo{
       \put(148,4){\epsfbox[0 0 60 64]{tbllogo.eps}}
    } \else{
      \put(148,0){\framebox(27,27.5){\ }}
    }\fi
  \end{picture}
  \\


       % La structure thematique, le titre et resume
  \typeout{Creation de la structure thematique, du titre du programme et du resume}
  \begin{picture}(175,68)(0,0)
    \put(0,0){\framebox(175,68){\ }}
    \put(0,53){\framebox(175,15){\ }}
    \put(2,67){\makebox(0,0)[tl]{
        {\normalsize\sf {\bf {\underline{Scientific Comittee:}}}}
        {\normalsize\it (select one comittee)}
        }}
    \put(2,60){\makebox(0,0)[tl]{
        {\bf PNPS}             
        }}
    \put(17,57){\framebox(4,4){\ }}
    \ifx\pnps\struct{\put(17,61){\makebox(0,0)[tl]{\x}}}\fi
    \put(42,60){\makebox(0,0)[tl]{
        {\bf PNG}             
        }}
    \put(72,57){\framebox(4,4){\ }}
    \ifx\png\struct{\put(72,61){\makebox(0,0)[tl]{\x}}}\fi
    \put(90,60){\makebox(0,0)[tl]{
        {\bf PCMI}             
        }}
    \put(106,57){\framebox(4,4){\ }}
    \ifx\pcmi\struct{\put(106,61){\makebox(0,0)[tl]{\x}}}\fi
    \put(125,60){\makebox(0,0)[tl]{
        {\bf PNC}             
        }}
    \put(140,57){\framebox(4,4){\ }}
    \ifx\pnc\struct{\put(140,61){\makebox(0,0)[tl]{\x}}}\fi
    \put(155,60){\makebox(0,0)[tl]{
        {\bf PNP}             
        }}
    \put(167,57){\framebox(4,4){\ }}
    \ifx\pnp\struct{\put(167,61){\makebox(0,0)[tl]{\x}}}\fi
    \put(2,51){\makebox(0,0)[tl]{
        {\normalsize\sf Program title:}
        }}
    \put(40,51){\makebox(0,0)[tl]{\parbox{130mm}{
        {\large\bf \titre}
        }}}
    \put(2,39){\makebox(0,0)[tl]{
        {\normalsize\sf Abstract:}
        }}
    \put(10,33){\makebox(0,0)[tl]{\parbox{160mm}{
        {\normalsize\sf \resume}
        }}}
  \end{picture}



  \vspace{1mm}


                                % Telescopes OHP
  \typeout{Remplissage du choix pour l'OHP}
  \begin{picture}(175,19)(0,0)
    \put(2,19){\makebox(0,0)[tl]{\parbox{40mm}{
          {\normalsize\bf OHP-193 }\\
%          {\normalsize\bf }\\
          {\normalsize\sf (select the requested}\\
          {\normalsize\sf instrument)}\\
          }}}
%    \put(48,0){\framebox(127,19){\ }}
% ATTENTION: la taille des cases est taille reelle - 4mm
    \put(48,0){\makebox(127,19){
            \begin{tabular}{|p{27mm}|p{26mm}|p{26mm}|p{26mm}|p{27mm}|}
              \hline
              {\bf T\'elescope} & \multicolumn{3}{|c|}{\bf Instrument} \\
              \hline
              OHP 193 & Carelec & \'Elodie & Visitor \\
              \hline
%              OHP 152 &  \multicolumn{2}{|l|}{Aur\'elie} & Visiteur \\
%              \hline
            \end{tabular}
          }}


\ifx\ohp\parone{
        \ifx\partwo\ohpun{\put(67,6.5){\x}
                \ifx\parthree\ohpcarelec{\put(105,6.5){\x}}\fi
                \ifx\parthree\ohpelodie{\put(130,6.5){\x}}\fi
                \ifx\parthree\ohpvisiteur{\put(162,6.5){\x}}\fi
        }\fi
        \ifx\partwo\ohpdeux{\put(67,4){\x}
                \ifx\parthree\ohpaurelie{\put(105,4){\x}}\fi
                \ifx\parthree\ohpvisiteur{\put(162,4){\x}}\fi
        }\fi
}\fi


  \end{picture}


  \vspace{1mm}
                                % Telescope Lyot
  \typeout{Remplissage du choix pour le TBL}
  \begin{picture}(175,22)(0,0)
    \typeout{Le tableau pour le TBL}
%    \put(0,0){\framebox(175,22){\ }}
% ATTENTION: la taille des cases est taille reelle - 4mm
    \put(2,22){\makebox(0,0)[tl]{\parbox{40mm}{
          {\normalsize\bf T\'elescope}\\
          {\normalsize\bf Bernard Lyot}\\
          {\normalsize\sf (select the requested} \\
          {\normalsize\sf instrument)}\\
          {\normalsize\sf }\\
          }}}
    \put(46,0){\makebox(146,22){
            \begin{tabular}{|p{6mm}|p{6mm}|p{6mm}|p{6mm}|p{6mm}|p{6mm}|p{6mm}|}
              \hline
%                \multicolumn{1}{|c|}{Foyer}
  %             \multicolumn{1}{|c|}{R\'educteur f/8} 
               \multicolumn{2}{|c|}{IR Camera}
              & \multicolumn{1}{|c|}{Polarimeter}
              & \multicolumn{2}{|c|}{Spectrograph}
              & \multicolumn{1}{|c|}{Visitor}\\
%             \raisebox{1.5ex}[0cm][0cm]{Foyer f/25}
%               \multicolumn{1}{|c|}{f/25}
   %            \multicolumn{1}{|c|}{ISARD}
               \multicolumn{2}{|c|}{MO\"ICAM}
              & \multicolumn{1}{|c|}{STERENN}
              & \multicolumn{2}{|c|}{MUSICOS}
              & \\
              \hline
%               \multicolumn{1}{|c|}{\footnotesize Imageur}
%              & \multicolumn{2}{|c|}{\footnotesize Spectro} 
         \multicolumn{1}{|c|}{\footnotesize f/8}
              & \multicolumn{1}{|c|}{\footnotesize f/20}
              &
              & \multicolumn{1}{|c|}{\footnotesize Spectro}
              & \multicolumn{1}{|c|}{\footnotesize Polarimeter}
              & \\
             \cline{1-2} 
         \cline{4-5}
            &  & & & &   \\
              \hline
            \end{tabular}
          }}


\ifx\parone\tbl{
%        \ifx\partwo\tblun{\put(37,6.5){\x}}\fi
%        \ifx\partwo\tbldeux{
%                \ifx\parthree\tblimageur{\put(55.5,4){\x}}\fi
%                \ifx\parthree\tblspectrolf{\put(63.5,1){\x}}\fi
%               \ifx\parthree\tblspectromf{\put(74,1){\x}}\fi
%        }\fi
        \ifx\partwo\tbltrois{
                \ifx\parthree\tblmoicamun{\put(74,4){\x}}\fi
                \ifx\parthree\tblmoicamdeux{\put(84.5,4){\x}}\fi
        }\fi
        \ifx\partwo\tblquatre{\put(101,6.5){\x}}\fi
        \ifx\partwo\tblcinq{
                \ifx\parthree\tblspectro{\put(119,4){\x}}\fi
                \ifx\parthree\tblpolar{\put(135.5,4){\x}}\fi
        }\fi
        \ifx\partwo\tblsix{\put(155,6.5){\x}}\fi
}\fi


  \end{picture}


  \vspace{1mm}
                                % Nuits, dates et lunes
  \typeout{Creation des nuits, dates et lunes}
  \begin{picture}(175,29)(0,0)
    \typeout{Les nuits, dates et lunes}
    \put(0,0){\framebox(175,29){\ }}
    \put(2,28){\makebox(0,0)[tl]{
        {\normalsize\sf Number of required observing nights:}
        }}
    \put(50,28){\makebox(0,0)[tl]{{\large\bf \nuits}}}
    \put(110,28){\makebox(0,0)[tl]{
        {\normalsize\sf Moon:}
        }}
    \put(125,28){\makebox(0,0)[tl]{{\large\bf No}}}
    \put(138,28){\makebox(0,0)[tl]{{\large\bf 1st}}}
    \put(151,28){\makebox(0,0)[tl]{{\large\bf Full}}}
    \put(164,28){\makebox(0,0)[tl]{{\large\bf Last}}}


    \ifx\nl\luneone{\put(123,24){\framebox(10,5){\ }}}\fi
    \ifx\pq\lunetwo{\put(136,24){\framebox(10,5){\ }}}\fi
    \ifx\pl\lunethree{\put(149,24){\framebox(10,5){\ }}}\fi
    \ifx\dq\lunefour{\put(162,24){\framebox(10,5){\ }}}\fi



    \put(0,22){\makebox(0,0)[tl]{
        \begin{tabular}{lrl}
          {\normalsize\sf Preferred obsering dates:} 
        & {\normalsize\sf 1~:} 
        & {\normalsize\bf \periodeun} \\
        & {\normalsize\sf 2~:} 
        & {\normalsize\bf \periodedeux}\\
        \end{tabular}
        }}


    \put(2,11){\makebox(0,0)[tl]{
        {\normalsize\sf Periods to be avoided:}
        }}
    \put(47,11){\makebox(0,0)[tl]{\parbox{110mm}{
        {\normalsize\bf \mauvaisesperiodes}
        }}}


     \put(2,4){\makebox(0,0)[tl]{
        {\normalsize\sf Observation cost will be submitted to OPTICON (Access program) for European eligible proposers $^{(\ast)}$}.
        }}
%     \put(47,4){\makebox(0,0)[tl]{\parbox{110mm}{
%        {\normalsize\bf \cout}
%        }}}
%     \put(68,4){\makebox(0,0)[tl]{
%        {\normalsize\sf dont nuits~:}
%        }}
%     \put(90,4){\makebox(0,0)[tl]{\parbox{110mm}{
%        {\normalsize\bf \coutnuits}
%        }}}
%     \put(105,4){\makebox(0,0)[tl]{
%        {\normalsize\sf s\'ejour~:}
%        }}
%     \put(120,4){\makebox(0,0)[tl]{\parbox{110mm}{
%        {\normalsize\bf \coutsejour}
%        }}}
%     \put(140,4){\makebox(0,0)[tl]{
%        {\normalsize\sf voyage~:}
%        }}
%     \put(155,4){\makebox(0,0)[tl]{\parbox{110mm}{
%        {\normalsize\bf \coutvoyage}
%        }}}


  \end{picture}


                                % Chercheur et Collaborateurs
  \typeout{Remplissage des informations sur le chercheurs et ses
  collaborateurs}


  \begin{picture}(175,42)(0,0)
    \typeout{Le chercheur principal et ses collaborateurs}
    \put(0,0){\framebox(87,42.2){\ }}
    \put(2,41.5){\makebox(0,0)[tl]{
        {\normalsize\sf Principal Investigator:}
        }}
    \put(2,32){\makebox(0,0)[tl]{
        {\normalsize\sf Address:}
        }}
    \put(2,13.5){\makebox(0,0)[tl]{
        {\normalsize\sf E-mail:}
        }}
    \put(2,9){\makebox(0,0)[tl]{
        {\normalsize\sf T\'el:}
        }}
    \put(2,4.5){\makebox(0,0)[tl]{
        {\normalsize\sf Fax:}
        }}


    \put(87,0){\framebox(88,42.2){\ }}
    \put(89,41.5){\makebox(0,0)[tl]{
        {\normalsize\sf Co-Investigators:}
        }}


    \put(20,37){\makebox(0,0)[tl]{\parbox{65mm}{
        {\normalsize\bf \chercheur}
        }}}
    \put(20,32){\makebox(0,0)[tl]{\parbox{65mm}{
        {\normalsize\bf \adresse}
        }}}
    \put(20,13.5){\makebox(0,0)[tl]{
        {\normalsize\bf \email}
        }}
    \put(20,9){\makebox(0,0)[tl]{\parbox{65mm}{
        {\normalsize\bf \tel}
        }}}
    \put(20,4.5){\makebox(0,0)[tl]{\parbox{65mm}{
        {\normalsize\bf \fax}
        }}}
    \put(97,37){\makebox(0,0)[tl]{\parbox{110mm}{
        {\normalsize\bf \collaborateurs}
        }}}
  \end{picture}


  \vspace{1mm}
                        % Pied de page
  \typeout{Creation du pied de page}
  \begin{picture}(175,15)(0,0)
    \put(2,15){\makebox(0,0)[tl]{\parbox{175mm}{
          \begin{center}
            {\normalsize\bf Fill one form per program. Produce a
                  Post-Script file to be deposit on ftp 
                  Before October 15th at noon. See instructions
for the file name and ftp on the INSU webpage
 www.insu.cnrs-dir.fr/ }\\
{\normalsize\it ($\ast$) To be eligible for funding, a proposal must be submitted by a group of astronomers where the PI and at least half of the investigators do not belong to the nation(s) which operate the telescopes.
The proposers must be from EU countries or associated and accession countries.}
          \end{center}
          }}}
  \end{picture}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Page 2
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\pagedeux{
\newpage
\typeout{_____________________________________________________________________}


\typeout{ Construction de la Page 2}
\typeout{_____________________________________________________________________}



  \begin{picture}(180,15)(0,0)
    \put(0,15){\makebox(0,0)[tl]{\parbox{180mm}{
        {\normalsize\bf Program title: \hspace{2cm} \titre}
        }}}
  \end{picture}
  \\
  \begin{picture}(180,15)(0,0)
    \put(0,15){\makebox(0,0)[tl]{\parbox{180mm}{
        {\normalsize\bf Does this proposal continue an already started program?}
    \ifx\oui\anterieur{
      {\hspace{2cm} \framebox{\normalsize\bf YES} 
       \hspace{15mm} {\normalsize\bf NO}}
    } \else{
      {\hspace{2cm} {\normalsize\bf YES}
       \hspace{15mm} \framebox{\normalsize\bf NO}}
    }\fi
   }}}
  \end{picture}
  \\
  \begin{picture}(180,15)(0,0)
    \put(0,15){\makebox(0,0)[tl]{\parbox{180mm}{
        {\normalsize\bf PI Name: \hspace{8mm} \chercheur}
        }}}
  \end{picture} 


  \vspace{5mm}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 1
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\partun{
\typeout{_____________________________________________________________________}


\typeout{ Scientific justification}
\typeout{_____________________________________________________________________}



  \section{Scientific justification}
  {\normalsize\it Scientific background (including relevant references). Please emphasize the scientific issues that the proposed observations will address.}\\
  \vspace{0.5cm}\\
  {\normalsize\sf \justifprog}
  \vspace{1cm}


}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 2
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\partdeux{
\typeout{_____________________________________________________________________}


\typeout{ Justification de la faisabilite du programme avec l'instrumentation demandee }
\typeout{_____________________________________________________________________}



  \section{Program feasibility with the requested instrumentation}
  {\normalsize\it Precise the actual proposed observations, the expected results (in particular in terms of signal to noise ratio) and demonstrate the program feasibility.}\\
  \vspace{0.5cm}\\


  {\normalsize\sf \justifinst}


  \vspace{1cm}


}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%


% Partie 3


%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\parttrois{
\typeout{_____________________________________________________________________}


\typeout{ Justification du nombre de nuits demandees }
\typeout{_____________________________________________________________________}



  \section{Requested number of observing nightss}
        \begin{itemize}
  \item {\normalsize\it Justification including the number of targets, integration per target incuding calibration targets for the required SNR, and instrumental calibrations or overheads.}\\
  \vspace{0.5cm}\\
  {\normalsize\sf \justifnuits}
  \vspace{1cm}
\item {\normalsize\it In case of a long term program, indicate the number of already allocated nights, and justify the number of observing nights still required to complete the program.}
\vspace{0.5cm}\\
  {\normalsize\sf \totalnuits}
\vspace{1cm}
\item {\normalsize\it Is this program compatible with service observing mode?}
\vspace{0.5cm}\\
  {\normalsize\sf \service}
\end{itemize}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 4
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\partquatre{
\typeout{_____________________________________________________________________}


\typeout{ Propriete des donnees}
\typeout{_____________________________________________________________________}


  \section{Data property}
\begin{itemize}
\item  {\normalsize\it Does this program require a data property period longer than 2 years? if yes, justify.}\\
  \vspace{0.5cm}\\
  {\normalsize\sf \justifprop}
  \vspace{1cm}
\item {\normalsize\it Is this observation program coordinated with observations on other telescopes? if yes, which ones?}
\vspace{0.5cm}\\
  {\normalsize\sf \autrestel}
\end{itemize}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 5 
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\partcinq{
\typeout{_____________________________________________________________________}


\typeout{ Coordonnees equatoriales (2000) et magnitudes des astres a observer }
\typeout{_____________________________________________________________________}



  \section{Targets: equatorial coordinates (2000) and magnitudes}
  {\normalsize\it This information is mandatory. Please join additional page(s) if necessary}\\
  \vspace{0.5cm}\\
  {\normalsize\sf \coordonnees}
  \vspace{1cm}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 6
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\partsix{
\typeout{_____________________________________________________________________}


\typeout{ Requested instrument configuration }
\typeout{_____________________________________________________________________}



  \section{Requested instrument configuration}
  {\normalsize\it Indicate the requested set-up, depending on the instrument: f ratio, filters, spectral domain, spectral resolution, detector.}\\
  \vspace{0.5cm}\\
  {\normalsize\sf \config}
  \vspace{1cm}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 7
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\partsept{
\typeout{_____________________________________________________________________}


\typeout{ Rapport sur les dernieres observations }
\typeout{_____________________________________________________________________}



  \section{Previous observation report}
   {\normalsize\it Brief report on previous observations at OHP or TBL made by the proposing team during the 2 previous years: programs (title, instrument, date), results, publications)}
  \vspace{0.5cm}\\
  {\normalsize\sf \rapport}
  \vspace{1cm}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 8
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\parthuit{
\typeout{_____________________________________________________________________}


\typeout{ Attributions precedentes }
\typeout{_____________________________________________________________________}



  \section{Previous telescope time allocations}
  {\normalsize\it List of allocated telescope time during the 2 previous years}
  \vspace{0.5cm}\\
  {\normalsize\sf \attributions}
  \vspace{1cm}
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Partie 9
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\partneuf{
\typeout{_____________________________________________________________________}


\typeout{ Publications }
\typeout{_____________________________________________________________________}



  \section{Publications}
  {\normalsize\it Publication list of the proposing team during the 2 previous years, directly related to the proposed program. PLease mention explicitly the involved telescopes}
  \vspace{0.5cm}\\
  {\normalsize\sf \publications}
  \vspace{1cm}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Partie 10
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\partdix{
\newpage
\typeout{_____________________________________________________________________}


\typeout{ Name and role of the observers}
\typeout{_____________________________________________________________________}



  \section{Name and role of the person(s) performing the observations}
  {\normalsize\sf \roles}
  \vspace{1cm}
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%
% Fin
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\def\fin{
\typeout{_______________________________________________________________________________}
\typeout{ Date et notice }
\typeout{_______________________________________________________________________________}


\begin{picture}(180,15)(0,0)
    \put(0,15){\makebox(0,0)[tl]{\parbox{180mm}{
      {\normalsize\bf Date~: \today }\\
%     \vspace{0.5cm}\\
     }}}
  \end{picture}


  \vspace{1cm}


\begin{picture}(180,65)(0,0)
    \put(0,65){\line(1,0){180}} 
    \put(0,65){\makebox(0,0)[tl]{\parbox{180mm}{
        \begin{itemize}
        \item You must submit {\bf only one form per program and telescope}
        \item Information concerning the telescopes and instrumentation is available at
        \begin{center}
                \begin{tabular}{ll}
                          $\ast$ 
                         {\normalsize\bf http://www.obs-hp.fr/} & for OHP\\
                          $\ast${\normalsize\bf http://www.obs-mip.fr/omp/usr5026} & for TBL
                \end{tabular}
        \end{center}
        \item Publications based on observations at OHP or TBL should mention these observatory by a footnote in the title. They should be sent to the related observatory. 
        \item Any proposal implying a visitor instrument that does not belong to the PI should include an agreement letter from the instrument team responsible.
        \end{itemize}
     }}}
    \put(0,0){\line(1,0){180}}  
    \end{picture}
}
