arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/pr-imfp03-new.cls	2010-04-02 04:48:38.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ta-thesis.cls	2010-04-02 15:05:04.000000000 +0200
@@ -1,190 +1,156 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %%
-%% PR-IMFP03.CLS  : 03-03-03
-%% Class file to be used for the International Meeting on Fundamental
-%% Physics 2003 proceedings (size 21.59 x 15.24 cm) to be published by
-%% CIEMAT written in Latex2e.
+%% This is file `ta-thesis.cls' based on the latex2e standard class
+%% `book.cls'. Modifications made by Torsten Andersen, June 1998.
 %%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{pr-imfp03}
-               [2003/03/03 v1.1 Standard LaTeX document class]
+%% This file is distributed with "ta-thesis.tex", and should only be
+%% used for compilation thereof.
+%%
+%%
+%% \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}
+\ProvidesClass{ta-thesis}[1998/06/30]
+\newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
-%
+\@titlepagetrue
+\newif\if@openright
+\newif\if@openbib
+\@openbibfalse
+\newif\if@mainmatter \@mainmattertrue
+\DeclareOption{a4paper}
+ {\setlength\paperheight{297mm} \setlength\paperwidth{210mm}%
+  \voffset=5.6mm \hoffset=0.1mm}
+\DeclareOption{a5paper}
+ {\setlength\paperheight{210mm} \setlength\paperwidth{148mm}}
+\DeclareOption{b5paper}
+ {\setlength\paperheight{250mm} \setlength\paperwidth{176mm}}
+\DeclareOption{c5paper}
+ {\setlength\paperheight{229mm} \setlength\paperwidth{162mm}}
+\DeclareOption{mellemformat}
+ {\setlength\paperheight{235mm} \setlength\paperwidth{165mm}%
+ \voffset=-25.4mm \hoffset=-25.4mm}
+\DeclareOption{letterpaper}
+ {\setlength\paperheight{11in} \setlength\paperwidth{8.5in}%
+ \voffset=-3.2mm \hoffset=0.05mm}
+\DeclareOption{landscape}
+ {\setlength\@tempdima{\paperheight} \setlength\paperheight{\paperwidth}%
+  \setlength\paperwidth{\@tempdima}}
+\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
+\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
+\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
 \DeclareOption{final}{\setlength\overfullrule{0pt}}
+\DeclareOption{titlepage}{\@titlepagetrue}
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+\DeclareOption{onecolumn}{\@twocolumnfalse}
 \DeclareOption{twocolumn}{\@twocolumntrue}
-%
-\ExecuteOptions{a4paper,10pt,twoside,twocolumn,final}
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{\@openbibtrue}
+\ExecuteOptions{11pt,twoside,onecolumn,final,openright}
 \ProcessOptions
-%
-\renewcommand\normalsize{%
-   \@setfontsize\normalsize\@xpt\@xiipt
-   \abovedisplayskip6\p@\@plus4\p@\@minus2\p@
-   \abovedisplayshortskip\abovedisplayskip
-   \belowdisplayshortskip\abovedisplayshortskip
-   \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@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 4\p@ \@plus2\p@ \@minus2\p@
-               \parsep 2\p@ \@plus\p@ \@minus\p@
-               \itemsep \parsep}%
-   \belowdisplayskip \abovedisplayskip
-}
-\newcommand\footnotesize{%
-   \@setfontsize\footnotesize\@viiipt{9.5}%
-   \abovedisplayskip 6\p@ \@plus2\p@ \@minus4\p@
-   \abovedisplayshortskip \z@ \@plus\p@
-   \belowdisplayshortskip 3\p@ \@plus\p@ \@minus2\p@
-   \def\@listi{\leftmargin\leftmargini
-               \topsep 3\p@ \@plus\p@ \@minus\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\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\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
-%
-\trimheight8.50in
-\trimwidth6.00in
-\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\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\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{2\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@}
-\let\@listI\@listi
-\@listi
-\def\@listii {\leftmargin\leftmarginii
-              \labelwidth\leftmarginii
-              \advance\labelwidth-\labelsep
-              \topsep    4\p@ \@plus2\p@ \@minus\p@
-              \parsep    2\p@ \@plus\p@  \@minus\p@
-              \itemsep   \parsep}
-\def\@listiii{\leftmargin\leftmarginiii
-              \labelwidth\leftmarginiii
-              \advance\labelwidth-\labelsep
-              \topsep    2\p@ \@plus\p@\@minus\p@
-              \parsep    \z@
-              \partopsep \p@ \@plus\z@ \@minus\p@
-              \itemsep   \topsep}
-\def\@listiv {\leftmargin\leftmarginiv
-              \labelwidth\leftmarginiv
-              \advance\labelwidth-\labelsep}
-\def\@listv  {\leftmargin\leftmarginv
-              \labelwidth\leftmarginv
-              \advance\labelwidth-\labelsep}
-\def\@listvi {\leftmargin\leftmarginvi
-              \labelwidth\leftmarginvi
-              \advance\labelwidth-\labelsep}
-%
+\input{bk1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
-\setlength\parskip{0\p@}
+\setlength\parskip{0\p@ \@plus \p@}
 \@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}
+\renewcommand\topfraction{.9}
+\setcounter{bottomnumber}{2}
+\renewcommand\bottomfraction{.3}
+\setcounter{totalnumber}{4}
+\renewcommand\textfraction{.1}
+\renewcommand\floatpagefraction{.5}
 \setcounter{dbltopnumber}{2}
-\def\dbltopfraction{.981}
-\def\dblfloatpagefraction{.99}
-%
+\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\sectionmark##1{%
+    \def\chaptermark##1{%
       \markboth {\MakeUppercase{%
-        \ifnum \c@secnumdepth >\z@
-          \thesection\quad
+        \ifnum \c@secnumdepth >\m@ne
+          \if@mainmatter
+            \@chapapp\ \thechapter. \ %
+          \fi
         \fi
         ##1}}{}}%
-    \def\subsectionmark##1{%
-      \markright {%
-        \ifnum \c@secnumdepth >\@ne
-          \thesubsection\quad
-        \fi
-        ##1}}}
-%
-%\def\ps@plain{\let\@mkboth\@gobbletwo
-%     \let\@oddhead\@empty
-%      \let\@oddfoot\@empty
-%
-%        \def\@oddfoot{\lower2pc\hbox{\fbox{\hbox to \hsize{\reset@font\rightnote\hfill {\bf \thepage}}}}}
-%\let\@evenhead\@empty\let\@evenfoot\@oddfoot}
-%
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
+        \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 {\MakeUppercase{%
+        \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
-    \let\subsectionmark\@gobble
-}%
-%
+    }
+\if@titlepage
+  \newcommand\maketitle{\begin{titlepage}%
+  \let\footnotesize\small
+  \let\footnoterule\relax
+  \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}%
+  \let\thanks\relax\let\maketitle\relax
+  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
+\else
 \newcommand\maketitle{\par
   \begingroup
     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
@@ -206,66 +172,230 @@
     \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
-}
-%
-\def\title#1{\gdef\@title{\uppercase{#1}}}
-\def\@title{\@latex@error{No \expand\title given}\@ehc}
-%%
+  \let\thanks\relax
+  \let\maketitle\relax\let\@maketitle\relax
+  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}}
 \def\@maketitle{%
   \newpage
   \null
-%  \vskip 2em%
-\vspace*{-14pt}
-  \begin{center}%
-  \let \footnote \thanks
-    {\bf \@title \par}%
     \vskip 2em%
-   \@aabuffer
+  \begin{center}%
+    {\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}
-%
-\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}}}
-%
+  \par
+  \vskip 1.5em}
+\fi
+\newcommand*\partmark[1]{}
+\newcommand*\chaptermark[1]{}
 \setcounter{secnumdepth}{2}
-\newcounter {section}
+\newcounter {part}
+\newcounter {chapter}
+\newcounter {section}[chapter]
 \newcounter {subsection}[section]
-\renewcommand\thesection      {\@arabic\c@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\thesubsection   {\thesection.\@arabic\c@subsection}
-%
-\newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.50ex \@plus -1ex \@minus -.2ex}%
-                                   {2.3ex \@plus.2ex}%
-                                   {\rightskip1pc plus1fil\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}
-\leftmargin  \leftmargini
+\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{\cleardoublepage
+                 \thispagestyle{empty}%
+                 \if@twocolumn
+                   \onecolumn \@tempswatrue
+                 \else
+                   \@tempswafalse
+                 \fi
+                 \secdef\@part\@spart}
+
+\def\@part[#1]#2{%
+ \ifnum \c@section > 0
+  \addtocontents{toc}{\par}
+ \fi
+    \ifnum \c@secnumdepth >-2\relax
+      \refstepcounter{part}%
+      \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+    \else
+      \addcontentsline{toc}{part}{#1}%
+    \fi
+    \partmark{Part~\thepart:~#1}
+    \vbox to50mm{
+      \centering
+      \vfil
+      {\inch\partname~\thepart}
+      \vskip 1\baselineskip
+      \hrule width\hsize height1mm}
+    \vskip 1\baselineskip
+    \begin{center}
+     \interlinepenalty \@M
+      {\Huge #2}
+    \end{center}
+    \@endpart}
+\def\@spart#1{%
+ \ifnum \c@section > 0
+  \addtocontents{toc}{\par}
+ \fi
+ \addcontentsline{toc}{part}{#1}%
+ \partmark{#1}
+ \vbox to50mm{
+  \centering
+  \vfil
+  {\inch #1}
+  \vskip 1\baselineskip
+ \hrule width\hsize height1mm}
+ \@endpart}
+\def\@endpart{}
+\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
+                    \thispagestyle{plain}%
+                    \global\@topnum\z@
+                    \@afterindentfalse
+                    \secdef\@chapter\@schapter}
+\def\@chapter[#1]#2{%
+  \ifnum \c@section > 0
+   \addtocontents{toc}{\par}
+  \fi
+  \ifnum \c@secnumdepth >\m@ne
+    \if@mainmatter
+      \refstepcounter{chapter}%
+      \addcontentsline{toc}{chapter}{\protect\numberline{\thechapter}#1}%
+    \else
+      \addcontentsline{toc}{chapter}{#1}%
+    \fi
+  \else
+    \addcontentsline{toc}{chapter}{#1}%
+  \fi
+  \chaptermark{#1}%
+  \if@twocolumn
+    \@topnewpage[\@makechapterhead{#2}]%
+  \else
+    \@makechapterhead{#2}%
+    \@afterheading
+  \fi}
+\def\@makechapterhead#1{%
+ \vbox to50mm{
+  \flushright{{\inch\@chapapp~\thechapter}}
+  \vfill
+  \flushright{{\Large #1}}
+  \vskip .25\baselineskip
+  \hrule width\hsize height1mm}
+ \vskip .25\baselineskip
+}
+\def\@schapter#1{%
+  \markboth{#1}{#1}
+  \ifnum \c@section > 0
+   \addtocontents{toc}{\par}
+  \fi
+  \setcounter{section}{0}
+  \addcontentsline{toc}{chapter}{#1}%
+  \if@twocolumn
+    \@topnewpage[\@makeschapterhead{#1}]%
+  \else
+    \@makeschapterhead{#1}%
+    \@afterheading
+  \fi}
+\def\@makeschapterhead#1{%
+ \vbox to50mm{
+  \vfill
+  \flushright{{\Large #1}}
+  \vskip .25\baselineskip
+  \hrule width\hsize height1mm}
+ \vskip .25\baselineskip
+}
+\newcommand\section{%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@section\@ssection}
+\def\@section[#1]#2{%
+ \refstepcounter{section}%
+ \ifnum \c@section < 2
+  \addtocontents{toc}{\noindent#1~$\cdot$ \thepage}
+ \else
+  \addtocontents{toc}{$\bullet$ #1~$\cdot$ \thepage}
+ \fi
+ \vspace{3.5ex \@plus 1ex \@minus .2ex}%
+ {\flushleft{\normalfont\large\bfseries\thesection\ \ #2}}\par%
+ \penalty10000
+ \vspace{2.3ex plus.2ex}
+ \penalty10000
+ \@afterheading
+}%
+\def\@ssection#1{%
+ \refstepcounter{section}%
+ \ifnum \c@section < 2
+  \addtocontents{toc}{\noindent#1~$\cdot$ \thepage}
+ \else
+  \addtocontents{toc}{$\bullet$ #1~$\cdot$ \thepage}
+ \fi
+ \vspace{3.5ex \@plus 1ex \@minus .2ex}%
+ \hbox to\hsize{{\normalfont\large\bfseries #1\hfil}}%\par
+ \penalty10000%
+ \vspace{2.3ex \@plus.2ex}%
+ \penalty10000%
+ \@afterheading
+}%
+\newcommand\subsection{%
+ \global\@topnum\z@
+ \@afterindentfalse
+ \secdef\@subsection\@ssubsection}
+\def\@subsection[#1]#2{%
+ \refstepcounter{subsection}%
+ \vspace{3.25ex \@plus 1ex \@minus .2ex}%
+ {\flushleft{\normalfont\normalsize\bfseries\thesubsection\ \ #2}}\par%
+ \penalty10000
+ \vspace{1.5ex plus.2ex}
+ \penalty10000
+ \@afterheading
+}%
+\def\@ssubsection#1{%
+ \vspace{3.25ex \@plus 1ex \@minus .2ex}%
+ \hbox to\hsize{{\normalfont\normalsize\bfseries #1\hfil}}%\par
+ \penalty10000%
+ \vspace{1.5ex \@plus.2ex}%
+ \penalty10000%
+ \@afterheading
+}%
+\newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
+                                    {3.25ex \@plus1ex \@minus.2ex}%
+                                    {-1em}%
+                                    {\normalfont\normalsize\bfseries}}
+\newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
+                                       {3.25ex \@plus1ex \@minus .2ex}%
+                                       {-1em}%
+                                      {\normalfont\normalsize\bfseries}}
+\if@twocolumn
+  \setlength\leftmargini  {4mm} %{2em}
+\else
+  \setlength\leftmargini  {4mm} %{2.5em}
+\fi
 \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\leftmargin  {\leftmargini}
 \setlength  \labelsep  {.5em}
 \setlength  \labelwidth{\leftmargini}
 \addtolength\labelwidth{-\labelsep}
@@ -293,69 +423,46 @@
                {\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[]}
+               {\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}
-%
-%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}
-%
+\newenvironment{titlepage}
+    {%
+      \cleardoublepage
+      \if@twocolumn
+        \@restonecoltrue\onecolumn
+      \else
+        \@restonecolfalse\newpage
+      \fi
+      \thispagestyle{empty}%
+      \if@compatibility
+        \setcounter{page}{0}
+      \fi}%
+    {\if@restonecol\twocolumn \else \newpage \fi
+    }
 \newcommand\appendix{\par
+  \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \renewcommand\thesection{\@Alph\c@section}
-        \section*{\appendixname}}
-%
-\setlength\arraycolsep{1.5\p@}%5pt
+  \renewcommand\@chapapp{\appendixname}%
+  \renewcommand\thechapter{\@Alph\c@chapter}}
+\setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
 \setlength\doublerulesep{2\p@}
@@ -363,15 +470,10 @@
 \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}{}{}
-%
-\newcounter{figure}
-\renewcommand\thefigure{\@arabic\c@figure}
+\@addtoreset{equation}{chapter}
+\renewcommand\theequation{\thechapter.\@arabic\c@equation}
+\newcounter{figure}[chapter]
+\renewcommand\thefigure{\thechapter.\@arabic\c@figure}
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
@@ -382,9 +484,8 @@
 \newenvironment{figure*}
                {\@dblfloat{figure}}
                {\end@dblfloat}
-%
-\newcounter{table}
-\renewcommand\thetable{\@arabic\c@table}
+\newcounter{table}[chapter]
+\renewcommand\thetable{\thechapter.\@arabic\c@table}
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
@@ -395,34 +496,20 @@
 \newenvironment{table*}
                {\@dblfloat{table}}
                {\end@dblfloat}
-%
 \newlength\abovecaptionskip
 \newlength\belowcaptionskip
-\setlength\abovecaptionskip{10\p@}
-\setlength\belowcaptionskip{6\p@}
-\def\captionfont{\normalfont\footnotesize{}}
+\setlength\abovecaptionskip{0\p@}
+\setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
-        \captionfont
  \vskip\abovecaptionskip
-  \sbox\@tempboxa{#1.\hskip.5em#2}%
+  \sbox\@tempboxa{#1: #2}%
   \ifdim \wd\@tempboxa >\hsize
-    \noindent #1.\hskip.5em#2\par
+    #1: {\small #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}
@@ -430,19 +517,107 @@
 \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}{1}
+\newcommand\tableofcontents{%
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\contentsname}
+    \@starttoc{toc}%
+    \if@restonecol\twocolumn\fi
+    }
+\newcommand*\l@part[2]{%
+  \ifnum \c@tocdepth >-2 %\relax
+    \addpenalty{-\@highpenalty}%
+    \vskip \baselineskip
+    \begingroup
+      \setlength\@tempdima{3em}%
+      \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 0.5\baselineskip
+    \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
+      \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\listoffigures{%
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \section*{\listfigurename}
+    \@starttoc{lof}%
+    \if@restonecol\twocolumn\fi
+    }
+\newcommand*\l@figure{\@dottedtocline{1}{0.0em}{2.3em}}
+\newcommand\listoftables{%
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \section*{\listtablename}
+    \@starttoc{lot}%
+    \if@restonecol\twocolumn\fi
+    }
+\let\l@table\l@figure
+\newdimen\bibindent
+%\bibindent=1.5em
+\bibindent=0em
 \newenvironment{thebibliography}[1]
-        {\section*{\refname}
-        \begin{list}{\arabic{enumi}.}
-        {\usecounter{enumi}\setlength{\parsep}{0pt}
-         \setlength{\itemsep}{0pt} \settowidth
-        {\labelwidth}{#1.}\sloppy}}{\end{list}}
-%%
+     {\part*{\bibname}
+      \list{\@biblabel{\@arabic\c@enumiv}}%
+           {\settowidth\labelwidth{\@biblabel{#1}}%
+            \leftmargin\labelwidth
+            \if@openbib
+              \advance\leftmargin\bibindent
+              \itemindent -\bibindent
+              \listparindent \itemindent
+              \parsep \z@
+            \fi
+            \usecounter{enumiv}%
+            \let\p@enumiv\@empty
+            \renewcommand\theenumiv{\@arabic\c@enumiv}}%
+      \if@openbib
+        \renewcommand\newblock{\par}%
+      \else
+        \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
+      \fi
+      \sloppy\clubpenalty4000\widowpenalty4000%
+      \sfcode`\.=\@m}
+     {\def\@noitemerr
+       {\@latex@warning{Empty `thebibliography' environment}}%
+      \endlist}
+\newcommand\newblock{}
 \newenvironment{theindex}
                {\if@twocolumn
                   \@restonecolfalse
@@ -451,7 +626,7 @@
                 \fi
                 \columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\section*{\indexname}]%
+                \twocolumn[\@makeschapterhead{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
                 \thispagestyle{plain}\parindent\z@
@@ -459,89 +634,47 @@
                 \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
   \kern2.6\p@}
-\newcommand\@makefntext[1]{%
+\@addtoreset{footnote}{chapter}
+\long\def\@makefntext#1{%
     \parindent 1em%
     \noindent
-     \@makefnmark#1}
-%
-\def\thefootnote{\alph{footnote}}
-\def\@makefnmark{{$^{\@thefnmark}$}}
-%
+    \hb@xt@1.8em{\hss\@makefnmark}#1}
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\refname{References}
+\newcommand\bibname{Bibliography}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
 \newcommand\partname{Part}
+\newcommand\chaptername{Chapter}
 \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
-%
-%%%%%%%%%%%%%%%%
-%
-\newcommand\today{}
-\edef\today{\ifcase\month\or
+\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}
-\setlength\columnsep{0.25in}
+\setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\pagestyle{plain}
+\pagestyle{headings}
 \pagenumbering{arabic}
+\if@twoside
+\else
+  \raggedbottom
+\fi
+\if@twocolumn
+  \twocolumn
 \sloppy
-\onecolumn
 \flushbottom
+\else
+  \onecolumn
+\fi
 \endinput
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%End %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-
+%%
+%% End of file `ta-thesis.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns