% Draft template has a double line spacing in order to make the commenting
% of the text easier.
% You should comment this line right after the draft paper submission!
% Notice also that in order to get one page of text, you should write two 
% pages when using this format. The page limits of the course requirements 
%are given using the Final Paper template below (next declaration).
\documentclass{iwork2009}

% Final Paper template has a normal line spacing. Uncomment this line when
% you are writing Full paper and Final paper!
%\documentclass[cameraready]{iwork2009}

\begin{document}

%=========================================================

\title{Title of the paper}

\author{Teemu Teekkari\\
        Helsinki University of Technology \\
	\texttt{Teemu.Teekkari@hut.fi}}
\maketitle

%==========================================================

\begin{abstract}
  This Latex template can be used for typesetting
  the seminar papers for the Seminar on Internetworking.

\vspace{3mm}
\noindent KEYWORDS: 

\end{abstract}

%============================================================


\section{Introduction}


%============================================================

\section{Simple things first}

In this section, we give some simple examples of Latex mark-up.
Sec.~\ref{sec:emphasis} emphasizes important points and
Sec.~\ref{sec:math} gives examples of math formulas.
Finally, \ref{sec:list} demonstrates lists.


%------------------------------------------------------------


\subsection{Emphasizing text}
\label{sec:emphasis}

\textit{Italics} is a good way to emphasize printed text. However,
\textbf{boldface} looks better when converted to HTML.

Paragraphs are separated by an empty line in the Latex source code.
Latex puts extra space between sentences, which you must suppress
after a period that does not end a sentence, e.g.\ after this acronym.

Cross-references to figures (Fig.~\ref{fig:mypicture1}), tables
(Table~\ref{tab:mytable1}), other sections (Sec.~\ref{sec:math})
are easy to create. 


%------------------------------------------------------------


\subsection{Mathematics}
\label{sec:math}

In the mathematics mode, you can have subscripts such as $K_{master}$
and superscripts like $2^x$. Longer formulas may be put on a separate
line:
\[ \emptyset \in \emptyset \; \Rightarrow \; E \neq mc^2. \]

You may also want to number the formulas like Eqn.~\ref{eqn:myequation1}
below.
\begin{equation}\label{eqn:myequation1}
C = E_{K_{public}}(P) = P^e. \hspace{10mm}   P = D_{K_{private}}(C) = C^d.
\end{equation}



%------------------------------------------------------------


\subsection{Make a list}
\label{sec:list}

Lists can have either bullets or numbers on them. 

\begin{itemize}
\item one item
\item another item, which is an exceptionally long one for an item
  and consequently continues on the next line.
\end{itemize}

Lists can have several levels. Item~\ref{kukkuu} below contains
another list.
\begin{enumerate}
\item the fist item \label{kukkuu}
  \begin{enumerate}
  \item the first subitem 
  \item the second subitem
  \end{enumerate}
\item the second item
\end{enumerate}


%============================================================


\section{More complex stuff}

This section provides examples of more complex things.


%------------------------------------------------------------


\subsection{Data served on a table}


Table~\ref{tab:mytable1} presents some data in tabular form. 

\begin{table}[t]
  \begin{center}
    \begin{tabular}{|l|lr|}
    \hline
    Protocol & Year &  RFC \\
    \hline
    TCP      & 1981 &  793 \\
    ISAKMP   & 1998 & 2408 \\
    Photuris & 1999 & 2522 \\
    \hline
    \end{tabular}
    \caption{A table with some protocols}
    \label{tab:mytable1}
  \end{center}
\end{table}


%------------------------------------------------------------


\subsection{Adding references}
\label{sec:references}

Do not forget to give pointers to the literature. If you are listing
stuff related to your topic, you can give several references once
\cite{Com00,HTS03,Nik99}. However, usually you should give only one, for example the standard describing the stuff \cite{RFC2408} and if you want to directly use someone else's words, use both quotation marks and refer to the source, for example that ``the developer does not need to know all about the framework to develop a working implementation'' \cite{Suo98}. Remember also to mark references to your pictures if they are not created by your own mind!

If you plan to write with Latex regularly, create your own BibTeX
database and use BibTeX to typeset the bibliographies automatically.
In the long run, it will save you a lot of time and effort compared to
compiling reference lists by hand.


%------------------------------------------------------------


\subsection{Embedded pictures}
\label{sec:pictures}

Fig.~\ref{fig:mypicture1} is an embedded EPS picture. Other types of
pictures must be converted to EPS (embedded Postscript). You can draw EPS pictures using e.g. dia.

\begin{figure}[t]
  \begin{center}
    \includegraphics{mypicture1.eps}
    \caption{An embedded EPS picture}
    \label{fig:mypicture1}
  \end{center}
\end{figure}


%============================================================


\section{Yet another section title}


%============================================================


\section{Conclusion}


%============================================================

% List of references is created with bibtex.


\bibliography{bibtex_template}
\end{document}

