\documentclass[journal,article,submit,moreauthors,pdftex,10pt,a4paper]{mdpi} 

\firstpage{1} 
\makeatletter 
\setcounter{page}{\@firstpage} 
\makeatother
\pubvolume{xx}
\issuenum{1}
\articlenumber{1}
\pubyear{2018}
\copyrightyear{2018}
%\externaleditor{Academic Editor: name}
\history{Received: date; Accepted: date; Published: date}



\usepackage{color, colortbl}
\usepackage{graphicx}
\usepackage{subcaption}

\interdisplaylinepenalty=2500

\usepackage{array}
\usepackage{mdwmath}
\usepackage{mdwtab}
\usepackage{eqparbox}
\usepackage{epstopdf}
\usepackage{siunitx}
\usepackage{array}
\usepackage{multirow}

%\updates{yes} % If there is an update available, un-comment this line
 
\Title{Smartphone-based Indoor Localization within a 13th Century Historic Building}

% Author Orchid ID: enter ID or remove command
\newcommand{\orcidauthorA}{0000-0002-4698-8232} % Add \orcidA{} behind the author's name
\newcommand{\orcidauthorB}{0000-0002-8249-8783} % Add \orcidB{} behind the author's name
\newcommand{\orcidauthorC}{0000-0001-7213-1024} % Add \orcidC{} behind the author's name

% Authors, for the paper (add full first names)
\Author{Toni Fetzer$^{1,*}$\orcidB{}, Frank Ebner$^{1}$\orcidA{}, Markus Bullmann$^{1}$\orcidC{}, Frank Deinzer$^{1}$ and Marcin Grzegorzek$^{2}$}

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

\keyword{indoor localization; Wi-Fi; PDR; sensor fusion; smartphone; particle filter; sample impoverishment; estimation; historic buildings; navigation mesh}

% 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; \textit{firstname.surname}@fhws.de\\
$^{2}$ \quad University of Siegen - Pattern Recognition Group; marcin.grzegorzek@uni-siegen.de}

% Contact information of the corresponding author
\corres{Correspondence: toni.fetzer@fhws.de}


% 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

% gfx include folder
%\graphicspath{{gfx/}}

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

% footnote hack for thanks
\newcommand{\blfootnote}[1]{%
  \begingroup
  \renewcommand\thefootnote{}\footnote{#1}%
  \addtocounter{footnote}{-1}%
  \endgroup
}


\graphicspath{{gfx/}{gfx/groundTruth/}{gfx/wifiOptGlobalFloor/}{gfx/errorOverTimeWalk3/}{gfx/estimationPath2/}{gfx/optimization/}{gfx/optimization/side/}{gfx/transEval/}}

\input{chapters/abstract}

\begin{document}

	\maketitle

	\input{chapters/introduction}

	\input{chapters/relatedwork}

	\input{chapters/system}

	\input{chapters/transition}

	\input{chapters/eval}

	\input{chapters/misc}

	\input{chapters/experiments}

	\input{chapters/conclusion}

	\externalbibliography{yes}
	\bibliography{egbib}

\end{document}

