summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/jpsj
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-08 22:35:28 +0000
committerKarl Berry <karl@freefriends.org>2007-03-08 22:35:28 +0000
commit684f976754611ff51af61550b900773e0f33936b (patch)
treed0e2a2a5148147d66eaebe2723155f1007a03973 /Master/texmf-dist/tex/latex/jpsj
parent8c7b5e7122d9768a59bfe045ecc10a58553f375a (diff)
jpsj update (8mar07)
git-svn-id: svn://tug.org/texlive/trunk@4024 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/jpsj')
-rw-r--r--Master/texmf-dist/tex/latex/jpsj/jpsj2.cls95
1 files changed, 44 insertions, 51 deletions
diff --git a/Master/texmf-dist/tex/latex/jpsj/jpsj2.cls b/Master/texmf-dist/tex/latex/jpsj/jpsj2.cls
index 63f993550b6..85b3cc63adf 100644
--- a/Master/texmf-dist/tex/latex/jpsj/jpsj2.cls
+++ b/Master/texmf-dist/tex/latex/jpsj/jpsj2.cls
@@ -7,24 +7,25 @@
% ver. 1.1 January 2002
% ver. 1.1.1 April 2002
% ver. 1.2 March 2003
-% ver. 1.2.1 March 2004
+% ver. 1.2.1 February 2007
+% ver. 1.2.2 March 2007
%
-% Copyright (C) 2004 The Institue of Pure and Applied Physics,
-% The Physical Society of Japan
%=================================================================
\typeout{***** Document Class =<<<jpsj2.cls>>>= ver. 1.2.1 ******}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{jpsj2}[2004/03/01 v.1.2.1 JPSJ document class]
+\ProvidesClass{jpsj2}[2007/03/01 v.1.2.2 JPSJ document class]
\RequirePackage{amsmath}[1997/03/20]
\RequirePackage{amssymb}
\RequirePackage{graphicx}
\RequirePackage{overcite}
-\def\@cite#1{\mbox{$\m@th^{\hbox{\@ove@rcfont#1)}}$}}
+%\def\@cite#1{\mbox{$\m@th^{\hbox{\@ove@rcfont#1)}}$}}
+\renewcommand\citeright{)}
+\def\@citess#1{\textsuperscript{#1\citeright}}
-\def\jpsj@warning{\ClassWarningNoLine{jpsj}}
+\def\jjap@warning{\ClassWarningNoLine{jpsj}}
\newif\if@l
\DeclareOption{letter}{\@ltrue}
@@ -47,30 +48,21 @@
\setlength\paperheight {11in}%
\setlength\paperwidth {8.5in}}
-\newif\if@seceq
\DeclareOption{seceq}{%
-\@seceqtrue
- \if@l \typeout{***********************************}
- \typeout{**********<<<<<seceq >>>>>*********}
- \typeout{****This option cannot be used.****}
- \typeout{***********************************}
- \else
- \if@sn \typeout{***********************************}
- \typeout{**********<<<<<seceq >>>>>*********}
- \typeout{****This option cannot be used.****}
- \typeout{***********************************}
- \else
- \if@comment \typeout{***********************************}
- \typeout{**********<<<<<seceq >>>>>*********}
- \typeout{****This option cannot be used.****}
- \typeout{***********************************}
- \else
- \if@addenda \typeout{***********************************}
- \typeout{**********<<<<<seceq >>>>>*********}
- \typeout{****This option cannot be used.****}
- \typeout{***********************************}
- \else
-\renewcommand{\theequation}{\thesection.\arabic{equation}}
+\if@l
+ \relax
+\else
+\if@sn
+ \relax
+\else
+\if@comment
+ \relax
+\else
+\if@addenda
+ \relax
+\else
+\@addtoreset{equation}{section}
+\renewcommand\theequation{\@arabic\c@section.\@arabic\c@equation}
\fi
\fi
\fi
@@ -209,11 +201,10 @@ cross-references right}\fi\fi\endgroup
}
\ExecuteOptions{a4paper,onecolumn}
-\ProcessOptions
\allowdisplaybreaks[3]
-\def\@typeset{\sffamily Typeset with jpsj2.cls $<$ver.1.2$>$}
+\def\@typeset{\sffamily Typeset with jpsj2.cls $<$ver.1.2.2$>$}
\@ifundefined{jpage}{\def\jpage{Vol.\ No.\ pp.}}{}
\@ifundefined{runtitle}{\def\runtitle{Title of the Article}}{}
\@ifundefined{runauthor}{\def\runauthor{Author Name}}{}
@@ -234,13 +225,7 @@ cross-references right}\fi\fi\endgroup
\frenchspacing
\@twosidetrue
-\if@twocolumn
- \flushbottom
- \else
- \raggedbottom
-\fi
-
-\AtBeginDocument{\sloppy}
+\AtBeginDocument\sloppy
\AtEndDocument{\label{lastpage}}
\newcommand{\degC}{\mbox{$^{\circ}$C}}
@@ -331,9 +316,9 @@ cross-references right}\fi\fi\endgroup
\else
\@setfontsize\normalsize\@xipt{18}
\fi
- \abovedisplayskip 6\p@ \@plus4\p@ \@minus2\p@
- \abovedisplayshortskip 6\p@ \@plus4\p@ \@minus2\p@
- \belowdisplayshortskip 6\p@ \@plus4\p@ \@minus2\p@
+ \abovedisplayskip 6\p@
+ \abovedisplayshortskip 6\p@
+ \belowdisplayshortskip 6\p@
\belowdisplayskip \abovedisplayskip
\setlength\jot{6\p@}
\let\@listi\@listI}
@@ -408,18 +393,24 @@ cross-references right}\fi\fi\endgroup
\renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\if@seceq
-\@addtoreset{equation}{section}
-\else
-\fi
-
\newcommand\@secapp{}
-\newcommand\section{\@startsection{section}{1}{\z@}{\if@twocolumn 8\p@ \@plus4\p@ \@minus\p@ \else .5\baselineskip \fi}{\if@twocolumn 4\p@ \@plus4\p@ \@minus\p@ \else \p@ \@plus\p@ \@minus\p@ \fi}{\normalfont\normalsize\bfseries\boldmath}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}{\if@twocolumn 12\p@ \@plus2\p@ \@minus \p@ \else \p@ \@plus\p@ \@minus\p@ \fi}{\if@twocolumn \p@ \@plus2\p@ \@minus\p@ \else \p@ \@plus\p@ \@minus\p@ \fi}{\normalfont\normalsize\itshape}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}{12\p@ \@plus2\p@ \@minus \p@}{\p@ \@plus\p@ \@minus\p@}{\normalfont\normalsize\itshape}}
-\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}{\z@}{-10\p@}{\normalfont\normalsize\bfseries}}
-\newcommand\subparagraph{\@startsection{subparagraph}{4}{\parindent}{\z@}{-10\p@}{\normalfont\normalsize\itshape}}
+\newcommand\section{\@startsection{section}{1}{\z@}%
+ {\if@twocolumn 8\p@ \@plus\p@ \@minus\p@ \else .5\baselineskip \fi}%
+ {\if@twocolumn 4\p@ \@plus\p@ \@minus\p@ \else \p@ \@plus\p@ \@minus\p@ \fi}%
+ {\normalfont\normalsize\bfseries\boldmath}}
+\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
+ {12\p@ \@plus \p@ \@minus \p@}{\p@ \@plus\p@ \@minus\p@}%
+ {\normalfont\normalsize\itshape}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+ {12\p@ \@plus \p@ \@minus \p@}{\p@ \@plus\p@ \@minus\p@}%
+ {\normalfont\normalsize\itshape}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+ {\z@}{-10\p@}%
+ {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{4}{\parindent}%
+ {\z@}{-10\p@}%
+ {\normalfont\normalsize\itshape}}
\def\@nullstring{}
\def\@appendixstring{Appendix}
@@ -1092,5 +1083,7 @@ cross-references right}\fi\fi\endgroup
{\normalfont\normalsize\bfseries\boldmath}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\ProcessOptions\relax
+
\endinput
%% End of file `jpsj2.cls'.