%===============================================================================
% Colors, font family, and basic poster macros are defined here.
% You may wish to edit colors, font families, and font size definitions.
%===============================================================================
% Color definitions - standard colors are already defined.
%===============================================================================
\definecolor{lightblue}{rgb}{0.40,0.60,1.00}
\definecolor{darkblue}{rgb}{0.2,0.0,0.7}
\definecolor{cream}{rgb}{0.5,0.4,0.3}
%===============================================================================
%===============================================================================
\def\bordercolor{lightblue}
%\def\framecolor{darkblue}
\def\framecolor{blue}
\def\textcolor{black}
\def\backgroundcolor{white}
%\def\backgroundcolor{cream}
%===============================================================================
% Select a different font family? (default is Times Roman)
% Uncomment the line below to use Helvetica instead.
%===============================================================================
%\renewcommand{\familydefault}{phv}
%===============================================================================
% Font sizes may be changed by editing large, Large, LARGE, small, etc. below.
% The following lines give a larger set of fonts.
%===============================================================================
%\newcommand{\titlefont  }{\LARGE}
%\newcommand{\parafont   }{\Large}
%\newcommand{\bibfont    }{\normalsize}
%\newcommand{\captionfont}{\large}
%===============================================================================
% The following lines give a smaller set of fonts.
%===============================================================================
 \newcommand{\titlefont  }{\Large}
 \newcommand{\parafont   }{\large}
 \newcommand{\bibfont    }{\small}
%\newcommand{\captionfont}{\normalsize}
 \newcommand{\captionfont}{\small}
%===============================================================================
% The following lines give an even smaller set of fonts.
%===============================================================================
%\newcommand{\titlefont  }{\large}
%\newcommand{\parafont   }{\normalsize}
%\newcommand{\bibfont    }{\small}
%\newcommand{\captionfont}{\small}
%===============================================================================
% Line spacing - adjust to make text fit poster, if necessary.
% Larger number means more space between lines ==> text takes up more space.
%===============================================================================
%\def\@singleleading{1.3}
 \def\@singleleading{1.20} % Thinner for HST skinny poster
%===============================================================================
% The rest of this file is not intended for human consumption.
% Spacing, position, and size commands
%===============================================================================
\def\boxydim{1000} % dummy parameter
\def\newparspace{  -29pt}
\def\myparskip{      7pt}
\def\abovetitleskip{-3pt}
\def\belowtitleskip{-3pt}
\def\abovesmallskip{-2pt}
\def\belowsmallskip{-2pt}
\def\@doubleleading{1.6}
\def\baselinestretch{\@singleleading}
\setlength{\partopsep}{0pt}
\setlength{\listparindent}{0pt}
\setlength{\leftmargin}{0pt}
\setlength{\itemsep}{0pt}
\topmargin     =0in
\headheight    =0in
\headsep       =0in
\oddsidemargin =0in
\evensidemargin=0in
\footskip      =0in
\marginparwidth=0in
\marginparsep  =0in
%===============================================================================
%===============================================================================
\textwidth =\width  in
\textheight=\height in
\special{papersize=\pwidth in,\pheight in}
%===============================================================================
% Macro definitions for placing titles and text.
%===============================================================================
\def\parspace{
 \begin{center}
 \fcolorbox{\backgroundcolor}{\backgroundcolor}{\parbox{\cwd in}{}}
 \end{center}
 \vspace*{\newparspace}}
\def\newpar{\parspace\color{\textcolor}\parafont\ \ \ }
\def\bibpar{\parspace\color{\textcolor}\bibfont\setlength{\baselineskip}{10pt}}
\def\noindent{       \color{\textcolor}\parafont}
\def\cappar{\color{\textcolor}\captionfont\setlength{\baselineskip}{12pt}}
%===============================================================================
%===============================================================================
\def\dpagebox#1#2{\scalebox{\psf}{\makebox(\boxydim,{#1})[tl]{
\begin{minipage}[t]{\dpwd in}\color{\textcolor}{#2}\end{minipage}}}}
%===============================================================================
%===============================================================================
\def\pagebox#1#2{\scalebox{\psf}{\makebox(\boxydim,{#1})[tl]{
  \begin{minipage}[t]{\pwd in}\color{\textcolor}{#2}\end{minipage}}}}
%===============================================================================
%===============================================================================
\def\titlemacro#1#2#3{\begin{center}\vspace*{\abovetitleskip}
 \color{#2}\Ovalbox{\parbox{#3 in}
 {\vspace*{10pt}\titlefont\bf\centering{#1}\vspace*{10pt}}}
 \end{center}\vspace*{\belowtitleskip}}
%===============================================================================
%===============================================================================
\def\titlebox#1{\titlemacro{#1}{\framecolor}{\cwd}}
\def\dtitlebox#1{\titlemacro{#1}{\framecolor}{\dcwd}}
\def\blanktitlebox{\titlemacro{blanking}{\backgroundcolor}{\cwd}}
%===============================================================================
%===============================================================================
\def\smalltitlebox#1{\begin{center}\vspace*{\abovesmallskip}
 \fcolorbox{\framecolor}{\bordercolor}{\parbox{\scwd in}
 {\parafont\bf\centering {#1}}}\end{center}\vspace*{\belowsmallskip}}
%===============================================================================
% Eliminate horizontal rule below references ...
%===============================================================================
\def\footnoterule{\relax}
% added by EK
\newcommand{\startposter}{\orientposter
\begin{picture}(\uwidth,\uheight)(\llx,\lly)
}

\newcommand{\finishposter}{
\end{picture}
\disorientposter
}

\renewcommand{\title}[2]{\put(\titlex,\titley){%
\makebox(0,0)[t]{\setlength{\fboxrule}{3pt}\setlength{\fboxsep}{0pt}%
\color{\framecolor}\Ovalbox{
\scalebox{\tbsf}{\parbox[b]{\twidth in}{\color{\textcolor}%
\begin{center}\vspace*{-0.05 in}
{\Large\bf%
#1}
\parbox[b]{\awidth in}{\color{\textcolor}%
\begin{center}{\small\vspace*{-5pt}%
#2
\vspace{-18 pt}%
}\end{center}}\end{center}}
}}}}
\setlength{\fboxrule}{1pt}
\setlength{\fboxsep}{0pt}}

\newcommand{\frameposter}{
\put(\startx,\starty){\setlength{\fboxrule}{1pt}\setlength{\fboxsep}{0pt}%
\color{\framecolor}\Ovalbox{\makebox(\uwidth,\uheight)[b]{}}}
}

\renewcommand{\section}[2]{%
\titlebox{\LARGE \bf #1}
{\newpar \LARGE
#2
}}

\renewcommand{\abstract}[1]{\section{Abstract}{\normalsize #1}}

\newcommand{\columnone}[1]{
\put(\pxa,\pya){
\pagebox{\boxydim}{%
{\vspace*{0.2in}}
#1
}}}

\newcommand{\columntwo}[1]{
\put(\pxb,\pya){
\pagebox{\boxydim}{%
{\vspace*{0.2in}}
#1
}}}

\newcommand{\columnthree}[1]{
\put(\pxc,\pya){
\pagebox{\boxydim}{%
{\vspace*{0.2in}}
#1
}}}

\newcommand{\columnfour}[1]{
\put(\pxd,\pya){
\pagebox{\boxydim}{%
{\vspace*{0.2in}}
#1
}}} 

\newcommand{\columnfive}[1]{
\put(\pxe,\pya){
\pagebox{\boxydim}{%
{\vspace*{0.2in}}
#1
}}} 

\newcommand{\pdffig}[2]{
\parbox{\cwd in}{\cappar \ \ \\}
\centerline{\pdfimage width \cwd in {#1}}
\parbox{\cwd in}{\cappar \ \ \\}
\centerline{\parbox{\cwd in}{\cappar \ \ \\
#2
}}
\parbox{\cwd in}{\cappar \ \ \\}
}

