\usepackage{latexsym}
\usepackage[usenames]{color}
\usepackage{verbatim}
\usepackage{slidesec}
\usepackage{semcolor}
\usepackage{alltt}
\input{seminar.bug}
\input{seminar.bg2}
%\usepackage[draft]{graphics}
\usepackage{graphics}
\usepackage{fancybox}
\usepackage{fancyhdr}

\fancyhf{}
\renewcommand{\headrulewidth}{0.0mm}
\renewcommand{\footrulewidth}{0.0mm}
%\fancyhead[C]{\Large\textbf{FancyHead}}
\fancyfoot[C]{\tiny \myslidefooter}
\fancyhead[C]{\tiny \myslideheader}

% To avoid headers being too close to top of page
\renewcommand{\slidetopmargin}{2cm}

% To center horizontally the headers and footers
\renewcommand{\headwidth}{\textwidth}

% To adjust the frame length to the header and footer ones
\autoslidemarginstrue

% This will probably not work with 2 or more footnotes on a slide
\renewcommand{\theslidefootnote}{*}

\unitlength=1.0mm

\newcommand{\sizedfig}[2]{\resizebox{#1}{!}{\includegraphics{#2}}}
\newcommand{\scaledfig}[2]{\scalebox{#1}{\includegraphics{#2}}}

\newcommand{\url}[1]{{\footnotesize \texttt #1}}
\def\code{\texttt}
\newcommand{\fixme}[1]{(FIXME: #1)}
%\newcommand{\inputcode}[1]{{ \footnotesize \verbatiminput{#1}} }
\newcommand{\inputcode}[1]{{ \footnotesize \begin{alltt}\input{#1} \end{alltt}}}
\newcommand{\inputtinycode}[1]{{\tiny \verbatiminput{#1} }}

\newlength{\overlaywd}
\newlength{\overlayht}
\newcommand{\overlay}[4]{%
  \settowidth{\overlaywd}{#2}\settoheight{\overlayht}{#2}%
  \raisebox{#4\overlayht}{%
    \makebox[0pt][l]{\hspace{#3\overlaywd}%
      #1}}%
  #2}%


\newenvironment{source}{\begin{alltt} \footnotesize } {\end{alltt}}



%args: fig-width, text-width, figure, body
\newcommand{\figplustext}[4]{%
  \vspace{-8mm}\hspace{-8mm}  
  \includegraphics*[width=#1]{#3}~%
  \raisebox{0.5\textwidth}{%
  \begin{minipage}[t]{#2}%
    #4%
  \end{minipage}}}%



%%% Local Variables: 
%%% mode: latex
%%% TeX-master: ""
%%% End: 
