%% This file is `pdfposter.sty',
%% Generated by hand
%%
%% Copyright (c) 2006 C.A.A. Beauchemin, cbeau@users.sourceforge.net
%%
%% I define here a poster class that can be compiled
%% using pdflatex.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pdfposter}[2006/06/01 v.0.0 PDFLaTeX poster class]
\RequirePackage{graphics}
\RequirePackage{multicol}
\RequirePackage{color}
\RequirePackage{fancybox}
\RequirePackage[pdftex]{hyperref}

%\hypersetup{pagebackref,pdfpagemode=none,colorlinks,%
%             pdfmenubar=false,%
%             pdftoolbar=false,%
%             pdffitwindow=true,pdfcenterwindow=true,%
%             pdfwindowui=false,menucolor=menucolor,%
%             pdfview=Fit,pdfstartview=Fit,backref}

\pagestyle{empty}
\newdimen\marginleft
\newdimen\marginright
\newdimen\margintop
\newdimen\marginbottom
\def\InitLayout{
	\setlength{\parindent}{0em}
	\setlength{\parskip}{0em}
	\setlength{\headheight}{0em}
	\setlength{\headsep}{0em}
	\setlength{\topskip}{0em}
	\setlength{\marginleft}{0.3in} % Resizes to 1in
	\setlength{\marginright}{0.3in} % Resizes to 1in
	\setlength{\margintop}{0.3in} % Resizes to 1in
	\setlength{\marginbottom}{0.3in} % Resizes to 1in
	\setlength{\topmargin}{\margintop}
	\addtolength{\topmargin}{-1.0in} % Remove the default 1in
	\setlength{\leftmargin}{\marginleft}
	\addtolength{\leftmargin}{-1.0in} % Remove the default 1in
	\setlength{\oddsidemargin}{\leftmargin}
	\setlength{\textwidth}{\paperwidth}
	\addtolength{\textwidth}{-\marginleft}
	\addtolength{\textwidth}{-\marginright}
	\setlength{\textheight}{\paperheight}
	\addtolength{\textheight}{-\margintop}
	\addtolength{\textheight}{-\marginbottom}
}

\def\postersize#1#2{\paperwidth=#1%
	\paperheight=#2
	\InitLayout
}

% The definition of the titlebox
\newenvironment{titlebox}%
{\begin{Sbox}\begin{minipage}{\textwidth}}%
{\end{minipage}\end{Sbox}\setlength{\fboxsep}{0pt}\colorbox{white}{\setlength{\fboxsep}{2ex}\doublebox{\TheSbox}}}

% The definition of the textbox
\newenvironment{textbox}%
{\begin{Sbox}\begin{minipage}{0.9\columnwidth}}%
{\end{minipage}\end{Sbox}\setlength{\fboxsep}{0pt}\colorbox{white}{\setlength{\fboxsep}{2ex}\doublebox{\TheSbox}}\vfill}

% Itemizations
\newenvironment{item0}%
{\begin{list}{$\bullet$}{\setlength{\leftmargin}{1ex}\setlength{\itemsep}{0.5pt}}}%
{\end{list}}

\newenvironment{item1}%
{\begin{list}{$\triangleright$}{\setlength{\leftmargin}{2ex}}}%
{\end{list}}

\endinput
