%================   PTP-prep.sty   =================================
%
%                                       ver.0.7     March 25, 1996
%                                       ver.0.8    August 11, 1997
%
% based on JJAPBAS.sty for (C) Japanese Journal of Applied Pysics
%             Release 2.1, date : 9 September, '94
%
%=================================================================

\typeout{***** PTP preprint Style <<PTP-prep.sty>> ver.0.8 ****}

% 1in=25.4mm=72.27pt 1mm=2.85pt 1pt=0.35mm  
%%%%%%%% PTP propers %%%%%%%%%%
\def\tabularsize{\normalsize} 
\def\captionsize{\small}
\def\refsize{\normalsize}
\def\hruleheight{0.5pt} % for \arrayrulewidth and rule for footnote
\doublerulesep 2pt
\def\@eqnnum{{\rm (\theequation)\hspace{1em}}}

\def\@maketitle{\newpage
 \null
 \@ifundefined{@preprtnum}{}{\vskip -10pt%
  \hfill \parbox{\@preprtnumwidth}{\@preprtnum}\vskip 1em}
 \vskip 2em
 \begin{center}
 \def\hang{\par\hangindent=0pt\hangafter=1\noindent}
 {\Large\bf \hang \@title \par}
 \@ifundefined{@subtitle}{}%           %when subtitle exists
 {\par\vskip 6pt {\Large\it\hang \rule[.5ex]{1.7em}{\hruleheight}\ %
 \@subtitle\ \rule[.5ex]{1.7em}{\hruleheight}} \gdef\@subtitle{}}
 \vskip 1.8em 
 {\large \hang \@author \par}
 \@ifundefined{@inst}{}{\vskip .8em%
 \large\it \hang \@inst \gdef\@inst{}\par}
 \end{center}
 \par
 \@ifundefined{@abst}{}{%
 \vfill
\begin{center}
{\bf Abstract}\par\vskip .7em
\parbox[t]{0.94\textwidth}{\setlength{\parindent}{2em}%
 \@abst}
\end{center}
 \gdef\@abst{} 
 \vfill}
}
%----- PTP preprint options ---
\def\@secapp{\mathhexbox278}  %Section symbol used in Section title 
\def\@rm{\rm}                 %roman for the subsection number. 
    %if \def\@rm{}, it is printed in the same style as the subsection title 
\def\bgn@center{\begin{center}} \def\end@center{\end{center}}
    % centering the section title. If you don't like the centering, then put
    %\def\bgn@center{} \def\end@center{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\lineskip 1pt \normallineskip 1pt
\def\baselinestretch{1}

\def\@normalsize{\@setsize\normalsize{18pt}\xiipt\@xiipt
 \abovedisplayskip 12pt plus3pt minus7pt\belowdisplayskip \abovedisplayskip
 \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt minus3pt}
\def\small{\@setsize\small{15pt}\xipt\@xipt
 \abovedisplayskip 11pt plus3pt minus6pt\belowdisplayskip \abovedisplayskip
 \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt minus 3pt
 \def\@listi{\topsep=0pt %plus 2pt minus 2pt
 \parsep=0pt %plus 1pt minus 1pt
 \itemsep=0pt \parsep=0pt}}
\def\footnotesize{\@setsize\footnotesize{13pt}\xpt\@xpt
 \abovedisplayskip 10pt plus 2pt minus 5pt\belowdisplayskip \abovedisplayskip
 \abovedisplayshortskip \z@ plus 3pt\belowdisplayshortskip 6pt plus3pt minus3pt
 \def\@listi{\topsep=0pt %3pt plus 1pt minus 1pt
 \parsep=0pt %2pt plus 1pt minus 1pt
 \itemsep=0pt \parsep=0pt}}
\def\scriptsize{\@setsize\scriptsize{11pt}\viiipt\@viiipt}
\def\tiny{\@setsize\tiny{8.5pt}\vipt\@vipt}
\def\large{\@setsize\large{22pt}\xivpt\@xivpt}
\def\Large{\@setsize\Large{26pt}\xviipt\@xviipt}
\def\LARGE{\@setsize\LARGE{28pt}\xxpt\@xxpt}
\def\huge{\@setsize\huge{33pt}\xxvpt\@xxvpt}
\let\Huge=\huge
\normalsize 

%% 1in=25.4mm=72.27pt 1mm=2.85pt 1pt=0.35mm  

\oddsidemargin -1.1pt \evensidemargin -15.3pt
\marginparwidth 21mm \marginparsep 3mm
 \topmargin -30pt \headheight 12pt \headsep 25pt \topskip 12pt
 \footheight 12pt 
 \footskip 35pt

\textheight 226mm \textwidth 165mm \columnsep .5truecm  
\columnseprule 0pt

\footnotesep 7pt
\skip\footins 9pt plus 4pt minus 2pt
\floatsep 12pt plus 2pt minus 2pt \textfloatsep 20pt plus 2pt minus 4pt
\intextsep 12pt plus 2pt minus 2pt \@maxsep 20pt \dblfloatsep 12pt plus 2pt
minus 2pt \dbltextfloatsep 20pt plus 2pt minus 4pt \@dblmaxsep 20pt
\@fptop 0pt plus 1fil \@fpsep 8pt plus 2fil \@fpbot 0pt plus 1fil
\@dblfptop 0pt plus 1fil \@dblfpsep 8pt plus 2fil \@dblfpbot 0pt plus 1fil
\marginparpush 5pt

\parskip 0pt plus 1pt \parindent 1.5em 
\topsep 6pt plus 2pt minus 4pt
%\topsep 0pt plus 2pt minus 4pt
\partopsep 0pt %2pt plus 1pt minus 1pt 
\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301
\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty \@itempenalty
-\@lowpenalty



\def\section{\@startsection {section}{1}{\z@}
{3.6ex plus 1ex minus .2ex}{1.7ex plus .2ex}{\large}}
\def\subsection{\@startsection{subsection}{2}{\z@}
{2.5ex plus .5ex minus .2ex}{1ex plus .2ex}{\normalsize\it}}
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}
{2ex plus .5ex minus .2ex}{1ex plus .2ex}{\normalsize\it}}

%\def\section{\@startsection{section}{1}{\z@}
%{\sectbeforeskip}{\sectafterskip}{\normalsize\bf}}
%\def\subsection{\@startsection{subsection}{2}{\z@}
%{12truept}{.5pt plus -.5pt minus .5pt}
%{\normalsize\it}}
%\def\subsubsection{\@startsection{subsubsection}{3}{\z@}
%{.5pt plus -.5pt minus .5pt}{.5pt plus -.5pt minus -.5pt}
%{\normalsize\it}} 

%%%%%%%%%%%%%%%%%%%%%
\setcounter{secnumdepth}{3}

\leftmargini 2.5em
\leftmarginii 2.2em \leftmarginiii 1.87em \leftmarginiv 1.7em \leftmarginv 1em
\leftmarginvi 1em
\leftmargin\leftmargini
\labelwidth\leftmargini\advance\labelwidth-\labelsep
\labelsep .5em 
\parsep=0pt 
\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
 \labelwidth\leftmarginii\advance\labelwidth-\labelsep
 \topsep=0pt 
 \parsep=0pt 
 \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
 \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
 \topsep=0pt
 \parsep=0pt
\partopsep=0pt
 \itemsep=0pt \topsep=0pt}
\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}
