summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ptptex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/ptptex
Initial commit
Diffstat (limited to 'macros/latex/contrib/ptptex')
-rw-r--r--macros/latex/contrib/ptptex/README6
l---------macros/latex/contrib/ptptex/cite.sty1
-rw-r--r--macros/latex/contrib/ptptex/manptp.pdfbin0 -> 207818 bytes
-rw-r--r--macros/latex/contrib/ptptex/manptp.tex919
l---------macros/latex/contrib/ptptex/overcite.sty1
-rw-r--r--macros/latex/contrib/ptptex/ptp-prep.clo128
-rw-r--r--macros/latex/contrib/ptptex/ptptex.cls897
-rw-r--r--macros/latex/contrib/ptptex/template.tex121
l---------macros/latex/contrib/ptptex/wrapfig.sty1
-rw-r--r--macros/latex/contrib/ptptex/wrapft.sty35
10 files changed, 2109 insertions, 0 deletions
diff --git a/macros/latex/contrib/ptptex/README b/macros/latex/contrib/ptptex/README
new file mode 100644
index 0000000000..cba45d051f
--- /dev/null
+++ b/macros/latex/contrib/ptptex/README
@@ -0,0 +1,6 @@
+Macros for 'Progress of Theoretical Physics'.
+
+Includes a template, and a class option file for preprints. Requires the
+cite, overcite, and wrapfig packages.
+
+License: LPPL \ No newline at end of file
diff --git a/macros/latex/contrib/ptptex/cite.sty b/macros/latex/contrib/ptptex/cite.sty
new file mode 120000
index 0000000000..4d321579f1
--- /dev/null
+++ b/macros/latex/contrib/ptptex/cite.sty
@@ -0,0 +1 @@
+../cite/cite.sty \ No newline at end of file
diff --git a/macros/latex/contrib/ptptex/manptp.pdf b/macros/latex/contrib/ptptex/manptp.pdf
new file mode 100644
index 0000000000..824c00f3d0
--- /dev/null
+++ b/macros/latex/contrib/ptptex/manptp.pdf
Binary files differ
diff --git a/macros/latex/contrib/ptptex/manptp.tex b/macros/latex/contrib/ptptex/manptp.tex
new file mode 100644
index 0000000000..71aadc596e
--- /dev/null
+++ b/macros/latex/contrib/ptptex/manptp.tex
@@ -0,0 +1,919 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%% template.tex for PTPTeX.cls <ver.0.91> %%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentclass[seceq]{ptptex}
+
+%\documentclass[letter]{ptptex}
+%\documentclass[seceq,supplement]{ptptex}
+%\documentclass[seceq,addenda]{ptptex}
+%\documentclass[seceq,errata]{ptptex}
+%\documentclass[seceq,preprint]{ptptex}
+%\usepackage{graphicx}
+
+\usepackage{wrapft}
+
+%%%%% Personal Macros %%%%%%%%%%%%%%%%%%%
+
+\def\BS{\ttfamily \symbol{"5C}} %backslash
+\def\itPTP{{\slshape Progress of Theoretical Physics}} %backslash
+\def\ttmac#1{{\ttfamily \BS #1}}
+\def\boxmac#1{\fbox{\ttmac{#1}}}
+\def\boxenv#1{\fbox{\ttfamily #1}}
+\def\asp{.3em}
+\def\bsp{.3em}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\pubinfo{Vol.~120, No.~5, November 2008}%Editorial Office will fill
+%\setcounter{page}{} %Editorial Office use
+%\def\ptype{p} %Editorial Office use
+%\def\ptpsubject{} %Editorial Office use
+%\def\pageinfo{X-X} %Editorial Office use
+%------------------------------------------------------------
+%\nofigureboxrule%to eliminate the rule of \figurebox
+%\notypesetlogo %comment in if to eliminate PTPTeX logo
+%\subfontMBF %use if you have not enough fonts when using mbf.sty
+%---- When [preprint] you can put preprint number at top right corner.
+%\preprintnumber[3cm]{%<-- [..]: optional width of preprint # column.
+%KUNS-1325\\PTPTeX ver.0.9\\ August, 1997}
+%-------------------------------------------
+
+\markboth{% %running head for even-page (authors' name)
+S.-I.~Tomonaga and H.~Yukawa
+}{% %running head for odd-page (`short' title)
+Instruction for Making \LaTeX\ Compuscripts Using \protect\PTPTeX}
+
+\title{% %You can use \\ for explicit line-break.
+Instruction for Making \LaTeX\ Compuscripts Using \PTPTeX
+}
+\subtitle{\LaTeXe\ Version} %Use this when you want a subtitle.
+
+\author{% %Use \scshape for the family name.
+Shin-Ichiro \textsc{Tomonaga}$^{1,}$\footnote{A friend of Schwinger,
+because they both have `swing' in their names.}
+and Hideki \textsc{Yukawa}$^{2,}$\footnote{A friend of Fermi and
+Bose. E-mail: yukawa@yukawa.kyoto-u.ac.jp}
+}
+
+\inst{% %Affiliation, neglected when [addenda] or [errata].
+$^1$Physics Department, Tokyo Bunrika University, Tokyo 113-1234, Japan\\
+$^2$Yukawa Institute for Theoretical Physics, Kyoto University,\\
+Kyoto 606-8502, Japan
+}
+
+%\publishedin{% %Write this ONLY in cases of [addenda] and [errata].
+%Prog.~Theor.~Phys.\ {\bfseries XX} (19YY), page}
+
+\recdate{% %Editorial Office will fill in this.
+April 1, 2004; revised November 20, 2008}
+
+\abst{% %This abstract is neglected when [addenda] or [errata].
+This is a manual for making \LaTeX\ compuscripts for
+\itPTP\, using the \PTPTeX\ class file ``ptptex.cls.'' In particular,
+we explain some useful options, macros and environments that are
+specially prepared with ptptex.cls.
+The source file for this manual itself is designed to provide a template
+that can be used for writing compuscripts.
+}
+
+%\PTPindex{123, 456} %Input the subject index(es) of your paper,
+ %neglected when [supplement], [addenda] or [errata].
+% The list of Subject Index is available at
+% http://solution.dynacom.jp/cgi-bin/ptp/submission/subject_index.cgi
+
+\begin{document}
+\maketitle
+
+
+\section{Introduction}
+
+We presently print all articles in \itPTP\ (PTP) directly from
+\LaTeXe manuscripts using ptptex.cls.
+In this text, we explain how to use ptptex.cls.
+In \PTPTeX, all the usual \LaTeX\ commands can be used,
+and there are some additional options, macros and environments that are
+specially prepared. This manual explains the commands specific
+to \PTPTeX\ from \S2 on.
+
+\subsection{Submission}
+
+We started ``PTP Online Submission and Review System'' on September 1, 2008.
+All processes, from submission to review, is completely handled on the Web.
+This system makes it easier to submit papers and faster to review them.
+Authors can check the progress of review and also see the record of
+submissions.
+
+For ``PTP Online Submission and Review System'', please access the
+following URL:
+
+{\vskip \asp
+\begin{verbatim}
+ http://www2.yukawa.kyoto-u.ac.jp/~ptpwww/index.html
+\end{verbatim}\vskip\bsp}
+
+\vspace*{3mm}
+
+\subsection{How to obtain the \protect\PTPTeX\ style file}
+
+The \PTPTeX\ class file can be obtained from the
+following URL:
+
+{\vskip \asp \baselineskip 1.5em
+\begin{verbatim}
+ http://www2.yukawa.kyoto-u.ac.jp/~ptpwww/ptpcls.html
+\end{verbatim}\vskip\bsp \baselineskip 1.5em}\noindent
+Please check this site occasionally to obtain the most recent version,
+as it is revised from time to time.
+
+\newpage
+
+The following files are obtained in the above site:
+\begin{center}
+\let\tabularsize\normalsize
+\begin{tabular}{lp{.7\textwidth}}
+1. manptp.tex & Source file for this manual.\\
+2. template.tex & Template for making a \PTPTeX\ compuscript.\\
+3. ptptex.cls & Main class file of \PTPTeX.\\
+4. ptp-prep.clo & Class option file for preprint style output.\\
+5. wrapft.sty & Macro for wrapfigure and wraptable environments. \\
+6. wrapfig.sty & (Macro called by wrapft.sty)\\
+7. overcite.sty & (Macro called by ptptex.cls)\\
+\end{tabular}\end{center}
+The macros 6 and 7 are style files attached to the standard
+\LaTeX\ systems. We include them here because using
+different versions together may cause unexpected output.
+
+The \PTPTeX\ class file takes as inputs the style files
+amsmath.sty and \linebreak
+amssymb.sty, which are included in
+the AMS-\LaTeX\ package.{\footnote{The amsmath.sty style
+file, in turn, reads in several other AMS-\LaTeX\ files.}}
+With these files input, AMS-\LaTeX\ commands, such as
+\boxmac{boldsymbol} (and including commands that produce
+special mathematical symbols) can be used. In the case that
+these style files are not found, an error message appears and
+compilation is suspended. Also, in the case that the \LaTeX\ 2.09
+version of amsmath.sty is input, an error results.{\footnote{The error
+message displayed in this case is {\tt ``Package amsfonts Warning:
+Obsolete command $\backslash$newsymbol;
+$\backslash$DeclareMathSymbol should be used instead $\cdots$''.}}
+ For the correct versions of these files, the \LaTeXe\ version of
+the AMS-\LaTeX\ package is necessary.
+
+
+\section{Style and preamble}
+
+When creating a compuscript using ptptex.cls,
+please make use of the \linebreak
+{\bfseries template.tex} file, which is prepared for users'
+convenience as a separate file. With this,
+it is easy to make your compuscript in ptptex.cls format.
+The default style of ptptex.cls is that for Regular
+Articles in {\slshape Progress of Theoretical Physics}.
+
+You can start your \LaTeX\ source file with the line
+{\vskip \asp \baselineskip 1.1em
+\begin{verbatim}
+ \documentclass{ptptex}
+\end{verbatim}
+or
+\begin{verbatim}
+ \documentclass[seceq]{ptptex}
+\end{verbatim}\vskip\bsp}
+\noindent
+Generally, a \LaTeX\ command appearing in square brackets
+{\ttfamily [ ]} is an ``optional argument" and can be omitted.
+The optional argument {\ttfamily [seceq]} in the second of the above
+command lines is a declaration
+to create equation numbers that include
+section numbers, like (2$\cdot$15). If this optional command is
+omitted, then the equation numbers will appear as a single sequence
+from the beginning to the end of the paper,
+like (1),\ (2),\ $\cdots$.
+
+In a usual \LaTeX\ {\ttfamily article.cls}, this first line is something like
+{\vskip \asp
+\begin{verbatim}
+ \documentclass[12pt]{article}
+\end{verbatim}\vskip\bsp}
+\noindent
+If such a command line is replaced by one of those given above, then
+the output automatically becomes of
+the Article form for {\sl Progress of Theoretical Physics}.
+Since ptptex.cls is designed to be as compatible with the usual
+\LaTeX\ \verb+article.cls+ as possible, a source file
+using \LaTeX\ \verb+article.cls+ can (probably) also be compiled with
+ptptex.cls.
+
+In case you wish for the output to be in ``preprint" form
+for private distribution, the file should begin with the line
+{\vskip \asp
+\begin{verbatim}
+ \documentclass[seceq,preprint]{ptptex}
+\end{verbatim}\vskip\bsp}
+\noindent
+
+If you are writing a Letter article, Supplement article, Addenda or
+Errata instead of a regular PTP article, please start with the
+appropriate one of the following:
+{\vskip \asp \baselineskip 1.1em
+\begin{verbatim}
+ \documentclass[letter]{ptptex}
+ \documentclass[seceq,supplement]{ptptex}
+ \documentclass[seceq,addenda]{ptptex}
+ \documentclass[seceq,errata]{ptptex}
+\end{verbatim}\vskip\bsp}
+\noindent
+
+The part of the source file from the first \verb+\documentclass+ line
+to the declaration line
+{\vskip \asp
+\begin{verbatim}
+ \begin{document}
+\end{verbatim}\vskip\bsp}
+\noindent
+is called the {\itshape preamble}. In the preamble there usually appear
+definitions of personal macros and style specifications.
+However, because style specifications are quite unnecessary
+(and even harmful) in \PTPTeX, please do not include them.
+In \PTPTeX, you should enter the appropriate information in the
+following items (within the brackets) in the preamble.
+You do not have to enter in ``\verb+\recdate{ }+}''.
+{\vskip \asp \baselineskip 1.1em
+\begin{verbatim}
+ \markboth{ }{ } : Running head [in the left { } appears the
+ author's name (or authors'names), and in
+ the right { } appears the paper's title]
+ \title{ } : Title of paper
+ \author{ } : Author's name (or authors' names)
+ \inst{ } : Institution (address)
+ \recdate{ } : Date received
+ \abst{ } : Abstract
+\end{verbatim}\vskip\bsp}
+\noindent
+An example of the above is given in {\ttfamily template.tex}.
+(Please beware of the fact that the commands appearing from \verb+\inst+ to
+\verb+\abst+ are macros particular to ptptex.cls.
+For this reason, if you compile a file containing these commands
+using \LaTeX\ \verb+article.cls+, you will get
+the error message\ `{\ttfamily !\,Undefined control sequence}'.)
+
+
+In the preamble of {\ttfamily template.tex}, the following
+commands also appear, but each is ``commented out" by the symbol
+{\ttfamily \%} appearing in front:
+\begin{center}\renewcommand\tabularsize{\normalsize}
+\begin{tabular}{lcl}
+ \verb+\notypesetlogo+ &:& Prevents appearance of
+ ``{\sffamily typeset using}\\
+&& {\sffamily \PTPTeX.cls}" in output file.\\
+ \verb+\publishedin{ }+
+&:& Vol/Year/Page of the paper about which \\
+&& Addenda or Errata is written.\\
+\end{tabular}
+\renewcommand\tabularsize{\normalsize}
+\begin{tabular}{lcl}
+ \verb+\preprintnumber[+{\itshape width}\verb+]{ }+ &:& To include
+ preprint numbers when manuscript \\
+&&is printed. Here [{\itshape width}] stipulates the width of \\
+&&the preprint number column. \\
+\end{tabular}
+\end{center}
+Use these commands (by deleting the preceding ``\,{\ttfamily \%}\,")
+when necessary. Their usage is made clear in
+the {\ttfamily template.tex}.
+
+In general, any packages to be used in compiling the manuscript are called
+in the preamble using the \verb+\usepackage+ command. However, such
+files as amsbsy.sty (which is necessary for a number of commands,
+including \verb+\boldsymbol+) are automatically input when
+{\ttfamily ptptex.cls} is used, and therefore there is no need for them to
+be called explicitly.
+
+\section{Equations}
+
+With the \LaTeXe\ version of \PTPTeX, the amsmath.sty style file is input
+automatically, and therefore all of the basic mathematical commands contained
+in AMS-\LaTeX\ can be used. Here we briefly explain two particularly
+useful such commands.
+
+\subsection{Mathematical italic bold}
+
+The \verb+\boldsymbol+ command is used to make
+math-bold (mathematical italic bold) fonts. Its use is demonstrated below:
+{\vskip \asp
+\begin{verbatim}
+ \boldsymbol{\alpha kx}
+\end{verbatim}
+\vskip\bsp}\noindent
+
+\subsection{Subequations}
+
+To number equations in a form like
+(3$\cdot$2a), (3$\cdot$2b), $\cdots$ in an array of equations,
+you can use the \boxenv{subequations} environment. Its usage is
+clear from the following simple example:
+%\vskip .5em
+\begin{center}
+\begin{minipage}[t]{6.5cm}
+\centerline{\bfseries Input}
+\vskip .4em
+\baselineskip 1.1em
+\begin{verbatim}
+\begin{subequations}
+ \label{eq:1}
+ An example of subequations:
+ \begin{equation}
+ \alpha + 2\beta + \gamma = 2
+ \label{eq:1a}
+ \end{equation}
+ Here is a sentence,
+ which can be of any length.
+ \begin{eqnarray}
+ \gamma &=& \nu (2-\eta) \\
+ \delta &=& \mu (1+\rho)
+ \end{eqnarray}
+\end{subequations}
+\end{verbatim}
+\end{minipage}
+\begin{minipage}[t]{.8cm}
+~\vspace{5.3\baselineskip}
+\begin{tabular}{c}
+$\Longrightarrow$ \\
+gives
+\end{tabular}
+\end{minipage}
+\hspace{.3cm}
+\begin{minipage}[t]{.4\textwidth}
+\centerline{\bfseries Output}
+\vskip 22pt
+\fbox{
+\begin{minipage}[t]{.95\textwidth}
+\begin{subequations}
+ \label{eq:1}
+ An example of subequations:
+ \begin{equation}
+ \alpha + 2\beta + \gamma = 2
+ \label{eq:1a}
+ \end{equation}
+ Here is a sentence, which can be of any length.
+ \begin{eqnarray}
+ \gamma &=& \nu (2-\eta) \hspace{4em} \\
+ \delta &=& \mu (1+\rho)
+ \end{eqnarray}
+\end{subequations}
+%\vskip 0em%\baselineskip
+\end{minipage}}
+\end{minipage}
+\end{center}
+\vskip 1em
+\noindent
+Here note that the command \verb+\label{eq:1}+ just after
+\verb+\begin{subequations}+ defines the label for the entire array,
+so that \verb+(\ref{eq:1})+ gives
+``(\ref{eq:1})", while \linebreak
+\verb+\label{eq:1a}+ refers to the first
+equation in the array, (\ref{eq:1a}).
+
+
+
+\section{References}
+
+References are cited using the \boxmac{cite} command. All references
+to be cited at the same point in the paper
+should be listed in a single series and separated by commas inside the
+curly brackets, as \verb+\cite{rf:1,rf:3,rf:4,rf:5}+.
+(There should be no space after any commas here. Such a space will
+be interpreted by \LaTeX\ as being part of the reference label.)
+When three or more consecutive reference numbers appear, as in this
+example, the numbers are automatically printed in a compressed
+format, like that at the end of this sentence.~\cite{rf:1,rf:3,rf:4,rf:5}
+In the case that all the references to be cited have consecutively
+numbered reference numbers, the following type of command can be used:
+\verb+\cite{rf:3}\tocite{rf:5}+. In this way, only the first and
+last reference numbers need to be included.
+The output obtained from this command is that appearing at the end of
+this sentence.\cite{rf:3}\tocite{rf:5}
+The \ \boxmac{citen} command can be used to obtain citation numbers:
+e.g., \verb+Ref.~\citen{rf:3}+ gives the output ``Ref.~\citen{rf:3}".
+
+\def\spacesymb{\raisebox{-1pt}[0pt][0pt]{$\sqcup$}}
+When you use the \ttmac{cite} command at the end of a sentence,
+it should \linebreak
+always appear {\itshape after a period, comma, colon or
+semicolon}, as follows: \verb+...some+ \linebreak
+ \verb+text.\cite{rf:5}+ \
+Then, between such a command and the next sentence (if the paragraph
+is continued), the command
+ \spacesymb{\ttfamily \BS}\spacesymb\ (where \spacesymb\ represents
+a space) should be included to give an
+appropriate space between sentences. For instance, typing
+{\vskip \asp \baselineskip 1.1em
+\begin{verbatim}
+ This is $\cdots$ something.\cite{rf:5} \ Therefore we can $\cdots$
+\end{verbatim}\vskip\bsp}\noindent
+the output becomes the following:
+This is $\cdots$ something.\cite{rf:5} \ Therefore we can $\cdots$
+
+The references are included at the end of the file by using the
+\boxenv{thebibliography} environment and \boxmac{bibitem} command,
+as usual. For example, the references at the end of this manual are
+input as follows:
+{\vskip \asp \baselineskip 1.1em
+\begin{verbatim}
+\begin{thebibliography}{99}
+ \bibitem{rf:1}
+ Leslie Lamport, \textit{LaTeX: A Document Preparation System}
+ (Addison-Wesley, New York, 1986).
+ \bibitem{rf:2}
+ S.~Weinberg, Phys.\ Rev.\ Lett.\ \textbf{19} (1967), 1264.
+ \bibitem{rf:3}
+ M.~Kobayashi and T.~Maskawa, \PTP{49,1973,652}.
+ \bibitem{rf:4}
+ D.~Gross and F.~Wilczek, \PRL{30,1973,1343}.\\
+ H.~D.~Politzer, \PRL{30,1973,1346}.
+ \bibitem{rf:5}
+ Y.~Nambu, Phys.\ Rev.\ \textbf{117} (1960), 648; \PRL{4,1960,380}.\\
+ G.~'t~Hooft, \NPB{33,1971,173}; \NPB{35,1971,167}.
+ \bibitem{rf:6}
+ E.~Witten, \JL{Adv.\ Theor.\ Math.\ Phys.,2,1998,253},
+ hep-th/9802150; hep-th/0112258; arXiv:0710.0631.
+ \bibitem{rf:7}
+ M.~Harada, Y.~Kikukawa, T.~Kugo and H.~Nakano, \PTP{92,1994,1161}
+ [Errata; \textbf{95} (1996), 835].
+\end{thebibliography}
+\end{verbatim}\vskip\bsp}
+\noindent
+Please input your bibitems following these examples
+in the PTP format. In particular, the volume numbers should be in
+boldface, ({\it{year}}) should be followed by a comma, and
+each item should end with a period. When
+two or more references by different authors are cited in a single item,
+as in {\ttfamily rf:4}, each reference should end with a period, and the
+next reference should be preceded by a line return, facilitated by the
+command {\ttfamily \BS\BS}. When two or more references by the same
+author are cited in a single item, as in {\ttfamily rf:5}, each
+should be separated by a semi-colon without a line return.
+For the proper format to be used in citing references from ``e-print
+arXiv,'' see {\ttfamily rf:6} as an example. In the case that a
+preprint reference of this type corresponds to a paper already
+published in a journal, whose reference appears before it, the two
+should be separated by a comma. In the case that such a preprint has
+not yet been published, if its reference appears after a reference for
+a paper published by the same author, the two references should be
+separated by a semi-colon. To make it easier to input bibitems
+following this PTP format, we prepared the macros
+\boxmac{JL}\ , \boxmac{andvol}\ , \boxmac{PRL}\ ,
+$\cdots$, which are used in {\ttfamily rf:3} -- {\ttfamily rf:7}.
+When referring to an errata, please follow the example of {\ttfamily rf:7}.
+
+Personal, custom-made macros cannot be used in the bibliography section.
+And also please do not use Bib\TeX.
+This is because in PTP Online (the online version of Progress of
+Theoretical Physics), we provide a hyperlink
+function that allows one to link from PTP papers to the online
+versions of the references listed in their bibliographies.
+Custom-made macros in the bibliography section and Bib\TeX\ may cause errors
+to arise in this process and make such linking impossible.
+If you wish to use macros in writing your bibliography, please use only
+the following macros, which are designed specifically for PTP:
+\begin{center}\renewcommand\tabularsize{\normalsize}
+\begin{tabular}{r@{}l@{ : }p{4cm}l@{ : }p{4cm}}
+ $\circ\ $ &\multicolumn{4}{@{}l}{for general use}\\
+ & \verb+\JL+ & general journals
+& \verb+\andvol+ & Vol.~(Year), Page\\
+$\circ\ $ &\multicolumn{4}{@{}l}{for individual journal}\\
+ & \verb+\AJ+ & Astrophys.~J. & \verb+\NC+ & Nuovo Cim. \\
+ & \verb+\ANN+ & Ann.~of Phys.
+ & \verb+\NPA+, \verb+\NPB+ & Nucl.~Phys.~[A, B] \\
+ & \verb+\CMP+ & Commun.~Math.~Phys.
+ & \verb+\PLA+, \verb+\PLB+ & Phys.~Lett.~[A, B] \\
+ & \verb+\IJMP+& Int.~J.~Mod.~Phys.
+ & \verb+\PRA+ -- \verb+\PRE+ & Phys.~Rev.~[A--E] \\
+ & \verb+\JHEP+& J.~High Energy Phys.
+ & \verb+\PRL+ & Phys.~Rev.~Lett. \\
+ & \verb+\JMP+ & J.~Math.~Phys. & \verb+\PRP+ & Phys.~Rep.\\
+ & \verb+\JP+ & J.~of Phys. & \verb+\PTP+ & Prog.~Theor.~Phys. \\
+ & \verb+\JPSJ+& J.~Phys.~Soc.~Jpn.
+ & \verb+\PTPS+&Prog.~Theor.~Phys.~Suppl. \\
+\end{tabular}
+\end{center}
+The above macros are defined such that the output of each line on the
+left below is that given
+to its right (with those macros not appearing below defined similarly):
+\begin{center}\renewcommand\tabularsize{\normalsize}
+\begin{tabular}{lcl}
+\verb+\PRD{45,1990,34}+ & $\Rightarrow$ &
+ \verb+Phys.\ Rev.\ D \textbf{45} (1990), 34+ \\
+\verb+\JL{Nature,418,2002,123}+ & $\Rightarrow$ &
+ \verb+Nature \textbf{418} (2002), 123+ \\
+\verb+\andvol{123,1995,1020}+ & $\Rightarrow$ &
+ \verb+\textbf{123} (1995), 1020+\\[1mm]
+\end{tabular}\end{center}
+Note that here again, no space should appear after commas separating
+volume, year and page numbers in the argument.
+
+
+\section{Figures}
+
+\subsection{PostScript (ps/eps) figure files}
+
+Figure files in the form of epsf (encapsulated PostScript files)
+are best suited for \PTPTeX\ manuscripts.
+To insert an epsf figure into the text, the file
+{\ttfamily graphicx.sty}\footnote{{\ttfamily graphicx.sty} is included
+in standard \LaTeX\ distributions} must be input. This can be
+accomplished by including the following line in the preamble of
+the manuscript source file:
+{\vskip \asp
+\begin{verbatim}
+ \usepackage{graphicx}
+\end{verbatim}\vskip\bsp}\noindent
+Then, at the point in the manuscript where you wish for the figure to begin,
+command lines like the following should be input:
+{\vskip \asp
+\begin{verbatim}
+ \begin{figure}
+ \centerline{\includegraphics[width=WIDTH cm,height=HEIGHT cm]
+ {FILENAME.eps}}
+ \caption{Explanation of the figure.}
+ \label{fig:1}
+ \end{figure}
+\end{verbatim}\vskip.4em}
+\noindent
+Here, {\ttfamily width=WIDTH cm} specifies the horizontal size
+and {\ttfamily height=HEIGHT cm} the vertical size.
+If one of these is omitted, the size is automatically set
+by making the ratio of the height and width of the figure the same as
+that of the original epsf figure. If both of them are omitted, the
+size defined in the epsf file is used. However, it is best not to omit
+both, because in this case an unexpected result can occur for some
+epsf files.
+
+If you wish to incorporate figures for which there only exist hard copies,
+the original figures should be mailed to the PTP editorial office separately.
+(They can be sent with other such correspondence, for example orders
+for reprints.)
+In this case, space for the figures in the \LaTeX\ source file should
+be created using the
+\boxmac{figurebox} command. The following demonstrates how this is done:
+{\vskip\asp
+\begin{verbatim}
+ \begin{figure}
+ \figurebox{WIDTH}{HEIGHT}
+ \caption{This is the caption.}
+ \label{fig:1}
+ \end{figure}
+\end{verbatim}\vskip\bsp}
+\noindent
+To delete the frame demarking this {\ttfamily figurebox},
+the command \boxmac{nofigureboxrule} should be added to the preamble. In
+{\ttfamily template.tex}, this command can be enabled by deleting the
+{\ttfamily \%} appearing before it.
+
+\subsection{Wrapfigure environment}
+
+\begin{wrapfigure}{r}{6.6cm}
+ \figurebox{60mm}{3cm}
+\caption{A figure created using the {\ttfamily wrapfigure} environment.}
+\label{fig:2}
+\end{wrapfigure}
+Narrow figures should be displayed with half text width. (The size
+ used here is 6.6cm, which is actually 4mm smaller than the true
+half text size, as it is necessary to include a space.)
+The \boxenv{wrapfigure} environment can be used for this purpose.
+We give an example of the \verb+wrapfigure+ in Fig.~\ref{fig:2}.
+It should be noted that the \verb+wrapfigure+ environment is not a
+floating environment; that is, the position of the figure in the
+manuscript corresponds to the place in the source
+file at which the \verb+\begin{wrapfigure}+ command appears, whether
+there is sufficient space for the figure or not.
+Please take care, therefore, when this environment is used
+near the beginning or end of a section, subsection or page. Also,
+it is best to incorporate figures using
+\verb+wrapfigure+ only when creating the final form of the source
+file, after no further changes in the text are to be made.
+
+The use of the wrapfigure environment is demonstrated by the following
+commands, which create Fig.~\ref{fig:2} and appear at the beginning of
+the previous paragraph in the source file of this manuscript:
+\begin{center}
+\begin{verbatim}
+ \begin{wrapfigure}{r}{6.6cm} % r: RIGHT, 6.6cm: WIDTH
+ \figurebox{60mm}{3cm}
+ \caption{A figure created using the {\ttfamily wrapfigure}
+ environment.}
+ \label{fig:2}
+ \end{wrapfigure}
+ Narrow figures should be displayed with half text width....
+\end{verbatim}
+\end{center}
+Also, note that \verb+\centerline{\includegraphics{FILENAME.eps}}+ can
+be used here in place of \verb+\figurebox+.
+
+To use the wrapfigure environment, {\ttfamily wrapft.sty} must be
+input. This can be done by including the following command in the preamble:
+{\vskip \asp
+\begin{verbatim}
+ \usepackage{wrapft}
+\end{verbatim}\vskip\bsp}\noindent
+The basic format of the \verb+wrapfigure+ environment is
+{\vskip \asp
+\begin{verbatim}
+ \begin{wrapfigure}[number]{position}{width}
+ <figure> etc.
+ \caption{ <caption> }
+ \end{wrapfigure}
+\end{verbatim}\vskip\bsp}
+\noindent
+Here the optional argument {\ttfamily [number]} specifies the number of
+text lines corresponding to the height of the figure. Since this is
+almost always calculated automatically with no problem, it is usually
+best to omit it. It should be explicitly included only when there is a
+special need to enforce a certain value for this number.
+(For instance, when a figure is placed at the bottom of a page, the
+text lines at the beginning of the next page can sometimes become
+narrow. This can be avoided by explicitly specifying the
+{\ttfamily [number]}.) \ The argument \verb+{width}+
+specifies the width of the space allocated for the
+figure (and the figure caption). PTP allows only half
+the text width for this size (7cm), for aesthetic reasons.
+For this reason, the argument
+input here must be \verb+{6.6cm}+ or \verb+{\halftext}+,
+which allots the proper space between the figure and the text.
+(The quantity \boxmac{halftext} is defined to be 0.471
+times {\ttfamily \BS textwidth}. This is 6.6cm for PTP text
+style.) The argument \verb+{position}+ is \verb+{r}+,
+which positions the figure on the right, or \verb+{l}+,
+which positions the figure on the left.
+(In PTP, half-size figures are placed on the right for odd pages
+and on the left for even pages.)
+
+If you are inserting a full-size figure and wish to specify its
+position exactly, instead of using the floating positioning of the
+usual \verb+figure+ environment,
+you can employ the wrapfigure environment
+and set the position as \verb+{c}+
+(center). In this case, the command line beginning the
+figure would be \verb+\begin{wrapfigure}{c}{width}+.
+With this command line, the figure is treated just as if
+the \verb+figure+ environment were used,
+except that it is positioned at the point in the manuscript
+corresponding to the position of this command line
+in the source file.
+The item \verb+{width}+ specifies the
+caption width in this case. In the place where
+``{\ttfamily <figure> etc.}" appears here,
+an epsf figure can be input (as in the example used to create
+Fig.~1) or a picture environment can be
+used, among other options.
+
+To position a figure at the beginning of a paragraph, as
+in the case of Fig.~\ref{fig:2}, place
+the commands for the \verb+wrapfigure+ environment before the
+beginning of the paragraph. If you wish to position a figure within
+a paragraph, this can be done manually. First, comment out the entire
+\verb+wrapfigure+ environment and compile the source file.
+Then, preview the manuscript and note the word that appears
+at the end of the line below which you wish to place the
+figure. Insert the entire \verb+wrapfigure+ environment
+directly after this word.
+
+If you would like to avoid all such complications, please simply
+include all the figures with the ordinary \verb+figure+ environment.
+The Editorial Office will make the appropriate changes.
+
+\subsection{Putting figures side by side}
+
+Using either the {\ttfamily figure} or {\ttfamily wrapfigure} environment,
+it is easy to position two or more figures in immediate succession vertically.
+To do this, simply repeat the {\ttfamily <figure>} part of the environment,
+making reference to the each of the figure files to be displayed.
+To include a separate caption for each such figure, the
+{\ttfamily \BS caption} part must also
+be repeated accordingly.
+
+It is not so simple to place two figures side by side. In fact
+there are several ways to do this. Below we demonstrate one, in which the
+{\ttfamily \BS parbox} command is used:
+\begin{verbatim}
+ \begin{figure}[htb]
+ \parbox{\halftext}{% %\def\halftext{.471\textwidth}
+ \figurebox{6cm}{2cm}
+ \caption{The first figure on the left.}}
+ \hfill
+ \parbox{\halftext}{
+ \figurebox{6cm}{2cm}
+ \caption{The second figure on the right.}}
+ \end{figure}
+\end{verbatim}
+This gives the following output:
+\begin{figure}[htb]
+ \parbox{\halftext}{\figurebox{6cm}{2cm}
+ \caption{The first figure on the left.}}
+ \hfill
+ \parbox{\halftext}{\figurebox{6cm}{2cm}
+ \caption{The second figure on the right.}}
+\end{figure}
+
+
+\section{Tables}
+
+\begin{wraptable}{r}{\halftext}
+\caption{An example of a small table created with
+ {\ttfamily \BS begin\{wraptable\}\{r\}\{\BS halftext\}}.}
+\label{table:1}
+\begin{center}
+\begin{tabular}{ccc} \hline \hline
+temperature & energy & specific heat \\ \hline
+0.1 & 0.24 & 2.46\\
+0.2 & 0.80 & 4.62\\
+0.3 & 1.11 & 3.27\\ \hline
+\end{tabular}
+\end{center}
+\end{wraptable}
+To make tables in \PTPTeX, the standard \LaTeX\ \verb+table+
+environment can be used.
+Here we give an example of a small table
+using the \boxenv{wraptable} environment in Table~\ref{table:1}.
+This environment is also supported by the {\ttfamily wrapft.sty} file,
+discussed above, and the format for this environment is quite similar
+to that for the \verb+wrapfigure+ environment. For tables in PTP the
+conventions are, as in this example, to put the caption above the
+table and to use a double line only at the top with the repeated
+commands {\ttfamily \BS hline\ \BS hline}. Please follow these
+conventions. Table~\ref{table:1} was created with the
+following:
+{\vskip.4em\baselineskip 1.1em
+\begin{verbatim}
+ \begin{wraptable}{r}{\halftext}
+ \caption{An example of small table created with
+ {\ttfamily \BS begin\{wraptable\}\{r\}\{\BS halftext\}}.}
+ \label{table:1}
+ \begin{center}
+ \begin{tabular}{ccc} \hline \hline
+ temperature & energy & specific heat \\ \hline
+ 0.1 & 0.24 & 2.46 \\
+ 0.2 & 0.80 & 4.62 \\
+ 0.3 & 1.11 & 3.27 \\ \hline
+ \end{tabular}
+ \end{center}
+ \end{wraptable}
+ To make tables in \PTPTeX, the standard \LaTeX\ .......
+\end{verbatim}\vskip.8em}
+
+
+The original \verb+tabular+ environment is rewritten in \PTPTeX\
+so as to make the font used in the table footnote size.
+If, however, you wish to use the usual text font in a table, please add
+the line %\verb+\let\tabularsize\normalsize+
+{\vskip \asp
+\begin{verbatim}
+ \let\tabularsize\normalsize
+\end{verbatim}\vskip.15em}
+\noindent
+after the \verb+\begin{wraptable}+ command to
+obtain normal size
+output. However, care must be taken to make sure that the size change
+only acts {\itshape locally}.
+
+\section{Comments}
+
+
+If you discover any bugs in {\ttfamily ptptex.cls} when using
+\PTPTeX, we would appreciate it if you would inform us. Please send
+any such correspondence to the following E-mail address:
+{\vskip \asp
+\begin{center}
+ {\ttfamily ptp@yukawa.kyoto-u.ac.jp}
+\end{center}\vskip\bsp}\noindent
+It would help us if you could make the title of the E-mail something like
+{\ttfamily ptptex.cls bug}.
+
+
+\section*{Acknowledgements}
+Acknowledgements in \PTPTeX\ can be written using the \LaTeX\ standard command
+\verb+\section*{Acknowledgements}+.
+
+Class files and manuals for JJAP and JPSJ were of great help to us in
+creating the \PTPTeX\ class file and writing this manual.
+We acknowledge the staff of JJAP and JPSJ for this help.
+At the end of our class file {\ttfamily ptptex.cls},
+we have included the free-ware
+package files {\ttfamily subeqn.sty} (created by Stephen Gildea) and
+{\ttfamily overcite.sty} (created by Donald Arseneau). Also,
+the file {\ttfamily wrapft.sty} is a modified version of the
+{\ttfamily wrapfig.sty} created by Donald Arseneau.
+We express our sincere thanks to these authors.
+
+\appendix
+\section{How to Make an Appendix}
+Appendices can be made using the standard \LaTeX\ commands as follows:
+{\vskip.4em\baselineskip 1.1em
+\begin{verbatim}
+ \appendix
+ \section{How to Make an Appendix}
+ ...
+ \section{Second Appendix}
+ ...
+\end{verbatim}\vskip.4em}
+\noindent
+If you make two or more appendices, the appendix numbers automatically
+become {\bfseries A}, {\bfseries B}, etc. In an appendix, equations become
+numbered as
+\begin{equation}
+S_q^z=\frac{1}{L}\sum_{j=1}^LS_j^ze^{iqj}.
+\end{equation}
+
+\section{Notes on Preparing Figures}
+When you make graphics files for figures to be used in \PTPTeX,
+please do so according to the following directions.
+\begin{itemize}
+\item Graphics files should be prepared in EPS (encapsulated
+PostScript) format.
+Files should be made using graphics software supporting the EPS format.
+The types of software we recommend include Adobe Illustrator, xfig,
+tgif, Mathematica and Maple.
+We do not accept files made with a ``printer driver."
+\item Fonts used in figures should be common PostScript fonts.
+Times-Roman, Helvetica, Courier and Symbol fonts can be used.
+\item Lines (solid, dotted, etc.) in figures must be thick and clear.
+Because the printer we use for publishing has very fine resolution,
+lines in original figures that are very pale or fine are reproduced
+faithfully (i.e.~very pale or fine), and for this reason, they may be
+undetectable.
+Specifically, be sure that line widths are 1pt or thicker.
+\item When colored figures are used in a manuscript, they are printed
+in monochrome (i.e.~black and white only). Meanwhile,
+colored figures in a pdf format of the paper in PTP Online are viewed
+in full color.
+Note that papers can be published in color, but in this case there
+is an additional fee.
+\item When preparing graphics files by scanning original figures, the
+scan setting should be ``monochrome (2bit),'' with a resolution of
+1200dpi if the original size is being used.
+If a scanned figure is being enlarged or reduced, the resolution used
+should be [magnification ratio] $\times$ 1200dpi.
+If a figure is to be printed as half the size (in a single dimension)
+of the original, the scanning resolution $1/2 \times 1200 = 600$dpi
+can be used.
+\end{itemize}
+
+\section{ }
+If you wish to make an appendix without a title, like this appendix,
+simply begin it with the command \verb+\section{}+, leaving the
+argument empty or blank. Even in this case, the
+appendix section counter is active, and equation numbers will reflect
+this, as seen in the following:
+\begin{equation}
+A=B.
+\end{equation}
+Making an appendix without a title is not recommended, except when
+there is only a single appendix.
+
+\begin{thebibliography}{99}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Some macros are available for the bibliography:
+% o for general use
+% \JL : general journals \andvol : Vol (Year) Page
+% o for individual journal
+% \AJ : Astrophys. J. \NC : Nuovo Cim.
+% \ANN : Ann. of Phys. \NPA, \NPB : Nucl. Phys. [A,B]
+% \CMP : Commun. Math. Phys. \PLA, \PLB : Phys. Lett. [A,B]
+% \IJMP : Int. J. Mod. Phys. \PRA - \PRE : Phys. Rev. [A-E]
+% \JHEP : J. High Energy Phys. \PRL : Phys. Rev. Lett.
+% \JMP : J. Math. Phys. \PRP : Phys. Rep.
+% \JP : J. of Phys. \PTP : Prog. Theor. Phys.
+% \JPSJ : J. Phys. Soc. Jpn. \PTPS : Prog. Theor. Phys. Suppl
+% Usage:
+% \PR{D45,1990,345} ==> Phys.~Rev.\ \textbf{D45} (1990), 345
+% \JL{Nature,418,2002,123} ==> Nature \textbf{418} (2002), 123
+% \andvol{B123,1995,1020} ==> \textbf{B123} (1995), 1020
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\bibitem{rf:1}
+ Leslie Lamport, \textit{LaTeX: A Document Preparation System}
+ (Addison-Wesley, New York, 1986).
+\bibitem{rf:2}
+ S.~Weinberg, Phys.\ Rev.\ Lett.\ \textbf{19} (1967), 1264.
+\bibitem{rf:3}
+ M.~Kobayashi and T.~Maskawa,
+ \PTP{49,1973,652}.
+\bibitem{rf:4}
+ D.~Gross and F.~Wilczek, \PRL{30,1973,1343}.\\
+ H.~D.~Politzer, \PRL{30,1973,1346}.
+ \bibitem{rf:5}
+ Y.~Nambu, Phys.\ Rev.\ \textbf{117} (1960), 648; \PRL{4,1960,380}.\\
+ G.~'t~Hooft, \NPB{33,1971,173}; \NPB{35,1971,167}.
+ \bibitem{rf:6}
+ E.~Witten, \JL{Adv.\ Theor.\ Math.\ Phys.,2,1998,253}, hep-th/9802150;
+ hep-th/0112258; arXiv:0710.0631.
+\bibitem{rf:7}
+ M.~Harada, Y.~Kikukawa, T.~Kugo and H.~Nakano, \PTP{92,1994,1161}
+ [Errata; \textbf{95} (1996), 835].
+\end{thebibliography}
+\end{document}
+
+
+
+
+
+
diff --git a/macros/latex/contrib/ptptex/overcite.sty b/macros/latex/contrib/ptptex/overcite.sty
new file mode 120000
index 0000000000..0cd85379ba
--- /dev/null
+++ b/macros/latex/contrib/ptptex/overcite.sty
@@ -0,0 +1 @@
+../cite/overcite.sty \ No newline at end of file
diff --git a/macros/latex/contrib/ptptex/ptp-prep.clo b/macros/latex/contrib/ptptex/ptp-prep.clo
new file mode 100644
index 0000000000..80d228cbd0
--- /dev/null
+++ b/macros/latex/contrib/ptptex/ptp-prep.clo
@@ -0,0 +1,128 @@
+\ProvidesFile{ptp-prep.clo}[2002/10/22 ver.0.88]
+\typeout{***** PTP Preprint Style <<PTP-prep.clo>> ver.0.88 *****}
+%%%%%%%% PTP propers %%%%%%%%%%
+\def\tabularsize{\normalsize}
+\def\captionsize{\small}
+\def\refsize{\normalsize}
+\def\hruleheight{0.5pt} %
+\doublerulesep 2pt
+
+\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}{}%
+ {\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}
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\normalsize{\@setsize\normalsize{18pt}\xiipt\@xiipt
+ \abovedisplayskip 12pt plus3pt minus7pt\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6.5pt plus3.5pt minus3pt}
+\normalfont \normalsize
+\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
+ \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
+ \parsep=0pt
+ \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
+
+\oddsidemargin -1.1pt \evensidemargin -15.3pt
+\marginparwidth 21mm \marginparsep 3mm
+ \topmargin -30pt \headheight 12pt \headsep 25pt \topskip 12pt
+ \footskip 35pt
+
+\textheight 226mm \textwidth 165mm \columnsep .5truecm
+
+\footnotesep 7pt
+
+\parskip 0pt plus 1pt \parindent 1.5em
+\topsep 6pt plus 2pt minus 4pt
+
+\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}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%\normalfont \normalsize%%%if something get wrong about these dimension settings, set this line available. It may due to `em' specifications.
+\leftmargini 2.5em
+\leftmargin\leftmargini
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+\def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+ \topsep=0pt
+ \parsep=0pt
+ \itemsep \parsep}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%
+\AtEndOfClass{%
+\typeout{-----Setting Option: preprint-----}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%----- PTP preprint options ---
+\def\@secapp{\mathhexbox278} %
+\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{}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewenvironment{thebibliography}[1]{%
+\def\@secapp{\secsymbol}%
+\section*{References}%
+\list{\arabic{enumi})}{\settowidth\labelwidth{#1)}
+\leftmargin\labelwidth \advance\leftmargin\parindent \advance\leftmargin\labelsep \usecounter{enumi}}
+ \newcommand\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}{\endlist}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand\maketitle{\par%
+ \begingroup%
+ \newpage%
+ \global\@topnum\z@ \@maketitle \thispagestyle{headings}\@thanks%
+ \endgroup%
+ \newpage%
+ \let\maketitle\relax%
+ \let\@maketitle\relax%
+ \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand\ps@headings{\let\@mkboth\markboth
+\renewcommand\@oddhead{}
+\renewcommand\@oddfoot{\hbox to \textwidth{\hfil\rmfamily\thepage\hfil%
+\makebox[0\p@][r]{\@typeset}}}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\pagestyle{plain}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+}
diff --git a/macros/latex/contrib/ptptex/ptptex.cls b/macros/latex/contrib/ptptex/ptptex.cls
new file mode 100644
index 0000000000..f954116e1e
--- /dev/null
+++ b/macros/latex/contrib/ptptex/ptptex.cls
@@ -0,0 +1,897 @@
+\ProvidesClass{ptptex}[2008/11/20 ver.0.91 LaTeX Class file for PTP]
+\newcommand{\@typeset}{\sffamily typeset using \PTPTeX.cls $\langle$Ver.0.9$\rangle$}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{paper}{%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\normalsize{\@setsize\normalsize{13.34\p@}\xipt\@xipt
+ \abovedisplayskip 10\p@ plus2\p@ minus5\p@\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip \z@ plus3\p@\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@}
+\normalfont \normalsize
+\let\pgn@size\normalsize
+\def\small{\@setsize\small{12\p@}\xpt\@xpt
+ \abovedisplayskip 10\p@ plus2\p@ minus5\p@\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip \z@ plus3\p@\belowdisplayshortskip 6\p@ plus3\p@ minus3\p@
+ \def\@listi{\topsep=\z@ plus 2\p@%
+ \itemsep=\z@\relax}}
+\def\footn@tesize{\@setsize\footnotesize{11.4\p@}\ixpt\@ixpt
+ \abovedisplayskip 6\p@ plus 2\p@ minus 4\p@\belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip \z@ plus 1\p@\belowdisplayshortskip 3\p@ plus 1\p@ minus 2\p@
+ \def\@listi{\topsep=\z@ plus 1\p@%
+ \itemsep=\z@\relax}}
+\def\footnotesize{\footn@tesize}
+\def\scriptsize{\@setsize\scriptsize{10\p@}\viiipt\@viiipt}
+\def\tiny{\@setsize\tiny{7.5\p@}\vipt\@vipt}
+\def\large{\@setsize\large{14\p@}\xiipt\@xiipt}
+\def\Large{\@setsize\Large{18\p@}\xivpt\@xivpt}
+\def\LARGE{\@setsize\LARGE{22\p@}\xviipt\@xviipt}
+\def\huge{\@setsize\huge{25\p@}\xxpt\@xxpt}
+\def\Huge{\@setsize\Huge{30\p@}\xxvpt\@xxvpt}
+
+\def\@abstwidth{370\p@}
+\def\abstsize{\@setsize\abstsize{10.2\p@}\ixpt\@ixpt}
+\def\instsize{\@setsize\instsize{13.34\p@}\xipt\@xipt}
+\def\tabularsize{\footnotesize}
+\def\captionsize{\footnotesize}
+\def\refsize{\abstsize}
+\def\hruleheight{0.4\p@}
+\doublerulesep 1.3\p@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\oddsidemargin 20\p@ \evensidemargin 20\p@
+\marginparwidth .75in \marginparsep .25in
+\topmargin \z@ \headheight 12\p@ \headsep 17\p@ \footskip 2\baselineskip
+\textheight 598\p@%
+\textwidth 400\p@%
+\columnsep 14\p@ \columnseprule \z@
+
+\parskip \z@ \parindent 20\p@
+\topsep \z@
+\partopsep \z@
+\itemsep \z@
+
+\footnotesep 7.7\p@
+
+\setlength\paperheight {297mm} \setlength\paperwidth {210mm}
+%%%\normalfont \normalsize%%%Be careful about `em' specifications.
+\leftmargini 2.2em
+\leftmarginii 2.2em
+\leftmarginiii 1.87em
+\leftmarginiv 1.7em
+\leftmarginv 1em
+\leftmarginvi 1em
+\leftmargin\leftmargini
+\labelsep .5em
+\labelwidth\leftmargini\advance\labelwidth-\labelsep
+\parsep=\z@
+\labelwidth\leftmargini \advance\labelwidth-\labelsep
+\def\@listi{\leftmargin\leftmargini}
+\def\@listii{\leftmargin\leftmarginii
+ \labelwidth\leftmarginii\advance\labelwidth-\labelsep
+ \topsep=4\p@
+ \parsep=\z@
+ \itemsep=2\p@}
+\def\@listiii{\leftmargin\leftmarginiii
+ \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
+ \topsep=\z@
+\partopsep=\z@
+ \itemsep=\z@ \topsep=\z@}
+\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}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@maketitle{\newpage%
+\null \vskip -13.45\p@%
+\def\hang{\par\hangindent=\z@\hangafter=1\noindent}%
+\centerline{\footnotesize%
+\@ifundefined{@pubinfo}{~~}{%
+Progress of Theoretical Physics, \@pubinfo%
+\gdef\@pubinfo{}}}%
+\par \vskip 12.3\p@%
+\begin{center}%
+{\large\bfseries\mathversion{bold} \hang \@title}%
+\@ifundefined{@subtitle}{}%
+{\par\vskip 5\p@ {\large\itshape\hang \rule[.5ex]{1.7em}{\hruleheight}\ %
+\@subtitle\ \rule[.5ex]{1.7em}{\hruleheight}} \gdef\@subtitle{}}%
+\par\vskip 12.3\p@%
+{\hang \@ifundefined{@author}{}{\@author}} \par\vskip 7.47\p@%
+\@ifundefined{@inst}{}%
+{\instsize\itshape \hang \@inst \gdef\@inst{}\par \vskip 11\p@}%
+\end{center}%
+\@ifundefined{@recdate}{}%
+{\hang{\footnotesize \begin{center}(Received \@recdate{})\end{center}}%
+\gdef\@recdate{}\par \vskip 5.75\p@}%
+\@ifundefined{@abst}{}%
+{\begingroup%
+\begin{center}%
+\parbox[t]{\@abstwidth}{\setlength{\parindent}{1.4em}%
+\abstsize \@abst}%
+\gdef\@abst{}\par%
+\end{center}%
+\endgroup%
+\vskip10\p@}
+\@ifundefined{@PTPindex}{}%
+{\hang{\hskip 15\p@ {\scriptsize{\sffamily Subject Index:} \@PTPindex{}}}%
+\gdef\@PTPindex{}\par \vskip 5.75\p@}%
+}
+%%%bibliography%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newenvironment{thebibliography}[1]{\vspace{-.1\baselineskip}\refsize
+\def\@secapp{\secsymbol}%
+\section*{\refsize References}\vspace{-.7\baselineskip}
+\list{\arabic{enumi})}{\settowidth\labelwidth{#1)}
+\leftmargin\labelwidth \advance\leftmargin\parindent \advance\leftmargin\labelsep \usecounter{enumi}}
+ \newcommand\newblock{\hskip .11em plus .33em minus .07em}
+ \sloppy\clubpenalty4000\widowpenalty4000
+ \sfcode`\.=1000\relax}{\endlist}
+%%%end bibliography%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{letter}{
+\typeout{-----Setting Option: letter-----}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@maketitle{\newpage%
+\null \vskip -13.45\p@%
+\def\hang{\par\hangindent=\z@\hangafter=1\noindent}%
+\centerline{\footnotesize%
+\@ifundefined{@pubinfo}{~~}%
+{Prog.~Theor.~Phys. \@pubinfo, Letters\gdef\@pubinfo{}}}%
+\par \vskip 12.3\p@%
+\begin{center}%
+{\large\bfseries\mathversion{bold} \hang \@title}%
+\@ifundefined{@subtitle}{}%
+{\par\vskip 5\p@ {\large\itshape\hang \rule[.5ex]{1.7em}{\hruleheight}\ %
+\@subtitle\ \rule[.5ex]{1.7em}{\hruleheight}} \gdef\@subtitle{}}%
+\par\vskip 12.3\p@%
+{\hang \@ifundefined{@author}{}{\@author}} \par\vskip 7.47\p@%
+\@ifundefined{@inst}{}%
+{\instsize\itshape \hang \@inst \gdef\@inst{}\par \vskip 11\p@}%
+\end{center}%
+\@ifundefined{@recdate}{}%
+{\hang{\footnotesize \begin{center}(Received \@recdate{})\end{center}}%
+\gdef\@recdate{}\par \vskip 5.75\p@}%
+\@ifundefined{@abst}{}%
+{\begingroup%
+\begin{center}%
+\parbox[t]{\@abstwidth}{\setlength{\parindent}{1.4em}%
+\abstsize \@abst}%
+\gdef\@abst{} \par%
+\end{center}%
+\endgroup%
+\vskip10\p@}%
+\@ifundefined{@PTPindex}{}%
+{\hang{\hskip 15\p@ {\scriptsize {\sffamily Subject Index:} \@PTPindex{}}}%
+\gdef\@PTPindex{}\par \vskip 5.75\p@}%
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewenvironment{thebibliography}[1]{\vspace{-.1\baselineskip}\refsize%
+\def\@secapp{\secsymbol}%
+\section*{\vbox{\hrule width 71pt height 7.2\p@ depth -7\p@}}
+\vspace{-.7\baselineskip}%
+\list{\arabic{enumi})}{\settowidth\labelwidth{#1)}%
+\leftmargin\labelwidth \advance\leftmargin\parindent \advance\leftmargin\labelsep \usecounter{enumi}}%
+ \newcommand\newblock{\hskip .11em plus .33em minus .07em}%
+ \sloppy\clubpenalty4000\widowpenalty4000%
+ \sfcode`\.=1000\relax}{\endlist}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtEndOfClass{%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand\pubinfo[1]{\gdef\@pubinfo{#1} \gdef\@letterinfo{\pubvolno<#1>} \gdef\@letterdate{\pubmonthyear<#1>}}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\ps@myheadings{\let\@mkboth\@gobbletwo%
+\def\@oddhead{\hbox to \textwidth{%
+\makebox[0\p@][l]{\footnotesize%
+\@ifundefined{@letterdate}{}{\@letterdate}}\hfil{\itshape Letters}\hfil%
+\makebox[0\p@][r]{\pgn@size\upshape\thepage}}}%
+\def\@evenhead{\hbox to \textwidth{\makebox[0\p@][l]{\pgn@size\upshape\thepage}%
+\hfil{\itshape Letters}\hfil\makebox[0\p@][r]{\footnotesize%
+\@ifundefined{@letterinfo}{}{\@letterinfo}}}}%
+\def\@oddfoot{}\def\@evenfoot{}%
+\let\sectionmark\@gobble\let\subsectionmark\@gobble}%
+\pagestyle{myheadings}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+}}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{supplement}{%
+\typeout{-----Setting Option: supplement-----}%
+\newcommand\@supple{Progress of Theoretical Physics Supplement }%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@maketitle{\newpage%
+\null \vskip -13.45\p@%
+\def\hang{\par\hangindent=0\p@\hangafter=1\noindent}%
+\vskip 18\p@%
+\begin{center}%
+{\large\bfseries\mathversion{bold} \hang \@title}%
+\@ifundefined{@subtitle}{}%
+{\par\vskip 5\p@ {\large\itshape\hang \rule[.5ex]{1.7em}{\hruleheight}\ %
+\@subtitle\ \rule[.5ex]{1.7em}{\hruleheight}} \gdef\@subtitle{}}%
+\par\vskip 12.3\p@%
+{\hang \@ifundefined{@author}{}{\@author}} \par\vskip 7.47\p@%
+\@ifundefined{@inst}{}%
+{\instsize\itshape \hang \@inst \gdef\@inst{}\par \vskip 11\p@}%
+\end{center}%
+\@ifundefined{@recdate}{}%
+{\hang{\footnotesize \begin{center}(Received \@recdate{})\end{center}}%
+\gdef\@recdate{}\par \vskip 5.75\p@}%
+\@ifundefined{@abst}{}%
+{\begingroup%
+\begin{center}%
+\parbox[t]{\@abstwidth}{\setlength{\parindent}{1.4em}%
+\abstsize \@abst}%
+\gdef\@abst{} \par%
+\end{center}%
+\endgroup%
+\vskip20\p@}}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtEndOfClass{%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\ps@headings{\let\@mkboth\markboth%
+\def\@oddhead{\hbox to \textwidth{\hfil{\footnotesize%
+\@supple\@ifundefined{@pubinfo}{}{\@pubinfo}}%
+\hfil\makebox[0\p@][r]{\pgn@size\upshape\thepage}}}%
+\def\@evenhead{\hbox to \textwidth{\makebox[0\p@][l]{\pgn@size\upshape\thepage}%
+\hfil{\footnotesize\@supple\@ifundefined{@pubinfo}{}{\@pubinfo}}%
+\hfil}}}%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+}}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{preprint}{\InputIfFileExists{ptp-prep.clo}{\typeout{-----Reading ptp-prep.clo-----}}%
+{\ClassError{PTPTeX}{This class file needs the file named ``ptp-prep.clo'' in case the option `preprint' is specified.}{Please ensure the file is exist in proper location.}}}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{addenda}{\newcommand\@addenda{Addenda}
+\typeout{-----Setting Option: addenda-----}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@maketitle{\newpage
+\null \vskip -13.45pt
+\def\hang{\par\hangindent=0pt\hangafter=1\noindent}
+\centerline{\Large\bf \@addenda}%
+\par \vskip 20pt
+\begin{center}
+{\bf \hang \@title}
+\@ifundefined{@subtitle}{}%
+{\par \vskip 2.5pt {\it\hang \rule[.5ex]{1.7em}{\hruleheight}\ %
+\@subtitle\ \rule[.5ex]{1.7em}{\hruleheight}} \gdef\@subtitle{}}
+\par\vskip 10pt
+{\hang \@author} \par\vskip 3pt%
+\@ifundefined{@publishedin}%
+{\immediate\write20{>Warning: <publishedin> is NOT defined!!}
+Write ``Prog.~Theor.~Phys.~Vol.~(Year), Page'' in
+{\tt $\backslash$publishedin}!!}
+{{\hang \@publishedin}\gdef\@publishedin{}}
+\par\vskip 15pt
+\@ifundefined{@recdate}{}
+{{\hang (Received \@recdate{})}
+\gdef\@recdate{}\par \vskip 5pt}
+\end{center}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtEndOfClass{%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\normalsize{\footn@tesize}\normalfont\normalsize
+\def\small{\@setsize\small{10\p@}\viiipt\@viiipt}
+\def\footnotesize{\@setsize\footnotesize{10\p@}\viiipt\@viiipt}
+\def\scriptsize{\@setsize\scriptsize{7.5\p@}\vipt\@vipt}
+\def\large{\@setsize\large{12.35\p@}\xpt\@xpt}
+\def\Large{\@setsize\Large{13.34\p@}\xipt\@xipt}
+\def\LARGE{\@setsize\LARGE{14\p@}\xiipt\@xiipt}
+\def\huge{\@setsize\huge{18\p@}\xivpt\@xivpt}
+\def\refsize{\@setsize\refsize{9.5\p@}\viiipt\@viiipt}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+}}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{errata}{\newcommand\@addenda{Errata}
+\typeout{-----Setting Option: errata-----}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@maketitle{\newpage
+\null \vskip -13.45pt
+\def\hang{\par\hangindent=0pt\hangafter=1\noindent}
+\centerline{\Large\bf \@addenda}%
+\par \vskip 20pt
+\begin{center}
+{\bf \hang \@title}
+\@ifundefined{@subtitle}{}%
+{\par \vskip 2.5pt {\it\hang \rule[.5ex]{1.7em}{\hruleheight}\ %
+\@subtitle\ \rule[.5ex]{1.7em}{\hruleheight}} \gdef\@subtitle{}}
+\par\vskip 10pt
+{\hang \@author} \par\vskip 3pt%
+\@ifundefined{@publishedin}%
+{\immediate\write20{>Warning: <publishedin> is NOT defined!!}
+Write ``Prog.~Theor.~Phys.~Vol.~(Year), Page'' in
+{\tt $\backslash$publishedin}!!}
+{{\hang \@publishedin}\gdef\@publishedin{}}
+\par\vskip 15pt
+\@ifundefined{@recdate}{}
+{{\hang (Received \@recdate{})}
+\gdef\@recdate{}\par \vskip 5pt}
+\end{center}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\AtEndOfClass{%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\normalsize{\footn@tesize}\normalfont\normalsize
+\def\small{\@setsize\small{10\p@}\viiipt\@viiipt}
+\def\footnotesize{\@setsize\footnotesize{10\p@}\viiipt\@viiipt}
+\def\scriptsize{\@setsize\scriptsize{7.5\p@}\vipt\@vipt}
+\def\large{\@setsize\large{12.35\p@}\xpt\@xpt}
+\def\Large{\@setsize\Large{13.34\p@}\xipt\@xipt}
+\def\LARGE{\@setsize\LARGE{14\p@}\xiipt\@xiipt}
+\def\huge{\@setsize\huge{18\p@}\xivpt\@xivpt}
+\def\refsize{\@setsize\refsize{9.5\p@}\viiipt\@viiipt}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Header: Other Page%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\ps@myheadings{\let\@mkboth\@gobbletwo
+\def\@oddhead{\hbox to \textwidth{\hfil%\itshape\rightmark\hfil
+\makebox[\z@][r]{\pgn@size\upshape\thepage}}}
+\def\@evenhead{\hbox to \textwidth{\makebox[\z@][l]{\pgn@size\upshape\thepage}%
+\hfil}}%\itshape\leftmark\hfil
+\def\@oddfoot{}\def\@evenfoot{}
+\let\sectionmark\@gobble\let\subsectionmark\@gobble}
+\pagestyle{myheadings}
+%%%end Header: Other Page%%%%%%%%%%%%%%%%%%%%%%%%%
+}}
+%%%-----------------------------------------------------------%%%
+\newif\if@ams \@amsfalse
+\DeclareOption{AMS}{%
+\IfFileExists{amsmath.sty}
+ {\IfFileExists{amsbsy.sty}
+ {\IfFileExists{amsgen.sty}
+ {\IfFileExists{amsopn.sty}
+ {\IfFileExists{amstext.sty}
+ {\IfFileExists{amssymb.sty}
+ {\@amstrue}
+ {\ClassWarningNoLine{PTPTeX}{Cannot Locate amssymb.sty}}}
+ {\ClassWarningNoLine{PTPTeX}{Cannot locate amstext.sty}}}
+ {\ClassWarningNoLine{PTPTeX}{Cannot locate amsopn.sty}}}
+ {\ClassWarningNoLine{PTPTeX}{Cannot locate amsgen.sty}}}
+ {\ClassWarningNoLine{PTPTeX}{Cannot locate amsbsy.sty}}}
+{\ClassWarningNoLine{PTPTeX}{Cannot locate amsmath.sty}}}
+%%%-----------------------------------------------------------%%%
+\DeclareOption{seceq}{\AtEndOfClass{%
+\typeout{-----Setting Option: seceq-----}
+\@addtoreset{equation}{section}
+\renewcommand{\theequation}{\arabic{section}\raise.5ex\hbox{.}\arabic{equation}}
+}}
+%%%-----------------------------------------------------------%%%
+\ExecuteOptions{paper,AMS}
+\ProcessOptions
+%%%-----------------------------------------------------------%%%
+%%%Input AMS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\if@ams
+%
+%with option AMS(default), and all required files exist
+%
+\typeout{-----Reading AMS Package-----}
+\RequirePackage{amsmath}[1997/03/20]
+\interdisplaylinepenalty=100\relax
+\let\mib\boldsymbol
+\typeout{-----Reading AMS Symbols-----}
+\RequirePackage{amssymb}[1996/11/03]
+%
+\else
+% some/all required files are missing
+%
+\ClassError{PTPTeX}{AMS Package is missing}
+{Some/all files of AMS-LaTeX are missing.\MessageBreak You MUST prepare AMS-LaTeX package in order to use PTPTeX.}
+%
+\fi
+%%%End Input AMS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%-----------------------------------------------------------%%%
+\RequirePackage{overcite}[1997/04/04]
+\renewcommand\citeform[1]{#1)}
+%%%-----------------------------------------------------------%%%
+\lineskip 1\p@ \normallineskip 1\p@
+\def\baselinestretch{1}
+\skip\footins 9\p@ plus 4\p@ minus 2\p@
+\floatsep 12\p@ plus 2\p@ minus 2\p@ \textfloatsep 20\p@ plus 2\p@ minus 4\p@
+\intextsep 12\p@ plus 2\p@ minus 2\p@ \dblfloatsep 12\p@ plus 2\p@ minus 2\p@
+\dbltextfloatsep 20\p@ plus 2\p@ minus 4\p@
+\@fptop \z@ plus 1fil \@fpsep 8\p@ plus 2fil \@fpbot \z@ plus 1fil
+\@dblfptop \z@ plus 1fil \@dblfpsep 8\p@ plus 2fil \@dblfpbot \z@ plus 1fil
+\marginparpush 5\p@
+
+\@lowpenalty 51 \@medpenalty 151 \@highpenalty 301
+\@beginparpenalty -\@lowpenalty \@endparpenalty -\@lowpenalty
+\@itempenalty -\@lowpenalty
+
+\def\section{\@startsection{section}{1}{\z@}%
+{13.34\p@}{13.34\p@}{\center\normalsize\bfseries\mathversion{bold}}}
+\def\subsection{\@startsection{subsection}{2}{\z@}%
+{7\p@}{4\p@}{\normalsize\itshape}}
+\def\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+{4\p@}{2.5\p@}{\normalsize\rmfamily}}
+
+\newcommand\@secapp{\secsymbol}
+\newcommand\secsymbol{\mbox{\fontsize{10}{13.34}\S}}
+%%%-----------------------------------------------------------%%%
+\@twosidetrue
+\newcommand{\notypesetlogo}{\renewcommand\@typeset{}}
+\newcommand{\PTPTeX}{\raisebox{-.2ex}{$\cal P$}\kern-.05em{$\cal T$}\kern-.18em\raisebox{-.2ex}{$\cal P$}\kern-.03em\TeX}
+\newcommand\today{\ifcase\month\or January\or February\or March\or April\or May\or June\or July\or August\or September\or October\or November\or December\fi \space\number\day, \number\year}
+\def\sloppy{\tolerance=9999 \hfuzz=.5\p@ \vfuzz=.5\p@}
+%%--- optional setting for PTP ---
+\renewcommand{\theequation}{\arabic{equation}}
+%%%\def\@eqnnum{{\normalfont\normalsize (\theequation)\hspace{1em}}}
+%%%\def\tagform@#1{\maketag@@@{(\ignorespaces#1\unskip)\hspace{1em}}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%% Followings are to make Greek Letters italic for PTP %%%%%
+%%%%% "70xx are changed into "71xx %%%%%
+\mathchardef\Gamma="7100
+\mathchardef\Delta="7101
+\mathchardef\Theta="7102
+\mathchardef\Lambda="7103
+\mathchardef\Xi="7104
+\mathchardef\Pi="7105
+\mathchardef\Sigma="7106
+\mathchardef\Upsilon="7107
+\mathchardef\Phi="7108
+\mathchardef\Psi="7109
+\mathchardef\Omega="710A
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\labelenumi}{\arabic{enumi}.}
+\renewcommand{\theenumi}{\arabic{enumi}}
+\newcommand{\labelenumii}{(\alph{enumii})}
+\renewcommand{\theenumii}{\alph{enumii}}
+\renewcommand{\p@enumii}{\theenumi}
+\newcommand{\labelenumiii}{\roman{enumiii}.}
+\renewcommand{\theenumiii}{\roman{enumiii}}
+\renewcommand{\p@enumiii}{\theenumi(\theenumii)}
+\newcommand{\labelenumiv}{\Alph{enumiv}.}
+\renewcommand{\theenumiv}{\Alph{enumiv}}
+\renewcommand{\p@enumiv}{\p@enumiii\theenumiii}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\labelitemi}{$\bullet$}
+\newcommand{\labelitemii}{\bfseries --}
+\newcommand{\labelitemiii}{$\ast$}
+\newcommand{\labelitemiv}{$\cdot$}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newenvironment{verse}
+ {\let\\\@centercr
+ \list{}{\itemsep \z@
+ \itemindent -1.5em%
+ \listparindent\itemindent
+ \rightmargin \leftmargin
+ \advance\leftmargin 1.5em}%
+ \item\relax}
+ {\endlist}
+\newenvironment{quotation}
+ {\list{}{\listparindent 1.5em%
+ \itemindent \listparindent
+ \rightmargin \leftmargin
+ \parsep \z@ \@plus\p@}%
+ \item\relax}
+ {\endlist}
+\newenvironment{quote}
+ {\list{}{\rightmargin\leftmargin}%
+ \item\relax}
+ {\endlist}
+\newenvironment{description}
+ {\list{}{\labelwidth\z@ \labelsep\z@
+ \leftmargin 1em \itemsep 10\p@
+ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel}}
+ {\endlist}
+\newcommand*\descriptionlabel[1]{\hspace\labelsep
+ \normalfont\bfseries #1}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setlength\arraycolsep{6\p@}
+\setlength\tabcolsep{6\p@}
+\setlength\arrayrulewidth{\hruleheight}
+\setlength\tabbingsep{\labelsep}
+\skip\@mpfootins = \skip\footins
+\setlength\fboxsep{3\p@}
+\setlength\fboxrule{.4\p@}
+%%%-----------------------------------------------------------%%%
+\setcounter{secnumdepth}{3}
+\newcounter {section}
+\newcounter {subsection}[section]
+\newcounter {subsubsection}[subsection]
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\thesection {\arabic{section}}
+\def\thesubsection {\rmfamily\upshape \arabic{section}.\arabic{subsection}}
+\def\thesubsubsection {\rmfamily \thesubsection.\arabic{subsubsection}}
+%%%TOC%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\@pnumwidth{\ifnum\value{page}<100 1.4em \else\ifnum\value{page}<1000 1.6em \else 2.2em \fi\fi}
+\newcommand\@tocrmarg{3em}
+\newcommand\@dotsep{4.5}
+\setcounter{tocdepth}{2}
+\newcommand\tableofcontents{\section*{Contents\@mkboth{CONTENTS}{CONTENTS}}
+ \@starttoc{toc}}
+\newcommand\l@section[2]{\addpenalty{\@secpenalty} \addvspace{\z@ plus 1\p@}
+\@tempdima 1.7em \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \bfseries\mathversion{bold} \leavevmode \advance\leftskip\@tempdima \hskip -\leftskip #1\nobreak\hfil
+\nobreak\hbox to\@pnumwidth{\hss #2}\par
+ \endgroup}
+\newcommand*\l@subsection{\@dottedtocline{2}{2.1em}{1.9em}}
+\newcommand*\l@subsubsection{\@dottedtocline{3}{4.2em}{2.7em}}
+\newcommand\listoffigures{\section*{List of Figures\@mkboth {LIST OF FIGURES}{LIST OF FIGURES}}\@starttoc{lof}}
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{\section*{List of Tables\@mkboth
+ {LIST OF TABLES}{LIST OF TABLES}}\@starttoc{lot}}
+\let\l@table\l@figure
+%%%end TOC%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Footnote No. Change%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setcounter{footnote}{0}
+\renewcommand{\footnoterule}{\kern-3\p@
+ \hrule width .3\columnwidth height \hruleheight \kern 2.6\p@}
+\long\def\@makefntext#1{%
+\parindent 1.5em\noindent \footnotesize %
+\hbox to 2.5em{\hss$^{\@thefnmark}$}\hskip3\p@#1}
+\gdef\@thanks{}
+%% The following is a macro by S.Fujita 1995/06/06
+%% to reset the footnote number properly at each page.
+%% Fujita's original macro is modified such that the resetting is made on
+%% the new counter {f@@tn@te} but not on the original counter {footnote}.
+\newcounter{f@@tn@te}\setcounter{f@@tn@te}{0}%
+\newcount\CurrP@ge \CurrP@ge\z@%
+%%%\@ifundefined{hyperlink}%
+%%%{\renewcommand\thefootnote{\fnsymbol{f@@tn@te})}} %<-- if not hyperlatex
+%%%{\renewcommand\thefootnote{\fnsymbol{f@@tn@te}}} %<-- if hyperlatex
+\renewcommand\thefootnote{\fnsymbol{f@@tn@te})}
+\newcommand{\ftnt@page}[2]{\@tempcnta=#2 \ifnum\@tempcnta>\CurrP@ge%
+\expandafter\gdef\csname @ftnt@#1\endcsname{#2}%
+\CurrP@ge=\@tempcnta\fi}
+\let\fo@tnote=\footnote
+\long\def\f@@tnote#1{\stepcounter{f@@tn@te}\fo@tnote{#1}}
+\long\def\footnote#1{%
+\@tempcnta=\c@footnote%
+\@ifundefined{@ftnt@\the\@tempcnta}{\f@@tnote{#1}}%
+{\c@f@@tn@te\z@\f@@tnote{#1}}%
+\edef\the@fn@t{\the\@tempcnta}%
+{\let\the\z@ \edef\next{\write\@auxout{%
+\string\ftnt@page{\the@fn@t}{\the\c@page}}}\next}}
+%%since \@addtoreset{footnote}{page} does not work well
+%%%end Footnote No. Change%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Footnote expression%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@fnsymbol#1{\ensuremath{\ifcase#1 \or *\or {*}{*} \or {*}{*}{*}\or
+ \dagger \or \dagger\dagger \or \dagger\dagger\dagger \or \ddagger \or
+ \ddagger\ddagger \or \ddagger\ddagger\ddagger \else \@roman{#1}\fi}}
+%%%end Footnote expression%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Float placement%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setcounter{topnumber}{5}
+\renewcommand\topfraction{0.9}
+\setcounter{bottomnumber}{5}
+\renewcommand\bottomfraction{0.9}
+\setcounter{totalnumber}{7}
+\renewcommand\textfraction{0.1}
+\renewcommand\floatpagefraction{0.9}
+\setcounter{dbltopnumber}{2}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{1}
+%%%end Float placement%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Table Figure%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\@tableflag}{table}
+\newcommand\@makecaption[2]{\captionsize
+\ifx\@captype\@tableflag\else
+\ifdim\topsep=\z@\vskip0.5\baselineskip\fi \fi
+ \setbox\@tempboxa\hbox{#1.\hskip.8em#2}
+ \ifdim \wd\@tempboxa > \hsize
+ \hangindent=1.75em {#1.\hskip.8em#2\par}
+ \else \hbox to \hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+\let\@Ttabular\tabular
+\renewcommand\tabular{\vskip.25\baselineskip\tabularsize\@Ttabular}
+\newcounter{figure}
+\renewcommand\thefigure{\@arabic\c@figure}
+\def\fps@figure{htbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{Fig.\hskip.35em\thefigure}
+\newenvironment{figure}
+ {\@float{figure}}
+ {\end@float}
+\newcounter{table}
+\renewcommand\thetable{\@Roman\c@table}
+\def\fps@table{tbhp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{Table\hskip.35em\thetable}
+\newenvironment{table}
+ {\@float{table}}
+ {\end@float}
+%%%end Table Figure%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%figurebox%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newif\if@figbox \@figboxtrue
+\newcommand{\nofigureboxrule}{\@figboxfalse}
+\newcommand{\figurebox}[2]{% #1: fig-width #2: fig-height
+\begin{center}
+\if@figbox \else \fboxrule 0\p@ \fi
+\fbox{\rule{0cm}{#2}\hspace{#1}}
+\end{center}}
+%%%end figurebox%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%maketitle%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\maketitle{\par
+ \begingroup
+ \newpage
+ \global\@topnum\z@ \@maketitle \thispagestyle{headings}\@thanks
+ \endgroup
+ \let\maketitle\relax
+ \let\@maketitle\relax
+ \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
+%%% \@maketitle --> ptptext.clo and ptp-prep.clo
+%%%end maketitle%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Items in titlepage%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand\title[1]{\gdef\@title{#1}}
+\newcommand\subtitle[1]{\gdef\@subtitle{#1}}
+\renewcommand\author[1]{\gdef\@author{#1}}
+\newcommand\inst[1]{\gdef\@inst{#1}}
+\newcommand\abst[1]{\gdef\@abst{#1}}
+\def\pubvolno<#1,#2,#3>{#1,#2}
+\def\pubmonthyear<#1,#2,#3>{#3}
+\newcommand\pubinfo[1]{\gdef\@pubinfo{#1}}
+\newcommand\preprintnumber[2][30mm]{\gdef\@preprtnumwidth{#1}\gdef\@preprtnum{#2}}
+\newcommand\publishedin[1]{\gdef\@publishedin{#1}}
+\newcommand\recdate[1]{\gdef\@recdate{#1}}
+\newcommand\PTPindex[1]{\gdef\@PTPindex{#1}}
+\newenvironment{abstract}
+{\small \begin{center}{\bfseries Abstract\vspace{-.5em}\vspace{0\p@}}\end{center}\quotation}
+{\endquotation}
+%%%end Items in titlepage%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Header: First Page%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\invitedpaper{\gdef\@invited{INVITED PAPERS}}
+\def\ps@headings{\let\@mkboth\markboth
+\def\@oddfoot{\hfil\@typeset}
+\def\@oddhead{\@ifundefined{@invited}{}{%
+\fbox{\rule[-.7\p@]{\z@}{.84em}\hspace{.5\p@}\@invited}}
+\hfil\pgn@size\rmfamily\thepage}}
+%%%end Header: First Page%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Header: Other Page%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\ps@myheadings{\let\@mkboth\@gobbletwo
+\def\@oddhead{\hbox to \textwidth{\hfil\itshape\rightmark\hfil%
+\makebox[\z@][r]{\pgn@size\upshape\thepage}}}
+\def\@evenhead{\hbox to \textwidth{\makebox[\z@][l]{\pgn@size\upshape\thepage}%
+\hfil\itshape\leftmark\hfil}}
+\def\@oddfoot{}\def\@evenfoot{}
+\let\sectionmark\@gobble\let\subsectionmark\@gobble}
+%%%end Header: Other Page%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Section Marks%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\@appendixstring{Appendix}
+\newcommand\@widerule{\rule[.5ex]{2em}{\hruleheight}}
+\def\f@rst#1#2\@@{#1}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@sect#1#2#3#4#5#6[#7]#8{%
+\ifnum #2=1 % TRUE if \section{}
+ \ifx\@secapp\@appendixstring%after \appendix
+ \ifnum #2>\c@secnumdepth
+ \def\@svsec\@empty
+ \else
+ \refstepcounter{#1}%
+ \def\@svsec{\@secapp~\csname the#1\endcsname}%
+ \fi%
+ \@tempskipa #5\relax%
+ \ifdim \@tempskipa>\z@%always true if section
+ \begingroup %
+ #6\relax%
+ \xdef\t@mp{\expandafter\f@rst#8{}\@@}%
+ \ifx\t@mp\@empty %\section command has empty string
+ \centerline{\interlinepenalty \@M \@secapp}%
+ \else%
+ \@svsec \par\nobreak%
+ \@hangfrom{\hskip #3\relax\@widerule\ }{%
+ \interlinepenalty \@M{\mathversion{normal}\mdseries\itshape #8}\ %
+ \@widerule \par%
+ \nobreak \vspace{-.1\baselineskip}}%
+ \fi%
+ \endgroup%
+ \csname #1mark\endcsname{#7}\addcontentsline%
+ {toc}{#1}{%
+ \ifnum #2>\c@secnumdepth
+ \else%
+ \protect\rmfamily \protect\numberline{\ \ %
+ \csname the#1\endcsname.}\protect\hspace{.7ex}%
+ \fi%
+ #7}%
+ \else%this part may not be used
+ \def\@svsechd{#6{\hskip #3\@svsec #8}\csname #1mark\endcsname%
+ {#7}\addcontentsline%
+ {toc}{#1}{%
+ \ifnum #2>\c@secnumdepth
+ \else%
+ \protect\rmfamily \protect\numberline{\ \ %
+ \csname the#1\endcsname.}\protect\hspace{.7ex}%
+ \fi%
+ #7}}%
+ \fi%
+ \else%normal section
+ \ifnum #2>\c@secnumdepth
+ \def\@svsec\@empty
+ \else
+ \refstepcounter{#1}%
+ \ifx\thesection\@empty%
+ \def\@svsec{\@secapp \csname the#1\endcsname\hskip .8em}%
+ \else%
+ \def\@svsec{\@secapp \csname the#1\endcsname.\hskip .8em}%
+ \fi%
+ \fi%
+ \@tempskipa #5\relax%
+ \ifdim \@tempskipa>\z@%
+ \begingroup %
+ #6\relax%
+ \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}%
+ \endgroup%
+ \csname #1mark\endcsname{#7}\addcontentsline%
+ {toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else%
+ \protect\numberline{\csname the#1\endcsname.}%
+ \fi%
+ #7}%
+ \else%
+ \def\@svsechd{#6{\hskip #3\@svsec #8}\csname #1mark\endcsname%
+ {#7}\addcontentsline%
+ {toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else%
+ \protect\numberline{\@secapp \csname the#1\endcsname.}%
+ \fi%
+ #7}}%
+ \fi%
+ \fi%
+\else%not section
+ \ifnum #2>\c@secnumdepth
+ \def\@svsec\@empty
+ \else
+ \refstepcounter{#1}%
+ \def\@svsec{\csname the#1\endcsname.\hskip .8em}%
+ \fi%
+ \@tempskipa #5\relax%
+ \ifdim \@tempskipa>\z@%
+ \begingroup %
+ #6\relax%
+ \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8\par}%
+ \endgroup%
+ \csname #1mark\endcsname{#7}\addcontentsline%
+ {toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else%
+ \protect\numberline{\csname the#1\endcsname.}%
+ \fi%
+ #7}%
+ \else%
+ \def\@svsechd{#6{\hskip #3\@svsec #8}\csname #1mark\endcsname%
+ {#7}\addcontentsline%
+ {toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else%
+ \protect\numberline{\csname the#1\endcsname.}%
+ \fi%
+ #7}}%
+ \fi%
+\fi
+\@xsect{#5}}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\@ssect#1#2#3#4#5{%
+ \ifx\@secapp\@appendixstring%
+ \@tempskipa #3\relax
+ \ifdim \@tempskipa>8\p@% Section, probably
+ \stepcounter{section}
+ \@tempskipa #3\relax%
+ \ifdim \@tempskipa>\z@%
+ \begingroup %
+ #4\relax%
+ \xdef\t@mp{\expandafter\f@rst#5{}\@@}%
+ \ifx\t@mp\@empty %
+ \centerline{\interlinepenalty \@M \@secapp}%
+ \else%
+ \@appendixstring \par\nobreak%
+ \@hangfrom{\hskip #1\relax\@widerule\ }{%
+ \interlinepenalty \@M{\mathversion{normal}\mdseries\itshape #5}\ %
+ \@widerule \par%
+ \nobreak \vspace{-.1\baselineskip}}%
+ \fi%
+ \endgroup%
+ \else%
+ \def\@svsechd{#4{\hskip #1\@svsec #5}}%
+ \fi%
+ \else
+ \@tempskipa #3\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #4\@hangfrom{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup
+ \else
+ \def\@svsechd{#4\hskip #1\relax #5}%
+ \fi
+ \fi
+ \else%
+ \@tempskipa #3\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #4\@hangfrom{\hskip #1}{\interlinepenalty \@M #5\par}\endgroup
+ \else
+ \def\@svsechd{#4\hskip #1\relax #5}%
+ \fi
+ \fi%
+\@xsect{#3}%
+}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\appendix{\par
+ \addtocontents{toc}{\protect\vspace{.5ex}
+ \protect\numberline{{\protect\bfseries Appendix}}}
+ \setcounter{section}{0}
+ \setcounter{subsection}{0}
+\let\@secapp\@appendixstring
+ \@addtoreset{equation}{section}
+ \def\theequation{\Alph{section}\raise.5ex\hbox{.}\arabic{equation}}
+ \def\thesection{\Alph{section}}
+ \def\thesubsection{\rmfamily\upshape\Alph{section}.\arabic{subsection}}}
+%%%end Section Marks%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Eqnarray%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand\eqnarray{%
+ \stepcounter{equation}%
+ \let\@currentlabel=\theequation
+ \global\@eqnswtrue
+ \global\@eqcnt\z@
+ \tabskip\@centering
+ \let\\=\@eqncr
+ $$\halign to \displaywidth\bgroup\@eqnsel\hskip\@centering
+ $\displaystyle\tabskip\z@{##}$&\global\@eqcnt\@ne
+ \hfil$\displaystyle{{}##{}}$\hfil
+ &\global\@eqcnt\tw@$\displaystyle\tabskip\z@{##}$\hfil
+ \tabskip\@centering&\llap{##}\tabskip\z@\cr}
+%%%end Eqnarray%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%small macros%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewcommand{\thanks}{\footnote}
+\newcommand\tocite[1]{$^{\hbox{--}}$\cite{#1}}%\cite{xx}\tocite{yy}
+\def\halftext{.471\textwidth}
+\def\@JLone<#1,#2>{#1}
+\def\@JLtwo<#1,#2,#3>{#2}
+\def\@JLyear<#1,#2,#3,#4>{#3}
+\def\@JLpage<#1,#2,#3,#4>{#4}
+\newcommand\JL[1]{\@JLone<#1>\ {\bfseries \@JLtwo<#1>} (\@JLyear<#1>), \@JLpage<#1>}
+\def\@Jpage<#1,#2,#3>{#3}
+\newcommand\andvol[1]{{\bfseries \@JLone<#1>} (\@JLtwo<#1>), \@Jpage<#1>}
+\newcommand\PTP[1]{Prog.\ Theor.\ Phys.\ \andvol{#1}}
+\newcommand\PTPS[1]{Prog. Theor. Phys. Suppl.\ {No. \@JLone<#1> (\@JLtwo<#1>), \@Jpage<#1>}}
+\newcommand\JPSJ[1]{J.~Phys.\ Soc.\ Jpn.\ \andvol{#1}}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\PR[1]{Phys.\ Rev.\ \andvol{#1}}%Maybe deleted in future version
+\newcommand\PRA[1]{Phys.\ Rev.\ A\ \andvol{#1}}
+\newcommand\PRB[1]{Phys.\ Rev.\ B\ \andvol{#1}}
+\newcommand\PRC[1]{Phys.\ Rev.\ C\ \andvol{#1}}
+\newcommand\PRD[1]{Phys.\ Rev.\ D\ \andvol{#1}}
+\newcommand\PRE[1]{Phys.\ Rev.\ E\ \andvol{#1}}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\PRL[1]{Phys.\ Rev.\ Lett.\ \andvol{#1}}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\PL[1]{Phys.\ Lett.\ \andvol{#1}}%Maybe deleted in future version
+\newcommand\PLA[1]{Phys.\ Lett.\ A\ \andvol{#1}}
+\newcommand\PLB[1]{Phys.\ Lett.\ B\ \andvol{#1}}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\NP[1]{Nucl.\ Phys.\ \andvol{#1}}%Maybe deleted in future version
+\newcommand\NPA[1]{Nucl.\ Phys.\ A\ \andvol{#1}}
+\newcommand\NPB[1]{Nucl.\ Phys.\ B\ \andvol{#1}}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\JMP[1]{J.~Math.\ Phys.\ \andvol{#1}}
+\newcommand\IJMP[1]{Int.\ J.~Mod.\ Phys.\ \andvol{#1}}
+\newcommand\CMP[1]{Commun.\ Math.\ Phys.\ \andvol{#1}}
+\newcommand\JP[1]{J.~of Phys.\ \andvol{#1}}
+\newcommand\ANN[1]{Ann.\ of Phys.\ \andvol{#1}}
+\newcommand\NC[1]{Nuovo Cim.\ \andvol{#1}}
+%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand\AJ[1]{Astrophys. J.\ \andvol{#1}}
+\newcommand\PRP[1]{Phys. Rep.\ \andvol{#1}}
+\newcommand\JHEP[1]{J. High Energy Phys.\ \andvol{#1}}
+%%%end small macros%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%Old FSS Compatibility%%%%%%%%%%%%%%%%%%%%%%%%%%
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
+\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+%%%end Old FSS Compatibility%%%%%%%%%%%%%%%%%%%%%%
+%%%For Japanese TeX varietion%%%%%%%%%%%%%%%%%%%%%
+%%%\let\r@m=\rm \let\i@t=\it
+%%%\ifx\gtfam\undefined
+%%%\ifx\jasciikanjiskip\undefined\else %i.e., if NTT-jTeX
+%%%\def\rm{\r@m\dm} \def\it{\i@t\dm}\fi
+%%%\else %i.e., in Asci jTeX, pTeX
+%%%\def\rm{\r@m\mc} \def\it{\i@t\mc}
+%%%\fi
+%%%Command \mc is not defined in pTeX, no longer.
+%%%end For Japanese TeX varietion%%%%%%%%%%%%%%%%%
+%%%Initialize%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\mark{{}{}}
+\pagenumbering{arabic}
+\pagestyle{myheadings}
+%%%end Initialize%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/macros/latex/contrib/ptptex/template.tex b/macros/latex/contrib/ptptex/template.tex
new file mode 100644
index 0000000000..50e2837742
--- /dev/null
+++ b/macros/latex/contrib/ptptex/template.tex
@@ -0,0 +1,121 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%% template.tex for PTPTeX.cls <ver.0.91> %%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\documentstyle[seceq]{ptptex}
+%\documentclass[letter]{ptptex}
+%\documentclass[seceq,supplement]{ptptex}
+%\documentclass[seceq,addenda]{ptptex}
+%\documentclass[seceq,errata]{ptptex}
+%\documentclass[seceq,preprint]{ptptex}
+
+%\usepackage{graphicx}
+%\usepackage{wrapft}
+
+%%%%% Personal Macros %%%%%%%%%%%%%%%%%%%
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%\pubinfo{Vol.~11X, No.~X, Mmmmm YYYY}%Editorial Office will fill in this.
+%\setcounter{page}{} %Editorial Office will fill in this.
+%\def\ptype{p} %Editorial Office will fill in this.
+%\def\ptpsubject{} %Editorial Office will fill in this.
+%\def\pageinfo{X-X} %Editorial Office will fill in this.
+%-------------------------------------------------------------------------
+%\nofigureboxrule %to eliminate the rule of \figurebox
+%\notypesetlogo %comment in if to eliminate PTPTeX
+%---- When [preprint] you can put preprint number at top right corner.
+%\preprintnumber[3cm]{%<-- [..]: optional width of preprint # column.
+%KUNS-1325\\PTPTeX ver.0.8\\ August, 1997}
+%-------------------------------------------------------------------------
+
+\markboth{% %running head for even-page (authors' name)
+authors' name%
+}{% %running head for odd-page (`short' title)
+`short' title%
+}
+
+\title{% %You can use \\ for explicit line-break.
+Title%
+}
+
+%\subtitle{Subtitle} %Use this when you want a subtitle.
+
+\author{% %Use \scshape for the family name.
+Firstname \textsc{Familyname}%
+}
+
+\inst{% %Affiliation, neglected when [addenda] or [errata].
+Name and Address of your affiliation
+}
+
+%\publishedin{% %Write this ONLY in cases of [addenda] and [errata].
+%Prog.~Theor.~Phys.\ \textbf{XX} (19YY), page.}
+
+%\recdate{Mmmmm DD, YYYY}% %Editorial Office will fill in this.
+
+\abst{% %This abstract is neglected when [addenda] or [errata].
+Write your ABSTRACT here.
+}
+
+%\PTPindex{123, 456} %Input the subject index(es) of your paper,
+ %neglected when [supplement], [addenda] or [errata].
+% The list of Subject Index is available at
+% http://solution.dynacom.jp/cgi-bin/ptp/submission/subject_index.cgi
+
+\begin{document}
+
+\maketitle
+
+\section{Section Title}
+Start your paper from here.
+
+
+%\section*{Acknowledgements}
+%We would like to thank ...........
+
+
+%\appendix
+%\section{First Appendix} %Empty argument \section{} yields `Appendix'.
+%
+%\section{Second Appendix}
+
+
+\begin{thebibliography}{99}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Some macros are available for the bibliography:
+% o for general use
+% \JL : general journals \andvol : Vol (Year) Page
+% o for individual journal
+% \AJ : Astrophys. J. \NC : Nuovo Cim.
+% \ANN : Ann. of Phys. \NPA, \NPB : Nucl. Phys. [A,B]
+% \CMP : Commun. Math. Phys. \PLA, \PLB : Phys. Lett. [A,B]
+% \IJMP : Int. J. Mod. Phys. \PRA - \PRE : Phys. Rev. [A-E]
+% \JHEP : J. High Energy Phys. \PRL : Phys. Rev. Lett.
+% \JMP : J. Math. Phys. \PRP : Phys. Rep.
+% \JP : J. of Phys. \PTP : Prog. Theor. Phys.
+% \JPSJ : J. Phys. Soc. Jpn. \PTPS : Prog. Theor. Phys. Suppl.
+% Usage:
+% \PRD{45,1990,345} ==> Phys.~Rev.\ D \textbf{45} (1990), 345
+% \JL{Nature,418,2002,123} ==> Nature \textbf{418} (2002), 123
+% \andvol{123,1995,1020} ==> \textbf{123} (1995), 1020
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\bibitem{}
+
+
+\end{thebibliography}
+\end{document}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/macros/latex/contrib/ptptex/wrapfig.sty b/macros/latex/contrib/ptptex/wrapfig.sty
new file mode 120000
index 0000000000..3c40ad1e5c
--- /dev/null
+++ b/macros/latex/contrib/ptptex/wrapfig.sty
@@ -0,0 +1 @@
+../wrapfig/wrapfig.sty \ No newline at end of file
diff --git a/macros/latex/contrib/ptptex/wrapft.sty b/macros/latex/contrib/ptptex/wrapft.sty
new file mode 100644
index 0000000000..9bfd271bda
--- /dev/null
+++ b/macros/latex/contrib/ptptex/wrapft.sty
@@ -0,0 +1,35 @@
+\ProvidesPackage{wrapft}[2004/05/24 ver.0.95]
+\RequirePackage{wrapfig}[1999/10/12 \space v 3.3]
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newdimen\WFcolsep %horizontal separation between fig and text
+\newdimen\WFtextsep %vspace on the top and the bottom of the figure
+\WFcolsep=1.6\columnsep
+\WFtextsep=\intextsep
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\def\WF@rapt[#1]#2{% final two args: #1 = overhang, #2 = width,
+ \ifnum `c=\WF@place % fig in the center
+ \@tempdima\hsize \advance\@tempdima-#2 \divide\@tempdima\tw@
+ \vskip\WFtextsep
+ \noindent \hspace*{\@tempdima}\begin{minipage}[t]{#2}%
+ \else
+ \gdef\WF@ovh{#1}% hold overhang for later, when \width is known
+ \global\setbox\WF@box\vtop\bgroup \setlength\hsize{#2}%
+ \ifdim\hsize>\z@ \@parboxrestore \else
+ \setbox\z@\hbox\bgroup \let\wf@@caption\caption \let\caption\wf@caption
+ \ignorespaces \fi
+ \fi}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\let\WF@@putfigmaybe\WF@putfigmaybe
+\def\WF@putfigmaybe{%
+ \columnsep \WFcolsep \intextsep \WFtextsep
+ \WF@@putfigmaybe}
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\let\@endwr@pfigure\endwrapfigure
+\def\endwrapfigure{%
+ \ifnum `c=\WF@place % fig in the center
+ \end{minipage} \vskip\WFtextsep
+ \else
+ \@endwr@pfigure
+ \fi}
+\let\endwraptable\endwrapfigure
+%----- end of wrapft.sty ---------