%
%   WIRO Proposals LaTeX style file
%
%   modified from Asiago latex form by M. Pierce, June 2003
%   modified from TNG latex form by A. Magazzu, February 2000
%   A.Pizzella March 2000
%   A.Pizzella August 2000
%
%  DO NOT EDIT THIS FILE
%
%

\def\revtex@ver{2003A}            % Version number of this file.
\def\revtex@date{June 2003}      % Revision date.
\def\revtex@author{Mike Pierce} % This file's author.
\def\revtex@org{}           % Sponsoring organization.
\def\revtex@jnl{}               % Applicable journal, if specific.
\def\revtex@genre{LaTeX style}        % Document "type".

% This will print to the screen as Latex runs
\typeout{\revtex@org\space
    \ifx\revtex@jnl\@empty\else\revtex@jnl\space\fi
    \revtex@genre\space v\revtex@ver\space \revtex@date.}

% This writes the info at the end of the proposal
\def\revtex@pageid{\xdef\@thefnmark{\null}
    \@footnotetext{\revtex@org\space
    \ifx\revtex@jnl\@empty\else\revtex@jnl\space\fi
%    \revtex@genre\space 
    WIRO \LaTeX\ style file v\revtex@ver\space \revtex@date. }}
% <\revtex@date> if the above line doesn't work.


\let\ltx@enddoc=\enddocument
% \def\enddocument{\vfill\revtex@pageid\ltx@enddoc}
\def\enddocument{\vfill\ltx@enddoc}


% end of revision information
%----------------------------------------------------------------     

%
% Field definitions
%

% PI information

\def\piaddress#1{\gdef\@piaddress{#1}}
\def\@piaddress{}

\def\piemail#1{\gdef\@piemail{#1}}
\def\@piemail{}

% collaborators

\def\coinv#1{\gdef\@coinv{#1}}
\def\@coinv{}

% observer

\def\observer#1{\gdef\@observer{#1}}
\def\@observer{}

% Proposal info

\def\title{\gdef\@title}
\def\@title{}

\def\service#1#2{
\gdef\@serviceyes{#1} \gdef\@serviceno{#2} }
\def\@serviceyes{}
\def\@serviceno{}

\def\specreq{\gdef\@specreq}
\def\@specreq{}

\def\filter{\gdef\@filter}
\def\@filter{}

\def\grism{\gdef\@grism}
\def\@grism{}

\def\slit{\gdef\@slit}
\def\@slit{}

\def\grating{\gdef\@grating}
\def\@grating{}

\def\wave{\gdef\@wave}
\def\@wave{}

\def\filtro{\gdef\@filtro}
\def\@filtro{}

\def\slite{\gdef\@slite}
\def\@slite{}

\def\special{\gdef\@special}
\def\@special{}

\def\PFnight{\gdef\@PFnight}
\def\@PFnight{}

\def\IRnight{\gdef\@IRnight}
\def\@IRnight{}

\def\Specnight{\gdef\@Specnight}
\def\@Specnight{}

\def\moon#1#2#3{
\gdef\@moondrk{#1}  \gdef\@moongr{#2}
\gdef\@moonany{#3}}
\def\@moondrk{}
\def\@moongr{}
\def\@moonany{}

\def\cate#1#2#3{
\gdef\@catelo{#1}  \gdef\@catesh{#2}
\gdef\@cateto{#3}}
\def\@catelo{}
\def\@catesh{}
\def\@cateto{}

% Scheduling information
\def\prefdatf#1{\gdef\@prefdatf{#1}}
\def\@prefdatf{}

%scientific rational
%\def\sciencecase{\gdef\@sciencecase}
%\def\@sciencecase{}

\def\targetinfo{\gdef\@targetinfo}
\def\@targetinfo{}

\def\targetinfoa{\gdef\@targetinfoa}
\def\@targetinfoa{}

\def\justtime{\gdef\@justtime}
\def\@justtime{}

\def\prevres{\gdef\@prevres}
\def\@prevres{}

\def\sciencecase{\gdef\@sciencecase}
\def\@sciencecase{}

%
% Page size
%
 \topmargin   -3.00cm
 \oddsidemargin   -1.40cm
 \evensidemargin   -1.40cm

 \textheight 10.00in

\setlength{\textwidth}{7.50in}

 \parskip 8pt plus 3pt minus 2pt
 \parindent 0in

 \pagestyle{empty}                      
                                                                                
 
 %  fonts
 
\def\baselinestretch{.8}
% chech is NFSS is used
\@ifundefined{selectfont}{    
% NFSS is not installed at this site
\font\@tiny=cmss8
\font\@small=cmss9
\font\@Small=cmss10
\font\@Smallbf= cmssbx10
\font\@normal=cmr10 at 11pt
\font\@normalss=cmss10 at 11pt
\font\@super=cmr17
\font\@normalit=cmti10 at 11pt

}{
 %NFSS installed at this site
\def\@tiny
{\fontfamily{cmss}\fontseries{m}\fontshape{n}\fontsize{8}{9.5pt}\selectfont}

\def\@small
{\fontfamily{cmss}\fontseries{m}\fontshape{n}\fontsize{9}{11pt}\selectfont}

\def\@Small
{\fontfamily{cmss}\fontseries{m}\fontshape{n}\fontsize{10}{12pt}\selectfont}

\def\@Smallit
{\fontfamily{cmss}\fontseries{m}\fontshape{it}\fontsize{10}{12pt}\selectfont}

\def\@Smallbf
{\fontfamily{cmss}\fontseries{bx}\fontshape{n}\fontsize{10}{12pt}\selectfont}

\def\@normal
{\fontfamily{cmr}\fontseries{m}\fontshape{n}\fontsize{11}{13.6pt}\selectfont}

\def\@normalbf
{\fontfamily{cmr}\fontseries{bx}\fontshape{n}\fontsize{12}{13.6pt}\selectfont}

\def\@normalss
{\fontfamily{cmss}\fontseries{m}\fontshape{n}\fontsize{11}{13.6pt}\selectfont}

\def\@super
{\fontfamily{cmr}\fontseries{m}\fontshape{n}\fontsize{17}{22pt}\selectfont}

\def\@superbf
{\fontfamily{cmr}\fontseries{bx}\fontshape{n}\fontsize{17}{22pt}\selectfont}

\def\@normalit
{\fontfamily{cmr}\fontseries{m}\fontshape{it}\fontsize{11}{13.6pt}\selectfont}

}                                                  
%
%
% form

\newlength{\@templength}

\newcommand{\@putpar}[5]{
    \vspace*{#2}\hspace*{#1}
    \rule[-#4]{0.0cm}{#4}
    \rule[0.0cm]{0.0cm}{1.0cm}
    {\@small
      \begin{minipage}[t]{#3} 
       #5 \
      \end{minipage}
    }
% rewind coordinate system to the top left of the page
     \setlength{\@templength}{-#2}
     \addtolength{\@templength}{-#4}
     \vspace*{-1.3165cm}\vspace*{\@templength}
     \setlength{\@templength}{-#1}
     \addtolength{\@templength}{-#3}
     \hspace*{-1.0em}\hspace*{\@templength}}

%
% Picture parameters
%
\def\@picturexdimen{19.70}
\def\@pictureydimen{25.80}
\def\@picturexoffset{00.00}
\def\@pictureyoffset{01.80}

\def\@thicklinewidth{0.50mm}


% thick horizontal line

\newcommand{\@thline}{\rule[0.0cm]{18.5cm}{\@thicklinewidth}}


%
%--------------------------------------------------
%

\def\makepgone{

%page 1
                                                          

\vspace*{0.23cm}\hspace*{-0.50cm}

\setlength{\unitlength}{1.0cm}

% picture 
\begin{picture}(\@picturexdimen,\@pictureydimen)(\@picturexoffset,\@pictureyoffset)

\put (04.25,26.50){{\@super Wyoming InfraRed Observatory (WIRO)}}
\put(01.90,26.00){{\@normal  Dept of Physics and Astronomy, Unversity of Wyoming, PO Box 3905, 
Laramie WY 82071}}
\put(03.80,25.00){{\@superbf Application for WIRO Observing Time}}
%\put(05.00,27.90){{\@super }}

 \put(12.5,24.0){{\@Smallbf PERIOD: July 2003 --- Sept. 2003}}
 \put(0.5,24.0){{\@normal Send proposals to: \@Smallbf mpierce@uwyo.edu}}

\put(00.40,23.60){{ \@thline }}

\put(00.50,02.50){\rule[0.0cm]{\@thicklinewidth}{21.10cm}}
 \put(18.97,02.50){\rule[0.0cm]{\@thicklinewidth}{21.10cm}}

 \@Small

 \protect \put(00.60,23.2){\@Smallbf {1.}}
 \put(01.0,23.2){{\@Smallbf Title (10 words maximum) }}
 %\put(00.50,21.4){\line(1,0){18.45}}
 \put(00.50,21.4){\line(1,0){18.45}}
 
\put(15.65,23.6){\line(0,-1){2.2}}

\put(15.8,23.2){{\@Smallbf 2. Observing mode}}
\put (17.0,22.4) {{ Visitor}}
 \put(16.2,22.3){\framebox(.4,.4){}}
\put (17.0,21.6) {{ Service}}
 \put(16.2,21.5){\framebox(.4,.4){}}

 \put(00.60,21.0){{\@Smallbf  3.}}
 \put(01.0,21.0){{\@Smallbf Name and address of the Investigators}}
 \put(01.2,20.57){{\@Smallbf PI: }}
 \put(01.2,19.2){{\@Smallbf Co--investigators: }}
 \put(01.2,17.0){{\@Smallbf Obsever (name, phone, email): }}
 
 
 \put(00.50,16.7){\line(1,0){18.45}}                                             
 \put(00.60,16.30){{\@Smallbf  4.}}
\put(01.0,16.30){{\@Smallbf Instrument(s) and requested set-up and nights}}
 
%\put(00.50,14.7){\line(1,0){18.45}}  

 \put(5.30,15.2){\line(0,-1){2.2}}
 \put(9.90,15.2){\line(0,-1){2.2}}
 \put(15.9,16.7){\line(0,-1){3.7}}

  \put(0.85,15.1){{\@superbf PF CAMERA }}   
  \put(5.55,15.1){{\@superbf IR CAMERA }}   
  \put(10.15,15.1){{\@superbf VPH SPECTRO.}}   
%  \put(16.10,14.1){{\@Smallbf SPECIAL}}   

  \put(0.85,14.35){{\@Smallit Filters:}}
  \put(5.55,14.35){{\@Smallit Filters:}}
% \put(0.85,13.4){{\@Smallit Grisms:}}
% \put(5.05,14.35){{\@Smallit Slits:}}
 \put(10.15,14.35){{\@Smallit Grat.:}}
 \put(10.15,13.40){{\@Smallit Wave.:}}
% \put(9.35,13.4){{\@Smallit Filter:}}
% \put(12.55,13.4){{\@Smallit Slit:}}


\put(00.50,14.9){\line(1,0){15.44}}

\put(00.50,13.0){\line(1,0){18.45}}

\put(16.05,16.20){{\@Smallbf 5. }}
\put(16.45,16.20){{\@Smallbf  Moon}}
\put(16.30,15.40){{\@Small  Dark}}
 \put(17.97,15.30){\framebox(.4,.4){}}
\put(16.30,14.52){{\@Small  Gray}}
 \put(17.97,14.42){\framebox(.4,.4){}}
\put(16.30,13.60){{\@Small  Any}}
 \put(17.97,13.50){\framebox(.4,.4){}}

\put(00.60,12.50){{\@Smallbf 6. }}
\put(01.00,12.50){{\@Smallbf  Special Requirements}}


  \put(00.50,09.30){\line(1,0){18.45}}        

\put(0.60,8.85){{\@Smallbf 7. }}
\put(1.0,8.85){{\@Smallbf Observing period restrictions and preferences:}}

  \put(00.50,05.30){\line(1,0){18.45}}        
\put(0.60,4.85){{\@Smallbf 8. }}
\put(1.0,4.85){{\@Smallbf Proposal Category}}

\put(1.45,3.3){{\@normalbf  Long Term Program}}
 \put(3.83,3.8){\framebox(.4,.4){}}
\put(7.6,3.3){{\@normalbf  Short Term Program}}
 \put(10.0,3.8){\framebox(.4,.4){}}
\put(13.6,3.3){{\@normalbf  Target of Opportunity}}
 \put(15.5,3.8){\framebox(.4,.4){}}

 \put(00.40,02.50){{ \@thline }}
 \put(09.50,01.70){{ 1. }}

\end{picture}
                                                                               
% rewind back to near the top of the page
\vspace*{-26.75cm}{\@small

\@putpar{  0.62cm}{ 4.5 cm}{ 14.50cm}{  1.5 cm}{\@normalss\@title}

\@putpar{  15.95 cm}{ 5.67cm}{  1.00cm}{  1.00cm}{\@Smallbf\@serviceyes}

\@putpar{  15.95 cm}{ 4.87cm}{  1.00cm}{  1.00cm}{\@Smallbf\@serviceno}

\@putpar{  1.50cm}{  6.65 cm}{ 17.0 cm}{  3 cm}{\@normal\@piaddress}

\@putpar{  1.50cm}{  7.2 cm}{ 9.0 cm}{  1 cm}{\@Small\@piemail}

\@putpar {0.50 cm}{  8.5 cm} {17.9 cm} {2 cm}{\@normal\@coinv}

\@putpar{  6.2cm}{  10.24 cm}{ 17.0 cm}{  3 cm}{\@normal\@observer}

\@putpar{  1.8 cm}{  12.85cm}{ 3. cm}{  1.00cm}{\@normal\@filter}

% \@putpar{  1.77 cm}{  13.82 cm}{ 6. cm}{  1.00cm}{\@normal \@grism}

% \@putpar{ 5.75  cm}{  12.85  cm}{ 3. cm}{  1. cm}{\@normal \@slit}

\@putpar{ 9.92  cm}{  12.85  cm}{ 1. cm}{  1. cm}{\@normal \@grating}

\@putpar{ 13.1  cm}{  12.85  cm}{ 2. cm}{  1. cm}{\@normal \@wave}

% \@putpar{ 10.0  cm}{  13.82  cm}{ 1. cm}{  1. cm}{\@normal \@filtro}

% \@putpar{ 12.95  cm}{  13.82  cm}{ 1. cm}{  1. cm}{\@normal \@slite}

\@putpar{0.5cm}{ 15.2 cm}{ 17.90cm}{  3.50cm}{\@normal\@specreq}

\@putpar{ 4.5 cm}{  12.07 cm}{ 2. cm}{  2. cm}{\@super \@PFnight}

\@putpar{ 13.5 cm}{  12.07 cm}{ 2. cm}{  2. cm}{\@super \@Specnight}

\@putpar{ 0.5 cm}{ 19.0cm}{  17.9cm}{  4.00cm}{\@normal\@prefdatf}

\@putpar{  17.75 cm}{ 11.8cm}{  1.00cm}{  1.00cm}{\@Smallbf\@moondrk}

\@putpar{  17.75 cm}{ 12.7cm}{  1.00cm}{  1.00cm}{\@Smallbf\@moongr}

\@putpar{  17.75 cm}{ 13.6cm}{  1.00cm}{  1.00cm}{\@Smallbf\@moonany}

\@putpar{  3.6 cm}{ 23.35cm}{  1.00cm}{  1.00cm}{\@Smallbf\@catelo}

\@putpar{  9.78 cm}{ 23.35cm}{  1.00cm}{  1.00cm}{\@Smallbf\@catesh}

\@putpar{  15.25 cm}{ 23.35cm}{  1.00cm}{  1.00cm}{\@Smallbf\@cateto}

}

\eject

}

\def\makepgtwo{

%page 2

\vspace*{0.23cm}\hspace*{-0.50cm}

\setlength{\unitlength}{1.0cm}

\begin{picture}(\@picturexdimen,\@pictureydimen)(\@picturexoffset,\@pictureyoffset)
\@Small

\put(00.29,27.00){{ \@thline }}                                                                       %
\put(00.40,01.50){\rule[0.0cm]{\@thicklinewidth}{25.55cm}}                %
\put(18.9,01.50){\rule[0.0cm]{\@thicklinewidth}{25.55cm}}                   %     FRAME
 \put(00.29,01.50){{ \@thline }}                                                                          %

\put(00.60,26.60){{\@Smallbf 9.}}
\put(01.20,26.60){{\@Smallbf Description of the proposed program}}

\put(00.40,26.30){\line(1,0){18.50}}


\put(00.40,12.50){\line(1,0){18.50}}


\put(00.60,12.0){{\@Smallbf 10.}}
\put(01.25,12.0){{\@Smallbf Justification of the requested number of nights and target information}}

 \put(00.4,8){\line(1,0){18.55}}   
\put(00.60,7.5){{\@Smallbf 11.}}
\put(01.25,7.5){{\@Smallbf Description of results from previous observations and publications on the subject}}

\put(09.50,00.50){{ 2. }}
\end{picture}

\vspace*{-26.75cm}{\@small
\@putpar{ 0.4  cm}{0.3  cm}{17.9 cm}{ 15.00cm}{\@normal\@sciencecase}

\@putpar{ 0.4  cm}{15.7  cm}{17.9 cm}{ 5.00cm}{\@normal\@justtime}

\@putpar{ 0.4  cm}{20.25  cm}{17.9 cm}{ 7.00cm}{\@normal\@prevres}

}
%\@normalss\parbox[t]{7.0in}{\@sciencecase}

%\vspace*{-26.75cm}
%{\@small

%\@putpar{ 0.4  cm}{14.2  cm}{17.9 cm}{ 5.00cm}{\@normal\@justtime}

%\@putpar{ 0.4  cm}{18.65  cm}{17.9 cm}{ 7.00cm}{\@normal\@prevres}

}

% end of page 2

\def\makepgthree{

% page 3
% This Page is not mandatory and it may be used in case you think it is crucial
% for your proposal to give detailed informations on the target objects such as
% coordinates, magnitudes, etc.
%
%
\newpage

\vspace*{0.23cm}\hspace*{-0.50cm}
\setlength{\unitlength}{1.0cm}
\begin{picture}(\@picturexdimen,\@pictureydimen)(\@picturexoffset,\@pictureyoffset)

\put(00.29,28.10){{ \@thline }}                                                                       %
\put(00.40,01.50){\rule[0.0cm]{\@thicklinewidth}{26.65cm}}                %
\put(18.9,01.50){\rule[0.0cm]{\@thicklinewidth}{26.65cm}}                   %     FRAME
 \put(00.29,01.50){{ \@thline }}                                                                          %

\@Small

\put(00.60,27.70){{\@Smallbf 12.}}
\put(01.25,27.70){{\@Smallbf List of targets}}

\put(0.44,26.75){{\@normalss\parbox[t]{17.78cm }{
\begin{tabular}{p{2 cm}p{2 cm}p{2 cm}p{1.5 cm}p{1.5 cm}p{1.5 cm}p{5 cm}}
\hline
Name & $\alpha$ & $\delta$ & Equinox & Mag. & diam. & Additional Information\\
\hline

\end{tabular}
}
}}

\put(09.70,00.50){{ 3. }}
\end{picture}


\vspace*{-26.75cm}

\@putpar{ -0.2 cm}{ 1.2 cm}{  17.78 cm}{  12 cm}{\@normalss

\begin{tabular}[t]{p{2 cm}p{2 cm}p{2 cm}p{1.5 cm}p{1.5 cm}p{1.5 cm}p{5 cm}}
\@targetinfo                          
\end{tabular}
}

%\eject

}

\endinput

%
% end of file wiroform.sty
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


