% Written by Pasi Eronen (pe at iki dot fi) for T-110.551 spring 2004
% Edited by Ronja Addams-Moring for T-110.501 autumn 2004
%  (netsec at tml dot hut dot fi)
% Edited by Sami Vaarala for T-110.452 spring 2005
% Edited by Sami Vaarala for T-110.5230 spring 2006

\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ps2005}[2005/01/18 HUT T-110.452 Special course in practical security of data systems]

% Basic stuff
\LoadClass[10pt,twocolumn,a4paper]{article}
\RequirePackage{times}
\RequirePackage[T1]{fontenc}
\RequirePackage[dvips]{graphicx}

% Adjust margins
\addtolength{\textwidth}{14mm}
\addtolength{\hoffset}{-7mm}
\addtolength{\textheight}{45mm}
\addtolength{\voffset}{-18mm}

% Abbreviated bibliography style
\bibliographystyle{abbrv}

% Set headers and footers (depending on "cameraready" option)
\RequirePackage{fancyhdr}
\newif\if@cameraready
\@camerareadyfalse
\DeclareOption{cameraready}{\@camerareadytrue}
\ProcessOptions

\pagestyle{fancyplain}
\addtolength{\headsep}{-10pt}
\fancyhead{}
\fancyfoot{}
\fancyhead[LO]{\fancyplain{}{HUT T-110.5230 Special Course in Practical Security of Information Systems}}
%\if@cameraready
%  \fancyhead[RO]{\fancyplain{}{Otaniemi, 7--8.12.2004}}
%\else
%  \fancyhead[RO]{\fancyplain{}
%                 {Draft {\number\day}.{\number\month}.{\number\year}}}
%  \fancyfoot[CO]{\thepage}
%\fi
\date{}

