% The MFHS 2017 abstract template for LaTeX
% By D. Alveringh, d.alveringh@utwente.nl
% ----------------------------------------
% This template is just provided for your convenience, any bugs cannot be
% used as an excuse to deviate from the template instruction in the text. 
% Feel free to use the template for other conferences as well (MEMS, Transducers, etc.)
%
% Special thanks go to H. Droogendijk for his great initial template.
% And thanks to you for making your abstract using LaTeX and make 
% the least bad document system a bit more wider accepted.
%
% This is only the preamble, please use mfhs2017_paper_template_latex.tex for your document.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Documentclass
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\documentclass[twocolumn,11pt,a4paper]{article}
\pdfminorversion=4

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Declaring the used packages
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\usepackage[pdftex]{hyperref}
\usepackage{graphicx}
\usepackage{multicol}
\usepackage[font={small,it,raggedright}]{caption}
\usepackage[top=2.5cm,bottom=2.5cm,right=1.75cm,left=1.75cm]{geometry}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[font={small,it}]{subfig}
\usepackage{enumitem}
\usepackage{fancyhdr}
\usepackage{ifthen}
\setlist{nolistsep}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0pt} % No rule under the header
\cfoot{}\lfoot{}\rfoot{}\chead{}\lhead{}\rhead{}

%\usepackage{siunitx}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Some lengths
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\setlength{\columnsep}{0.5cm}
\setlength\parindent{0.6cm}
\setlength\abovecaptionskip{0.2cm}
\setlength\belowcaptionskip{0.2cm}
\setlength\floatsep{0cm}
\setlength\textfloatsep{0cm}
\setlength\intextsep{0cm}
\setlength\dbltextfloatsep{0cm}
\setlength\dblfloatsep{0cm}
\setlength\abovedisplayshortskip{0.2cm}
\setlength\belowdisplayshortskip{0.2cm}
\setlength\abovedisplayskip{0cm}
\setlength\belowdisplayskip{0cm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Properties for hyperref package
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\hypersetup{colorlinks=true}
\hypersetup{linkcolor=black}
\hypersetup{citecolor=black}
\hypersetup{filecolor=black}
\hypersetup{menucolor=black}
\hypersetup{urlcolor=black}
\hypersetup{bookmarksnumbered=true}
\hypersetup{bookmarksopen=true}
\hypersetup{bookmarksopenlevel=2}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Font definitions
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Times New Roman font properties
\renewcommand{\sfdefault}{phv}
\renewcommand{\rmdefault}{ptm}
\renewcommand{\ttdefault}{pcr}
\linespread{1.05}
\normalfont\selectfont

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Defining commands
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newcommand{\sectionfirst}[1]{
  	\noindent\textbf{\MakeUppercase{\fontsize{12}{14.4}\indent#1}}
	\addcontentsline{toc}{section}{#1}


}

\renewcommand{\section}[1]{
  	\textbf{\\\MakeUppercase{\fontsize{12}{14.4} \indent #1}}
	\addcontentsline{toc}{section}{#1}


}

\renewcommand{\subsection}[1]{
  	\textbf{\\{\fontsize{11}{13.2} \indent #1}}
	\addcontentsline{toc}{subsection}{#1}


}


% Some strange fixes here
\makeatletter
\newenvironment{mfhstable}
  {\def\@captype{table}}
  {}
\newenvironment{mfhsfigure}
  {\def\@captype{figure}}
  {}
\makeatother

\pagenumbering{gobble}


\newcommand{\ue}{\mathrm{e}}%
\newcommand{\ud}{\mathrm{d}}%


\newcommand\textbox[1]{%
  \parbox{.333\textwidth}{#1}%
}


% Convenient new commands
\newcommand{\mfhstitle}[1]{
	\vspace{-0.8\baselineskip}
	\begin{center}
  	\textbf{\MakeUppercase{\large #1}}
	\hypersetup{pdftitle={#1}}
	\end{center}
}
\newcommand{\mfhsauthor}[2]{
	\vspace{-0.8\baselineskip}
	\begin{center}
	\hypersetup{pdfauthor={#1}}
	\large #2
	\end{center}
}

\newcommand{\mfhstopic}[1] {
	\lhead{\ifthenelse{\value{page}=1}{#1}{}}
}
\newcommand{\mfhsposter}[1] {
	\chead{\ifthenelse{\value{page}=1}{#1}{}}
}


\makeatletter
\renewenvironment{thebibliography}[1]
     {\list{\@biblabel{\@arabic\c@enumiv}}%
           {\settowidth\labelwidth{\@biblabel{#1}}%
            \leftmargin\labelwidth
            \advance\leftmargin\labelsep
            \@openbib@code
            \usecounter{enumiv}%
            \let\p@enumiv\@empty
            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
      \sloppy
      \clubpenalty4000
      \@clubpenalty \clubpenalty
      \widowpenalty4000%
      \sfcode`\.\@m}
     {\def\@noitemerr
       {\@latex@warning{Empty `thebibliography' environment}}%
      \endlist}
\makeatother


