arxmliv
arxmliv build tool
 
KWARC group
LaTeXML
About
   
 

Back to Homepage

--- /arXMLiv/repos/arXMLiv/trunk/sty/Nreport.cls	2010-04-02 17:27:48.000000000 +0200
+++ /arXMLiv/repos/arXMLiv/trunk/sty/ThesisStyle.cls	2012-08-16 17:29:16.551813022 +0200
@@ -1,79 +1,41 @@
 %%
-%% This is file `Nreport.cls',
+%% This is file `book.cls',
 %% generated with the docstrip utility.
 %%
 %% The original source files were:
 %%
-%% classes.dtx  (with options: `report')
+%% classes.dtx  (with options: `book')
 %%
 %% This is a generated file.
 %%
-%% Copyright 1993 1994 1995 1996 1997
+%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004
 %% The LaTeX3 Project and any individual authors listed elsewhere
 %% in this file.
 %%
-%% For further copyright information, and conditions for modification
-%% and distribution, see the file legal.txt, and any other copyright
-%% notices in this file.
-%%
-%% This file is part of the LaTeX2e system.
-%% ----------------------------------------
-%%   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.
-%%
-%%   For error reports concerning UNCHANGED versions of this file no
-%%   more than one year old, see bugs.txt.
-%%
-%%   Please do not request updates from us directly.  Primary
-%%   distribution is through the CTAN archives.
-%%
-%%
-%% IMPORTANT COPYRIGHT NOTICE:
-%%
-%% You are NOT ALLOWED to distribute this file alone.
-%%
-%% You are allowed to distribute this file under the condition that it
-%% is distributed together with all the files listed in manifest.txt.
-%%
-%% If you receive only some of these files from someone, complain!
-%%
-%%
-%% Permission is granted to copy this file to another file with a
-%% clearly different name and to customize the declarations in that
-%% copy to serve the needs of your installation, provided that you
-%% comply with the conditions in the file legal.txt.
-%%
-%% However, NO PERMISSION is granted to generate or to distribute a
-%% modified version of this file under its original name.
-%%
-%% You are NOT ALLOWED to change this file.
-%%
-%%
-%% MODIFICATION ADVICE:
-%%
-%% If you want to customize this file, it is best to make a copy of
-%% the source file(s) from which it was produced.  Use a different
-%% name for your copy(ies) and modify the copy(ies); this will ensure
-%% that your modifications do not get overwritten when you install a
-%% new release of the standard system.  You should also ensure that
-%% your modified source file does not generate any modified file with
-%% the same name as a standard file.
-%%
-%% You can then easily distribute your modifications by distributing
-%% the modified and renamed copy of the source file, taking care to
-%% observe the conditions in legal.txt; this will ensure that other
-%% users can safely use your modifications.
-%%
-%% You will also need to produce your own, suitably named, .ins file to
-%% control the generation of files from your source file; this file
-%% should contain your own preambles for the files it generates, not
-%% those in the standard .ins files.
-%%
-%% The names of the source files used are shown above.
-%%
-%%
+%% This file was generated from file(s) of the LaTeX base system.
+%% --------------------------------------------------------------
 %%
+%% It may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% of this license or (at your option) any later version.
+%% The latest version of this license is in
+%%    http://www.latex-project.org/lppl.txt
+%% and version 1.3 or later is part of all distributions of LaTeX
+%% version 2003/12/01 or later.
+%%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%% This file may only be distributed together with a copy of the LaTeX
+%% base system. You may however distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins) which are part of the distribution.
 %% \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
@@ -90,14 +52,15 @@
 %%   Grave accent  \`     Left brace    \{     Vertical bar  \|
 %%   Right brace   \}     Tilde         \~}
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
-\ProvidesClass{report}
-              [1997/10/10 v1.3x
+\ProvidesClass{ThesisStyle}
+              [2004/02/16 v1.4f
  Standard LaTeX document class]
 \newcommand\@ptsize{}
 \newif\if@restonecol
 \newif\if@titlepage
 \@titlepagetrue
 \newif\if@openright
+\newif\if@mainmatter \@mainmattertrue
 \if@compatibility\else
 \DeclareOption{a4paper}
    {\setlength\paperheight {297mm}%
@@ -142,6 +105,7 @@
 \DeclareOption{notitlepage}{\@titlepagefalse}
 \fi
 \if@compatibility
+\@openrighttrue
 \else
 \DeclareOption{openright}{\@openrighttrue}
 \DeclareOption{openany}{\@openrightfalse}
@@ -162,9 +126,9 @@
       }%
    \renewcommand\newblock{\par}}%
 }
-\ExecuteOptions{letterpaper,10pt,oneside,onecolumn,final,openany}
+\ExecuteOptions{letterpaper,10pt,twoside,onecolumn,final,openright}
 \ProcessOptions
-\input{size1\@ptsize.clo}
+\input{bk1\@ptsize.clo}
 \setlength\lineskip{1\p@}
 \setlength\normallineskip{1\p@}
 \renewcommand\baselinestretch{}
@@ -191,10 +155,12 @@
     \def\chaptermark##1{%
       \markboth {\MakeUppercase{%
         \ifnum \c@secnumdepth >\m@ne
+          \if@mainmatter
             \@chapapp\ \thechapter. \ %
-        \di
+          \fi
+        \fi
         ##1}}{}}%
-    \ded\sectionmark##1{%
+    \def\sectionmark##1{%
       \markright {\MakeUppercase{%
         \ifnum \c@secnumdepth >\z@
           \thesection. \ %
@@ -208,8 +174,10 @@
     \def\chaptermark##1{%
       \markright {\MakeUppercase{%
         \ifnum \c@secnumdepth >\m@ne
+          \if@mainmatter
             \@chapapp\ \thechapter. \ %
         \fi
+        \fi
         ##1}}}}
 \fi
 \def\ps@myheadings{%
@@ -257,12 +225,10 @@
 \newcommand\maketitle{\par
   \begingroup
     \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
-
-\def\@makefnmark{\noindent\rlap{\@textsuperscript{\noindent\normalfont\@thefnmar
-k}}}%
+    \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
     \long\def\@makefntext##1{\parindent 1em\noindent
             \hb@xt@1.8em{%
-                \hss\@textsuperscript{\noindent\normalfont\@thefnmark}}##1}%
+                \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
     \if@twocolumn
       \ifnum \col@number=\@ne
         \@maketitle
@@ -325,6 +291,21 @@
 \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
@@ -353,7 +334,7 @@
      \interlinepenalty \@M
      \normalfont
      \ifnum \c@secnumdepth >-2\relax
-       \huge\bfseries \partname~\thepart
+       \huge\bfseries \partname\nobreakspace\thepart
        \par
        \vskip 20\p@
      \fi
@@ -367,10 +348,12 @@
     \@endpart}
 \def\@endpart{\vfil\newpage
               \if@twoside
+               \if@openright
                 \null
                 \thispagestyle{empty}%
                 \newpage
               \fi
+              \fi
               \if@tempswa
                 \twocolumn
               \fi}
@@ -380,6 +363,7 @@
                     \@afterindentfalse
                     \secdef\@chapter\@schapter}
 \def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne
+                       \if@mainmatter
                          \refstepcounter{chapter}%
                          \typeout{\@chapapp\space\thechapter.}%
                          \addcontentsline{toc}{chapter}%
@@ -387,6 +371,9 @@
                     \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@}}%
@@ -396,17 +383,24 @@
                       \@makechapterhead{#2}%
                       \@afterheading
                     \fi}
+
 \def\@makechapterhead#1{%
-  \vspace*{50\p@}%
+%  \vspace*{10\p@}%
   {\parindent \z@ \raggedright \normalfont
+    \begin{flushright}
     \ifnum \c@secnumdepth >\m@ne
-        \huge\bfseries \@chapapp\space \thechapter
+        \if@mainmatter
+%          \huge\bfseries
+          {\Large \scshape \@chapapp\space \thechapter}
         \par\nobreak
-        \vskip 20\p@
+%        \vskip 0\p@
+        \fi
     \fi
     \interlinepenalty\@M
     \Huge \bfseries #1\par\nobreak
-    \vskip 40\p@
+      \hrulefill
+    \end{flushright}
+    \vskip 20\p@
   }}
 \def\@schapter#1{\if@twocolumn
                    \@topnewpage[\@makeschapterhead{#1}]%
@@ -415,12 +409,14 @@
                    \@afterheading
                  \fi}
 \def\@makeschapterhead#1{%
-  \vspace*{50\p@}%
+%  \vspace*{10\p@}%
   {\parindent \z@ \raggedright
     \normalfont
     \interlinepenalty\@M
+    \begin{flushright}
     \Huge \bfseries  #1\par\nobreak
-    \vskip 40\p@
+    \end{flushright}
+    \vskip 20\p@
   }}
 \newcommand\section{\@startsection {section}{1}{\z@}%
                                    {-3.5ex \@plus -1ex \@minus -.2ex}%
@@ -485,29 +481,6 @@
                {\endlist}
 \newcommand*\descriptionlabel[1]{\hspace\labelsep
                                 \normalfont\bfseries #1}
-\if@titlepage
-  \newenvironment{abstract}{%
-      \titlepage
-      \null\vfil
-      \@beginparpenalty\@lowpenalty
-      \begin{center}%
-        \bfseries \abstractname
-        \@endparpenalty\@M
-      \end{center}}%
-     {\par\vfil\null\endtitlepage}
-\else
-  \newenvironment{abstract}{%
-      \if@twocolumn
-        \section*{\abstractname}%
-      \else
-        \small
-        \begin{center}%
-          {\bfseries \abstractname\vspace{-.5em}\vspace{\z@}}%
-        \end{center}%
-        \quotation
-      \fi}
-      {\if@twocolumn\else\endquotation\fi}
-\fi
 \newenvironment{verse}
                {\let\\\@centercr
                 \list{}{\itemsep      \z@
@@ -531,6 +504,7 @@
 \if@compatibility
 \newenvironment{titlepage}
     {%
+      \cleardoublepage
       \if@twocolumn
         \@restonecoltrue\onecolumn
       \else
@@ -544,6 +518,7 @@
 \else
 \newenvironment{titlepage}
     {%
+      \cleardoublepage
       \if@twocolumn
         \@restonecoltrue\onecolumn
       \else
@@ -561,8 +536,8 @@
 \newcommand\appendix{\par
   \setcounter{chapter}{0}%
   \setcounter{section}{0}%
-  \renewcommand\@chapapp{\appendixname}%
-  \renewcommand\thechapter{\@Alph\c@chapter}}
+  \gdef\@chapapp{\appendixname}%
+  \gdef\thechapter{\@Alph\c@chapter}}
 \setlength\arraycolsep{5\p@}
 \setlength\tabcolsep{6\p@}
 \setlength\arrayrulewidth{.4\p@}
@@ -580,7 +555,7 @@
 \def\fps@figure{tbp}
 \def\ftype@figure{1}
 \def\ext@figure{lof}
-\def\fnum@figure{\figurename~\thefigure}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
 \newenvironment{figure}
                {\@float{figure}}
                {\end@float}
@@ -593,7 +568,7 @@
 \def\fps@table{tbp}
 \def\ftype@table{2}
 \def\ext@table{lot}
-\def\fnum@table{\tablename~\thetable}
+\def\fnum@table{\tablename\nobreakspace\thetable}
 \newenvironment{table}
                {\@float{table}}
                {\end@float}
@@ -643,6 +618,7 @@
   \ifnum \c@tocdepth >-2\relax
     \addpenalty{-\@highpenalty}%
     \addvspace{2.25em \@plus\p@}%
+    \setlength\@tempdima{3em}%
     \begingroup
       \parindent \z@ \rightskip \@pnumwidth
       \parfillskip -\@pnumwidth
@@ -679,9 +655,9 @@
     \else
       \@restonecolfalse
     \fi
-    \chapter*{\listfigurename
+    \chapter*{\listfigurename}%
       \@mkboth{\MakeUppercase\listfigurename}%
-              {\MakeUppercase\listfigurename}}%
+              {\MakeUppercase\listfigurename}%
     \@starttoc{lof}%
     \if@restonecol\twocolumn\fi
     }
@@ -692,9 +668,10 @@
     \else
       \@restonecolfalse
     \fi
-    \chapter*{\listtablename
+    \chapter*{\listtablename}%
       \@mkboth{%
-          \MakeUppercase\listtablename}{\MakeUppercase\listtablename}}%
+          \MakeUppercase\listtablename}%
+         {\MakeUppercase\listtablename}%
     \@starttoc{lot}%
     \if@restonecol\twocolumn\fi
     }
@@ -702,8 +679,8 @@
 \newdimen\bibindent
 \setlength\bibindent{1.5em}
 \newenvironment{thebibliography}[1]
-     {\chapter*{\bibname
-        \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}}%
+     {\chapter*{\bibname}%
+      \@mkboth{\MakeUppercase\bibname}{\MakeUppercase\bibname}%
       \list{\@biblabel{\@arabic\c@enumiv}}%
            {\settowidth\labelwidth{\@biblabel{#1}}%
             \leftmargin\labelwidth
@@ -728,13 +705,13 @@
                 \else
                   \@restonecoltrue
                 \fi
-                \columnseprule \z@
-                \columnsep 35\p@
                 \twocolumn[\@makeschapterhead{\indexname}]%
                 \@mkboth{\MakeUppercase\indexname}%
                         {\MakeUppercase\indexname}%
                 \thispagestyle{plain}\parindent\z@
                 \parskip\z@ \@plus .3\p@\relax
+                \columnseprule \z@
+                \columnsep 35\p@
                 \let\item\@idxitem}
                {\if@restonecol\onecolumn\else\clearpage\fi}
 \newcommand\@idxitem{\par\hangindent 40\p@}
@@ -753,21 +730,20 @@
 \newcommand\contentsname{Contents}
 \newcommand\listfigurename{List of Figures}
 \newcommand\listtablename{List of Tables}
-\newcommand\bibname{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}
 \def\today{\ifcase\month\or
   January\or February\or March\or April\or May\or June\or
   July\or August\or September\or October\or November\or December\fi
   \space\number\day, \number\year}
 \setlength\columnsep{10\p@}
 \setlength\columnseprule{0\p@}
-\pagestyle{plain}
+\pagestyle{headings}
 \pagenumbering{arabic}
 \if@twoside
 \else
@@ -782,7 +758,4 @@
 \fi
 \endinput
 %%
-%% End of file `report.cls'.
-
-
-
+%% End of file `book.cls'.

 

Close Window
 
  The service has been written by
Heinrich Stamerjohanns