% Example for the WEWoRC 2005,2007 workshop
% Version 0.93, 2007-01-20
% For questions, please contact its author
% Christopher Wolf, ESAT-COSIC
% chris AT Christopher-Wolf DOT de 
% Christopher DOT Wolf AT esat DOT kuleuven DOT be

\documentclass[11pt]{article}
% Please do not include other packages without
% contacting the author - they may lead to problems
% when incorporating all files into one document
% the same goes for new commands: please do not add 
% them without first asking!
\usepackage{amsmath,amsfonts,amssymb,epsfig}
\usepackage{url}
\usepackage{fullpage}
\usepackage{ifthen}
\usepackage{graphics}


% Internal commands
\newcommand{\uniqueID}[1]{\label{#1}}
\renewcommand{\title}[1]{\begin{center}\Large#1\end{center}}
\renewcommand{\author}[1]{\begin{center}#1\end{center}}
\newcommand{\affiliation}[1]{\begin{center}#1\end{center}}
\newcommand{\affil}[1]{\ensuremath{^{#1}}}
\newcommand{\keywords}[1]{\\[0.5cm]\textbf{Keywords.} #1}
\newcommand{\newArticle}{
  \newpage
  \setcounter{section}{0}
  \setcounter{figure}{0}
  \setcounter{table}{0}
}

% predefined commands - may be used in the article
\renewcommand\figurename{\centering\footnotesize Figure}
\renewcommand\tablename{\centering\footnotesize Table}

\newcommand{\ie}{\emph{i.e.}}
\newcommand{\eg}{\emph{e.g.}}
\newcommand{\etAl}{\emph{et al.}}

% More mathematical notation
\newcommand{\Ff}{\ensuremath{\mathbb{F}}}
\newcommand{\Ee}{\ensuremath{\mathbb{E}}}
\newcommand{\Nn}{\ensuremath{\mathbb{N}}}
\newcommand{\Rr}{\ensuremath{\mathbb{R}}}
\newcommand{\Zz}{\ensuremath{\mathbb{Z}}}
\newcommand{\CP}{\ensuremath{\mathcal{P}}}
\newcommand{\MQ}{\ensuremath{\mathcal{MQ}}}
\newcommand{\MulQuad}{\ensuremath{\mathcal{M}}ulti\-vari\-ate \ensuremath{\mathcal{Q}}ua\-dra\-tic}
\newcommand{\NP}{\ensuremath{\mathcal{NP}}}
\newcommand{\eop}{\hspace*{\fill}$\Box$}

% Mathematical notation
\newtheorem{theorem}{\bf Theorem}[section]
\newtheorem{lemma}[theorem]{\bf Lemma}
\newtheorem{corollary}[theorem]{\bf Corollary}
\newtheorem{example}[theorem]{\sc Example}
\newtheorem{definition}[theorem]{\sc Definition}
\newtheorem{conjecture}[theorem]{\sc Conjecture}
\newenvironment{proof}{{\sc Proof.}}{\hspace*{\fill}$\Box$\par\vspace{4mm}}
\newenvironment{remark}{\textbf{Remark.}}{}

% Define your own commands here - but please ask the author of this
% document beforehand so there are no name-clashes with commands defined
% by other users. Names will be assigned on a ``first come, first served" basis

\begin{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% This is the first article
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Replace "yourArticle" with an ID chosen by you for your document.
% Please choose an ID which is unlikely to clash with the IDs of
% other documents, for example by including your name.
\uniqueID{Wolf:Example}

\title{Example for WEWoRC 2007}
\author{Christopher Wolf}
\index{Wolf, Christopher} % please one index command per author
\affiliation{
  ESAT-COSIC, K.U. Leuven, Belgium\\
  \url{http://www.esat.kuleuven.be/cosic/} \\
  \url{Christopher.Wolf@esat.kuleuven.be} \\
  or
  \url{chris@Christopher-Wolf.de}
}
\abstract{
  This document serves as an example on how to use the template for the WEWoRC 2007 workshop.
  In particular, it shows how to use tables, graphics, figures and the bibliography in this
  template. In this context, we also want to refer to the second article at the 
  last page.
}
\keywords{Introduction, \LaTeX, WEWoRC, Template}

\section{Introduction}

The source code of this example serves two purposes: first, it shall give a quick ``introduction" to \LaTeX
by example" and second it shall ensure that all documents submitted to WEWoRC follow the 
same style. That will make the conference records more readable and save us
time when producing the proceedings. Hence we kindly ask all participants to follow 
this example and use the template provided in the file \texttt{template.tex}. 

\section{Commands/style files}
There are several commands predefined which can be used in mathematical mode (top of the \LaTeX file).
All users can define their own commands --- assuming that they do not depend on a special version of LaTeX. 
But be carefully when including your own style file(s). 
First, this could have unexpected results on the overall layout of the conference proceedings. Second,
we might not have access to these style files --- and hence cannot compile your submission. 
Hence: please contact us first before including your own style files and be careful when defining
your own commands!

\section{\LaTeX}
Your file needs to compile with \LaTeX --- either in the original
\LaTeX-version or with PDF-\LaTeX. In Unix, the following commands should usually work:
\begin{enumerate}
  \item \texttt{pdflatex} \textit{filename}
  \item \texttt{latex} \textit{filename} \texttt{ ; dvipdf} \textit{filename}
  \item \texttt{latex} \textit{filename} \texttt{ ; dvips -pdf} \textit{filename}
\end{enumerate}

\section{Tables}
There are several ways of defining tables, as shown in the following examples.

\begin{table}[htb]
\caption{Example of a table without border}
  \label{wolf:tab:withoutBorder}
\begin{center}
  \begin{tabular}{l|l}
    \textbf{Name}   & \textbf{Institution} \\
    \hline
    Bugs Bunny      & Acme University \\
    Fred Flintstone & Stone Age School \\
    Donald Duck     & Disney Academy % the last \\ may be omitted
  \end{tabular}
\end{center}
\end{table}

In Table~\ref{wolf:tab:withoutBorder}, we used a very simple table,
without any centreing or border. Note that the caption is \emph{above}
the table. In Table~\ref{wolf:tab:withBorder}, we added a border.
Again, the caption is \emph{above} the table.

\begin{table}[htb]
  \caption{Example of a table with border}
  \label{wolf:tab:withBorder}
\begin{center}
  \begin{tabular}{|l|l|}
    \hline
    \textbf{Name}   & \textbf{Institution} \\
    \hline
    \hline
    Bugs Bunny      & Acme University \\
    \hline
    Fred Flintstone & Stone Age School \\
    \hline
    Donald Duck     & Disney Academy \\
    \hline
  \end{tabular}
\end{center}
\end{table}

\section{Labels}
For both tables, we used the \texttt{$\backslash$ref}
and the \texttt{$\backslash$label} command to avoid problems when
the numbering within your articles changes (\eg, when you added another section
or table).

\section{Graphics and Figures}

\subsection{Graphics}
Graphics can be included if they are in the PDF format, see the source
code of this text for an example. 
We have to make this a requirement as the final version of the 
conference record needs to be in PDF.

If you have your graphics in EPS, you need to convert them to PDF first:
we made some tests with EPS graphics, and neither pdflatex
nor a combination of latex and a conversion of the resulting dvi file to pdf yielded
any printable result when we started with graphics in the EPS format. 
Hence we can only accept submissions which supply their graphics in PDF. 
Nowadays, most programs support export to PDF. If not, there
is a Linux programme called \texttt{epstopdf} which can convert any given EPS file
to PDF. However, as this conversion may go wrong, we have to put it 
at the user's risk to perform this conversion. 

\begin{figure}[htb]
  \begin{center}
    \includegraphics[height=3cm]{kuleuven}
    \caption{The K.U.Leuven Logo as an Example Graphic}
    \label{wolf:fig:FigureExample}
  \end{center}
\end{figure}

In Fig.~\ref{wolf:fig:FigureExample}
you can see an example of a PDF graphic being included in this document.
Actually, we used first the EPS version of this graphic and then converted it to 
PDF, using the programme \texttt{epstopdf}. If all submissions contain
both the EPS \emph{and} the PDF version of all graphics, we can produce
both a PS and a PDF version of the conference records. If this is not the case,
the conference record will only be supplied in PDF.

More information about including PDF into \LaTeX \ and related
problems can be found at \texttt{http://www.2pi.info/latex/Includingeps.html}.

\subsection{Figures and Pictures}
As you see at the example for Fig.~\ref{wolf:fig:picture}, figures can have their
caption \emph{below} the picture. 
\begin{figure}[htb]
  \begin{center}
  \setlength{\unitlength}{0.5mm}
  \begin{picture}(210,100)(-10,10)
    \put(0,20){\vector(1,0){200}}
    \put(0,20){\vector(0,1){60}}

    %numbers at the y-axis
    \put(-2,40){\line(1,0){4}} \put(-12,38){\text{\footnotesize 40}}
    \put(-2,60){\line(1,0){4}} \put(-12,58){\text{\footnotesize 60}}
    \put(-20,85){\text{\footnotesize time}}
    \put(-21,75){($\log_n$)}

    %numbers at the x-axis
    \put(40,18){\line(0,1){4}}  \put(37,12){\text{\footnotesize 14}}
    \put(80,18){\line(0,1){4}}  \put(77,12){\text{\footnotesize 16}}
    \put(120,18){\line(0,1){4}} \put(117,12){\text{\footnotesize 18}}
    \put(160,18){\line(0,1){4}} \put(157,12){\text{\footnotesize 20}}
    \put(195,10){\text{\footnotesize $n$}}

    %values for our algorithm
    %\put(-1,19){\text{$\star$}} % --- zero-point for star
    \put(39,41){\text{$\star$}}   %  40,42
    \put(79,49){\text{$\star$}}   %  80,50
    \put(119,53){\text{$\star$}}  % 120,54
    \put(159,60){\text{$\star$}}  % 160,60

    %values for DDL03
    %\put(-1,19){\text{$\bullet$}}  % --- zero-point for bullet
    \put(39,41.58){\text{$\bullet$}}  %  40,42.58
    \put(79,50.58){\text{$\bullet$}}  %  80,51.58
    \put(119,60.01){\text{$\bullet$}}  % 120,61.01
    \put(159,70.04){\text{$\bullet$}}  % 160,71.04

  \end{picture}
  \caption{Example of a Figure with Picture}
  \label{wolf:fig:picture}
  \end{center}
\end{figure}
In most cases, you will draw your figures in some specialised
programme and then export it to PDF / EPS. However, for easy 
figures as the one shown in Fig.~\ref{wolf:fig:picture}, it may be easier
to use the \LaTeX\ picture environment. 

\section{Bibliography}
To keep the workload for compiling the final document 
low, we strongly suggest to include the bibliography into 
this file. If you use bibtex, you can get
valid bibliography entries from the corresponding \texttt{.bbl} file 
simply by copy-and-pasting. 
To keep the visible bibliography entries consistent throughout the conference
records, we suggest to use the \texttt{$\backslash$bibliographystyle\{alpha\}} command here.

People who do not want to use bibtex can find an example bibliography
at the end of this text. In a nutshell, you use two or three letters to identify
the author's last name / the authors' last names, followed by 
two digits to identify the year when the corresponding
article or book was published. To indicate that a text was written by more
than three authors, you use a plus ``+" after the name of the first two authors.

As for the usual labels we kindly
ask you to use identifiers which are unique to your text, \eg,
by adding the name of all authors of your submission at the beginning of the label.
An example of the bibliography can be found at the last page of this text.

\newpage

\section{Submission Length}
There are two different submissions:
long (3--5 pages) and short submissions (1--2 pages).

\paragraph{Long submissions}lead to a long talk. The length of a long talk depends
on the number of submissions received for WEWoRC, but you may expect \emph{30--45} minutes.
Long submissions may be up to 5 pages, \emph{including} bibliography and
eventually necessary appendixes.

\paragraph{Short submissions}lead to a short talk. The length of a short talk depends
on the number of submissions received for WEWoRC, but you may expect \emph{10--20} minutes.
Short submissions may be up to 2 pages, \emph{including} bibliography and
eventually necessary appendixes.

\section{Submission File Format}
Please put all files belonging to your submission into one ZIP (\texttt{.zip})
or GZIPped TAR (\texttt{.tgz} or \texttt{.tar.gz}) archive.
The archive MUST contain
\begin{itemize}
  \item \LaTeX-source of your submission
  \item All graphics in PDF
  \item PDF-version of your submission
\end{itemize}

\noindent

The archive MAY contain
\begin{itemize}
  \item Graphics in EPS
  \item PS-version of your submission
\end{itemize}
Submit it by eMail to the address available at the URLs
\begin{center}
\url{http://2007.weworc.org/} or \url{http://www.hgi.rub.de/weworc07/}
\end{center}
or through the link \texttt{Submission} provided at the WEWoRC homepage \url{http://www.weworc.org/}.

\textit{We want to thank you very much for using the provided template,
to following the instructions in this example and hope to see you at WEWoRC 2007!}

\subsection*{Acknowledgements}
We want to thank Thomas Herlea (COSIC) for helpful remarks.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% End of the first article
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Here goes the next article
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newArticle
\uniqueID{Hunter:Watcher}
\title{What Alice and Bob do between two papers}
\author{Alice Hunter\affil{*} and Bob Watcher\affil{\dagger}}
\index{Hunter, Alice} % please one index command per author
\index{Watcher, Bob}
\affiliation{
    \begin{tabular}{cc}
      \affil{*} Field University  & \affil{\dagger} Forest Institute \\
      Somewhere                   & Placeville \\
      Earth                       & Terra \\
    \end{tabular}
}
\abstract{
  In this text we give some short outline about the relationship between
  Alice and Bob --- in particular outside the well-documented world of cryptography.
}
\keywords{Alice, Bob, Relationship}

\section{Outline}
Since the famous paper of Diffie and Hellman \cite{wolf:en:Diffie:Hellman:76},
two characters appeared on the scene in cryptographic papers: Alice
and Bob. In the following years, they made it into a lot of papers
and it is clear at presence that there are many more to come. However,
some questions did not yet receive much attention within this cryptologic
community: what are Alice and Bob actually doing if they are \textbf{not}
in a paper? how do they spend their lives? how much do they \textit{really} trust each other?

\section{Questions}
In this paper, we are going to address these questions. In particular,
we show how cryptology affected their day-to-day life and take
their individual points of view on this matter into account.

\section{Conclusions}
All in all, it is fair to say that both of them go
along rather well --- and all the mistrust issues developed
in several papers are mostly exaggerated. However, both Bob
and Alice appreciate the fact that they have now some
backup-solutions in case they do start to mistrust each other.
And therefore, they are grateful that the cryptographic
community offers them their service and are very pleased
to keep appearing in papers --- together with Eve, Trent,
Peggy, Victor and all the others. However, their life is the
subject of ongoing research and will therefore not be addressed
in this paper.

\begin{thebibliography}{\hspace{1cm}}
    \bibitem[Al04]{wolf:en:Alice:04}
        Alice.
        \newblock {\em private communication}, 15$^\textrm{th}$ of March
        until 3$\textrm{rd}$ of June 2004.
    \bibitem[Bo02]{wolf:en:Bob:02}
        Bob.
        \newblock My life with Alice.
        \newblock {Field Agents' Publishing Company},
        December 2002.
    \bibitem[DH76]{wolf:en:Diffie:Hellman:76}
        Whitfield Diffie and Martin~E. Hellman.
        \newblock New directions in cryptography.
        \newblock {\em IEEE Transactions on Information Theory}, IT-22(6):644--654,
        November 1976.
\end{thebibliography}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% End of the second article
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\end{document}


