%\documentclass[acmlarge]{acmart}
\documentclass[ijgi,article,submit,moreauthors,pdftex,10pt,a4paper]{mdpi} 
%\documentclass[journal,article,accept,moreauthors,pdftex,10pt,a4paper]{mdpi} 

%\usepackage{booktabs} % For formal tables

% correct bad hyphenation here
%\hyphenation{op-tical net-works semi-conduc-tor}

%\usepackage[ruled]{algorithm2e} % For algorithms
%\renewcommand{\algorithmcfname}{ALGORITHM}
%\SetAlFnt{\small}
%\SetAlCapFnt{\small}
%\SetAlCapNameFnt{\small}
%\SetAlCapHSkip{0pt}
%\IncMargin{-\parindent}

% Metadata Information
\firstpage{1} 
\makeatletter 
\setcounter{page}{\@firstpage} 
\makeatother 
\articlenumber{x}
\doinum{10.3390/------}
\pubvolume{xx}
\pubyear{2017}
\copyrightyear{2017}
\externaleditor{Academic Editor: name}
\history{Received: date; Accepted: date; Published: date}


\usepackage{color, colortbl}
%\usepackage{cite}
\usepackage{graphicx}
\usepackage{subcaption}
%\usepackage{subfigure}

\interdisplaylinepenalty=2500
\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage{eqparbox}

\usepackage{epstopdf}
%\usepackage{ulem}


%\setcounter{figure}{0}
%\renewcommand{\thefigure}{A\arabic{section}.\arabic{figure}}


% replacement for the SI package
\newcommand{\SI}[2]{\ensuremath{#1}\text{\,#2}}
\newcommand{\SIrange}[3]{\ensuremath{#1} to \ensuremath{#2}\text{\,#3}}

% units for the SI package
\newcommand{\centimeter}{cm}
\newcommand{\meter}{m}
\newcommand{\per}{/}
\newcommand{\milli}{m}
\newcommand{\second}{s}
\newcommand{\giga}{G}
\newcommand{\hertz}{Hz}
\newcommand{\dBm}{dBm}
\newcommand{\percent}{\%}
\newcommand{\decibel}{dB}
\newcommand{\dB}{dB}
\newcommand{\hpa}{hPa}
\newcommand{\degree}{\ensuremath{^{\circ}}}

% missing math operators
\DeclareMathOperator*{\argmin}{arg\,min}
\DeclareMathOperator*{\argmax}{arg\,max}


% vector and matrix typesetting
\renewcommand{\vec}[1]{\boldsymbol{#1}}			% italic and greek symbols
\newcommand{\mat}[1]{\vec{#1}}					% the same as vec


%other macros
\newcommand{\noStep}{\overline{\text{step}}}


% gfx include folder
\graphicspath{ {gfx/paths/},{gfx/},{gfx2/}}





% input stuff
\input{misc/keywords}
\input{misc/functions}


\Title{On \docWIFI{} Optimizations for Smartphone-based Indoor Localization}


% Authors, for the paper (add full first names)
\Author{Frank Ebner $^{1}$\orcidONE{}, Toni Fetzer $^{1}$\orcidTWO{}, Frank Deinzer $^{1}$ and Marcin Grzegorzek $^{2}$ }

% Authors, for metadata in PDF
\AuthorNames{Frank Ebner, Toni Fetzer, Frank Deinzer and Marcin Grzegorzek}

\keyword{indoor localization; smartphones; \docWIFI{}; IMU; sensor fusion; optimization}

% Author Orchid ID: enter ID or remove command
\orcidauthorONE{0000-0002-4698-8232} % Add \orcidONE{} behind the author's name
\orcidauthorTWO{0000-0002-8249-8783} % Add \orcidTWO{} behind the author's name


% Affiliations / Addresses (Add [1] after \address if there is only one affiliation.)
\address{%
$^{1}$ \quad University of Applied Sciences W\"urzburg-Schweinfurt - Faculty of Computer Science and Business Information Systems; frank.ebner@fhws.de, toni.fetzer@fhws.de, frank.deinzer@fhws.de\\
$^{2}$ \quad University of Siegen - Pattern Recognition Group; marcin.grzegorzek@uni-siegen.de}

% Contact information of the corresponding author
%\corres{Correspondence: e-mail@e-mail.com; Tel.: +x-xxx-xxx-xxxx}

\input{chapters/abstract}

\begin{document}

	\maketitle

	\input{chapters/introduction}

	\input{chapters/relatedwork}

	\input{chapters/system}

	\input{chapters/work}

	\input{chapters/experiments}

	\input{chapters/conclusion}

	%\bibliographystyle{ACM-Reference-Format}
	\externalbibliography{yes}
	\bibliography{egbib}

\end{document}


