\ProvidesPackage{icsh}

\usepackage{times}
\usepackage{indentfirst}

%setting the margins
%\usepackage{vmargin}
%\setpapersize{A4}
%\setmarginsrb{3.18cm}{3.18cm}{3.18cm}{3.18cm}{0cm}{0cm}{2em}{3em}
%\setmarginsrb{leftmargin}{topmargin}{rightmargin}{bottommargin}{headheight}{headsep}{footheight}{footskip}

\usepackage[a4paper,includehead,includefoot,left=3.18cm,right=3.18cm,top=3.18cm,bottom=3.18cm,headheight= 0mm,headsep=0mm,footnotesep=2ex]{geometry}

\renewcommand{\maketitle}{\begin{center}\textnormal{\textbf{\papertitle}}\\%
 \vspace{2.5ex}%
 \textnormal{\paperauthor}\\%
 \textit{\affiliation}\\%
 \textit{\email}
 \end{center}%
 \vspace{5ex}%
}

% redefinition of \section command (titlesec)
% note that \thesubsection includes section number
\usepackage{titlesec}
\titleformat{\section}{\bfseries \itshape}{\textup{\thesection.}}{1em}{}{}
\titleformat{\subsection}{\it}{\textup{\thesubsection.}}{1em}{}{}

%redefining the spacing before an after the (sub)section titles 
\titlespacing*{\section}{0pt}{2.5ex}{0ex}{}
\titlespacing*{\subsection}{0pt}{2.5ex}{0ex}{}

% pagestyle
\pagestyle{plain}
\thispagestyle{empty}

%customising the references
\usepackage{natbib}
\bibpunct[:]{(}{)}{,}{a}{}{;}
\bibliographystyle{icsh}
\renewcommand{\newblock}{.}

