%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%%
%%% Master latex wrapper file for generated file mc-output.tex
%%%
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt,a4paper]{article}
\usepackage{amsfonts,latexsym}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\oddsidemargin  -0.5in
\evensidemargin -0.5in
\textwidth      7.5in
\headheight     -0.7in
\topmargin      -0.5cm
\textheight=10.5in
\footskip 0 in
\parskip 0.10in
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

%%% Print no page numbers
\pagestyle{empty}

%%% No global header. This macro is called once at the beginning of the
%%% batch of tests.
\newcommand{\mcglobalheader}{
}

%%% Print this on each test, before the questions
\newcommand{\mcpaperheader}{
\ \\
Serial Number: {\bf\Large \mcserialnumber}, Answers: 1: 2: 3: 4: 5: 6: 7: 8: 9: \\
Name:

\begin{center}
{\sc University of Crete -- Department of Mathematics -- Discrete Mathematics I}\\
\ \\
Final examination
\end{center}
}

%%% Print this on each test, after the questions
\newcommand{\mcpaperfooter}{

\hrulefill

\noindent
{\small
The examination lasts 2 hours and all books are closed.
Return only this paper with your answers.
Record the serial number of your paper and
your answers on a piece of paper and keep it.
Wrong answers reduce your score.
Not answering a question counts as 0.
There is precisely one correct answer per question.

\noindent
Instructor: Mihalis Kolountzakis\hfill Iraklio, 7 February 2004

\centerline{\bf RETURN THIS PAPER!}
}

%%% use two \newpage commands if you're printing a single page document on a duplex printer
\newpage
}

%%% Print this before each question
\newcommand{\mcquestionheader}{{\bf Question \mcquestionnumber}: }

%%% Print this after each question
\newcommand{\mcquestionfooter}{}

%%% Now read in the actual tests
\input mc-output.tex

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%
%%%
%%% End of wrapper file
%%%
%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
