%%%%%%%%%%%%%%%%%%%% author.tex %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% sample root file for your "contribution" to a contributed volume
%
% Use this file as a template for your own input.
%
%%%%%%%%%%%%%%%% Springer %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


% RECOMMENDED %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[graybox]{svmult}

% choose options for [] as required from the list
% in the Reference Guide

\usepackage{mathptmx}       % selects Times Roman as basic font
\usepackage{helvet}         % selects Helvetica as sans-serif font
\usepackage{courier}        % selects Courier as typewriter font
\usepackage{type1cm}        % activate if the above 3 fonts are
                            % not available on your system
%
\usepackage{makeidx}         % allows index generation
\usepackage{graphicx}        % standard LaTeX graphics tool
                             % when including figure files
\usepackage{multicol}        % used for the two-column index
\usepackage[bottom]{footmisc}% places footnotes at page bottom

% see the list of further useful packages
% in the Reference Guide

\usepackage{listings}
\usepackage{color}
\definecolor{lightgray}{rgb}{.9,.9,.9}
\definecolor{darkgray}{rgb}{.4,.4,.4}
\definecolor{purple}{rgb}{0.65, 0.12, 0.82}

\lstdefinelanguage{JavaScript}{
  keywords={typeof, new, true, false, catch, function, return, null, catch, switch, var, if, in, while, do, else, case, break},
  keywordstyle=\color{blue}\bfseries,
  ndkeywords={class, export, boolean, throw, implements, import, this},
  ndkeywordstyle=\color{darkgray}\bfseries,
  identifierstyle=\color{black},
  sensitive=false,
  comment=[l]{//},
  morecomment=[s]{/*}{*/},
  commentstyle=\color{purple}\ttfamily,
  stringstyle=\color{red}\ttfamily,
  morestring=[b]',
  morestring=[b]"
}

\lstset{
   language=JavaScript,
   backgroundcolor=\color{lightgray},
   extendedchars=true,
   basicstyle=\footnotesize\ttfamily,
   showstringspaces=false,
   showspaces=false,
   numbers=none,
   numberstyle=\footnotesize,
   numbersep=9pt,
   tabsize=2,
   breaklines=true,
   showtabs=false,
   captionpos=b
}



\makeindex             % used for the subject index
                       % please use the style svind.ist with
                       % your makeindex program

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\title*{Media Synchronization on the Web}
% Use \titlerunning{Short Title} for an abbreviated version of
% your contribution title if the original one is too long
\author{Ingar M. Arntzen, Nj{\aa}l T. Borch and Fran\c{c}ois Daoust}
% Use \authorrunning{Short Title} for an abbreviated version of
% your contribution title if the original one is too long
\institute{Ingar M. Arntzen \at Norut Northern Research Institute, Troms{\o}, Norway \email{ingar.arntzen@norut.no}
\and Nj{\aa}l T. Borch \at Norut Northern Research Institute, Troms{\o}, Norway \email{njaal.borch@norut.no}
\and Fran\c{c}ois Daoust \at World Wide Web Consortium (W3C), Paris, France \email{fd@w3.org}}

\maketitle

% abstract
\abstract{
\input{src/abstract}
}

% introduction
\section{Introduction}
\label{sec:intro}
\input{src/intro}

% abbreviations
\section{Abbreviations}
\label{sec:abbr}
\input{src/abbr}

% terminology
\section{Terminology}
\label{sec:terms}
\input{src/terms}

% media synchronization
\section{Media Synchronization}
\label{sec:mediasync}
\input{src/mediasync}

% motion model
\section{The Motion Model}
\label{sec:model}
\input{src/model}

% key properties
\section{Key properties}
\label{sec:properties}
\input{src/properties}

% state of the Web
\section{State of the Web}
\label{sec:web}
\input{src/web}


% motion
\section{Motion}
\label{sec:motion}
\input{src/motion}

% motion sync
\section{Motion Synchronization}
\label{sec:motionsync}
\input{src/motionsync}

% component sync
\section{Component Synchronization}
\label{sec:compsync}
\input{src/compsync}

% evaluation
\section{Evaluation}
\label{sec:eval}
\input{src/eval}

% standardization
\section{Standardization}
\label{sec:standard}
\input{src/standard}

% conclusions
\section{Conclusions}
\label{sec:concl}
\input{src/concl}

% references
\bibliographystyle{spmpsci}
\bibliography{chapter} 

\end{document}
