\documentclass[a4paper,12pt]{article}

\usepackage[utf8]{inputenc}

%\usepackage[dvips]{graphicx}
\usepackage{graphicx}
\usepackage{amsmath}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{algorithmic}
\theoremstyle{definition}
\newtheorem{theorem}{Theorem}%[section]
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{problem}[theorem]{Problem}

\title{Reversing Permutations by Transpositions}
\author{Everybody}
%\institute{Department of Applied Mathematics, Charles University,\\
%Malostranské Náměstí 25, Prague, Czech Republic\\
\date{\today}

\def\St{\mathcal{S}}
\def\w{w}
\def\opt{\mathtt{opt}}
\def\c{\mathtt{c}}

\newcommand{\keywords}[1]{\par\addvspace\baselineskip\noindent\keywordname\enspace\ignorespaces#1}

\begin{document}

%\begin{abstract}
%Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aliquam tortor ante, lacinia vel, sagittis a, 
%aliquet a, orci. Donec tincidunt pharetra nibh. Aliquam erat volutpat. Nunc sagittis eros vitae libero. 
%Nunc neque erat, tempus vitae, malesuada quis, laoreet ut, mauris. Vestibulum adipiscing velit sit amet velit. 
%Vestibulum scelerisque. 
%
%Praesent suscipit. Vivamus diam elit, interdum sed, ullamcorper vel, viverra sit amet, 
%dolor. Curabitur auctor est. Ut fringilla neque et nibh. 
%\end{abstract}

%\keywords{reversing pormutations, others}

%%%%%%%%%%%%%%% MAIN TEXT
%\clearpage


% HONZA & ZUZKA
\input{intro}

% TOM
\input{summing}

% EVA
\input{decreasing}

%%%%%%%%%%%%%%%%%%%%%% BIBLIOGRAFIE

\begin{thebibliography}{AA99}
%\addcontentsline{toc}{section}{\numberline{}References}
\bibitem[Lo71]{mercedes} L. Lov\' asz: \emph{On the number of halving lines}, Ann. Univ. Sci. Budapest, E\H otv\H os, Sect. Math. 14:107--108, 1971.

\bibitem[Lo04]{lovasz1} L. Lovász, K. Vesztergombi, U. Wagner, E. Welzl: \emph{Convex quadrilaterals and k-sets}, Towards a Theory of Geometric Graphs, (J. Pach, Ed.), AMS Contemporary  Mathematics 342 (2004), 139–148.
\end{thebibliography}

\bibitem[Ni08]{nivasch} G. Nivasch: \emph{An improved, simple construction of many halving edges},
Surveys on Discrete and Computational Geometry: Twenty Years Later, Contemporary Mathematics 453, pp. 299.305, 2008.

\end{document}
