arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/birkmono_lieb.cls	2010-04-03 10:26:30.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/notemat.cls	2010-04-01 12:26:27.000000000 +0200
@@ -1,22 +1,19 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% Birkmono.cls                   %%
-%%                                %%
-%% Birkh\"auser Publishers        %%
-%% Basel/Switzerland              %%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{birkmono}
-              [2004/08/15 v1.0
- Birkhauser LaTeX document class]
- %changed: plain -> empty
-\newif\if@noams
-\@noamsfalse
-\newif\if@restonecol
-\newif\if@titlepage
-\@titlepagetrue
-\newif\if@openright
-\newif\if@mainmatter \@mainmattertrue
-\if@compatibility\else
+%123456789%123456789%123456789%123456789%123456789%123456789%123456789%1234567
+%----------------------------------------------------------------------------%
+% notemat.cls 01.03.25
+%----------------------------------------------------------------------------%
+% This is the file `notemat.cls',
+% obtained from the file `article.cls', part of the
+% LaTeX2e distribution 1999/09/10 v1.4a
+%
+\def\filedate{2001/06/06}
+\def\NoteMatVer{0.9}
+\NeedsTeXFormat{LaTeX2e} \ProvidesClass{notemat}
+              [\filedate\space
+ Note di Matematica v.\NoteMatVer\space LaTeX document class]
+%----------------------------------------------------------------------------%
+% STYLE OPTIONS
+%----------------------------------------------------------------------------%
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
     \setlength\paperwidth  {210mm}}
@@ -39,176 +36,111 @@
    {\setlength\@tempdima   {\paperheight}%
     \setlength\paperheight {\paperwidth}%
     \setlength\paperwidth  {\@tempdima}}
-\fi
-
-\DeclareOption{11pt}{\message{
->>> Please do not use size options with Birkmono!        ^^J
->>> For a larger printout use the printerdriver options. ^^J^^J}}
-\DeclareOption{12pt}{\message{
->>> Please do not use size options with Birkmono!        ^^J
->>> For a larger printout use the printerdriver options. ^^J^^J}}
-
-\DeclareOption{noams}{%
-\@noamstrue}
-
-\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
-\@openrighttrue
-\else
-\DeclareOption{openright}{\@openrighttrue}
-\DeclareOption{openany}{\@openrightfalse}
-\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}}%
-}
-%-------------------------------------------------------------
-\newif\if@headtop
-\@headtopfalse
-\DeclareOption{headtop}{\@headtoptrue}
-\newif\if@smallheadings
-\@smallheadingsfalse
-\DeclareOption{smallheadings}{\@smallheadingstrue}
-\newif\if@nochaptername
-\@nochapternamefalse
-\DeclareOption{nochaptername}{\@nochapternametrue}
-%-------------------------------------------------------------
-\ExecuteOptions{letterpaper,twoside,onecolumn,final,openright}
-\ProcessOptions
-\if@noams \relax
-\else
-\RequirePackage{amsmath,amssymb,amsthm}
-\renewcommand\qedsymbol{\ifmmode\square\else$\square$\fi}
-\fi
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% birkbk10.clo
+\ExecuteOptions{a4paper,twoside,final} \ProcessOptions
+\input{leqno.clo}
+%-----------------------------------------------------------------------------%
+% SIZE
+%-----------------------------------------------------------------------------%
+% 1pt = 0.3514598mm   1in = 25.4mm   1in = 72.27pt
 \renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt\@xiipt
-   \abovedisplayskip 10\p@ \@plus2\p@ \@minus5\p@
+   \@setfontsize\normalsize\@xipt{13.6}%
+   \abovedisplayskip 11\p@ \@plus3\p@ \@minus6\p@
    \abovedisplayshortskip \z@ \@plus3\p@
-   \belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\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}}
-\if@twocolumn
-  \setlength\parindent{8mm}
-\else
-  \setlength\parindent{8mm}
-\fi
-\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@}
-\setlength\headheight{12\p@}
-\setlength\headsep   {.25in}
-\setlength\topskip   {10\p@}
-\setlength\footskip{.35in}
-\if@compatibility \setlength\maxdepth{4\p@} \else
-\setlength\maxdepth{.5\topskip} \fi
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setlength\textwidth{125mm}
-\@settopoint\textwidth
-
-\setlength\textheight{185mm}
-\@settopoint\textheight
-
-\setlength\oddsidemargin{48.65pt}
-\@settopoint\oddsidemargin
-
-\setlength\evensidemargin{48.65pt}
-\@settopoint\evensidemargin
-
-\if@twocolumn
- \setlength\marginparsep {10\p@}
-\else
-  \setlength\marginparsep{7\p@}
-\fi
-\setlength\marginparpush{5\p@}
-\setlength\topmargin{.75in}
-
-\setlength\footnotesep{6.65\p@}
-\setlength{\skip\footins}{9\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\@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\@dblfpbot{0\p@ \@plus 1fil}
-\parskip=0pt plus1pt\relax
-%---new
-\newdimen\normalparindent
-\normalparindent=8mm
-\parindent=\normalparindent
-\partopsep=0pt \relax \parsep=0pt \relax \itemsep=0pt \relax
-%---end
-%\setlength\partopsep{2\p@ \@plus 1\p@ \@minus 1\p@}
+%--------------------------------------------------------------------%
+% PAGE SIZES
+%--------------------------------------------------------------------%
+% Horizontal length parameters
+% 25.4mm (one inch)+\oddsidemargin+\textwidth+
+% \marginparsep+\marginparwidth - 210mm (A4 width) = extra right space
+% Vertical length parameters
+% 25.4mm+\topmargin+\headheight+\headsep+\textheight
+%       +\footskip+20mm=295mm
+% (A4 height)
+
+\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@} \setlength\headheight       {12\p@}
+\setlength\headsep          {25\p@} \setlength\topskip
+{11\p@} \setlength\footskip         {30\p@} \setlength\maxdepth
+{.5\topskip}
+\setlength\textwidth        {132.64mm}% text width proportional
+                                      % to 12pt size
+\setlength\textheight       {190mm}   % text body height for 44 lines
+\addtolength\textheight     {\topskip} \setlength\marginparsep
+{10\p@} \setlength\marginparpush    {5\p@} \setlength\@tempdima
+{\paperwidth} \addtolength\@tempdima      {-\textwidth}
+\setlength\oddsidemargin    {.4\@tempdima}
+\addtolength\oddsidemargin  {-1in} \setlength\marginparwidth
+{.6\@tempdima} \addtolength\marginparwidth {-\marginparsep}
+\addtolength\marginparwidth {-0.4in}
+%\setlength\evensidemargin   {.4\@tempdima}
+\setlength\topmargin        {\paperheight} \addtolength\topmargin
+{-2in} \addtolength\topmargin      {-\headheight}
+\addtolength\topmargin      {-\headsep} \addtolength\topmargin
+{-\textheight}
+\addtolength\topmargin      {-\footskip}     % this might be wrong!
+\addtolength\topmargin      {-.5\topmargin} \@settopoint\topmargin
+\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\@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\@dblfpbot        {0\p@ \@plus 1fil}
+\setlength\partopsep        {3\p@ \@plus 1\p@ \@minus 1\p@}
+%--------------------------------------------------------------------%
+% LIST PARAMETERS
+%--------------------------------------------------------------------%
 \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
@@ -227,18 +159,11 @@
 \def\@listvi {\leftmargin\leftmarginvi
               \labelwidth\leftmarginvi
               \advance\labelwidth-\labelsep}
-\frenchspacing
-\def\bfdefault{b}
-%% End birkbk10.clo
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\setlength\lineskip{1\p@}
-\setlength\normallineskip{1\p@}
-%\renewcommand\baselinestretch{}
-\setlength\parskip{0\p@ \@plus \p@}
-\@lowpenalty   51
-\@medpenalty  151
-\@highpenalty 301
-\setcounter{topnumber}{2}
+%% End of size 10pt specifications.
+\setlength\lineskip{1\p@} \setlength\normallineskip{1\p@}
+\renewcommand\baselinestretch{}
+\setlength\parskip{0\p@ \@plus \p@} \@lowpenalty   51 \@medpenalty
+151 \@highpenalty 301 \setcounter{topnumber}{2}
 \renewcommand\topfraction{.7}
 \setcounter{bottomnumber}{1}
 \renewcommand\bottomfraction{.3}
@@ -248,288 +173,458 @@
 \setcounter{dbltopnumber}{2}
 \renewcommand\dbltopfraction{.7}
 \renewcommand\dblfloatpagefraction{.5}
-\if@twoside
-  \def\ps@headings{%
-      \let\@oddfoot\@empty\let\@evenfoot\@empty
-      \def\@evenhead{\thepage\hfil\slshape\leftmark}%
-      \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
-      \let\@mkboth\markboth
-    \def\chaptermark##1{%
-      \markboth {{%
-        \ifnum \c@secnumdepth >\m@ne
-          \if@mainmatter
-            \@chapapp\ \thechapter. \ %
-          \fi
-        \fi
-        ##1}}{}}%
-    \def\sectionmark##1{%
-      \markright {{%
-        \ifnum \c@secnumdepth >\z@
-          \thesection. \ %
-        \fi
-        ##1}}}}
-\else
-  \def\ps@headings{%
-    \let\@oddfoot\@empty
-    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
-    \let\@mkboth\markboth
-    \def\chaptermark##1{%
-      \markright {{%
-        \ifnum \c@secnumdepth >\m@ne
-          \if@mainmatter
-            \@chapapp\ \thechapter. \ %
-          \fi
-        \fi
-        ##1}}}}
-\fi
-\def\ps@myheadings{%
-    \let\@oddfoot\@empty\let\@evenfoot\@empty
-    \def\@evenhead{\thepage\hfil\slshape\leftmark}%
-    \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
-    \let\@mkboth\@gobbletwo
-    \let\chaptermark\@gobble
-    \let\sectionmark\@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
+%-----------------------------------------------------------------------------%
+% ARTICLE ENVIRONMENT
+%-----------------------------------------------------------------------------%
+% frontmatter
+\def\frontmatter{\begingroup\thispagestyle{empty}%
+    \renewcommand{\thepage}{\roman{page}}\setcounter{page}{1}}
+\def\endfrontmatter{\newpage\endgroup\setcounter{page}{1}}
+
+% \newenvironment{notes}{\sectioncmd*{\notesname}\footnotesize
+%                     \begin{enumerate}}{\end{enumerate}%
+%                       \par \vskip 6pt \@plus 12pt \@minus 2pt}
+
+% acknowledgements
+\def\acknowledgementsname{Acknowledgements.}%
+\def\acknowledgements{\paragraph{\acknowledgementsname}%
+  \message{\acknowledgementsname}}
+\def\endacknowledgements{\par \bigskip}
+% titlepage
+\gdef\title#1{\title@{#1}} \gdef\author#1{\author@{#1}}
+\gdef\date#1{\date@{#1}}
+\gdef\nodagger@{%
+  \def\@fnsymbol##1{\ensuremath{\ifcase##1\or *\or \ddagger\or
+  \mathsection\or \mathparagraph\or \|\or **
+  \or \ddagger\ddagger \else\@ctrerr\fi}}}
+\def\opening{%
+  \let\title=\title@
+  \let\author=\author@
+  \let\date=\date@
+  \let\subtitle=\subtitle@
+  \let\dedication=\dedication@
+  \let\received=\received@
+  \let\accepted=\accepted@
+  \let\revised=\revised@
+  \let\institute=\institute@
+  \hsize\textwidth
+  \let\nodagger\nodagger@
+  }
+\gdef\maketitle{\endopening}
+\def\endopening{%
+   \ifx\listfiles\@notprerr \maketitle@@ \else
+   \AtBeginDocument{\maketitle@@}\fi
+  \gdef\title##1{\opening@only\title}
+  \gdef\subtitle##1{\opening@only\subtitle}
+  \gdef\dedication##1{\opening@only\dedication}
+  \gdef\received##1{\opening@only\received}
+  \gdef\revised##1{\opening@only\revised}
+  \gdef\author##1{\opening@only\author}
+  \gdef\institute##1{\opening@only\institute}
+  \gdef\date##1{\opening@only\date}%
+  \gdef\nodagger{\opening@only\nodagger}
+  }
+\def\opening@only#1{\PackageWarning{notemat}{\string#1\space
+                effective only inside opening environment.}}
+\def\authorsize{\normalsize\bfseries \raggedright}
+\def\authorcase#1{#1}
+\def\authorindent{0pt}
+\def\afterallauthorsskip{1em\relax}
+\def\afterauthorskip{0pt}
+\def\institutesize{\footnotesize\it}
+\def\institutecase#1{#1}
+\def\instituteindent{0pt}
+\def\institutesep{.4\baselineskip}
+\def\authorand{and}
+\newtoks\@temptokenb
+\long\def\append@item#1\to#2{%
+  \@temptokena={\@k@p{#1}}%
+  \@temptokenb=\expandafter{#2}%
+  \xdef#2{\the\@temptokenb\the\@temptokena}}
+\def\get@left#1\to#2{\expandafter\g@l#1\g@l#1#2}
+\long\def\g@l\@k@p#1#2\g@l#3#4{\def#4{#1}\def#3{#2}}
+\def\@authors{}%
+\def\@allauthors{}%
+\def\@institutes{}%
+\def\@instituteauthors{}%
+\def\@curauths{}
+\def\@curinst{}
+\def\author@#1{\append@item#1\to\@authors
+  \append@item#1\to\@allauthors }
+\def\institute@#1{\append@item#1\to\@institutes
+  \expandafter\append@item\expandafter{\@authors}\to\@instituteauthors
+  \gdef\@authors{}}
+\newif\ifthanks
+\def\@formatname#1#2{\begingroup
+   \def\thanks##1{\global\thankstrue}\setbox0\vbox{#1}%
+   \endgroup
   \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
+   \ifthanks
+     \edef\fn##1\thanks##2{\authorcase{##1}\/%
+        \noexpand\thanks{##2}#2}\expandafter\fn#1
+   \else
+      \edef\fn##1{{\authorcase{##1}}#2}%
+        \expandafter\fn\expandafter{#1}%
+   \fi
+   \endgroup\global\thanksfalse }
+\newcount\cnt@authors
+\def\@formatauthors{\begingroup
+  \authorsize
+  \leavevmode
+  \gdef\surname##1{##1}%
+  \gdef\email##1{ \hbox{{\tt \lowercase{##1}}}}%
+  \cnt@authors=0
+  \def\@k@p##1{\advance\cnt@authors by 1}\@curauths
+  \def\@k@p##1{\advance\cnt@authors by -1
+    \ifnum\cnt@authors>1
+    \@formatname{##1}{,}\penalty0\ \fi     % signif. space
+    \ifnum\cnt@authors=1                               % before \fi's !!
+    \@formatname{##1}{} \authorand \penalty0\ \fi
+    \ifnum\cnt@authors<1
+    \@formatname{##1}{}\par\fi}\@curauths
+   \vskip \afterauthorskip
+  \endgroup}
+\def\@formatinstitute{{\institutesize \institutecase{\@curinst}\par}}
+\newcount\cnt@institutes
+\def\@authorsandinstitutes{\begingroup
+  \authorsize
+  \cnt@authors=0
+  \def\@k@p##1{\advance\cnt@authors by 1}\@allauthors
+  \cnt@institutes=0
+  \def\@k@p##1{\advance\cnt@institutes by 1}\@institutes\relax
+  \ifnum\cnt@institutes=0
+    \let\@curauths\@allauthors
+    \parindent=\authorindent
+    \hangindent=\authorindent
+    \@formatauthors
+  \fi
+  \loop\ifnum\cnt@institutes>0
+    \get@left\@instituteauthors\to\@curauths
+    \parindent=\authorindent
+    \hangindent=\authorindent
+    \@formatauthors
+    \get@left\@institutes\to\@curinst
+    \parindent=\instituteindent
+    \hangindent=\instituteindent
+    \@formatinstitute
+    \ifnum\cnt@institutes>1 \vskip \institutesep\relax \fi
+    \advance\cnt@institutes by -1
+  \repeat
+  \vskip \afterallauthorsskip
+  \gdef\@authors{}%
+  \gdef\@allauthors{}%
+  \gdef\@institutes{}%
+  \gdef\@instituteauthors{}%
+  \gdef\@curauths{}%
+  \gdef\@curinst{}%
+\endgroup}
+\def\titleflushstyle{\raggedright}
+\def\titlefont{\LARGE\bf}
+\def\titlecase#1{#1}
+\def\titleindent{0pt}
+\def\aftertitleskip{1.8pc }
+\def\presubtitleskip{-1.4pc }
+\def\aftersubtitleskip{1pc }
+\def\subtitlefont{\large\it}
+\def\subtitleflushstyle{}
+\def\title@#1{\gdef\@title{%
+    \@formattitle{#1}\par \vskip \aftertitleskip }}
+\def\@title{}
+\def\@formattitle#1{\begingroup
+  \def\thanks##1{\global\thankstrue}%
+  \setbox\@tempboxa\vbox{#1}\endgroup
+  \begingroup
+    \titleflushstyle
+    \ifthanks
+      \def\fn##1\thanks##2{\ititle@{##1}{\,\thanks{##2}}}%
+      \expandafter\fn#1
+    \else
+      \def\fn##1{\ititle@{##1}{}}\expandafter\fn\expandafter{#1}%
+    \fi
+  \endgroup\global\thanksfalse }
+\def\titlebaselinefactor{1.05}
+\def\ititle@#1#2{\begingroup
+    \parindent \titleindent
+    \hangindent \titleindent
+    \hyphenpenalty10000
+    {\titlefont\titlecase{#1}#2%
+    \baselineskip=\titlebaselinefactor\baselineskip
+    \par}
+    \endgroup}
+\def\@subtitle{}
+\def\subtitle@#1{\gdef\@subtitle{\vskip \presubtitleskip
+    \@formatsubtitle{#1}\par \vskip \aftersubtitleskip }}
+\def\@formatsubtitle#1{\begingroup
+  \def\thanks##1{\global\thankstrue}\setbox0\vbox{#1}\endgroup
+  \begingroup \subtitleflushstyle
+    \ifthanks
+  \def\fn##1\thanks##2{\subtitle@thanks{##1}{##2}}\expandafter\fn#1
     \else
-      \newpage
-      \global\@topnum\z@   % Prevents figures from going at top of page.
-      \@maketitle
-    \fi
-    \thispagestyle{empty}\@thanks
+      \def\fn##1{\subtitle@@{##1}}\expandafter\fn\expandafter{#1}\fi
   \endgroup
+  \par\global\thanksfalse}
+\def\subtitle@thanks#1#2{\isubtitle@{#1}\thanks{#2}\par
+    \ignorespaces}
+\def\subtitle@@#1{\isubtitle@{#1}\par\ignorespaces}
+\def\isubtitle@#1{{\subtitlefont #1}}
+\def\afterdateskip{.7\baselineskip}
+\def\datesize{\footnotesize}
+\def\@date{{\datesize Received: \@received ;
+    accepted\@accepted}\vskip \afterdateskip
+    \gdef\@received{\ldots\ldots}%
+    \gdef\@accepted{\ldots\ldots}}
+\def\date@#1{\gdef\@date{{\datesize #1\par}\vskip \afterdateskip
+    \gdef\@received{\ldots\ldots}%
+    \gdef\@accepted{\ldots\ldots}}}
+\def\@received{\ldots\ldots}
+\def\@accepted{: \ldots\ldots}
+%\def\revised@#1{\gdef\@accepted{ in revised form: #1}}
+\def\received@#1{\gdef\@received{#1}}
+\def\accepted@#1{\gdef\@accepted{%
+%in final form:
+: #1.}}
+\def\artsize{\normalsize\it}
+\def\afterartskip{1.5pc}
+\def\beforeartskip{0pc}
+\def\@dedication{}
+\def\dedicationsize{\normalsize\it\raggedright}
+\def\prededicationskip{18pt}
+\def\afterdedicationskip{18pt}
+\def\dedication@#1{\gdef\@dedication{%
+     \unskip\vskip \prededicationskip
+     {\dedicationsize #1\par}%
+     \vskip \afterdedicationskip}}
+\providecommand{\abstractname}{Abstract}
+\providecommand{\keywordsname}{Keywords}
+\providecommand{\classificationname}{MSC 2000 classification}
+\def\abstractsize{\footnotesize}
+\def\abstractnamefont{\bf}
+\def\abstractdot{.~}
+\def\keynamefont{\bf}
+\def\classnamefont{\bf}
+\def\afterabstractskip{.7\baselineskip\relax}
+\def\preabstractskip{0pt\relax}
+\newbox\@abstractbox
+\def\@abstract{}
+\newenvironment{abstract}{%
+  \gdef\@abstract{\message{\abstractname}%
+    {\vskip\preabstractskip
+    \noindent
+    \unvbox\@abstractbox
+    \vskip\afterabstractskip }}%
+  \global\setbox\@abstractbox\vbox\bgroup \abstractsize \noindent
+    {\abstractnamefont\small\abstractname\abstractdot}}{\par\egroup }
+\def\@keywords{}
+\long\def\keywords#1{%
+    \gdef\@keywords{\message{\keywordsname}%
+        {\abstractsize\noindent{\keynamefont
+      \small\keywordsname:~}#1\par \vskip.7\baselineskip}}}
+\def\@classification{}
+\long\def\classification#1{%
+     \gdef\@classification{\message{\classificationname}%
+       {\abstractsize\noindent{\classnamefont\small\classificationname:~}%
+       #1\par \vskip.7\baselineskip}}}
+\def\@maketitle{%
+   \@title \@subtitle \@authorsandinstitutes \@date
+   \@abstract \@keywords \@classification
+   \@dedication}
+\def\openingflushstyle{}
+\def\maketitle@@{%
+  \begingroup
   \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
+     \def\thefootnote{\roman{footnote}}%
+     \newpage\global\@topnum\z@
+     \thispagestyle{opening}%
+     {\openingflushstyle \parindent 0pt \@maketitle}%
+     \markboth{\@runningauthor}{\@runningtitle}%
+     \@thanks
+   \endgroup
+   \setcounter{footnote}{0}%
+   \let\@maketitle\relax%
+   \gdef\@thanks{}%
+   \gdef\@title{}%
+   \let\thanks\relax }
+\def\runningtitle#1{\gdef\@runningtitle{#1}}
+\gdef\@runningtitle{}
+\def\runningauthor#1{\gdef\@runningauthor{#1}}
+\gdef\@runningauthor{}
+% titlepage headings
+\def\@journal{Note di Matematica}
+\newcommand\volume[1]{\gdef\@volume{#1}}
+\def\@volume{00}
+\newcommand\pubyear[1]{\gdef\@pubyear{#1}}
+\def\@pubyear{\number\year}
+\newcommand\no[1]{\gdef\@no{#1}}
+\def\@no{0}
+\newif\iflastpagegiven   \lastpagegivenfalse
+\newcommand\firstpage[1]{%
+  \gdef\@firstpage{#1}%
+  \ifnum\@firstpage>\c@page
+    \setcounter{page}{#1}%
+    \PackageWarning{notemat}{Increasing pagenumber to \@firstpage}%
+  \else \ifnum\@firstpage<\c@page
+    \PackageWarning{notemat}{Firstpage lower than pagenumber}\fi\fi
+    \xdef\@firstpage{\the\c@page}%
+    }
+\def\@firstpage{1}
+\def\pagenumbering#1{%
+    \global\c@page \@ne
+    \gdef\thepage{\csname @#1\endcsname \c@page}%
+    \gdef\thefirstpage{%
+            \csname @#1\endcsname \@firstpage}%
+    \gdef\thelastpage{%
+            \csname @#1\endcsname \@lastpage}%
 }
-\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}%
-  \end{center}%
-  \par
-  \vskip 1.5em}
+\pagenumbering{arabic}
+\newcommand\lastpage[1]{\xdef\@lastpage{#1}%
+  \global\lastpagegiventrue}
+\def\@lastpage{0}
+\def\setlastpage{\iflastpagegiven\else
+    \edef\@tempa{@lastpage@\the\c@article}%
+    \expandafter
+    \ifx \csname \@tempa \endcsname \relax
+        \gdef\@lastpage{0}%
+    \else
+        \xdef\@lastpage{\@nameuse{@lastpage@\the\c@article}}%
 \fi
-\newcommand*\chaptermark[1]{}
-\setcounter{secnumdepth}{2}
-\newcounter {part}
-\newcounter {chapter}
-\newcounter {section}[chapter]
+    \fi }
+\def\writelastpage{%
+    \iflastpagegiven \else
+    \immediate\write\@auxout%
+    {\string\global\string\@namedef{@lastpage@\the\c@article}{\the\c@page}}%
+    \fi
+    }
+\def\thepagerange{%
+  \ifnum\@lastpage =0 {\ \bf PLEASE RUN AGAIN} \else
+  \ifnum\@lastpage = \@firstpage \ \thefirstpage\else
+  \ \thefirstpage--\thelastpage \fi\fi}
+\def\volsep{, }
+\def\thejournal{%\ifx\@journal\empty\else
+\leavevmode
+     {\it\@journal\/}~~{\bf\@volume\volsep}~{n. \@no\volsep}~\@pubyear,
+     \thepagerange.%
+     \hfill\hbox{}%\\ \fi
+}
+\gdef\@notemathead{{%\parindent 0pt\vbox to\headheight {%
+        %\hsize\textwidth \vss % \notematlogo
+        %\parbox{\textwidth}{
+\small\thejournal}}
+%}}
+\gdef\@notematfoot{}
+%-----------------------------------------------------------------------------%
+% PAGE STYLES
+%-----------------------------------------------------------------------------%
+\gdef\markboth#1#2{{\let\protect=\noexpand
+    \xdef\myleftmark{\small{#1}}%
+    \xdef\myrightmark{\small{#2}}}}
+\let\imarkboth\markboth
+\def\myleftmark{}
+\def\myrightmark{}
+\def\@markfont{\rm\scriptsize}
+\def\@pgnumfont{\rm\normalsize}
+\def\ps@headings{%
+  \def\@oddfoot{}%
+  \let\@evenfoot\@oddfoot
+  \def\@evenhead{\hbox{}\@pgnumfont\rlap{\thepage}\hfil
+    \@markfont\myleftmark\hfil}%
+  \def\@oddhead{\hbox{}\hfil\@markfont\myrightmark\hfil
+    \@pgnumfont\llap{\thepage}}%
+  \let\@mkboth\@gobbletwo
+  \def\sectionmark##1{}%
+  \def\subsectionmark##1{}}
+\def\ps@myheadings{%
+  \def\@oddfoot{}%
+  \let\@evenfoot\@oddfoot
+  \def\@evenhead{\hbox{}\@pgnumfont\rlap{\thepage}\hfill
+    \@markfont\myleftmark}%
+  \def\@oddhead{\hbox{}\@markfont\myrightmark\hfill
+    \@pgnumfont\llap{\thepage}}%
+  \let\@mkboth\@gobbletwo
+  \def\sectionmark##1{}%
+  \def\subsectionmark##1{}}
+\def\ps@empty{%
+  \def\@oddfoot{}%
+  \let\@evenfoot\@oddfoot
+  \def\@evenhead{}%
+  \def\@oddhead{}%
+  \let\@mkboth\@gobbletwo
+  \def\sectionmark##1{}%
+  \def\subsectionmark##1{}}
+%\let\ps@title\ps@empty
+\def\theinheadpage{\thepage}
+\def\ps@opening{%
+  \def\@oddhead{\@notemathead \hss}%
+  \let\@evenhead\@oddhead
+%  \def\@oddfoot{\hss}
+  \def\@oddfoot{%
+%\hfil\theinheadpage\hfil
+}
+  \let\@evenfoot\@oddfoot}
+% article environment
+\newcounter{article}
+\renewcommand{\thearticle}{}
+\let\art@intdefinecounter\@definecounter
+\newif\ifinarticle % \inarticlefalse
+\newenvironment{article}{%
+  \def\@definecounter##1{\art@intdefinecounter{##1}%
+    \@addtoreset{##1}{article}}%
+  \renewcommand{\thearticle}{\roman{article}}%
+  \refstepcounter{article}%
+  \message{Article \number\c@article}%
+  \gdef\@firstpage{\the\c@page}%
+  \@addtoreset{equation}{article}%
+  \@addtoreset{section}{article}%
+  \@addtoreset{table}{article}%
+  \@addtoreset{figure}{article}%
+  \setlastpage
+  \global\inarticletrue
+  }{\writelastpage
+    \clearpage
+      \ifodd \c@page \else ~\thispagestyle{empty}\newpage \fi
+    \gdef\@dedication{}%
+    \gdef\@title{}\gdef\@subtitle{}%
+    \gdef\@keywords{}\gdef\@classification{}%
+    \gdef\@abstract{}%
+   % \gdef\@notemathead{}\gdef\@notematfoot{}%
+    \gdef\@firstpage{\thepage}%
+    \global\lastpagegivenfalse
+    \global\inarticlefalse
+    }
+\AtBeginDocument{\setlastpage} \AtEndDocument{\ifnum \c@article=0
+    \writelastpage
+    \clearpage\fi}
+%-----------------------------------------------------------------------------%
+% SECTIONING
+%-----------------------------------------------------------------------------%
+\setcounter {secnumdepth}{3}
+\newcounter {section}
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
 \newcounter {paragraph}[subsubsection]
 \newcounter {subparagraph}[paragraph]
-\renewcommand \thepart {\@Roman\c@part}
-\renewcommand \thechapter {\@arabic\c@chapter}
-\renewcommand \thesection {\thechapter.\@arabic\c@section}
+
+\renewcommand \thesection {\@arabic\c@section}
 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
-\renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
+\renewcommand\thesubsubsection{\thesubsection .
+                              \@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\@chapapp{\chaptername}
-\newcommand\frontmatter{%
-    \cleardoublepage
-  \@mainmatterfalse
-  \pagenumbering{roman}}
-\newcommand\mainmatter{%
-    \cleardoublepage
-  \@mainmattertrue
-  \pagenumbering{arabic}}
-\newcommand\backmatter{%
-  \if@openright
-    \cleardoublepage
-  \else
-    \clearpage
-  \fi
-  \@mainmatterfalse}
-\newcommand\part{%
-  \if@openright
-    \cleardoublepage
-  \else
-    \clearpage
-  \fi
-  \thispagestyle{empty}%
-  \if@twocolumn
-    \onecolumn
-    \@tempswatrue
-  \else
-    \@tempswafalse
-  \fi
-  \null\vfil
-  \secdef\@part\@spart}

-\def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >-2\relax
-      \refstepcounter{part}%
-      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
-    \else
-      \addcontentsline{toc}{part}{#1}%
-    \fi
-    \markboth{}{}%
-    {\centering
-     \interlinepenalty \@M
-     \normalfont
-     \ifnum \c@secnumdepth >-2\relax
-       \huge\bfseries \partname~\thepart
-       \par
-       \vskip 20\p@
-     \fi
-     \Huge \bfseries #2\par}%
-    \@endpart}
-\def\@spart#1{%
-    {\centering
-     \interlinepenalty \@M
-     \normalfont
-     \Huge \bfseries #1\par}%
-    \@endpart}
-\def\@endpart{\vfil\newpage
-              \if@twoside
-               \if@openright
-                \null
-                \thispagestyle{empty}%
-                \newpage
-               \fi
-              \fi
-              \if@tempswa
-                \twocolumn
-              \fi}
-\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
-                    \thispagestyle{empty}%
-                    \global\@topnum\z@
-                    \@afterindentfalse
-                    \secdef\@chapter\@schapter}
-\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
-                       \if@mainmatter
-                         \refstepcounter{chapter}%
-                         \typeout{\@chapapp\space\thechapter.}%
-                         \addcontentsline{toc}{chapter}%
-                                   {\protect\numberline{\thechapter}#1}%
-                       \else
-                         \addcontentsline{toc}{chapter}{#1}%
-                       \fi
-                    \else
-                      \addcontentsline{toc}{chapter}{#1}%
-                    \fi
-                    \chaptermark{#1}%
-                    \addtocontents{lof}{\protect\addvspace{10\p@}}%
-                    \addtocontents{lot}{\protect\addvspace{10\p@}}%
-                    \if@twocolumn
-                      \@topnewpage[\@makechapterhead{#2}]%
-                    \else
-                      \@makechapterhead{#2}%
-                      \@afterheading
-                    \fi}
-\def\@makechapterhead#1{%
-%changed
-\if@headtop\relax\else  \vspace*{50\p@}\fi%
-  {\parindent \z@ \raggedright \normalfont
-    \ifnum \c@secnumdepth >\m@ne
-      \if@mainmatter
-        \if@nochaptername\relax\else
-        \if@smallheadings\LARGE\else\huge\fi\bfseries \@chapapp\space \thechapter
-        \par\nobreak
-        \if@smallheadings\vskip10\p@\else\vskip 20\p@\fi
-      \fi
-      \fi
-    \fi
-    \interlinepenalty\@M
-    \if@smallheadings\huge\else\Huge\fi \bfseries
-    \if@nochaptername\thechapter\space\space \else\relax\fi #1\par\nobreak
-    \vskip 40\p@
-  }}
-\def\@schapter#1{\if@twocolumn
-                   \@topnewpage[\@makeschapterhead{#1}]%
-                 \else
-                   \@makeschapterhead{#1}%
-                   \@afterheading
-                 \fi}
-\def\@makeschapterhead#1{%
-  \if@headtop\relax\else  \vspace*{50\p@}\fi%
-  {\parindent \z@ \raggedright
-    \normalfont
-    \interlinepenalty\@M
-    \if@smallheadings\LARGE\else\Huge\fi\bfseries  #1\par\nobreak
-    \vskip 40\p@
-  }}
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+\newcommand\section{\@startsection {section}{1}{0pt}%
+                                   {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}%
+\newcommand\subsection{\@startsection{subsection}{2}{0pt}%
+                                     {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}%
+\newcommand\subsubsection{\@startsection{subsubsection}{3}
+                                     {0pt}%
+                                     {3.25ex\@plus 1ex \@minus .2ex}%
                                      {1.5ex \@plus .2ex}%
-                                     {\normalfont\normalsize\bfseries}}
-\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                     {\normalfont\normalsize\bfseries}
+                                     }
+\newcommand\paragraph{\@startsection{paragraph}{4}{\parindent}%
                                     {3.25ex \@plus1ex \@minus.2ex}%
                                     {-1em}%
                                     {\normalfont\normalsize\bfseries}}
@@ -537,34 +632,22 @@
                                        {3.25ex \@plus1ex \@minus .2ex}%
                                        {-1em}%
                                       {\normalfont\normalsize\bfseries}}
-\if@twocolumn
-  \setlength\leftmargini  {2em}
-\else
-  \setlength\leftmargini  {2.5em}
-\fi
-\leftmargin  \leftmargini
-\setlength\leftmarginii  {2.2em}
-\setlength\leftmarginiii {1.87em}
-\setlength\leftmarginiv  {1.7em}
-\if@twocolumn
-  \setlength\leftmarginv  {.5em}
-  \setlength\leftmarginvi {.5em}
-\else
-  \setlength\leftmarginv  {1em}
-  \setlength\leftmarginvi {1em}
-\fi
-\setlength  \labelsep  {.5em}
+%-----------------------------------------------------------------------------%
+% LIST PARAMETERS
+%-----------------------------------------------------------------------------%
+\setlength\leftmargini  {2.5em} \leftmargin  \leftmargini
+\setlength\leftmarginii  {2.2em} \setlength\leftmarginiii {1.87em}
+\setlength\leftmarginiv  {1.7em} \setlength\leftmarginv  {1em}
+\setlength\leftmarginvi {1em} \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
-\addtolength\labelwidth{-\labelsep}
-\@beginparpenalty -\@lowpenalty
-\@endparpenalty   -\@lowpenalty
-\@itempenalty     -\@lowpenalty
+\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}
-\newcommand\labelenumi{\theenumi.}
-\newcommand\labelenumii{(\theenumii)}
+\newcommand\labelenumi{(\theenumi)}   %
+\newcommand\labelenumii{\theenumii.}   %
 \newcommand\labelenumiii{\theenumiii.}
 \newcommand\labelenumiv{\theenumiv.}
 \renewcommand\p@enumii{\theenumi}
@@ -574,12 +657,24 @@
 \newcommand\labelitemii{\normalfont\bfseries \textendash}
 \newcommand\labelitemiii{\textasteriskcentered}
 \newcommand\labelitemiv{\textperiodcentered}
+%-----------------------------------------------------------------------------%
+% ENVIRONMENTS
+%-----------------------------------------------------------------------------%
+% Appendix
+\newcommand{\nmappendix}{
+\section*{\indent\appendixname}
+\addcontentsline{toc}{section}{\hspace*{1.5em}\appendixname}
+\refstepcounter{section}
+\renewcommand{\thesection}{\Alph{section}}
+}
+% Description
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
+% Verse
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -589,103 +684,28 @@
                         \advance\leftmargin 1.5em}%
                 \item\relax}
                {\endlist}
+% Quotation
 \newenvironment{quotation}
-               {\list{}{\listparindent\normalparindent%
+               {\list{}{\listparindent 1.5em%
                         \itemindent    \listparindent
                         \rightmargin   \leftmargin
                         \parsep        \z@ \@plus\p@}%
                 \item\relax}
                {\endlist}
+% Quote
 \newenvironment{quote}
                {\list{}{\rightmargin\leftmargin}%
                 \item\relax}
                {\endlist}
-%---new
-\AtBeginDocument{%
-  \settowidth\leftmargini{\labelenumi\hskip\labelsep}%
-  \advance\leftmargini by \normalparindent
-  \settowidth\leftmarginii{\labelenumii\hskip\labelsep}%
-  \advance\leftmarginii by 6pt
-  \settowidth\leftmarginiii{\labelenumiii\hskip\labelsep}%
-  \advance\leftmarginiii by 6pt
-  \settowidth\leftmarginiv{\labelenumiv\hskip\labelsep}%
-  \advance\leftmarginiv by 10pt
-  \leftmarginv=10pt
-  \leftmarginvi=10pt
-  \leftmargin=0pt%\leftmargini
-  \labelsep=5pt
-  \labelwidth=\leftmargini \advance\labelwidth-\labelsep
-  \@listi}
-\newskip\listisep
-\listisep\medskipamount
-\def\@listI{\leftmargin\normalparindent%\leftmargini
-\parsep\listisep%z@skip
-  \topsep\medskipamount \itemsep\z@skip
-  \listparindent\normalparindent}
-\let\@listi\@listI
-\def\@listii{\leftmargin\normalparindent%\leftmarginii
-  \labelwidth\leftmarginii \advance\labelwidth-\labelsep
-  \topsep\z@skip \parsep\z@skip \partopsep\z@skip \itemsep\listisep}
-\def\@listiii{\leftmargin\normalparindent%leftmarginiii
-  \labelwidth\leftmarginiii \advance\labelwidth-\labelsep}
-\def\@listiv{\leftmargin\normalparindent%\leftmarginiv
-  \labelwidth\leftmarginiv \advance\labelwidth-\labelsep}
-\def\@listv{\leftmargin\normalparindent%\leftmarginv
-  \labelwidth\leftmarginv \advance\labelwidth-\labelsep}
-\def\@listvi{\leftmargin\normalparindent%\leftmarginvi
-  \labelwidth\leftmarginvi \advance\labelwidth-\labelsep}
-%--end
-\if@compatibility
-\newenvironment{titlepage}
-    {%
-      \cleardoublepage
-      \if@twocolumn
-        \@restonecoltrue\onecolumn
-      \else
-        \@restonecolfalse\newpage
-      \fi
-      \thispagestyle{empty}%
-      \setcounter{page}\z@
-    }%
-    {\if@restonecol\twocolumn \else \newpage \fi
-    }
-\else
-\newenvironment{titlepage}
-    {%
-      \cleardoublepage
-      \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
-    }
-\fi
-\newcommand\appendix{\par
-  \setcounter{chapter}{0}%
-  \setcounter{section}{0}%
-  \gdef\@chapapp{\appendixname}%
-  \gdef\thechapter{\@Alph\c@chapter}}
-\setlength\arraycolsep{5\p@}
-\setlength\tabcolsep{6\p@}
-\setlength\arrayrulewidth{.4\p@}
-\setlength\doublerulesep{2\p@}
-\setlength\tabbingsep{\labelsep}
-\skip\@mpfootins = \skip\footins
-\setlength\fboxsep{3\p@}
-\setlength\fboxrule{.4\p@}
-\@addtoreset {equation}{chapter}
-\renewcommand\theequation
-  {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@equation}
-\newcounter{figure}[chapter]
-\renewcommand \thefigure
-     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@figure}
+% tab parameters
+\setlength\arraycolsep{5\p@} \setlength\tabcolsep{6\p@}
+\setlength\arrayrulewidth{.4\p@} \setlength\doublerulesep{2\p@}
+\setlength\tabbingsep{\labelsep} \skip\@mpfootins = \skip\footins
+\setlength\fboxsep{3\p@} \setlength\fboxrule{.4\p@}
+\renewcommand \theequation {\@arabic\c@equation}
+% Figure
+\newcounter{figure}
+\renewcommand \thefigure {\@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
@@ -696,9 +716,9 @@
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
-\newcounter{table}[chapter]
-\renewcommand \thetable
-     {\ifnum \c@chapter>\z@ \thechapter.\fi \@arabic\c@table}
+% Table
+\newcounter{table}
+\renewcommand\thetable{\@arabic\c@table}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
@@ -711,18 +731,20 @@
                {\end@dblfloat}
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{0\p@}
+\setlength\abovecaptionskip{10\p@} \setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
   \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1: #2}%
+  \sbox\@tempboxa{#1. #2}%
   \ifdim \wd\@tempboxa >\hsize
-    #1: #2\par
+    #1. #2\par
   \else
     \global \@minipagefalse
     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
   \fi
   \vskip\belowcaptionskip}
+%-----------------------------------------------------------------------------%
+% FONTS
+%-----------------------------------------------------------------------------%
 \DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
 \DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
 \DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
@@ -732,87 +754,62 @@
 \DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
 \DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
 \DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+%-----------------------------------------------------------------------------%
+% TABLE OF ARTICLES, CONTENTS, FIGURES, ...
+%-----------------------------------------------------------------------------%
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{2}
+\setcounter{tocdepth}{3}
+% Table of contents
 \newcommand\tableofcontents{%
-    \if@twocolumn
-      \@restonecoltrue\onecolumn
-    \else
-      \@restonecolfalse
-    \fi
-    \chapter*{\contentsname
-        \@mkboth{%
-           \contentsname}{\contentsname}}%
+    \section*{\indent\contentsname
     \@starttoc{toc}%
-    \if@restonecol\twocolumn\fi
-    }
-\newcommand*\l@part[2]{%
-  \ifnum \c@tocdepth >-2\relax
-    \addpenalty{-\@highpenalty}%
-    \addvspace{2.25em \@plus\p@}%
-    \begingroup
-      \parindent \z@ \rightskip \@pnumwidth
-      \parfillskip -\@pnumwidth
-      {\leavevmode
-       \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
-       \nobreak
-         \global\@nobreaktrue
-         \everypar{\global\@nobreakfalse\everypar{}}%
-    \endgroup
-  \fi}
-\newcommand*\l@chapter[2]{%
-  \ifnum \c@tocdepth >\m@ne
-    \addpenalty{-\@highpenalty}%
-    \vskip 1.0em \@plus\p@
+    }}
+\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
+      \leavevmode %\bfseries
       \advance\leftskip\@tempdima
       \hskip -\leftskip
       #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
-      \penalty\@highpenalty
     \endgroup
   \fi}
-\newcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}}
-\newcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}}
-\newcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}}
-\newcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}}
-\newcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}}
+\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}}
+% List of figures
 \newcommand\listoffigures{%
-    \if@twocolumn
-      \@restonecoltrue\onecolumn
-    \else
-      \@restonecolfalse
-    \fi
-    \chapter*{\listfigurename
-      \@mkboth{\listfigurename}%
-              {\listfigurename}}%
+    \section*{\indent\listfigurename
+      \@mkboth{\scshape\listfigurename}%
+              {\scshape\listfigurename}}%
     \@starttoc{lof}%
-    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+% List of tables
 \newcommand\listoftables{%
-    \if@twocolumn
-      \@restonecoltrue\onecolumn
-    \else
-      \@restonecolfalse
-    \fi
-    \chapter*{\listtablename
+    \section*{\indent\listtablename
       \@mkboth{%
-          \listtablename}{\listtablename}}%
+          \scshape\listtablename}{\scshape\listtablename}}%
     \@starttoc{lot}%
-    \if@restonecol\twocolumn\fi
     }
 \let\l@table\l@figure
+%-----------------------------------------------------------------------------%
+% BIBLIOGRAPHY
+%-----------------------------------------------------------------------------%
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-     {\chapter*{\bibname
-        \@mkboth{\bibname}{\bibname}}%
+     {\section*{\indent\refname%
+      \addcontentsline{toc}{section}{\hspace*{1.5em}\refname}%
+      }%
+     \footnotesize
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
@@ -831,66 +828,58 @@
       \endlist}
 \newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
 \let\@openbib@code\@empty
+%-----------------------------------------------------------------------------%
+% INDEX
+%-----------------------------------------------------------------------------%
 \newenvironment{theindex}
-               {\if@twocolumn
-                  \@restonecolfalse
-                \else
-                  \@restonecoltrue
-                \fi
-                \columnseprule \z@
+               {\columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\@makeschapterhead{\indexname}]%
-                \@mkboth{\indexname}%
-                        {\indexname}%
-                \thispagestyle{empty}\parindent\z@
+                \twocolumn[\section*{\indent\indexname}]%
+                \addcontentsline{toc}{section}{\hspace*{1.5em}
+                \indexname}%
+                \@mkboth{\scshape\indexname}%
+                        {\scshape\indexname}%
+                \thispagestyle{plain}\parindent\z@
                 \parskip\z@ \@plus .3\p@\relax
                 \let\item\@idxitem}
-               {\if@restonecol\onecolumn\else\clearpage\fi}
+               {\onecolumn}
 \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}
+%-----------------------------------------------------------------------------%
+% FOOTNOTES
+%-----------------------------------------------------------------------------%
 \renewcommand\footnoterule{%
   \kern-3\p@
   \hrule\@width.4\columnwidth
   \kern2.6\p@}
-\@addtoreset{footnote}{chapter}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
     \hb@xt@1.8em{\hss\@makefnmark}#1}
+%-----------------------------------------------------------------------------%
+% DEFAULT ENGLISH NAMES
+%-----------------------------------------------------------------------------%
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\bibname{Bibliography}
+\newcommand\refname{References}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
-\newcommand\partname{Part}
-\newcommand\chaptername{Chapter}
 \newcommand\appendixname{Appendix}
-\def\today{\ifcase\month\or
+%-----------------------------------------------------------------------------%
+% INITIALIZING
+%-----------------------------------------------------------------------------%
+\newcommand\today{}
+\edef\today{\number\day \space \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{headings}
-\pagenumbering{arabic}
-\if@twoside
-\else
-  \raggedbottom
-\fi
-\if@twocolumn
-  \twocolumn
-  \sloppy
-  \flushbottom
-\else
-  \onecolumn
-\fi
-
-\newcommand\br{\hfill\break}
-
+  \space \number\year}   %
+\setlength\columnsep{10\p@} \setlength\columnseprule{0\p@}
+\pagestyle{plain} \pagenumbering{arabic}
 \endinput
 %%
-%% End of file `birkmono.cls'.
+%% End of file `notemat.cls'.
+

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns