%
%   WIRO Proposals LaTeX style file
%
%   modified by Chip  Dec 2016
%   modified by D. Dale May 2006
%   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{2009A}            % Version number of this file.
\def\revtex@date{April 2009}      % Revision date.
\def\revtex@author{Chip Kobulnicky} % 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
%


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

% PI information

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

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

\def\observatorywiro#1{\gdef\@observatorywiro{#1}}
\def\@observatorywiro{}
\def\observatoryapo#1{\gdef\@observatoryapo{#1}}
\def\@observatoryapo{}

% collaborators

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


% Proposal info

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


\def\instrument{\gdef\@instrument}
\def\@instrument{}

\def\obsrun{\gdef\@obsrun}
\def\@obsrun{}

\def\longterm{\gdef\@longterm}
\def\@longterm{}


% Scheduling information


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

\def\techcase{\gdef\@techcase}
\def\@techcase{}


%
% 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)

%% HEADER PRELIMINARIES
\put (03.00,27.50){{\@super University of Wyoming Internal Telescope Proposal Form}}

\put(0.5,26.7){\@normal \bf Submit PDF to the WIRO Director by April 1/Oct 1 for Jul--Dec/Jan--Jun semesters }

\put(0.5,26.0){\@normal WIRO: Lead proposer must be a UW faculty, postdoc, or grad student; undergrads require faculty sponsor}
\put(0.5,25.6){\@normal APO: Lead proposer must be a UW faculty, postdoc, or grad student past the PhD candidacy exam  }

\put(0.5,25.0){\@normal Besides scientific merit, programs will receive extra weight if they are 1) externally funded, 2) an approved }
\put(1.0,24.6){\@normal PhD project for a UW student, 3) a pilot program with potential for funding, 4) producing publications.    }

\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(0.6,23.85){{\@Smallbf Date Submitted: }} 
 
\put(0.6,23.2){{\@Smallbf 1. Title}}
\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. Observatory}}
\put (16.6,22.4) {{ WIRO 2.3 m}}
\put(16.0,22.3){\framebox(.4,.4){}}
\put (16.6,21.7) {{ APO 3.5 m}}
\put(16.0,21.6){\framebox(.4,.4){}}

 \put(0.6,21.0){{\@Smallbf 3. Name and email of PI}}
 \put(0.90,20.57){{\@Smallbf PI: }}
 \put(0.90,19.9){{\@Smallbf Co--investigators: }}
 
\put(00.50,18.7){\line(1,0){18.45}}

%%
\put(0.6,18.20){{\@Smallbf 4. Instrument Setup: describe instrument, filters, gratings, wavelength coverage, etc.}}

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

\put(0.6,15.30){{\@Smallbf 5. Observing run: summarize number of nights (half-nights for APO!) needed this semester, 
 distribution }}
\put(1.5,15.00){{\@Smallbf  of nights through the semester, range of target RAs, and moon phase restrictions, if any). }}

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

\put(0.6,10.00){{\@Smallbf 6. Long Term Justification: If this is part of a long-term program extending more than one semester,}}
\put(1.5,9.70){{\@Smallbf  describe all allocations needed to complete the program and progress to-date (e.g., runs, pubs).}}


 \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{  3.62cm}{ 3.4 cm}{ 2.50cm}{  1.5 cm}{\@normalss\@date}


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

\@putpar{  15.82cm}{ 4.86 cm}{ 10.5cm}{ 2 cm}{\@normal\@observatorywiro}

\@putpar{  15.82cm}{ 5.49 cm}{ 10.5cm}{ 2 cm}{\@normal\@observatoryapo}

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

\@putpar{  9.50cm}{  6.65 cm}{ 9.0 cm}{  1 cm}{\@Small\@piemail}

\@putpar {1.50 cm}{  7.8 cm} {18.9 cm} {2 cm}{\@normal\@coinv}

\@putpar {0.50 cm}{  9.5 cm} {16.9 cm} {2 cm}{\@normal\@instrument}

\@putpar {0.50 cm}{  12.9 cm} {17.9 cm} {2 cm}{\@normal\@obsrun}

\@putpar {0.50 cm}{  18.2 cm} {17.9 cm} {2 cm}{\@normal\@longterm}
}

\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(0.6,26.60){{\@Smallbf 7. Scientific Description of the proposed program}}

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


\put(0.6,10.0){{\@Smallbf 8. Technical justification of the requested number of nights or half-nights (S/N, etc.)}}



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

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

\@putpar{ 0.4  cm}{17.9  cm}{17.9 cm}{ 5.00cm}{\@normal\@techcase}


}

}

% end of page 2



\endinput

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


