%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% PhML-2014.sty, Version 1.2, 09/12/2013
% Place this in a file called PhML-2014.sty in the TeX search path.
% (Placing it in the same directory as your paper should also work.)
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
\setlength{\paperwidth}{21.0cm}   % a4paper
\setlength{\paperheight}{29.7cm}  % a4paper
\setlength\topmargin{-0.5cm}
\setlength\oddsidemargin{0cm}
\setlength\textheight{24.7cm}
\setlength\textwidth{16.0cm}
\setlength\columnsep{0.6cm}
\setlength\headheight{5pt}
\setlength\headsep{0pt}
%
\def\authorfont{\normalfont\large\bfseries}
\def\affiliationfont{\centering\normalsize}
\def\figurecaptionfont{\footnotesize}
\def\tablefont{\footnotesize}
\def\tablecaptionfont{\footnotesize}
%
\def\@auafbuffer{}
\def\author#1{\expandafter\def\expandafter\@auafbuffer\expandafter
    {\@auafbuffer{\authorfont{{{#1}}}}\relax\par
    \vspace*{3pt}}}
%
\def\address#1{\expandafter\def\expandafter\@auafbuffer\expandafter
    {\@auafbuffer{\affiliationfont{#1}}\relax\par
    \vspace*{12pt}}}
%
\renewcommand\@maketitle{%
  \newpage
  \null
  \bigskip%
  \begin{center}%
  \let\footnote \thanks
  {\normalfont\LARGE\bfseries \@title \par}%
  \bigskip%
  \@auafbuffer\par
  \end{center}%
}
%
\def\addcontentsline#1#2#3{}
%
\renewcommand\abstractname{Abstract}
%
\def\abstractfont{\footnotesize}
%
\renewenvironment{abstract}{\par%
    \abstractfont%
    \noindent\leftskip0pt{\bfseries\abstractname\/:\ \ }\rightskip0pt}{%
    \par}%
%
\def\keywordsfont{\footnotesize}
%
\def\keywordsname{Keywords}
%
\def\keywords#1{\par%
    \vspace*{8pt}
    {\keywordsfont{\leftskip0pt\rightskip\leftskip
    \noindent{\bfseries\keywordsname}\/:\ \ #1\par}}
    \par}
\bigskip%
%
\renewcommand\section{\@startsection {section}{1}{\z@}
                            {-2.0ex plus -0.5ex minus -0.2ex}
                            {1.5ex plus 0.3ex minus 0.2ex}
                            {\normalfont\Large\bfseries}}
%
\renewcommand\subsection{\@startsection{subsection}{2}{\z@}
                              {-1.8ex plus -0.5ex minus -0.2ex}
                              {0.8ex plus 0.2ex}
                              {\normalfont\large\bfseries}}
%
\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}
                                 {-1.5ex plus -0.5ex minus -0.2ex}
                                 {0.5ex plus 0.2ex}
                                 {\normalfont\normalsize\bfseries}}
%
\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}
                             {1.5ex plus 0.5ex minus .2ex}
                             {-1em}
                             {\normalfont\normalsize\itshape}}
%
\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}
                                {1.5ex plus 0.5ex minus .2ex}
                                {-1em}
                                {\normalfont\normalsize\itshape}}
%
\def\@seccntformat#1{{\upshape{\csname the#1\endcsname.}}\hskip .5em}
%
\footnotesep 6.65pt %
\skip\footins 9pt plus 4pt minus 2pt
\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
\setcounter{footnote}{0}
%
\parindent 1em
\topsep 4pt plus 1pt minus 2pt
\partopsep 1pt plus 0.5pt minus 0.5pt
\itemsep 2pt plus 1pt minus 0.5pt
\parsep 2pt plus 1pt minus 0.5pt
\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt
%
\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
   \topsep 2pt plus 1pt minus 0.5pt
   \parsep 1pt plus 0.5pt minus 0.5pt
   \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
    \topsep 1pt plus 0.5pt minus 0.5pt
    \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
    \itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}
%
\abovedisplayskip 7pt plus2pt minus5pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip  0pt plus3pt%
\belowdisplayshortskip  4pt plus3pt minus3pt%
%
\def\@normalsize{\@setsize\normalsize{12pt}\xpt\@xpt}
\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
\def\footnotesize{\@setsize\footnotesize{11pt}\ixpt\@ixpt}
\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}
%
\hyphenation{acad-e-my acad-e-mies af-ter-thought anom-aly anom-alies
an-ti-deriv-a-tive an-tin-o-my an-tin-o-mies apoth-e-o-ses
apoth-e-o-sis ap-pen-dix ar-che-typ-al as-sign-a-ble as-sist-ant-ship
as-ymp-tot-ic asyn-chro-nous at-trib-uted at-trib-ut-able
bi-dif-fer-en-tial blue-print busier busiest
cat-a-stroph-ic cat-a-stroph-i-cally con-gress cross-hatched data-base
de-fin-i-tive de-riv-a-tive dis-trib-ute dri-ver dri-vers eco-nom-ics
econ-o-mist elit-ist equi-vari-ant ex-quis-ite ex-tra-or-di-nary
flow-chart for-mi-da-ble forth-right friv-o-lous ge-o-des-ic
ge-o-det-ic geo-met-ric griev-ance griev-ous griev-ous-ly
hexa-dec-i-mal ho-lo-no-my ho-mo-thetic ideals idio-syn-crasy
in-fin-ite-ly in-fin-i-tes-i-mal ir-rev-o-ca-ble key-stroke
lam-en-ta-ble light-weight mal-a-prop-ism man-u-script mar-gin-al
meta-bol-ic me-tab-o-lism meta-lan-guage me-trop-o-lis
met-ro-pol-i-tan mi-nut-est mol-e-cule mono-chrome mono-pole
mo-nop-oly mono-spline mo-not-o-nous mul-ti-fac-eted mul-ti-plic-able
non-euclid-ean non-iso-mor-phic non-smooth par-a-digm par-a-bol-ic
pa-rab-o-loid pa-ram-e-trize para-mount pen-ta-gon phe-nom-e-non
post-script pre-am-ble pro-ce-dur-al pro-hib-i-tive pro-hib-i-tive-ly
pseu-do-dif-fer-en-tial pseu-do-fi-nite pseu-do-nym qua-drat-ic
quad-ra-ture qua-si-smooth qua-si-sta-tion-ary qua-si-tri-an-gu-lar
quin-tes-sence quin-tes-sen-tial re-arrange-ment rec-tan-gle
ret-ri-bu-tion retro-fit retro-fit-ted right-eous right-eous-ness
ro-bot ro-bot-ics sched-ul-ing se-mes-ter semi-def-i-nite
semi-ho-mo-thet-ic set-up se-vere-ly side-step sov-er-eign spe-cious
spher-oid spher-oid-al star-tling star-tling-ly sta-tis-tics
sto-chas-tic straight-est strange-ness strat-a-gem strong-hold
sum-ma-ble symp-to-matic syn-chro-nous topo-graph-i-cal tra-vers-a-ble
tra-ver-sal tra-ver-sals treach-ery turn-around un-at-tached
un-err-ing-ly white-space wide-spread wing-spread wretch-ed
wretch-ed-ly Eng-lish Euler-ian Feb-ru-ary Gauss-ian
Hamil-ton-ian Her-mit-ian Jan-u-ary Japan-ese Kor-te-weg
Le-gendre Mar-kov-ian Noe-ther-ian No-vem-ber Rie-mann-ian Sep-tem-ber}
