arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/article-mod.cls	2010-04-02 19:32:04.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/cjs.cls	2010-04-01 17:25:52.000000000 +0200
@@ -1,60 +1,22 @@
 %%
-%% This is file `article.cls',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% classes.dtx  (with options: `article')
-%%
-%% This is a generated file.
-%%
-%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001
-%% The LaTeX3 Project and any individual authors listed elsewhere
-%% in this file.
-%%
-%% This file was generated from file(s) of the LaTeX base system.
-%% --------------------------------------------------------------
-%%
-%% It may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either version 1.2
-%% of this license or (at your option) any later version.
-%% The latest version of this license is in
-%%    http://www.latex-project.org/lppl.txt
-%% and version 1.2 or later is part of all distributions of LaTeX
-%% version 1999/12/01 or later.
-%%
-%% This file may only be distributed together with a copy of the LaTeX
-%% base system. You may however distribute the LaTeX base system without
-%% such generated files.
-%%
-%% The list of all files belonging to the LaTeX base distribution is
-%% given in the file `manifest.txt'. See also `legal.txt' for additional
-%% information.
-%%
-%% \CharacterTable
-%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
-%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
-%%   Digits        \0\1\2\3\4\5\6\7\8\9
-%%   Exclamation   \!     Double quote  \"     Hash (number) \#
-%%   Dollar        \$     Percent       \%     Ampersand     \&
-%%   Acute accent  \'     Left paren    \(     Right paren   \)
-%%   Asterisk      \*     Plus          \+     Comma         \,
-%%   Minus         \-     Point         \.     Solidus       \/
-%%   Colon         \:     Semicolon     \;     Less than     \<
-%%   Equals        \=     Greater than  \>     Question mark \?
-%%   Commercial at \@     Left bracket  \[     Backslash     \\
-%%   Right bracket \]     Circumflex    \^     Underscore    \_
-%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
-%%   Right brace   \}     Tilde         \~}
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{article-mod}
-              [2001/04/21 v1.4e
- Standard LaTeX document class]
+%% This is file `cjs.cls', based on article.cls
+
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesClass{cjs.sty}[1996/10/11 v1.2 LaTeX document class]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagefalse
-\if@compatibility\else
+\newif\if@oneeqnum
+\@oneeqnumfalse
+\newif\if@onetabnum
+\@onetabnumfalse
+\newif\if@onefignum
+\@onefignumfalse
+\newif\if@onethmnum
+\@onethmnumfalse
+%\newif\if@openbib
+%\@openbibfalse
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
@@ -77,45 +39,25 @@
    {\setlength\@tempdima   {\paperheight}%
     \setlength\paperheight {\paperwidth}%
     \setlength\paperwidth  {\@tempdima}}
-\fi
-\if@compatibility
-  \renewcommand\@ptsize{0}
-\else
 \DeclareOption{10pt}{\renewcommand\@ptsize{0}}
-\fi
 \DeclareOption{11pt}{\renewcommand\@ptsize{1}}
 \DeclareOption{12pt}{\renewcommand\@ptsize{2}}
-\if@compatibility\else
-\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
-\fi
 \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
-\if@compatibility\else
 \DeclareOption{final}{\setlength\overfullrule{0pt}}
-\fi
-\DeclareOption{titlepage}{\@titlepagetrue}
-\if@compatibility\else
 \DeclareOption{notitlepage}{\@titlepagefalse}
-\fi
-\if@compatibility\else
 \DeclareOption{onecolumn}{\@twocolumnfalse}
-\fi
 \DeclareOption{twocolumn}{\@twocolumntrue}
 \DeclareOption{leqno}{\input{leqno.clo}}
-\DeclareOption{fleqn}{\input{fleqn.clo}}
-\DeclareOption{openbib}{%
-  \AtEndOfPackage{%
-   \renewcommand\@openbib@code{%
-      \advance\leftmargin\bibindent
-      \itemindent -\bibindent
-      \listparindent \itemindent
-      \parsep \z@
-      }%
-   \renewcommand\newblock{\par}}%
-}
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
+\DeclareOption{subeqn}{\input{subeqn.clo}}
+\DeclareOption{oneeqnum}{\@oneeqnumtrue} % added 7.19.96
+\DeclareOption{onetabnum}{\@onetabnumtrue} % added 7.19.96
+\DeclareOption{onefignum}{\@onefignumtrue} % added 7.19.96
+\DeclareOption{onethmnum}{\@onethmnumtrue} % added 7.29.96
+%\DeclareOption{openbib}{\@openbibtrue}
+\ExecuteOptions{letterpaper,10pt,twoside,onecolumn,leqno,draft,notitlepage}
 \ProcessOptions
-\input{size1\@ptsize.clo}
+\input{cjs1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -124,94 +66,51 @@
 \@medpenalty  151
 \@highpenalty 301
 \setcounter{topnumber}{2}
-\renewcommand\topfraction{.7}
+\renewcommand\topfraction{.9}
 \setcounter{bottomnumber}{1}
-\renewcommand\bottomfraction{.3}
+\renewcommand\bottomfraction{.1}
 \setcounter{totalnumber}{3}
-\renewcommand\textfraction{.2}
-\renewcommand\floatpagefraction{.5}
+\renewcommand\textfraction{.1}
+\renewcommand\floatpagefraction{.91}
 \setcounter{dbltopnumber}{2}
 \renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.5}
-\if@twoside
+\renewcommand{\ps@plain}{\let\@mkboth\@gobbletwo%
+  \renewcommand{\@oddhead}{}%
+  \renewcommand{\@evenhead}{}%
+  \renewcommand{\@evenfoot}{\hfil\footnotesize\textrm{\thepage}\hfil}%
+  \renewcommand{\@oddfoot}{\@evenfoot}}
+
   \def\ps@headings{%
       \let\@oddfoot\@empty\let\@evenfoot\@empty
-      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
-      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+      \def\@evenhead{\rlap{\thepage}\hfil\upshape\footnotesize\leftmark\hfil}%          %!
+      \def\@oddhead{\hbox{}\hfil{\upshape\footnotesize\rightmark}\hfil\llap{\thepage}}% %!
       \let\@mkboth\markboth
     \def\sectionmark##1{%
-      \markboth {\MakeUppercase{%
-        \ifnum \c@secnumdepth >\z@
-          \thesection\quad
-        \fi
+        \markboth {\uppercase{\ifnum \c@secnumdepth >\z@
+            \thesection.\hskip 1em\relax\fi
         ##1}}{}}%
     \def\subsectionmark##1{%
-      \markright {%
-        \ifnum \c@secnumdepth >\@ne
-          \thesubsection\quad
-        \fi
+        \markright {\ifnum \c@secnumdepth >\@ne
+            \thesubsection\hskip 1em\relax \fi
         ##1}}}
-\else
-  \def\ps@headings{%
-    \let\@oddfoot\@empty
-    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
-    \let\@mkboth\markboth
-    \def\sectionmark##1{%
-      \markright {\MakeUppercase{%
-        \ifnum \c@secnumdepth >\m@ne
-          \thesection\quad
-        \fi
-        ##1}}}}
-\fi
+
 \def\ps@myheadings{%
     \let\@oddfoot\@empty\let\@evenfoot\@empty
-    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
-    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+    \def\@evenhead{\rlap{\thepage}\hfil\upshape\footnotesize\leftmark\hfil}%          %!
+    \def\@oddhead{\hbox{}\hfil{\upshape\footnotesize\rightmark}\hfil\llap{\thepage}}% %!
     \let\@mkboth\@gobbletwo
     \let\sectionmark\@gobble
     \let\subsectionmark\@gobble
     }
-  \if@titlepage
-  \newcommand\maketitle{\begin{titlepage}%
-  \let\footnotesize\small
-  \let\footnoterule\relax
-  \let \footnote \thanks
-  \null\vfil
-  \vskip 60\p@
-  \begin{center}%
-    {\LARGE \@title \par}%
-    \vskip 3em%
-    {\large
-     \lineskip .75em%
-      \begin{tabular}[t]{c}%
-        \@author
-      \end{tabular}\par}%
-      \vskip 1.5em%
-    {\large \@date \par}%       % Set date in \large size.
-  \end{center}\par
-  \@thanks
-  \vfil\null
-  \end{titlepage}%
-  \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
-}
-\else
+
+
 \newcommand\maketitle{\par
   \begingroup
-    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
-    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+    \renewcommand{\thefootnote}{\fnsymbol{footnote}}%
+    \def\@makefnmark{\hbox to\z@{$\m@th^{\@thefnmark}$\hss}}%
     \long\def\@makefntext##1{\parindent 1em\noindent
-            \hb@xt@1.8em{%
-                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+            \hbox to1.8em{\hss$\m@th^{\@thefnmark}$}##1}%
     \if@twocolumn
       \ifnum \col@number=\@ne
         \@maketitle
@@ -219,231 +118,344 @@
         \twocolumn[\@maketitle]%
       \fi
     \else
-      \newpage
       \global\@topnum\z@   % Prevents figures from going at top of page.
       \@maketitle
     \fi
     \thispagestyle{plain}\@thanks
   \endgroup
   \setcounter{footnote}{0}%
-  \global\let\thanks\relax
-  \global\let\maketitle\relax
-  \global\let\@maketitle\relax
-  \global\let\@thanks\@empty
-  \global\let\@author\@empty
-  \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
-  \global\let\date\relax
-  \global\let\and\relax
-}
+  \let\maketitle\relax\let\@maketitle\relax
+  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
 \def\@maketitle{%
-  \newpage
   \null
-  \vskip 2em%
   \begin{center}%
-  \let \footnote \thanks
-    {\LARGE \@title \par}%
-    \vskip 1.5em%
-    {\large
-      \lineskip .5em%
-      \begin{tabular}[t]{c}%
-        \@author
-      \end{tabular}\par}%
-    \vskip 1em%
-    {\large \@date}%
+    {\bfseries\@ucnothanks\@title\par}%
+    \vskip .075in%
+    {\footnotesize
+      \spaceskip=1.5\fontdimen2\the\font
+      \def\and{\ \scriptsize AND }
+      \@tempswafalse\expandafter\@doauth\@author\and\relax}%
   \end{center}%
   \par
-  \vskip 1.5em}
+  \vskip .11in}
+\def\@ucnothanks#1{\expandafter\@ucnt#1\thanks\relax}
+\def\@ucnt#1\thanks{\uppercase{#1}\futurelet\@tempa\@ucnta}
+\def\@ucnta{\ifx\@tempa\relax\else\@ucntb\fi}
+\def\@ucntb#1\thanks\relax{\thanks{#1}}
+\def\@doauth#1\and{\let\@nextdoa=\@doauth
+ \def\@tempc{\@ucnothanks{#1}}
+ \futurelet\@tempa\@doautha}
+\def\@doautha{\ifx\@tempa\relax
+  \if@tempswa {\and}\fi
+  \let\@nextdoa=\relax
+ \else
+  \if@tempswa \gdef\and{,\ \scriptsize AND }, \fi
 \fi
+ \@tempc\unskip\@tempswatrue\@nextdoa}
+\let\and=\relax
+
+\newcommand{\sixptsize}{%
+   \@setfontsize\sixptsize{6}{8}}
+
+%%create five-point size
+\newcommand{\fiveptsize}{%
+   \@setfontsize\fiveptsize{5}{7}}
+
+
+
+\newcommand{\slugline}[7]{\thispagestyle{plain}
+{\sixptsize\baselineskip10pt
+\noindent
+\expandafter\csname#1\endcsname.\hspace*{\fill}
+{\scriptsize{\copyright}} #6 Society for Industrial and
+Applied\vspace*{-1.2mm}  Mathematics\\
+Vol.\ #2, No.\ #3, pp.\ #4, #5\ #6
+\hspace*{\fill} #7\par}
+\normalsize}
+
+\newcommand{\slugger}[5]{\thispagestyle{plain}
+{\sixptsize\baselineskip10pt
+\noindent
+\expandafter\csname#1\endcsname.\hspace*{\fill}
+{\scriptsize{\copyright}} #2 Society for Industrial and
+Applied\vspace*{-1.2mm}  Mathematics\\
+Vol.\ #3, No.\ #4, pp.\ #5
+\hspace*{\fill} \par}
+\normalsize}
+
+
+
 \setcounter{secnumdepth}{3}
-\newcounter {part}
 \newcounter {section}
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
 \newcounter {paragraph}[subsubsection]
 \newcounter {subparagraph}[paragraph]
-\renewcommand \thepart {\@Roman\c@part}
-\renewcommand \thesection {\@arabic\c@section}
-\renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
-\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
-\renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
-\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{%
-   \if@noskipsec \leavevmode \fi
-   \par
-   \addvspace{4ex}%
-   \@afterindentfalse
-   \secdef\@part\@spart}
-
-\def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >\m@ne
-      \refstepcounter{part}%
-      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
-    \else
-      \addcontentsline{toc}{part}{#1}%
-    \fi
-    {\parindent \z@ \raggedright
-     \interlinepenalty \@M
-     \normalfont
-     \ifnum \c@secnumdepth >\m@ne
-       \Large\bfseries \partname\nobreakspace\thepart
-       \par\nobreak
-     \fi
-     \huge \bfseries #2%
-     \markboth{}{}\par}%
-    \nobreak
-    \vskip 3ex
-    \@afterheading}
-\def\@spart#1{%
-    {\parindent \z@ \raggedright
-     \interlinepenalty \@M
-     \normalfont
-     \huge \bfseries #1\par}%
-     \nobreak
-     \vskip 3ex
-     \@afterheading}
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
-                                   {2.3ex \@plus.2ex}%
-                                   {\normalfont\Large\bfseries}}
-\newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1.5ex \@plus .2ex}%
-                                     {\normalfont\large\bfseries}}
-\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
-                                     {1.5ex \@plus .2ex}%
-                                     {\normalfont\normalsize\bfseries}}
-\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
-                                    {3.25ex \@plus1ex \@minus.2ex}%
-                                    {-1em}%
-                                    {\normalfont\normalsize\bfseries}}
+\renewcommand\thesection       {\arabic{section}}
+\renewcommand\thesubsection    {\thesection.\arabic{subsection}}
+\renewcommand\thesubsubsection {\thesubsection.\arabic{subsubsection}}
+\renewcommand\theparagraph     {\thesubsubsection.\arabic{paragraph}}
+\renewcommand\thesubparagraph  {\theparagraph.\arabic{subparagraph}}
+
+
+\def\@sect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth
+     \def\@svsec{}\else
+     \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname.\hskip .5em }\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
+     \@xsect{#5}}
+\def\@ssect#1#2#3#4#5{\@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
+    \@xsect{#3}}
+
+
+\newcommand\section{\@startsection{section}{1}{.25in}%
+                                   {1.3ex \@plus .5ex \@minus .2ex}%
+                                   {-.5em \@plus -.1em}%
+                                   {\reset@font\normalsize\bfseries}}
+\newcommand\subsection{\@startsection{subsection}{2}{.25in}%
+                                     {1.3ex\@plus .5ex \@minus .2ex}%
+                                     {-.5em \@plus -.1em}%
+                                     {\reset@font\normalsize\bfseries}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{.25in}%
+                                     {1.3ex\@plus .5ex \@minus .2ex}%
+                                     {-.5em \@plus -.1em}%
+                                     {\reset@font\normalsize\bfseries}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{.25in}%
+                                    {\parskip}%
+                                    {-.5em plus -.1em}%
+                                    {\reset@font\normalsize\itshape}}
 \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
-                                       {3.25ex \@plus1ex \@minus .2ex}%
-                                       {-1em}%
-                                      {\normalfont\normalsize\bfseries}}
+                                       {\parskip}%
+                                       {-.5em plus -.1em}%
+                                      {\reset@font\normalsize\itshape}}
 \if@twocolumn
   \setlength\leftmargini  {2em}
 \else
-  \setlength\leftmargini  {2.5em}
+  \setlength\leftmargini  {0.5in}
 \fi
-\leftmargin  \leftmargini
-\setlength\leftmarginii  {2.2em}
-\setlength\leftmarginiii {1.87em}
-\setlength\leftmarginiv  {1.7em}
+\setlength\leftmarginii  {22pt}
+\setlength\leftmarginiii {18.7pt}
+\setlength\leftmarginiv  {17pt}
 \if@twocolumn
   \setlength\leftmarginv  {.5em}
   \setlength\leftmarginvi {.5em}
 \else
-  \setlength\leftmarginv  {1em}
-  \setlength\leftmarginvi {1em}
+  \setlength\leftmarginv  {10pt}
+  \setlength\leftmarginvi {10pt}
 \fi
+\setlength  \leftmargin{\leftmargini}
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
 \@beginparpenalty -\@lowpenalty
 \@endparpenalty   -\@lowpenalty
 \@itempenalty     -\@lowpenalty
-\renewcommand\theenumi{\@arabic\c@enumi}
-\renewcommand\theenumii{\@alph\c@enumii}
-\renewcommand\theenumiii{\@roman\c@enumiii}
-\renewcommand\theenumiv{\@Alph\c@enumiv}
+\renewcommand\theenumi{\arabic{enumi}}
+\renewcommand\theenumii{\alph{enumii}}
+\renewcommand\theenumiii{\roman{enumiii}}
+\renewcommand\theenumiv{\Alph{enumiv}}
 \newcommand\labelenumi{\theenumi.}
 \newcommand\labelenumii{(\theenumii)}
 \newcommand\labelenumiii{\theenumiii.}
 \newcommand\labelenumiv{\theenumiv.}
 \renewcommand\p@enumii{\theenumi}
-\renewcommand\p@enumiii{\theenumi(\theenumii)}
+\renewcommand\p@enumiii{\theenumi\theenumii}
 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi{\textbullet}
-\newcommand\labelitemii{\normalfont\bfseries \textendash}
-\newcommand\labelitemiii{\textasteriskcentered}
-\newcommand\labelitemiv{\textperiodcentered}
+\newcommand\labelitemi{$\m@th\bullet$}
+\newcommand\labelitemii{\normalfont\bfseries --}
+\newcommand\labelitemiii{$\m@th\ast$}
+\newcommand\labelitemiv{$\m@th\cdot$}
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
-\newcommand*\descriptionlabel[1]{\hspace\labelsep
+\newcommand\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-\if@titlepage
-  \newenvironment{abstract}{%
-      \titlepage
-      \null\vfil
-      \@beginparpenalty\@lowpenalty
-      \begin{center}%
-        \bfseries \abstractname
-        \@endparpenalty\@M
-      \end{center}}%
-     {\par\vfil\null\endtitlepage}
-\else
-  \newenvironment{abstract}{%
+\newcounter{rmnum}
+\newenvironment{romannum}
+               {\begin{list}{{\upshape (\roman{rmnum})}}{\usecounter{rmnum}
+                \setlength{\leftmargin}{0pt}
+                \setlength{\itemindent}{42pt}}}{\end{list}}
+\newcounter{muni}
+\newenvironment{remunerate}
+               {\begin{list}{{\upshape \arabic{muni}.}}{\usecounter{muni}
+                \setlength{\leftmargin}{0pt}
+                \setlength{\itemindent}{38pt}}}{\end{list}}
+
+\newenvironment{@abssec}[1]{%
       \if@twocolumn
-        \section*{\abstractname}%
+       \section*{#1}%
       \else
-        \small
-        \begin{center}%
-          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
-        \end{center}%
-        \quotation
+       \vspace{.05in}\footnotesize
+       \parindent .2in
+         {\upshape\bfseries #1. }\ignorespaces
       \fi}
-      {\if@twocolumn\else\endquotation\fi}
-\fi
+     {\if@twocolumn\else\par\vspace{.1in}\fi}
+
+\newenvironment{abstract}{\begin{@abssec}{\abstractname}}{\end{@abssec}}
+\newenvironment{keywords}{\begin{@abssec}{\keywordsname}}{\end{@abssec}}
+\newenvironment{AMS}{\begin{@abssec}{\AMSname}}{\end{@abssec}}
+\newenvironment{AM}{\begin{@abssec}{\AMname}}{\end{@abssec}}
+\newenvironment{PII}{\begin{@abssec}{\PIIname}}{\end{@abssec}}
+
+
 \newenvironment{verse}
-               {\let\\\@centercr
+               {\let\\=\@centercr
                 \list{}{\itemsep      \z@
                         \itemindent   -1.5em%
                         \listparindent\itemindent
                         \rightmargin  \leftmargin
                         \advance\leftmargin 1.5em}%
-                \item\relax}
+                \item[]}
                {\endlist}
 \newenvironment{quotation}
                {\list{}{\listparindent 1.5em%
                         \itemindent    \listparindent
                         \rightmargin   \leftmargin
                         \parsep        \z@ \@plus\p@}%
-                \item\relax}
+                \item[]}
                {\endlist}
 \newenvironment{quote}
                {\list{}{\rightmargin\leftmargin}%
-                \item\relax}
+                \item[]}
                {\endlist}
-\if@compatibility
-\newenvironment{titlepage}
-    {%
-      \if@twocolumn
-        \@restonecoltrue\onecolumn
-      \else
-        \@restonecolfalse\newpage
+\def\@begintheorem#1#2{\par\bgroup{\scshape #1\ #2. }\it\ignorespaces}
+\def\@opargbegintheorem#1#2#3{\par\bgroup%
+   {\scshape #1\ #2\ ({\upshape #3}). }\it\ignorespaces}
+\def\@endtheorem{\egroup}
+\def\proof{\par{\it Proof}. \ignorespaces}
+
+\def\endproof{\vbox{\hrule height0.6pt\hbox{%
+   \vrule height1.3ex width0.6pt\hskip0.8ex
+   \vrule width0.6pt}\hrule height0.6pt
+  }}
+
+\if@onethmnum
+  \newtheorem{theorem}{Theorem}
+  \newtheorem{lemma}[theorem]{Lemma}
+  \newtheorem{corollary}[theorem]{Corollary}
+  \newtheorem{proposition}[theorem]{Proposition}
+  \newtheorem{definition}[theorem]{Definition}
+\else
+  \newtheorem{theorem}{Theorem}[section]
+  \newtheorem{lemma}[theorem]{Lemma}
+  \newtheorem{corollary}[theorem]{Corollary}
+  \newtheorem{proposition}[theorem]{Proposition}
+  \newtheorem{definition}[theorem]{Definition}
       \fi
-      \thispagestyle{empty}%
-      \setcounter{page}\z@
-    }%
-    {\if@restonecol\twocolumn \else \newpage \fi
+
+
+% FROM FIXUP.STY
+% We now redefine the eqnarray environment to correct the space around
+% the operator.   Any changes to the definition in LaTeX itself
+% will cause the `Warning: unable...'
+% message to appear.  If this happens it will be necessary to update the
+% definition of  \@tempb below and incorperate the changes into
+% the new definitions of \eqnarray.
+
+
+% This is the current definition of \eqnarray for the fleqn document style
+% latex.ltx
+
+\def\@tempb{%
+   \stepcounter{equation}%
+   \def\@currentlabel{\p@equation\theequation}%
+   \global\@eqnswtrue
+   \m@th
+   \global\@eqcnt\z@
+   \tabskip\@centering
+   \let\\\@eqncr
+   $$\everycr{}\halign to\displaywidth\bgroup
+       \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
+      &\global\@eqcnt\@ne\hskip \tw@\arraycolsep \hfil${##}$\hfil
+      &\global\@eqcnt\tw@ \hskip \tw@\arraycolsep
+         $\displaystyle{##}$\hfil\tabskip\@centering
+      &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
+         \tabskip\z@skip
+      \cr
     }
-\else
-\newenvironment{titlepage}
-    {%
-      \if@twocolumn
-        \@restonecoltrue\onecolumn
-      \else
-        \@restonecolfalse\newpage
-      \fi
-      \thispagestyle{empty}%
-      \setcounter{page}\@ne
-    }%
-    {\if@restonecol\twocolumn \else \newpage \fi
-     \if@twoside\else
-        \setcounter{page}\@ne
-     \fi
+\ifx\eqnarray\@tempb    % Try the default eqnarray environment
+  \def\eqnarray{%
+   \stepcounter{equation}%
+   \def\@currentlabel{\p@equation\theequation}%
+   \global\@eqnswtrue
+   \m@th
+   \global\@eqcnt\z@
+   \tabskip\@centering
+   \let\\\@eqncr
+   $$\everycr{}\halign to\displaywidth\bgroup
+       \hskip\@centering$\displaystyle\tabskip\z@skip{##}$\@eqnsel
+      &\global\@eqcnt\@ne \hfil$\displaystyle{{}##{}}$\hfil
+      &\global\@eqcnt\tw@ $\displaystyle{##}$\hfil\tabskip\@centering
+      &\global\@eqcnt\thr@@ \hb@xt@\z@\bgroup\hss##\egroup
+         \tabskip\z@skip
+      \cr
     }
+\else    \typeout{Warning: Unable to fix unknown version of \string\eqnarray.}
 \fi
-\newcommand\appendix{\par
+
+\def\@tempb{}
+
+
+%% New Mathops.
+
+\newcommand\const{\mathop{\operator@font const}\nolimits}
+\newcommand\diag{\mathop{\operator@font diag}\nolimits}
+\newcommand\grad{\mathop{\operator@font grad}\nolimits}
+\newcommand\Range{\mathop{\operator@font Range}\nolimits}
+\newcommand\rank{\mathop{\operator@font rank}\nolimits}
+\newcommand\supp{\mathop{\operator@font supp}\nolimits}
+
+\newcommand\appendix{%
+\renewcommand{\section}{%
+\secdef\append\sappend}%
+ \setcounter{section}{0}%
+ \setcounter{subsection}{0}%
+ \renewcommand\thesection{\Alph{section}}}
+
+\newcommand\Appendix{%
+\renewcommand{\section}{%
+\secdef\Append\sAppend}%
   \setcounter{section}{0}%
   \setcounter{subsection}{0}%
-  \gdef\thesection{\@Alph\c@section}}
+ \renewcommand\thesection{\Alph{section}}}
+
+\newcommand\append[2][?]{%
+\refstepcounter{section}%
+{\vskip 1.3ex \@plus .5ex \@minus .2ex
+\reset@font\normalsize\bfseries\appendixname\ \thesection. #2.}}
+
+\newcommand\sappend[1]{%
+\refstepcounter{section}
+{\vskip 1.3ex \@plus .5ex \@minus .2ex
+\reset@font\normalsize\bfseries\appendixname\ \thesection.}}
+
+\newcommand\Append[2][?]{%
+\refstepcounter{section}%
+{\vskip 1.3ex \@plus .5ex \@minus .2ex
+\reset@font\normalsize\bfseries\appendixname. #2.}}
+
+\newcommand\sAppend[1]{%
+\refstepcounter{section}
+{\vskip 1.3ex \@plus .5ex \@minus .2ex
+\reset@font\normalsize\bfseries\appendixname.}}
+
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -452,13 +464,14 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand \theequation {\@arabic\c@equation}
+
+
 \newcounter{figure}
 \renewcommand \thefigure {\@arabic\c@figure}
-\def\fps@figure{tbp}
+\def\fps@figure{tp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-\def\fnum@figure{\figurename\nobreakspace\thefigure}
+\def\fnum@figure{\figurename~\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
@@ -466,11 +479,11 @@
                {\@dblfloat{figure}}
                {\end@dblfloat}
 \newcounter{table}
-\renewcommand\thetable{\@arabic\c@table}
-\def\fps@table{tbp}
+\renewcommand{\thetable}{\@arabic\c@table}
+\def\fps@table{tp}
 \def\ftype@table{2}
 \def\ext@table{lot}
-\def\fnum@table{\tablename\nobreakspace\thetable}
+\def\fnum@table{\tablename~\thetable}
 \newenvironment{table}
                {\@float{table}}
                {\end@float}
@@ -480,17 +493,31 @@
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
 \setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{0\p@}
+\setlength\belowcaptionskip{10\p@}
+\def\@figtxt{figure}
 \long\def\@makecaption#1#2{%
+    \footnotesize
+    \setlength{\parindent}{1.5pc}
+  \ifx\@captype\@figtxt
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1: #2}%
+    \setbox\@tempboxa\hbox{{\normalfont\scshape #1}. {\normalfont\itshape #2}}%
   \ifdim \wd\@tempboxa >\hsize
-    #1: #2\par
+      {\normalfont\scshape #1}. {\normalfont\itshape #2}\par
   \else
     \global \@minipagefalse
     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
-  \vskip\belowcaptionskip}
+  \else
+    \hbox to\hsize{\hfil{\normalfont\scshape #1}\hfil}%
+    \setbox\@tempboxa\hbox{{\normalfont\itshape #2}}%
+    \ifdim \wd\@tempboxa >\hsize
+      {\normalfont\itshape #2}\par
+    \else
+     \global\@minipagefalse
+      \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
+    \fi
+    \vskip\belowcaptionskip
+  \fi}
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -498,91 +525,45 @@
 \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}
+\DeclareRobustCommand*\cal{\@fontswitch{\relax}{\mathcal}}
+\DeclareRobustCommand*\mit{\@fontswitch{\relax}{\mathnormal}}
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{3}
-\newcommand\tableofcontents{%
-    \section*{\contentsname
-        \@mkboth{%
-           \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
-    \@starttoc{toc}%
-    }
-\newcommand*\l@part[2]{%
-  \ifnum \c@tocdepth >-2\relax
-    \addpenalty\@secpenalty
-    \addvspace{2.25em \@plus\p@}%
-    \setlength\@tempdima{3em}%
-    \begingroup
-      \parindent \z@ \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      {\leavevmode
-       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
-       \nobreak
-       \if@compatibility
-         \global\@nobreaktrue
-         \everypar{\global\@nobreakfalse\everypar{}}%
-      \fi
-    \endgroup
-  \fi}
-\newcommand*\l@section[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{1.0em \@plus\p@}%
-    \setlength\@tempdima{1.5em}%
-    \begingroup
-      \parindent \z@ \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      \leavevmode \bfseries
-      \advance\leftskip\@tempdima
-      \hskip -\leftskip
-      #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-    \endgroup
-  \fi}
-\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
-\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
-\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
-\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
-\newcommand\listoffigures{%
-    \section*{\listfigurename}%
-      \@mkboth{\MakeUppercase\listfigurename}%
-              {\MakeUppercase\listfigurename}%
-    \@starttoc{lof}%
-    }
-\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
-\newcommand\listoftables{%
-    \section*{\listtablename}%
-      \@mkboth{%
-          \MakeUppercase\listtablename}%
-         {\MakeUppercase\listtablename}%
-    \@starttoc{lot}%
-    }
-\let\l@table\l@figure
+
 \newdimen\bibindent
-\setlength\bibindent{1.5em}
+\bibindent=16pt
 \newenvironment{thebibliography}[1]
-     {\section*{\refname}%
-      \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}%
-      \list{\@biblabel{\@arabic\c@enumiv}}%
+     {\par\addvspace{.25in}
+     \begin{center}
+     \footnotesize\uppercase\expandafter{\refname}
+     \end{center}
+     \@mkboth{\uppercase\expandafter{\refname}}{\uppercase\expandafter{\refname}}
+     \addvspace{.15in}\nopagebreak%
+      \list{\@biblabel{\arabic{enumi}}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
             \advance\leftmargin\labelsep
-            \@openbib@code
-            \usecounter{enumiv}%
-            \let\p@enumiv\@empty
-            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
-      \sloppy
-      \clubpenalty4000
-      \@clubpenalty \clubpenalty
-      \widowpenalty4000%
-      \sfcode`\.\@m}
+%            \if@openbib
+              \advance\leftmargin\bibindent
+              \itemindent -\bibindent
+              \listparindent \itemindent
+              \parsep \z@
+%            \fi
+            \usecounter{enumi}%
+            \let\p@enumi\@empty
+            \renewcommand\theenumi{\arabic{enumi}}}%
+%      \if@openbib
+%        \renewcommand\newblock{\par}
+%      \else
+        \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
+%      \fi
+      \sloppy\clubpenalty4000\widowpenalty4000%
+      \sfcode`\.=\@m\relax\footnotesize}
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
       \endlist}
-\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
-\let\@openbib@code\@empty
+\newcommand\newblock{}
 \newenvironment{theindex}
                {\if@twocolumn
                   \@restonecolfalse
@@ -592,53 +573,127 @@
                 \columnseprule \z@
                 \columnsep 35\p@
                 \twocolumn[\section*{\indexname}]%
-                \@mkboth{\MakeUppercase\indexname}%
-                        {\MakeUppercase\indexname}%
+                \@mkboth{\uppercase{\indexname}}%
+                        {\uppercase{\indexname}}%
                 \thispagestyle{plain}\parindent\z@
                 \parskip\z@ \@plus .3\p@\relax
                 \let\item\@idxitem}
                {\if@restonecol\onecolumn\else\clearpage\fi}
 \newcommand\@idxitem{\par\hangindent 40\p@}
-\newcommand\subitem{\@idxitem \hspace*{20\p@}}
-\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+\newcommand\subitem   {\par\hangindent 40\p@ \hspace*{20\p@}}
+\newcommand\subsubitem{\par\hangindent 40\p@ \hspace*{30\p@}}
 \newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
 \renewcommand\footnoterule{%
   \kern-3\p@
-  \hrule\@width.4\columnwidth
+  \hrule width .5in
   \kern2.6\p@}
-\newcommand\@makefntext[1]{%
-    \parindent 1em%
+\long\def\@makefntext#1{%
+    \parindent .25in%
     \noindent
-    \hb@xt@1.8em{\hss\@makefnmark}#1}
+    \hbox to .25in{\hss\@makefnmark}#1}
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
 \newcommand\refname{References}
 \newcommand\indexname{Index}
-\newcommand\figurename{Figure}
+\newcommand\figurename{Fig.}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-\def\today{\ifcase\month\or
+\newcommand\keywordsname{Key words}
+\newcommand\AMSname{AMS subject classifications}
+\newcommand\AMname{AMS subject classification}
+\newcommand\PIIname{PII}
+\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}
+\newcommand\sameauthor{\leavevmode\vrule height 2pt depth -1.6pt width 23pt}
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
 \pagestyle{plain}
-\pagenumbering{arabic}
-\if@twoside
+\pagenumbering{arabic}      % Arabic page numbers
+
+\if@compatibility%
 \else
-  \raggedbottom
+  \if@oneeqnum
+  \else
+     \@addtoreset{equation}{section}   %  \section resets 'equation' counter
+     \renewcommand{\theequation}{\thesection.\arabic{equation}}
 \fi
-\if@twocolumn
-  \twocolumn
-  \sloppy
-  \flushbottom
+%
+  \if@onefignum
 \else
-  \onecolumn
+    \@addtoreset{figure}{section}
+    \renewcommand{\thefigure}{\thesection.\@arabic\c@figure}
+  \fi
+%
+  \if@onetabnum
+  \else
+    \@addtoreset{table}{section}
+    \renewcommand{\thetable}{\thesection.\@arabic\c@table}
+  \fi
+%
+  \if@onethmnum
+  \else
+    \@addtoreset{theorem}{section}
+    \renewcommand{\thetheorem}{\thesection.\arabic{theorem}}
 \fi
+\fi
+
+\onecolumn
+
+\gdef\@cjslabel@error#1#2{%
+   \GenericError{%
+      \space\space\space\@spaces\@spaces\@spaces
+   }{%
+      Label Error: #1%
+   }{%
+      Correct multiply-defined labels.%
+   }{#2}%
+}
+
+%%% NEW -- causes multiply defined labels to generate errors
+\def\@newl@bel#1#2#3{%
+  \@ifundefined{#1@#2}%
+    \relax
+    {\gdef \@multiplelabels {%
+      \@latex@warning@no@line{Label `#2' multiply defined}}%
+      \@cjslabel@error{There were multiply-defined labels}{}}%
+  \global\@namedef{#1@#2}{#3}}
+\def\newlabel{\@newl@bel r}
+\@onlypreamble\@newl@bel
+\let \@multiplelabels \relax
+\def\label#1{\@bsphack
+  \protected@write\@auxout{}%
+         {\string\newlabel{#1}{{\@currentlabel}{\thepage}}}%
+  \@esphack}
+\def\refstepcounter#1{\stepcounter{#1}%
+    \protected@edef\@currentlabel
+       {\csname p@#1\endcsname\csname the#1\endcsname}%
+}
+%%%
+
+%% NEW Proc. header command added by M. Benes
+%% motivated by a similar file from the Algoritmy Conference
+
+\newcommand{\CJSLogo}[2]                                    %
+{
+\vglue -1cm
+\hbox{
+\vbox{\parindent 0mm\hsize 10.5cm
+\font\fhd=cmr8 \fhd
+Proceedings of the Czech--Japanese Seminar in Applied Mathematics 2006\\
+Czech Technical University in Prague, September 14-17, 2006
+\vskip -1mm
+pp. #1--#2
+}
+}
+\vglue 1cm
+}
+
+
 \endinput
 %%
-%% End of file `article.cls'.
+%% End of file `cjs.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns