% An example file for slides with seminar style
% Comments and feedback to Ilkka.Niemela@hut.fi
% 
% To produce a pdf file: 
% > latex slides
% > dvipdfm slides
% or
% > dvips -f -t landscape slides | ps2pdf - slides.pdf
% Note that this might produce slides upsidedown in some environments

\documentclass[%
  slidesonly,%  Try notes or notesonly instead.
  %notes,%      Use instead of slidesonly to typeset the notes.
  %notesonly,%  Use instead of slidesonly to typeset notes and slides.
  %semcolor,%   Try me if using PSTricks.
  %semrot,%     Try me if using Rokicki's dvips.
  semhelv,%    Try me if using a PostScript printer.
  %article,%    Try me 
  %portrait,%   Try me.
  a4,
  %semlayer%     This must be included, but you need the semcolor option to
  ]{seminar}                                  % actually see the overlays.

% using semhelv option might lead to a missing font warning for symbol
% `textbullet' but the font (cmsy/m/n') used instead seems to look OK.

\usepackage[latin1]{inputenc}
%\usepackage[finnish]{babel} %For text in Finnish
\usepackage{fancybox}

\slideframe{}
% If you like frames, try e.g.
%\slideframe{oval}

% A hack to push slides towards the top edge of a landscape page
% for better visibility with the beamer in B353. 
\renewcommand{\slidetopmargin}{-15mm}

\def\printlandscape{\special{landscape}}
% Using slidesmag the overall size of fonts is controlled 
\slidesmag{5}
\articlemag{1}

% An example how to introduce colors like red/green/blue/yellow/cyan/magenta
\usepackage{color}
\definecolor{hut-blue}{rgb}{0,0.25390625,0.67578125}       % 0,65,173 / 256

\newcommand{\myemph}[1]{{\color{red} #1 }}

% An example how to define a heading macro
\newcommand{\heading}[1]{%
  \begin{center}%
    \large\bf%
    {\color{hut-blue}\shadowbox{#1}}%
  \end{center}%
  \vspace{1ex minus 1ex}%
}

% An example how to define headers and footers
%\newpagestyle{mypage}%
%{Course XX \hfill Spring 2004 \hfill \thepage}%
%{\hfill\copyright\ NN%
%\hfill}
%\pagestyle{mypage}

%Another example
\newpagestyle{mypage}%
{}%
{\copyright\ NN \hfill Course XX \hfill Spring 2004 \hfill \thepage}
\pagestyle{mypage}



\begin{document}

\begin{slide} % An example slide
\heading{A Heading}
\begin{itemize}
\item An item
\[
x \in [a..\lfloor\frac{a+b}{\myemph{2}}\rfloor] 
\]
where note the \myemph{color}.
\item Item 2
\item Item 3
\item Item 4
\item Item 5
\item Item 6
\end{itemize}
\end{slide}

\end{document}
