\ProvidesPackage{signs}

\RequirePackage{sheets}
\renewcommand\sheetname{Sign}
\renewcommand\docharnamehere{}

\pagestyle{empty}   % page numbers neither needed nor wanted here
\geometry{ignorefoot,vmarginratio=1:1}  % so reclaim their space

\special{header=simplex}  % be single-sided

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is the part you really need to set.  It should be like
%% \def\takedownby{Monday March 37th}
%
\def\takedownby{[Production Czar should set date in LaTeX/Styles/signs.sty\@warn{=== The take-down-by date in LaTeX/Styles/signs.sty still needs to be set! ===}]}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% If you modify how \sign works, you should update the documentation
% in LaTeX/Central/signs.tex and in html/macro-glossary.html.
%
% \sign{name}{location}{description}{mechanic}
\newdef\sign[4]{%
  \sheetbanner{\Huge #1}
  \begin{center}
    {\Large #2\leavevmode\\} \vfill
    {\Huge #3\leavevmode\\} \vfill
    \def\@tmp{#4}%
    \ifx\@tmp\empty\else
      \fboxsep=.1cm \fitfbox{%
        \fboxsep=2\fboxsep \fitfbox{%
          \vbox{\Large #4}%
        }%
      }%
      \break\vfill
    \fi
    {\huge MIT Assassins' Guild \\
      We will take this sign down by \takedownby.\\
      Please do not remove it before then.\\}
  \end{center}
  \newpage
}

% helper macro; \fbox that adjusts the horizontal size seen inside
% to compensate for the space taken up by the framing.
% this probably belongs in a less specialized style...
\newcommand\fitfbox[1]{%
  \fbox{%
    \advance\hsize by -2\fboxsep\relax
    \advance\hsize by -2\fboxrule\relax
    #1%
  }%
}


\vfuzz=10in      % shut up about overfull \vbox's!
\vbadness=10000  % and underfull ones
\hfuzz=10in      % and overfull \hbox's
\hbadness=10000  % and underfull ones
