arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/hosotani.cls	2010-04-02 11:24:50.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/nonameart.cls	2010-04-03 01:32:41.000000000 +0200
@@ -1,112 +1,158 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{mine}
-\newif\if@restonecol
-\newif\if@titlepage
-%
+\ProvidesClass{nonameart}
+              [1999/04/10 v1.0]
+\DeclareOption{a4paper}
+   {\setlength\paperheight {297mm}%
+    \setlength\paperwidth  {210mm}}
+\DeclareOption{a5paper}
+   {\setlength\paperheight {210mm}%
+    \setlength\paperwidth  {148mm}}
+\DeclareOption{b5paper}
+   {\setlength\paperheight {250mm}%
+    \setlength\paperwidth  {176mm}}
+\DeclareOption{letterpaper}
+   {\setlength\paperheight {11in}%
+    \setlength\paperwidth  {8.5in}}
+\DeclareOption{legalpaper}
+   {\setlength\paperheight {14in}%
+    \setlength\paperwidth  {8.5in}}
+\DeclareOption{executivepaper}
+   {\setlength\paperheight {10.5in}%
+    \setlength\paperwidth  {7.25in}}
+\DeclareOption{landscape}
+   {\setlength\@tempdima   {\paperheight}%
+    \setlength\paperheight {\paperwidth}%
+    \setlength\paperwidth  {\@tempdima}}
 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
 \DeclareOption{final}{\setlength\overfullrule{0pt}}
-\DeclareOption{twocolumn}{\@twocolumntrue}
 %
-\ExecuteOptions{a4paper,10pt,twoside,twocolumn,final}
+\newif\if@secnumeq \@secnumeqfalse
+\newif\if@secnumfig \@secnumfigfalse
+\newif\if@secnumtab \@secnumtabfalse
+\newif\if@appnumeq \@appnumeqtrue
+\newif\if@appnumfig \@appnumfigtrue
+\newif\if@appnumtab \@appnumtabtrue
+\DeclareOption{secnumeq}{\@secnumeqtrue}
+\DeclareOption{secnumfig}{\@secnumfigtrue}
+\DeclareOption{secnumtab}{\@secnumtabtrue}
+\DeclareOption{appnumeq}{\@appnumeqfalse}
+\DeclareOption{appnumfig}{\@appnumfigfalse}
+\DeclareOption{appnumtab}{\@appnumtabfalse}
+%
+\DeclareOption{nonamemath}{\input{nonamemath.clo}}
+\DeclareOption{ecsub}{\input{ecsub.clo}}
+\DeclareOption{nonamedit}{\AtEndOfClass{\input{nonamedit.clo}}}
+\DeclareOption{AMSsub}{\AtBeginDocument{%
+\@ifundefined{leftrightarrows}{\input{AMSsub.clo}}{\relax}}}
+\DeclareOption{allclo}{%
+\input{nonamemath.clo}\input{ecsub.clo}
+\AtEndOfClass{\input{nonamedit.clo}}
+\AtBeginDocument{\@ifundefined{leftrightarrows}{\input{AMSsub.clo}}%
+{\ClassWarning{nonameart}{AMSsymb definitions are active, AMSsub not loaded!}}}}
+%
+\DeclareOption{openbib}{%
+  \AtEndOfPackage{%
+   \renewcommand\@openbib@code{%
+      \advance\leftmargin\bibindent
+      \itemindent -\bibindent
+      \listparindent \parindent
+      \parsep \z@
+      }%
+   \renewcommand\newblock{\par}}%
+}
+\AtBeginDocument{\@ifundefined{bm}%
+{\@ifundefined{openone}{\relax}{%
+\ClassWarning{nonameart}{bm.sty not found, bmsub will be used!}%
+\input{bmsub.sty}}}{\relax}}
+\ExecuteOptions{letterpaper,final}
 \ProcessOptions
 %
+%
+\@twosidetrue
+\@mparswitchtrue
+\@twocolumnfalse
+%
+%
 \renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt\@xiipt
-   \abovedisplayskip6\p@\@plus4\p@\@minus2\p@
-   \abovedisplayshortskip\abovedisplayskip
-   \belowdisplayshortskip\abovedisplayshortskip
+   \@setfontsize\normalsize\@xipt{13.6}%
+   \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6.5\p@ \@plus3.5\p@ \@minus3\p@
    \belowdisplayskip\abovedisplayskip
    \let\@listi\@listI}
 \normalsize
 \newcommand\small{%
-   \@setfontsize\small\@ixpt{11}%
-   \abovedisplayskip 8.5\p@ \@plus3\p@ \@minus4\p@
-   \abovedisplayshortskip \z@ \@plus2\p@
-   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
+   \@setfontsize\small\@xpt\@xiipt
+   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
+   \abovedisplayshortskip \z@ \@plus3\p@
+   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@
    \def\@listi{\leftmargin\leftmargini
-               \topsep 4\p@ \@plus2\p@ \@minus2\p@
-               \parsep 2\p@ \@plus\p@ \@minus\p@
+               \topsep 6\p@ \@plus2\p@ \@minus2\p@
+               \parsep 3\p@ \@plus2\p@ \@minus\p@
                \itemsep \parsep}%
    \belowdisplayskip \abovedisplayskip
 }
 \newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@viiipt{9.5}%
-   \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
+   \@setfontsize\footnotesize\@ixpt{11}%
+   \abovedisplayskip 8\p@ \@plus2\p@ \@minus4\p@
    \abovedisplayshortskip \z@ \@plus\p@
-   \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
+   \belowdisplayshortskip 4\p@ \@plus2\p@ \@minus2\p@
    \def\@listi{\leftmargin\leftmargini
-               \topsep 3\p@ \@plus\p@ \@minus\p@
+               \topsep 4\p@ \@plus2\p@ \@minus2\p@
                \parsep 2\p@ \@plus\p@ \@minus\p@
                \itemsep \parsep}%
    \belowdisplayskip \abovedisplayskip
 }
-\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
-\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viiipt{9.5}}
+\newcommand\tiny{\@setfontsize\tiny\@vipt\@viipt}
 \newcommand\large{\@setfontsize\large\@xiipt{14}}
 \newcommand\Large{\@setfontsize\Large\@xivpt{18}}
 \newcommand\LARGE{\@setfontsize\LARGE\@xviipt{22}}
 \newcommand\huge{\@setfontsize\huge\@xxpt{25}}
 \newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
-\setlength\parindent{0.25in}
+\setlength\parindent{17\p@}
 \setlength\smallskipamount{3\p@ \@plus 1\p@ \@minus 1\p@}
 \setlength\medskipamount{6\p@ \@plus 2\p@ \@minus 2\p@}
 \setlength\bigskipamount{12\p@ \@plus 4\p@ \@minus 4\p@}
-%%%%%%
-%
-\newdimen\trimheight
-\newdimen\trimwidth
-\newdimen\typeheight
-\newdimen\typewidth
-\newdimen\tempdimen
-\newdimen\normaltextheight
-%
-%\trimheight9.00in
-\trimheight8.50in
-\trimwidth6.00in
-\typeheight17.7cm
-%\typeheight40.10pc
-%
-\setlength\topmargin{0.75in}
-\setlength\footskip{0.3in}
-\setlength\maxdepth{4\p@}
-\setlength\@maxdepth\maxdepth
-\setlength\textwidth{28pc}
-\setlength\textheight\typeheight
-\setlength\normaltextheight{\textheight}
-\setlength\marginparsep {10\p@}
+\setlength\headheight{10\p@}
+\setlength\headsep   {10\p@}
+\setlength\topskip   {11\p@}
+\setlength\footskip{0\p@}
+\setlength\maxdepth{.5\topskip}
+\setlength\textwidth{134mm}
+\setlength\textheight{45\baselineskip}
+\addtolength\textheight{\topskip}
+\addtolength\textheight{11.5pt}% total \textheight=223mm
+\setlength\marginparsep{11\p@}
 \setlength\marginparpush{5\p@}
-\setlength\oddsidemargin  {0.75in}
-\setlength\evensidemargin {-\textwidth}
-\addtolength\evensidemargin{-\oddsidemargin}
-\setlength\marginparwidth {48\p@}
-\setlength\footnotesep{6.65\p@}
-\setlength{\skip\footins}{12\p@ \@plus 4\p@ \@minus 2\p@}%9
+\setlength\oddsidemargin   {58\p@}
+\setlength\evensidemargin  {58\p@}
+\setlength\marginparwidth {100\p@}
+\setlength\topmargin{30\p@}
+\setlength\footnotesep{7.7\p@}
+\setlength{\skip\footins}{10\p@ \@plus 4\p@ \@minus 2\p@}
 \setlength\floatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
 \setlength\textfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
 \setlength\intextsep   {12\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\dblfloatsep    {12\p@ \@plus 2\p@ \@minus 2\p@}
-\setlength\dbltextfloatsep{20\p@ \@plus 2\p@ \@minus 4\p@}
+\setlength\dblfloatsep    {0\p@}
+\setlength\dbltextfloatsep{0\p@}
 \setlength\@fptop{0\p@ \@plus 1fil}
 \setlength\@fpsep{8\p@ \@plus 2fil}
 \setlength\@fpbot{0\p@ \@plus 1fil}
 \setlength\@dblfptop{0\p@ \@plus 1fil}
-\setlength\@dblfpsep{8\p@ \@plus 2fil}
+\setlength\@dblfpsep{0\p@ \@plus 2fil}
 \setlength\@dblfpbot{0\p@ \@plus 1fil}
-\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
-%
-%
+\setlength\partopsep{3\p@ \@plus 1\p@ \@minus 1\p@}
 \def\@listi{\leftmargin\leftmargini
-            \parsep 4\p@ \@plus2\p@ \@minus\p@
-            \topsep 8\p@ \@plus2\p@ \@minus4\p@
-            \itemsep4\p@ \@plus2\p@ \@minus\p@}
+            \parsep 4.5\p@ \@plus2\p@ \@minus\p@
+            \topsep 9\p@   \@plus3\p@ \@minus5\p@
+            \itemsep4.5\p@ \@plus2\p@ \@minus\p@}
 \let\@listI\@listi
 \@listi
 \def\@listii {\leftmargin\leftmarginii
               \labelwidth\leftmarginii
               \advance\labelwidth-\labelsep
-              \topsep    4\p@ \@plus2\p@ \@minus\p@
+              \topsep    4.5\p@ \@plus2\p@ \@minus\p@
               \parsep    2\p@ \@plus\p@  \@minus\p@
               \itemsep   \parsep}
 \def\@listiii{\leftmargin\leftmarginiii
@@ -126,6 +172,7 @@
               \labelwidth\leftmarginvi
               \advance\labelwidth-\labelsep}
 %
+%
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -133,39 +180,99 @@
 \@lowpenalty   51
 \@medpenalty  151
 \@highpenalty 301
-%
-\setcounter{topnumber}{3}
-\def\topfraction{.98}
-\setcounter{bottomnumber}{3}
-\def\bottomfraction{.98}
-\setcounter{totalnumber}{6}%4
-\def\textfraction{.01}
-\def\floatpagefraction{.98100}
+\setcounter{topnumber}{4}
+\renewcommand\topfraction{.9}
+\setcounter{bottomnumber}{4}
+\renewcommand\bottomfraction{.9}
+\setcounter{totalnumber}{8}
+\renewcommand\textfraction{.1}
+\renewcommand\floatpagefraction{.7}
 \setcounter{dbltopnumber}{2}
-\def\dbltopfraction{.981}
-\def\dblfloatpagefraction{.99}
+\renewcommand\dbltopfraction{.7}
+\renewcommand\dblfloatpagefraction{.5}
 %
+\newcommand\SaveFinalPage{%
+ \write\@mainaux{\string\SetFinalPage{\arabic{page}}}}
+\newcommand\SetFinalPage[1]{\gdef\FinalPage{#1}}
+\SetFinalPage{??}
+\AtEndDocument{\SaveFinalPage}
+\newcounter{volume}
+\setcounter{volume}{0}
+\newcommand\@year{\number\year}
+%
+\mark{{}{}}
+\def\ps@headings{%
+  \let\@oddfoot\@empty\let\@evenfoot\@empty
+  \def\@evenhead{\hbox{}{\normalfont\rmfamily\footnotesize%
+   \thepage \hfil\leftmark}}%
+  \def\@oddhead{\hbox{}{\normalfont\rmfamily\footnotesize%
+   \rightmark\hfil\thepage}}%
+}
+\def\ps@myheadings{%
+  \let\@oddfoot\@empty\let\@evenfoot\@empty
+  \def\@evenhead{{\rmfamily\scriptsize Preprint DFPD 02/TH/04 (Univ. of Padua) \ %
+    \thepage--\FinalPage\ (\@year)} \hfil \
+   \ClassWarning{nonameart}{First page of a contribution should be
+    preferrably an ODD one!}}
+  \def\@oddhead{{\rmfamily\footnotesize Preprint DFPD 02/TH/04 (Univ. of Padua) \ %
+   \thepage--\FinalPage\ (\@year)} \hfil \
+  \let\@mkboth\@gobbletwo}}
 %
+\renewcommand\footnoterule{%
+  \kern-3\p@
+  \hrule\@width.4\columnwidth
+  \kern2.6\p@}
+\def\nonamefnsymbol#1{\@nonamefnsymbol{\@nameuse{c@#1}}}
+\def\@nonamefnsymbol#1{\ifcase#1\or * \or ** \or *** \or \dagger \or %
+\dagger\dagger \or \dagger\dagger\dagger \or \ddagger \or \ddagger\ddagger %
+\or \ddagger\ddagger\ddagger \else\@ctrerr\fi\relax}
+\newcounter{thanks}
+\newlength\@fnindent
+\newcommand\get@fnindent{%
+\ifnum \value{thanks} <3 \setlength{\@fnindent}{.4em} \else%
+  \ifnum \value{thanks} <5 \setlength{\@fnindent}{.8em} \else%
+    \ifnum \value{thanks} <7 \setlength{\@fnindent}{1.2em} \else%
+      \ifnum \value{thanks} <9 \setlength{\@fnindent}{1.6em} \else%
+        \setlength{\@fnindent}{2em}%
+\fi\fi\fi\fi}
+\long\def\@makefntext#1{\@setpar{\get@fnindent\@@par\@tempdima \hsize
+  \advance\@tempdima-\@fnindent\parshape \@ne \@fnindent \@tempdima}\par
+  \parindent 0pt\noindent
+            \hbox to\z@{\hss$\m@th{}^{\@thefnmark}$}#1}
+\newcounter{instnum}
+\setcounter{instnum}{1}
+\renewcommand\theinstnum{\arabic{instnum}}
+\newif\if@singleinst \@singleinsttrue
+\newcommand\instnr[1]{${}^{#1}$}
+\newcommand\thanksnr[1]{\footnotemark[#1]}
+\newcommand\comma{${}^,$}
+\newcommand\institute[1]{\gdef\@institute{#1}}
+\newcommand\instlist[1]{\gdef\@instlist{#1\@singleinstfalse}}
+
+\newcommand\@checkinst{%
+\@ifundefined{@institute}{\@singleinstfalse}{\@singleinsttrue}}
+\newlength{\@tablength}
+\setlength{\@tablength}{129mm}
+\renewcommand\and{%
+\end{tabular}\par\noindent\vspace{1pt}\addtocounter{instnum}{1}%
+\begin{tabular}[t]{@{}p{2mm}@{\,}p{\@tablength}}\hfil${}^{\theinstnum}$&%
+}
+\newif\if@runa \@runafalse
+\newif\if@runt \@runtfalse
+\def\runningauthor#1{\gdef\@runningauthor{#1}\@runatrue}
+\def\runningtitle#1{\gdef\@runningtitle{#1}\@runttrue}
+\def\@runningauthor{Running author(s) undefined!}
+\def\@runningtitle{Running title undefined!}
 %
 \newcommand\maketitle{\par
   \begingroup
-    \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
-    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
-    \long\def\@makefntext##1{\parindent 1em\noindent
-            \hb@xt@1.8em{%
-                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
- \if@twocolumn
-      \ifnum \col@number=\@ne
-        \@maketitle
-      \else
-        \twocolumn[\@maketitle]%
-      \fi
-    \else
+   \renewcommand\thefootnote{\nonamefnsymbol{footnote}}%
+   \def\@makefnmark{${}^{\@thefnmark}$}%
       \newpage
-      \global\@topnum\z@   % Prevents figures from going at top of page.
+     \global\@topnum\z@
       \@maketitle
-    \fi
-    \thispagestyle{plain}\@thanks
+     \setcounter{thanks}{\value{footnote}}
+     \thispagestyle{myheadings}\@thanks
   \endgroup
   \setcounter{footnote}{0}%
   \global\let\thanks\relax
@@ -175,59 +282,146 @@
   \global\let\@author\@empty
   \global\let\@date\@empty
   \global\let\@title\@empty
+ \global\let\@institute\@empty
+ \global\let\@instlist\@empty
   \global\let\title\relax
   \global\let\author\relax
   \global\let\date\relax
   \global\let\and\relax
+ \if@runa
+    \setbox0=\hbox{\@runningauthor}
+    \ifdim\wd0>127mm\ClassWarning{nonameart}{Running author(s) too %
+    long!}\else\relax\fi
+ \else
+    \ClassWarning{nonameart}{Running author(s) undefined!}
+ \fi
+ \if@runt
+    \setbox0=\hbox{\@runningtitle}
+    \ifdim\wd0>127mm\ClassWarning{nonameart}{Running title too %
+    long!}\else\relax\fi
+ \else
+    \ClassWarning{nonameart}{Running title undefined!}
+ \fi
+ \mark{{\@runningtitle}{\@runningauthor}}
 }
 %
-\def\title#1{\gdef\@title{{#1}}}
-\def\@title{\@latex@error{No \expand\title given}\@ehc}
-%%
 \def\@maketitle{%
   \newpage
   \null
-%  \vskip 2em%
-\vspace*{-14pt}
-  \begin{center}%
-  \let \footnote \thanks
-    {\bf \@title \par}%
-    \vskip 2em%
-   \@aabuffer
-\end{center}%
- \par}
-%  \vskip 1.5em}
-%
-\def\@aabuffer{}
-\def\author #1{\expandafter\def\expandafter\@aabuffer\expandafter
-	{\@aabuffer\small\rm\uppercase{#1}\relax\par
-	\vspace*{2pt}}}%\vspace{0.75em}
-\def\address#1{\expandafter\def\expandafter\@aabuffer\expandafter
-	{\@aabuffer\small\it #1\relax\par
-	\vspace*{10pt}}}
+  \vskip 17mm%
+  \begin{flushleft}%
+  {\LARGE \bfseries\@title \par}%
+  \vskip 8mm
+  \normalsize
+   \@author \par\vskip 5mm\noindent
+   \@checkinst
+   \footnotesize
+   \if@singleinst%
+     \@institute\par\end{flushleft}%
+   \else
+     \end{flushleft}
+     \footnotesize
+     \begin{tabular}[t]{@{}p{2mm}@{\,}p{\@tablength}}\hfil${}^1$&\@instlist
+     \end{tabular}\par%
+   \fi
+  \vskip 4.5mm plus 0.3mm minus 0.3mm}
 %
-\setcounter{secnumdepth}{2}
+\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{\par
+   \addvspace{4ex}%
+   \@afterindentfalse
+   \secdef\@part\@spart}
+\newif\if@appendix
+\@appendixfalse
+\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\rmfamily
+     \ifnum \c@secnumdepth >\m@ne
+       \Large\bfseries \partname~\thepart
+       \par\nobreak
+     \fi
+     \huge \bfseries #2%
+     \markboth{}{}\par}%
+    \nobreak
+    \vskip 5ex
+    \@afterheading}
+\def\@spart#1{%
+    {\parindent \z@ \raggedright
+     \interlinepenalty \@M
+     \normalfont\rmfamily
+     \huge \bfseries #1\par}%
+     \nobreak
+     \vskip 3ex
+     \@afterheading}
+\renewcommand\@seccntformat[1]{{\csname the#1\endcsname}\hspace{0.5em}}
+\if@appendix
+\renewcommand\section{\@startsection {section}{1}{\z@}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {2.3ex \@plus.2ex}%
+                                   {\normalfont\small\bfseries}}
+\renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\small\slshape}}
+\renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\small}}
+\renewcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize}}
+\renewcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                       {\normalfont\small}}
+\else
 \newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.50ex \@plus -1ex \@minus -.2ex}%
+                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                    {2.3ex \@plus.2ex}%
-                                   {\rightskip1pc plus1fil\normalfont\normalsize\bfseries}}
+                                   {\normalfont\normalsize\bfseries}}
 \newcommand\subsection{\@startsection{subsection}{2}{\z@}%
                                      {-3.25ex\@plus -1ex \@minus -.2ex}%
                                      {1.5ex \@plus .2ex}%
-                                     {\rightskip1pc plus1fil\normalfont\normalsize\it }}
-%
-\setlength\leftmargini  {2em}
+                                     {\normalfont\normalsize\slshape}}
+\newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
+                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {1.5ex \@plus .2ex}%
+                                     {\normalfont\normalsize}}
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                       {\normalfont\normalsize}}
+\fi
+\setlength\leftmargini  {2.5em}
 \leftmargin  \leftmargini
 \setlength\leftmarginii  {2.2em}
 \setlength\leftmarginiii {1.87em}
 \setlength\leftmarginiv  {1.7em}
-\setlength\leftmarginv  {.5em}
-\setlength\leftmarginvi {.5em}
+\setlength\leftmarginv  {1em}
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
@@ -245,26 +439,25 @@
 \renewcommand\p@enumii{\theenumi}
 \renewcommand\p@enumiii{\theenumi(\theenumii)}
 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi{$\m@th\bullet$}
-\newcommand\labelitemii{\normalfont\bfseries --}
-\newcommand\labelitemiii{$\m@th\ast$}
-\newcommand\labelitemiv{$\m@th\cdot$}
+\newcommand\labelitemi{\textbullet}
+\newcommand\labelitemii{\normalfont\bfseries \textendash}
+\newcommand\labelitemiii{\textasteriskcentered}
+\newcommand\labelitemiv{\textperiodcentered}
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-%
-
-\def\abstracts#1{
-\begin{center}
-{\begin{minipage}{4.2truein}
-                 \footnotesize
-                 \parindent=0pt #1\par
-                 \end{minipage}}\end{center}
-                 \vskip 2em \par}
-
+\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
@@ -272,52 +465,58 @@
                         \parsep        \z@ \@plus\p@}%
                 \item\relax}
                {\endlist}
-%
 \newenvironment{quote}
                {\list{}{\rightmargin\leftmargin}%
                 \item\relax}
                {\endlist}
-%
-%FOLLOWING THREE COMMANDS ARE FOR `LIST' COMMAND.
-\topsep=0in
-\parsep=0in
-\itemsep=0in
-%
-\newcounter{arabiclistc}
-\newenvironment{arabiclist}
-	{\setcounter{arabiclistc}{0}
-	 \begin{list}{\arabic{arabiclistc}}
-	{\usecounter{arabiclistc}
-	 \setlength{\parsep}{0pt}
-	 \setlength{\itemsep}{0pt}}}{\end{list}}
-%
-%ACKNOWLEDGEMENT: this portion is from John Hershberger
-%
-\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout
-	{\string\citation{#2}}\fi
-\def\@citea{}\@cite{\@for\@citeb:=#2\do
-	{\@citea\def\@citea{,}\@ifundefined
-	{b@\@citeb}{{\bf ?}\@warning
-	{Citation `\@citeb' on page \thepage \space undefined}}
-	{\csname b@\@citeb\endcsname}}}{#1}}
-%
-\newif\if@cghi
-\def\cite{\@cghitrue\@ifnextchar [{\@tempswatrue
-	\@citex}{\@tempswafalse\@citex[]}}
-\def\citelow{\@cghifalse\@ifnextchar [{\@tempswatrue
-	\@citex}{\@tempswafalse\@citex[]}}
-\def\@cite#1#2{{$^{#1}$\if@tempswa\typeout
-	{IJCGA warning: optional citation argument
-	ignored: `#2'} \fi}}
-\newcommand{\citeup}{\cite}
-%
-\newcommand\appendix{\par
+\newenvironment{abstract}
+               {\normalfont\normalsize\list{}{\listparindent 5mm%
+                        \itemindent    \listparindent
+                        \leftmargin    \listparindent
+                        \parsep        \z@ \@plus\p@}%
+                \item\relax\noindent{\bfseries \abstractname.}}
+               {\endlist\par\vskip 1mm plus 2mm minus 1mm
+                \normalfont\normalsize}
+\newenvironment{acknowledge}
+               {\par\vskip2ex\normalfont\footnotesize
+                \noindent \textit{Acknowledgement.}}
+               {\par\vskip1ex}
+\newenvironment{acknowledgemore}
+               {\par\vskip2ex\normalfont\footnotesize
+                \noindent \textit{Acknowledgements.}}
+               {\par\vskip1ex}
+\newenvironment{noteadded}
+               {\par\vskip3ex\normalfont\small
+               \noindent \textbf{Note Added in Proof}
+               \par\normalfont\footnotesize\noindent}
+               {\par\vskip1ex}
+%
+\newcommand\appendix{\par\vskip 3ex plus 1ex minus 3ex%
+  \@appendixtrue
+  \@afterindentfalse
   \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}
-	\section*{\appendixname}}
-%
-\setlength\arraycolsep{1.5\p@}%5pt
+  \setcounter{subsection}{0}
+  \setcounter{subsubsection}{0}
+  \setcounter{figure}{0}
+  \setcounter{table}{0}%
+  \renewcommand\thesection{Appendix \Alph{section}:}
+  \renewcommand\thesubsection{\Alph{section}.\arabic{subsection}}
+  \renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}}
+  \renewcommand\theequation@prefix{\Alph{section}.}
+  \renewcommand\thefigure@prefix{\Alph{section}.}
+  \renewcommand\thetable@prefix{\Alph{section}.}
+  \if@appnumeq%
+    \@secnumeqtrue\@addtoreset{equation}{section}
+    \else\@secnumeqfalse\fi
+  \if@appnumfig%
+    \@secnumfigtrue\@addtoreset{figure}{section}
+    \else\@secnumfigfalse\fi
+  \if@appnumtab%
+   \@secnumtabtrue\@addtoreset{table}{section}
+   \else\@secnumtabfalse\fi
+  \footnotesize
+}
+\setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
@@ -325,15 +524,20 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand\theequation{\@arabic\c@equation}
-%%
-\InputIfFileExists{psfig.sty}{}{}
-\InputIfFileExists{epsf.sty}{}{}
-\InputIfFileExists{epsfsafe.tex}{}{}
-\InputIfFileExists{epsfig.sty}{}{}
 %
+\newcommand\theequation@prefix\@empty
+\if@secnumeq %
+  \@addtoreset{equation}{section} %
+  \renewcommand\theequation@prefix{\arabic{section}.}
+\fi
+\renewcommand\theequation{\theequation@prefix\arabic{equation}}%
 \newcounter{figure}
-\renewcommand\thefigure{\@arabic\c@figure}
+\newcommand\thefigure@prefix\@empty
+\if@secnumfig %
+  \@addtoreset{figure}{section} %
+  \renewcommand\thefigure@prefix{\arabic{section}.} %
+\fi
+\renewcommand \thefigure {\thefigure@prefix\@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
@@ -344,35 +548,93 @@
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
+\newcounter{table}
+\newcommand\thetable@prefix\@empty
+\if@secnumtab %
+  \@addtoreset{table}{section} %
+  \renewcommand\thetable@prefix{\arabic{section}.} %
+\fi
+\renewcommand\thetable{\thetable@prefix\@arabic\c@table}
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{\tablename~\thetable}
+\newenvironment{table}
+               {\@float{table}}
+               {\end@float}
+\newenvironment{table*}
+               {\@dblfloat{table}}
+               {\end@dblfloat}
 %
+\newcommand{\beforetab}{\setbox0=\hbox\bgroup\footnotesize}
+\newcommand{\aftertab}{\egroup}
+\def\captionaftertab[#1]#2{\parbox{\wd0}{\caption[#1]{#2}}\par\copy0}
+%\def\preline{\\[-10.3pt]}             %  for \normalsize tables
+%\def\postline{\\[-9.5pt]}             %  for \normalsize tables
+\def\preline{\\[-8pt]}                 %  for \footnotesize tables
+\def\postline{\\[-6pt]}                %  for \footnotesize tables
+\def\firsthline{\hline\postline}
+\def\midhline{\preline\hline\postline}
+\def\lasthline{\preline\hline}
+\def\tabstrut{\rule[-3mm]{0mm}{8mm}}
+\newcounter{skippage}
+\newcounter{temp@page}
+\newcounter{temp@figure}
+\newcounter{temp@table}
+\newcounter{temp@float}
+\newcommand\emptyfloatpages[3]{%
+ \if #1+#2<1
+  \ClassError{nonameart}{No floats selected, command ignored!}{}\relax
+ \else
+ \if #3<1
+   \ClassWarning{nonameart}{Number of empty pages reset to one!}%
+   \setcounter{skippage}{1}\else\setcounter{skippage}{#3}\fi
+   \ClassInfo{nonameart}{There will be #1 skipped figures.}
+   \ClassInfo{nonameart}{There will be #2 skipped tables.}
+   \ClassInfo{nonameart}{There will be #3 skipped pages.}
+   \setcounter{temp@page}{\thepage}
+   \setcounter{temp@figure}{\value{figure}}
+   \setcounter{temp@table}{\value{table}}
+   \addtocounter{figure}{#1}
+   \addtocounter{table}{#2}
+   \loop\ifnum\value{skippage}>0 \@emptyfloat\advance\value{skippage}-1\repeat
+ \fi}
+\newcommand\@emptyfloat{\begin{figure}[p]\vspace*{180mm}\end{figure}}
+\newcommand{\floatf}{f}
+\newcommand{\floatt}{t}
+\newcommand{\addlabel}[4]{% used for \label in \emptyfloat!
+\addtocounter{temp@page}{#4}
+\setcounter{temp@float}{#3}
+\if #2\floatf
+  \addtocounter{temp@figure}{\value{temp@float}}
+  \def\thetemp@figure{\thefigure@prefix\arabic{temp@figure}}
+  \write\@auxout{\string\newlabel{#1}%
+  {{\thetemp@figure}{\thetemp@page}}}
+\else
+  \if #2\floatt
+    \addtocounter{temp@table}{\value{temp@float}}
+    \def\thetemp@table{\thetable@prefix\arabic{temp@table}}
+    \write\@auxout{\string\newlabel{#1}%
+    {{\thetemp@table}{\thetemp@page}}}
+  \else
+     \ClassError{nonameart}{Wrong float type, no label generated!}{}
+  \fi
+\fi} %
 %
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
 \setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{6\p@}
-\def\captionfont{\normalfont\footnotesize{}}
+\setlength\belowcaptionskip{5\p@}
 \long\def\@makecaption#1#2{%
-	\captionfont
  \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1.\hskip.5em#2}%
+  \sbox\@tempboxa{\normalfont\footnotesize {\bfseries #1.} #2}%
   \ifdim \wd\@tempboxa >\hsize
-    \noindent #1.\hskip.5em#2\par
+    {\normalfont\footnotesize {\bfseries #1.} #2}\par
   \else
     \global \@minipagefalse
     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
-%
-\def\figurebox#1#2#3{%
-  	\def\arg{#3}%
-  	\ifx\arg\empty
-  	{\hfill\vbox{\hsize#2\hrule\hbox to #2{\vrule\hfill\vbox to #1{\hsize#2\vfill}\vrule}\hrule}\hfill}%
-  	\else
-   	{\hfill\epsfbox{#3}\hfill}%
-  	\fi}
-%
-\def\@figurecaption#1#2{\unskip\vskip10pt{#1.\hskip.5em#2\par}}
-%
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -385,47 +647,84 @@
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-%
-\newenvironment{thebibliography}[1]
-	{\section*{\refname}
-	\begin{list}{\arabic{enumi}.}
-	{\usecounter{enumi}\setlength{\parsep}{0pt}
-	 \setlength{\itemsep}{0pt} \settowidth
-	{\labelwidth}{#1.}\sloppy}}{\end{list}}
-%%
-\newenvironment{theindex}
-               {\if@twocolumn
-                  \@restonecolfalse
-                \else
-                  \@restonecoltrue
+\setcounter{tocdepth}{3}
+\newcommand\tableofcontents{%
+    \section*{\contentsname}
+    \@starttoc{toc}%
+    }
+\newcommand*\l@part[2]{%
+  \ifnum \c@tocdepth >-2\relax
+    \addpenalty\@secpenalty
+    \addvspace{2.25em \@plus\p@}%
+    \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
-                \columnseprule \z@
-                \columnsep 35\p@
-                \twocolumn[\section*{\indexname}]%
-                \@mkboth{\MakeUppercase\indexname}%
-                        {\MakeUppercase\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\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
-%
-\renewcommand\footnoterule{%
-  \kern-3\p@
-  \hrule\@width.4\columnwidth
-  \kern2.6\p@}
-\newcommand\@makefntext[1]{%
-    \parindent 1em%
-    \noindent
-     \@makefnmark#1}
-%
-\def\thefootnote{\alph{footnote}}
-\def\@makefnmark{{$^{\@thefnmark}$}}
-%
-\newcommand\contentsname{Contents}
+    \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}
+    \@starttoc{lof}%
+    }
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
+    \section*{\listtablename}
+    \@starttoc{lot}%
+    }
+\let\l@table\l@figure
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newenvironment{thebibliography}[1]
+     {\@appendixtrue\section*{\refname}
+      \list{\@biblabel{\@arabic\c@enumiv}}%
+           {\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}
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
+      \endlist}
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+\def\@biblabel#1{#1.}
+% \received#1 can be used at the end of the bibliography
+%             environment to insert publication information.
+%             There is NO FIX TEXT.
+%             Don't forget \end{bibliography} as closing environment.
+\def\received#1{\vspace{3mm}%
+\hspace*{-\labelwidth}\hspace*{-\labelsep}\normalfont\footnotesize #1}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
 \newcommand\refname{References}
@@ -435,60 +734,23 @@
 \newcommand\partname{Part}
 \newcommand\appendixname{Appendix}
 \newcommand\abstractname{Abstract}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%% definitions retained from the latex2.09 file
-%%%%%%%%
-%
-\bibliographystyle{unsrt}    % for BibTeX - sorted numerical labels by order of
-                             % first citation.
-\arraycolsep1.5pt
-% A useful Journal macro
-\def\Journal#1#2#3#4{{#1} {\bf #2}, #3 (#4)}
-
-% Some useful journal names
-\def\NCA{\em Nuovo Cimento}
-\def\NIM{\em Nucl. Instrum. Methods}
-\def\NIMA{{\em Nucl. Instrum. Methods} A}
-\def\NPB{{\em Nucl. Phys.} B}
-\def\PLB{{\em Phys. Lett.}  B}
-\def\PRL{\em Phys. Rev. Lett.}
-\def\PRD{{\em Phys. Rev.} D}
-\def\ZPC{{\em Z. Phys.} C}
-% Some other macros used in the sample text
-\def\st{\scriptstyle}
-\def\sst{\scriptscriptstyle}
-\def\mco{\multicolumn}
-\def\epp{\epsilon^{\prime}}
-\def\vep{\varepsilon}
-\def\ra{\rightarrow}
-\def\ppg{\pi^+\pi^-\gamma}
-\def\vp{{\bf p}}
-\def\ko{K^0}
-\def\kb{\bar{K^0}}
-\def\al{\alpha}
-\def\ab{\bar{\alpha}}
-\def\be{\begin{equation}}
-\def\ee{\end{equation}}
-\def\bea{\begin{eqnarray}}
-\def\eea{\end{eqnarray}}
-\def\CPbar{\hbox{{\rm CP}\hskip-1.80em{/}}}%temp replacement due to no font
-%
-\arraycolsep1.5pt
-%
-%%%%%%%%%%%%%%%%
-%
-\setlength\columnsep{0.25in}
+\def\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}
+\setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\pagestyle{plain}
+\pagestyle{headings}
 \pagenumbering{arabic}
-\sloppy
-\onecolumn
-\flushbottom
+\frenchspacing
+%
+\providecommand{\AMS}{{\protect\the\textfont2
+A\kern-.1667em\lower.5ex\hbox{M}\kern-.125emS}\,}
+\providecommand{\AMSTeX}{\AMS\TeX}
+\font \Logo=logo10 scaled \magstep1
+\providecommand{\Metafont}{%
+{\Logo META}\-{\Logo FONT}}
 \endinput
 %
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%End %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% End of file `nonameart.cls'.
 %
-
-
-
-

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns