arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/ActaStyle1.cls	2010-04-01 18:41:11.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/is-thesis.cls	2010-04-03 11:00:06.000000000 +0200
@@ -1,168 +1,84 @@
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%  ActaStyle.cls - modified article style file for acta physica slovaca
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%                    BRIEF DESCRIPTION FOR LaTeX2e
-%
-%        !!! PLEASE, SAVE THIS FILE AS "ActaStyle.cls"
-%  INTO THE DIRECTORY WHERE YOU HAVE YOUR LaTeX2e SOURCE CODE !!!
-%
-%   at the begininig of the article:
-%
-%	\documentclass[twoside,fleqn]{ActaStyle}
-%       \usepackage[dvips]{graphics}
-%       \usepackage{times,cite}
-%
-%       \pagerange{1}{number of the last page of your article}  % (it produces the head on the first page),
-%	\title{TITLE OF THE ARTICLE}
-%
-%	\author{1st. author, 2nd.author, ... ,last author}%    (do not use "and" in the list of authors)
-%              {address of the first author \\ address of the second author \\ ... address of the last author}
-%
-%	for e-mail address, use macro \email{} in the \author - macro:
-%	\author{name of the author\email{e-mail address}}{address of the author}
-%
-%	\abstract{abstract of the paper}
-%
-%	please define also the following items (for running head):
-%	\def\authorheading{list of authors, or "first author et al.",
-%                       if there are more then 3 authors}
-%	\def\shorttitle{short title}
-%
-%	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%	EXAMPLE OF THE BEGINING OF YOUR PAPER:
-%
-%	\documentclass[twoside,fleqn]{ActaStyle}
-%       \usepackage[dvips]{graphics}
-%       \usepackage{times,cite}
-%
-%	\def\authorheading{E. Abrahams et al.}
-%	\def\shorttitle{Scaling Theory of Localization...}
-%
-%	\begin{document}
-%	\pagerange{1}{7}   %(paper has 7 pages)
-%
-%	\title{SCAING THEORY OF LOCALIZATION: ABSENCE OF QUANTUM DIFFUSION
-%	IN TWO DIMENSIONS}
-%
-%	\author{E.~Abrahams\email{abrahams@yahoo.com}$^*$, P.~W.~Anderson$^\dag$,
-%               D.~C.~Licciardello$^\dag$, T.~V.~Ramakrishnan$^\dag$}
-%              {$^*$Serin Physics Laboratory, ... \\ $^\dag$Joseph Henry Laboratories of Physics ...}
-%
-%	\abstract{...}
-%
-%       \pacs{...}
-%
-%	\section{Introduction}
-%
-%	text
-%
-%	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%	% Figures:
-%
-%       % To insert encapsulated postscript figures (*.eps):
-%
-%	\begin{figure}[t]
-%       \begin{center}
-%       \includegraphics[width=8cm,clip=]{fig.eps}
-%	\caption{caption of figure}\label{fig:label}
-%	\end{center}
-%	\end{figure}
-%
-%	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%       % Tables:
-%
-%       % See standard LaTeX2e manual
-%
-%	%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%       Acknowledgement:
-%
-%       \begin{ack}
-%         Here comes acknowledgement
-%       \end{ack}
-%
-%       REFERENCES:
-%
-%	in the list of references please use macro
-%       (for journal reference ONLY)
-%
-%       \refer{author}{journal}{volume}{year}{page}
-%
-%       or, equivalently:
-%       author : {\sl journal} {\bf volume} (year) page
-%
-%       for book references, use:
-%	A.~B.~Author: {\sl name of book} (Publishing House, year)
-%
-%
-%	examples:
-%
-%      \begin{thebibliogragphy}{xx}
-%
-%        \bibitem{XY} \refer{author}{journal}{volume}{year}{page}
-%
-%        \bibitem{PRL} \refer{X.~Y.~Author, Z.~T.~Anotherauthor}{Phys. Rev.}{B 41}{1981}{1}
-%        \bibitem{PRL} X.~Y.~Author, Z.~T.~Anotherauthor: {\sl Phys. Rev.} {\bf B 41} (1981) 1
-%        (please DO NOT use "and" between authors)
-%
-%        \bibitem{AB} A.~B.~Author: {\sl name of book} (Publishing House, year)
-%
-%      \end{thebibliogragphy}
-%
-%
-%  FOR DETAILS OF REFERENCES: SEE "INSTRUCTION TO AUTHORS"
-%
-%   AT http://nic.savba.sk/sav/inst/fyzi/aps/aps.htm
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%	some usefull PRE-DEFINED macro's:
-%
-%	\be  =  \begin{equation}       for numbered equations
-%	\bes =  \begin{displaymath}    for eqs. without numbering
-%				       (instead of $$)
-%	\ee  =  \end{equation}
-%	\ees =  \end{displaymath}
-%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%% ----------------------------------------
-%% This file is part of the LaTeX2e system. (small modifications)
+
+\def\@cite#1#2{$^{\hbox{[\scriptsize{#1\if@tempswa , $2\fi}]}}$}
+%%\def\@citen#1#2{\hbox{[#1\if@tempswa , $2\fi]}}
+
+%%
+%% This is file `is-thesis.cls',
+%% written by ymmt@is.s.u-tokyo.ac.jp.
+%%
+%% The original source files were:
+%%
+%% j-classes.dtx  (with options: `report')
+%%
+%% This file is (or is generated from) j-classes.dtx, which is
+%% the changed version of classes.dtx [1994/07/13 v1.2u].
+%% j-classes.dtx is changed by Takafumi SAKURAI, and the original file
+%% has the following copyright. The same restrictions as those of the
+%%      original file apply to this file. See jlatex.txt.
+%%
+%% ----
+%%
+%% Copyright 1994 the LaTeX3 project and the individual authors.
+%% All rights reserved. For further copyright Computer see the file
+%% legal.txt, and any other copyright indicated in this file.
+%%
+%% This file is part of the LaTeX2e system.
 %% ----------------------------------------
-\NeedsTeXFormat{LaTeX2e}[1998/12/01]
-\ProvidesClass{ActaStyle}
-              [1998/12/01 v1.0
- Standard LaTeX document class]
+%%
+%% This system is distributed in the hope that it will be useful,
+%% but WITHOUT ANY WARRANTY; without even the implied warranty of
+%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+%%
+%%
+%% IMPORTANT NOTICE:
+%%
+%% For error reports in case of UNCHANGED versions see bugs.txt.
+%%
+%% Please do not request updates from us directly. Distribution is
+%% done through Mail-Servers and TeX organizations.
+%%
+%% You are not allowed to change this file.
+%%
+%% You are allowed to distribute this file under the condition that
+%% it is distributed together with all files mentioned in manifest.txt.
+%%
+%% If you receive only some of these files from someone, complain!
+%%
+%% You are NOT ALLOWED to distribute this file alone. You are NOT
+%% ALLOWED to take money for the distribution or use of either this
+%% file or a changed version, except for a nominal charge for copying
+%% etc.
+%% \CharacterTable
+%%  {Upper-case    \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%%   Lower-case    \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%%   Digits        \0\1\2\3\4\5\6\7\8\9
+%%   Exclamation   \!     Double quote  \"     Hash (number) \#
+%%   Dollar        \$     Percent       \%     Ampersand     \&
+%%   Acute accent  \'     Left paren    \(     Right paren   \)
+%%   Asterisk      \*     Plus          \+     Comma         \,
+%%   Minus         \-     Point         \.     Solidus       \/
+%%   Colon         \:     Semicolon     \;     Less than     \<
+%%   Equals        \=     Greater than  \>     Question mark \?
+%%   Commercial at \@     Left bracket  \[     Backslash     \\
+%%   Right bracket \]     Circumflex    \^     Underscore    \_
+%%   Grave accent  \`     Left brace    \{     Vertical bar  \|
+%%   Right brace   \}     Tilde         \~}
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{is-thesis}
+              [1996/12/22 v1.0
+ Standard IS senior and master thesis document class]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
-\@titlepagefalse
-\if@compatibility\else
-\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}}
-\fi
+\@titlepagetrue
+\newif\if@openright
+\newif\if@seniorthesis
+\newif\if@masterthesis
+\newif\if@doctorthesis
+\newif\if@interim
+\@seniorthesistrue
+\setlength\paperheight {297mm}
+\setlength\paperwidth  {210mm}
 \if@compatibility
   \renewcommand\@ptsize{0}
 \else
@@ -175,6 +91,7 @@
 \fi
 \DeclareOption{twoside}{\@twosidetrue  \@mparswitchtrue}
 \DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\DeclareOption{loose}{\setlength\overfullrule{2pt}}
 \if@compatibility\else
 \DeclareOption{final}{\setlength\overfullrule{0pt}}
 \fi
@@ -182,6 +99,11 @@
 \if@compatibility\else
 \DeclareOption{notitlepage}{\@titlepagefalse}
 \fi
+\if@compatibility
+\else
+\DeclareOption{openright}{\@openrighttrue}
+\DeclareOption{openany}{\@openrightfalse}
+\fi
 \if@compatibility\else
 \DeclareOption{onecolumn}{\@twocolumnfalse}
 \fi
@@ -198,9 +120,28 @@
       }%
    \renewcommand\newblock{\par}}%
 }
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final}
+\DeclareOption{osize}{\renewcommand\re@size{oresize}}
+\DeclareOption{senior}{\@seniorthesistrue}
+\DeclareOption{master}{\@masterthesistrue \@seniorthesisfalse}
+\DeclareOption{doctor}{\@doctorthesistrue \@seniorthesisfalse \@masterthesisfalse}
+\DeclareOption{interim}{\@interimtrue}
+\ExecuteOptions{10pt,oneside,onecolumn,final,openany,senior}
+\ifx\re@size\@undefined\let\re@size\empty\fi
 \ProcessOptions
-\input{size1\@ptsize.clo}
+\input{j-size1\@ptsize.clo}
+%
+\setlength{\oddsidemargin}{1in}
+\setlength{\textwidth}{\paperwidth}
+\addtolength{\textwidth}{-2\oddsidemargin}
+\addtolength{\oddsidemargin}{-1in}
+\setlength{\evensidemargin}{\oddsidemargin}
+\setlength{\topmargin}{1in}
+\setlength{\headsep}{0pt}
+\setlength{\headheight}{0pt}
+\setlength{\textheight}{\paperheight}
+\addtolength{\textheight}{-2\topmargin}
+\addtolength{\topmargin}{-1in}
+%
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -224,27 +165,27 @@
       \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
+            \@chapapp{\thechapter}\ %
         \fi
         ##1}}{}}%
-    \def\subsectionmark##1{%
-      \markright {%
-        \ifnum \c@secnumdepth >\@ne
-          \thesubsection\quad
+    \def\sectionmark##1{%
+      \markright {\MakeUppercase{%
+        \ifnum \c@secnumdepth >\z@
+          \thesection. \ %
         \fi
-        ##1}}}
+        ##1}}}}
 \else
   \def\ps@headings{%
     \let\@oddfoot\@empty
     \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
     \let\@mkboth\markboth
-    \def\sectionmark##1{%
+    \def\chaptermark##1{%
       \markright {\MakeUppercase{%
         \ifnum \c@secnumdepth >\m@ne
-          \thesection\quad
+            \@chapapp{\thechapter}\ %
         \fi
         ##1}}}}
 \fi
@@ -253,39 +194,97 @@
     \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
   \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.
+%  \null\vfil
+  \begin{center}\Large%
+    \vspace*{3em minus 3em}%
+    {\@etitle}\par
+    {\@jtitle}\par
+    \vskip 2em\relax
+    by \par
+    \vskip 1em\relax
+    {\lineskip .75em\relax
+     \@eauthor \par
+     \@jauthor \par
+     \vskip 2em\relax
+     \lineskip .75em\relax
+     \ethesisname \par
+     \jthesisname \par
+    }%
+    \vskip 3em\relax
+
+    \if@seniorthesis%
+    \vbox{%
+        % Submitted to\\
+        the Department of Computer Science\\
+        the Faculty of Science, the University of Tokyo\\
+        %on \@date\\
+        %in Partial Fulfillment of the Requirements\\
+        %for the Degree of \thesisgrade \ of Science
+    }%
+    \else%
+    \vbox{%
+        Submitted to\\
+        the Graduate School of the University of Tokyo\\
+        %\if@interim\else on \@date\\\fi
+        in Partial Fulfillment of the Requirements\\
+        for the Degree of \thesisgrade\ %
+        of Information Science and Technology\\
+        in Computer Science
+    }%
+    \fi
+    \if@interim
+       \vskip 6em%
+       \vbox{\@date}%
+    \else
+       \vskip 2em%
+      \vbox{%
+          Thesis Supervisor: \@esupervisor \quad \@jsupervisor\\
+          \@supervisortitle \ of Computer Science
+      }%
+    \fi
   \end{center}\par
   \@thanks
-  \vfil\null
+  \vfil
+  \end{titlepage}%
+  %\null\vfil
+  %\thispagestyle{empty}
+  %\pagebreak
+  \begin{titlepage}%
+  \begin{center}%
+   \usebox{\eabstractbox}
+   \vskip 2em%
+   \usebox{\jabstractbox}
+  \end{center}\par
+  \vfil
+  \thispagestyle{empty}%
   \end{titlepage}%
   \setcounter{footnote}{0}%
   \global\let\thanks\relax
   \global\let\maketitle\relax
   \global\let\@thanks\@empty
-  \global\let\@author\@empty
+  \global\let\@jauthor\@empty
+  \global\let\@eauthor\@empty
   \global\let\@date\@empty
-  \global\let\@title\@empty
-  \global\let\title\relax
-  \global\let\author\relax
+  \global\let\@jtitle\@empty
+  \global\let\@etitle\@empty
+  \global\let\@jsupervisor\@empty
+  \global\let\@esupervisor\@empty
+  \global\let\@supervisortitle\@empty
+  \global\let\jtitle\relax
+  \global\let\etitle\relax
+  \global\let\jauthor\relax
+  \global\let\eauthor\relax
+  \global\let\jsupervisor\relax
+  \global\let\esupervisor\relax
+  \global\let\supervisortitle\relax
   \global\let\date\relax
   \global\let\and\relax
 }
@@ -342,78 +341,141 @@
   \par
   \vskip 1.5em}
 \fi
-\setcounter{secnumdepth}{3}
+\newcommand*\chaptermark[1]{}
+\setcounter{secnumdepth}{2}
 \newcounter {part}
-\newcounter {section}
+\newcounter {chapter}
+\newcounter {section}[chapter]
 \newcounter {subsection}[section]
 \newcounter {subsubsection}[subsection]
 \newcounter {paragraph}[subsubsection]
 \newcounter {subparagraph}[paragraph]
 \renewcommand \thepart {\@Roman\c@part}
-\renewcommand \thesection {\@arabic\c@section}
+\renewcommand\thechapter      {\@arabic\c@chapter}
+\renewcommand\thesection      {\thechapter.\@arabic\c@section}
 \renewcommand\thesubsection   {\thesection.\@arabic\c@subsection}
 \renewcommand\thesubsubsection{\thesubsection .\@arabic\c@subsubsection}
 \renewcommand\theparagraph    {\thesubsubsection.\@arabic\c@paragraph}
 \renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
-\newcommand\part{%
-   \if@noskipsec \leavevmode \fi
-   \par
-   \addvspace{4ex}%
-   \@afterindentfalse
+\newcommand*\@chapapp[1]{\chaptername{#1}}
+\newcommand\part{\cleardoublepage
+                 \thispagestyle{plain}%
+                 \if@twocolumn
+                     \onecolumn
+                     \@tempswatrue
+                   \else
+                     \@tempswafalse
+                 \fi
+                 \null\vfil
    \secdef\@part\@spart}

 \def\@part[#1]#2{%
-    \ifnum \c@secnumdepth >\m@ne
+    \ifnum \c@secnumdepth >-2\relax
       \refstepcounter{part}%
       \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
     \else
       \addcontentsline{toc}{part}{#1}%
     \fi
-    {\parindent \z@ \raggedright
+    \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
+                \null
+                \thispagestyle{empty}%
+                \newpage
+              \fi
+              \if@tempswa
+                \twocolumn
+              \fi}
+\newcommand\chapter{\if@openright\cleardoublepage\else\clearpage\fi
+                    \thispagestyle{plain}%
+                    \global\@topnum\z@
+                    \@afterindentfalse
+                    \secdef\@chapter\@schapter}
+\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+                         \refstepcounter{chapter}%
+                         \typeout{\@chapapp{\thechapter}}%
+                         \addcontentsline{toc}{chapter}%
+                                   {\protect\numberline{\thechapter}#1}%
+                    \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{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright \normalfont
      \ifnum \c@secnumdepth >\m@ne
-       \Large\bfseries \partname~\thepart
+        \chapn@font \@chapapp{\thechapter}
        \par\nobreak
+        \vskip 20\p@
      \fi
-     \huge \bfseries #2%
-     \markboth{}{}\par}%
-    \nobreak
-    \vskip 3ex
-    \@afterheading}
-\def\@spart#1{%
-    {\parindent \z@ \raggedright
      \interlinepenalty \@M
+    \chapt@font #1\par\nobreak
+    \vskip 40\p@
+  }}
+\def\@schapter#1{\if@twocolumn
+                   \@topnewpage[\@makeschapterhead{#1}]%
+                 \else
+                   \@makeschapterhead{#1}%
+                   \@afterheading
+                 \fi}
+\def\@makeschapterhead#1{%
+  \vspace*{50\p@}%
+  {\parindent \z@ \raggedright
      \normalfont
-     \huge \bfseries #1\par}%
-     \nobreak
-     \vskip 3ex
-     \@afterheading}
+    \interlinepenalty\@M
+    \chapt@font #1\par\nobreak
+    \vskip 40\p@
+  }}
+\newcommand*\chapterfont[2]{%
+   \gdef\chapn@font{#1}\gdef\chapt@font{#2}}
+\chapterfont{\LARGE\bfseries}{\LARGE\bfseries}
 \newcommand\section{\@startsection {section}{1}{\z@}%
-                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
+                                   {3.5ex \@plus 1ex \@minus .2ex}%
                                    {2.3ex \@plus.2ex}%
-                                   {\normalfont\normalsize\bfseries\centering}}
-%                                   {\normalfont\Large\bfseries}}
+                                   {\normalfont\sec@font}}
 \newcommand\subsection{\@startsection{subsection}{2}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {3.25ex\@plus 1ex \@minus .2ex}%
                                      {1.5ex \@plus .2ex}%
-                                     {\normalfont\normalsize\bfseries\centering}}
-%                                     {\normalfont\large\bfseries}}
+                                     {\normalfont\ssec@font}}
 \newcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
-                                     {-3.25ex\@plus -1ex \@minus -.2ex}%
+                                     {3.25ex\@plus 1ex \@minus .2ex}%
                                      {1.5ex \@plus .2ex}%
-                                     {\normalfont\normalsize\bfseries\centering}}
-%                                     {\normalfont\normalsize\bfseries}}
+                                     {\normalfont\sssec@font}}
 \newcommand\paragraph{\@startsection{paragraph}{4}{\z@}%
                                     {3.25ex \@plus1ex \@minus.2ex}%
                                     {-1em}%
-                                    {\normalfont\normalsize\bfseries\centering}}
-%                                    {\normalfont\normalsize\bfseries}}
+                                    {\normalfont\normalsize\bfseries}}
 \newcommand\subparagraph{\@startsection{subparagraph}{5}{\parindent}%
                                        {3.25ex \@plus1ex \@minus .2ex}%
                                        {-1em}%
-                                      {\normalfont\normalsize\bfseries\centering}}
-%                                      {\normalfont\normalsize\bfseries}}
+                                      {\normalfont\normalsize\bfseries}}
+\newcommand*\sectionfont[3]{%
+   \gdef\sec@font{#1}\gdef\ssec@font{#2}\gdef\sssec@font{#3}}
+\sectionfont{\large\bfseries}{\normalsize\bfseries}{\normalsize\bfseries}
 \if@twocolumn
   \setlength\leftmargini  {2em}
 \else
@@ -447,10 +509,19 @@
 \renewcommand\p@enumii{\theenumi}
 \renewcommand\p@enumiii{\theenumi(\theenumii)}
 \renewcommand\p@enumiv{\p@enumiii\theenumiii}
-\newcommand\labelitemi{\textbullet}
-\newcommand\labelitemii{\normalfont\bfseries \textendash}
-\newcommand\labelitemiii{\textasteriskcentered}
-\newcommand\labelitemiv{\textperiodcentered}
+\newcommand\labelitemi{$\m@th\bullet$}
+\newcommand\labelitemii{\normalfont\bfseries --}
+\newcommand\labelitemiii{$\m@th\ast$}
+\newcommand\labelitemiv{$\m@th\cdot$}
+\newenvironment{acknowledge}
+               {\begin{titlepage}
+                \vspace*{50\p@}%
+                  {\parindent \z@ \raggedright \normalfont
+                   \interlinepenalty\@M
+                   \chapt@font Acknowledgements\par\nobreak
+                   \vskip 40\p@}%
+               }
+               {\end{titlepage}}
 \newenvironment{description}
                {\list{}{\labelwidth\z@ \itemindent-\leftmargin
                         \let\makelabel\descriptionlabel}}
@@ -458,6 +529,26 @@
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
 \if@titlepage
+  \newsavebox{\eabstractbox}%
+  \newsavebox{\jabstractbox}%
+  \newenvironment{eabstract}%
+      {\global\setbox\eabstractbox=\hbox\bgroup%
+       \begin{minipage}{1.0\textwidth}%
+       \setlength{\parindent}{1.5em}%
+       \small%
+       \begin{center}%
+         \bfseries \eabstractname
+       \end{center}\par}%
+      {\end{minipage}\egroup}
+  \newenvironment{jabstract}%
+      {\global\setbox\jabstractbox=\hbox\bgroup%
+       \begin{minipage}{1.0\textwidth}%
+       \setlength{\parindent}{1em}%
+       \small%
+       \begin{center}%
+         \bfseries \jabstractname
+       \end{center}\par}%
+      {\end{minipage}\egroup}
   \newenvironment{abstract}{%
       \titlepage
       \null\vfil
@@ -531,9 +622,10 @@
     }
 \fi
 \newcommand\appendix{\par
+  \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \setcounter{subsection}{0}%
-  \gdef\thesection{\@Alph\c@section}}
+  \renewcommand*\@chapapp[1]{\appendixname{##1}}%
+  \renewcommand\thechapter{\@Alph\c@chapter}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -542,9 +634,10 @@
 \skip\@mpfootins = \skip\footins
 \setlength\fboxsep{3\p@}
 \setlength\fboxrule{.4\p@}
-\renewcommand \theequation {\@arabic\c@equation}
-\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}
@@ -555,8 +648,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}
@@ -572,10 +665,10 @@
 \setlength\abovecaptionskip{10\p@}
 \setlength\belowcaptionskip{0\p@}
 \long\def\@makecaption#1#2{%
-  \small\vskip\abovecaptionskip                                    %%%%% \small font for cations
-  \sbox\@tempboxa{#1. #2}%                                         %%%%% Fig. 1. not Fig. 1:
+  \vskip\abovecaptionskip
+  \sbox\@tempboxa{#1: #2}%
   \ifdim \wd\@tempboxa >\hsize
-    #1. #2\par                                                     %%%%% Fig. 1. not Fig. 1:
+    #1: #2\par
   \else
     \global \@minipagefalse
     \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
@@ -593,33 +686,38 @@
 \newcommand\@pnumwidth{1.55em}
 \newcommand\@tocrmarg{2.55em}
 \newcommand\@dotsep{4.5}
-\setcounter{tocdepth}{3}
+\setcounter{tocdepth}{2}
 \newcommand\tableofcontents{%
-    \section*{\contentsname
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\contentsname
         \@mkboth{%
            \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
     \@starttoc{toc}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@part[2]{%
   \ifnum \c@tocdepth >-2\relax
-    \addpenalty\@secpenalty
+    \addpenalty{-\@highpenalty}%
     \addvspace{2.25em \@plus\p@}%
     \begingroup
+      \setlength\@tempdima{3em}%
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
       {\leavevmode
        \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
        \nobreak
-       \if@compatibility
          \global\@nobreaktrue
          \everypar{\global\@nobreakfalse\everypar{}}%
-      \fi
     \endgroup
   \fi}
-\newcommand*\l@section[2]{%
-  \ifnum \c@tocdepth >\z@
-    \addpenalty\@secpenalty
-    \addvspace{1.0em \@plus\p@}%
+\newcommand*\l@chapter[2]{%
+  \ifnum \c@tocdepth >\m@ne
+    \addpenalty{-\@highpenalty}%
+    \vskip 1.0em \@plus\p@
     \setlength\@tempdima{1.5em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
@@ -628,31 +726,46 @@
       \advance\leftskip\@tempdima
       \hskip -\leftskip
       #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+      \penalty\@highpenalty
     \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*\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{%
-    \section*{\listfigurename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listfigurename
       \@mkboth{\MakeUppercase\listfigurename}%
               {\MakeUppercase\listfigurename}}%
     \@starttoc{lof}%
+    \if@restonecol\twocolumn\fi
     }
 \newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
 \newcommand\listoftables{%
-    \section*{\listtablename
+    \if@twocolumn
+      \@restonecoltrue\onecolumn
+    \else
+      \@restonecolfalse
+    \fi
+    \chapter*{\listtablename
       \@mkboth{%
           \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
     \@starttoc{lot}%
+    \if@restonecol\twocolumn\fi
     }
 \let\l@table\l@figure
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-     {\section*{\refname
-        \@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
+     {\chapter*{\bibname
+        \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
+      \addcontentsline{toc}{chapter}{\bibname}%
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
@@ -661,10 +774,7 @@
             \usecounter{enumiv}%
             \let\p@enumiv\@empty
             \renewcommand\theenumiv{\@arabic\c@enumiv}}%
-      \sloppy
-      \clubpenalty4000
-      \@clubpenalty \clubpenalty
-      \widowpenalty4000%
+      \sloppy\clubpenalty4000\widowpenalty4000%
       \sfcode`\.\@m}
      {\def\@noitemerr
        {\@latex@warning{Empty `thebibliography' environment}}%
@@ -679,7 +789,7 @@
                 \fi
                 \columnseprule \z@
                 \columnsep 35\p@
-                \twocolumn[\section*{\indexname}]%
+                \twocolumn[\@makeschapterhead{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
                 \thispagestyle{plain}\parindent\z@
@@ -694,6 +804,7 @@
   \kern-3\p@
   \hrule\@width.4\columnwidth
   \kern2.6\p@}
+\@addtoreset{footnote}{chapter}
 \newcommand\@makefntext[1]{%
     \parindent 1em%
     \noindent
@@ -701,21 +812,69 @@
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\refname{References}
+\newcommand\bibname{References}
 \newcommand\indexname{Index}
 \newcommand\figurename{Figure}
 \newcommand\tablename{Table}
-\newcommand\partname{Part}
-\newcommand\appendixname{Appendix}
-\newcommand\abstractname{Abstract}
-\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}
+\newcommand*\partname[1]{Part #1}
+\newcommand\chaptername[1]{Chapter #1}
+\newcommand\appendixname[1]{Appendix #1}
+\newcommand\abstractname{׻}
+\newcommand\eabstractname{ABSTRACT}
+\newcommand\jabstractname{ʸ׻}
+\if@seniorthesis
+ \newcommand\ethesisname{A Senior Thesis}
+ \newcommand\jthesisname{´ʸ}
+\else \if@masterthesis
+ \if@interim
+  \newcommand\ethesisname{An Interim Report (Abstract)}
+  \newcommand\jthesisname{ (ʸ׻)}
+ \else
+  \newcommand\ethesisname{A Master Thesis}
+  \newcommand\jthesisname{ʸ}
+ \fi
+\else \if@doctorthesis
+ \newcommand\ethesisname{A Doctoral Thesis}
+ \newcommand\jthesisname{ʸ}
+\fi \fi \fi
+\if@seniorthesis
+ \newcommand\thesisgrade{Bachelor}
+\else \if@masterthesis
+ \newcommand\thesisgrade{Master}
+\else \if@doctorthesis
+ \newcommand\thesisgrade{Doctor}
+\fi \fi \fi
+\def\esupervisor#1{
+ \gdef\@esupervisor{#1}}
+\def\jsupervisor#1{
+ \gdef\@jsupervisor{#1}}
+\def\supervisortitle#1{
+ \gdef\@supervisortitle{#1}}
+\def\etitle#1{
+ \gdef\@etitle{\uppercase{#1}}}
+\def\jtitle#1{
+ \gdef\@jtitle{#1}}
+\def\eauthor#1{
+ \gdef\@eauthor{#1}}
+\def\jauthor#1{
+ \gdef\@jauthor{#1}}
+\newcommand\today{}
+%%%
+%%%\newif\if \def\{\true}\def\{\false}\let\ǯ\
+%%%\
+%%%\count255\year\advance\count255 -1988
+%%%\edef\today{\noexpand\if\number\year
+%%%\noexpand\else{ʿ\ifnum\count255=1 \else\number\count255\fi}%
+%%%\noexpand\fi
+%%%ǯ \number\month  \number\day }
+%%%
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
 \pagestyle{plain}
 \pagenumbering{arabic}
+\def\sloppy{\tolerance 5000
+            \emergencystretch 3em
+            \hfuzz .5\p@ \vfuzz .5\p@}
 \if@twoside
 \else
   \raggedbottom
@@ -727,125 +886,6 @@
 \else
   \onecolumn
 \fi
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%
-%            DO NOT CHANGE THE FOLLOWING LINES (ActaPS.cls)
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\thebibliography#1{
-\baselineskip3mm
-\itemsep0pt
-\parsep10mm
-\bigskip
-\small
-\centerline{\bf References}
-\medskip
-\list
- {[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
- \advance\leftmargin\labelsep\itemsep0pt
- \usecounter{enumi}}
- \def\newblock{\hskip .11em plus .33em minus .07em}
- \sloppy\clubpenalty4000\widowpenalty4000
- \sfcode`\.=1000\relax%
-}
-\let\endthebibliography=\endlist
-
-\pagestyle{headings}
-\newcount\cislo
-\def\pagerange#1#2{%
-\newcount{\prvastrana}\prvastrana=#1
-\newcount{\poslednastrana}\poslednastrana=#2
-\setcounter{page}{#1}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\noindent
-\hfill#1-- #2
-\vphantom{\large y}
-%****************
-%\hfill
-%****************
-\smallskip\hrule\vskip 1.5truecm%
-}
-\def\publ
-%****************
-{\hss
-\hss%
-}
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\def\title#1{\begin{center}{{\bf #1}}\end{center}\smallskip}
-\def\author#1#2{\begin{center}{\bf #1}\\ {\sl #2}\end{center}}
-\def\datumy#1#2{\begin{center}
-{\small Received #1,~accepted #2}\end{center}}
-\def\abstract#1{\begin{quotation}\noindent{\small#1}\end{quotation}\medskip}
-%\def\caption#1{\noindent\small#1}
-% --------------------------------------------
-\renewcommand\tablename{Tab.}
-\renewcommand\figurename{Fig.}
-% --------------------------------------------
-\def\email#1{\footnote{E-mail address: #1}}
-\def\conf#1{%
-\renewcommand{\thefootnote}{\fnsymbol{footnote}}%
-\footnote{#1}
-\renewcommand{\thefootnote}{\arabic{footnote}}\setcounter{footnote}{0}}
-
-\def\pacs#1{\vspace*{-3mm}\begin{quotation}\noindent{\small\sf PACS:} {\small #1}
-\end{quotation}}
-
-\def\keywords#1{\vspace*{-3mm}\begin{quotation}\noindent{\small\sf KEYWORDS:} {\small #1}
-\end{quotation}}
-
-
-\def\ps@headings{\let\@mkboth\markboth
-
-\def\@oddfoot{\ifnum\thepage=\prvastrana{
-\noindent{\small \publ}\rm\thepage}
-\else{}\fi}
-
-\def\@evenfoot{\ifnum\thepage=\prvastrana{
-\noindent{\small \publ}\rm\thepage}
-\else{}\fi}
-
-\def\@evenhead{\ifnum\thepage=\prvastrana{}
-\else{\thepage\hfil{\sl\authorheading}\qquad}\fi}
-
-\def\@oddhead{\ifnum\thepage=\prvastrana{}
-\else \qquad{\sl\shorttitle}\hfill\thepage\fi}
-
-\def\subsectionmark##1{\markright
-{\ifnum \c@secnumdepth >\@ne
-\thesubsection\hskip 1em\relax \fi ##1}}}
-
-\ps@plain \pagenumbering{arabic} \onecolumn \if@twoside\else\raggedbottom\fi
-
-\pagestyle{headings}
-\textheight18.93cm
-\marginparwidth 16mm
-\textwidth135mm
-\hoffset=22mm
-\voffset=-19.5mm
-\evensidemargin -5mm
-\oddsidemargin -5mm
-\baselineskip 0.3truecm
-
-\def\day#1{\begin{center} {\small Submitted #1}\end{center}}
-\def\refer#1#2#3#4#5{#1:\ {\sl #2}\ {\bf #3}\ {(#4)}\ #5\ }
-
-\def\bes{\begin{displaymath}}
-\def\ees{\end{displaymath}}
-\def\be{\begin{eqnarray}}
-\def\ee{\end{eqnarray}}
-
-\newenvironment{ack}{%
-\vspace{\baselineskip}
-\noindent
-{\bfseries Acknowledgement:}%
-}
-
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%% End of Acta Style %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
 \endinput
 %%
-%% End of file `ActaPS.cls'.
+%% End of file `is-thesis.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns