diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:58:57 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:58:57 +0000 |
commit | 36ad065d8ac6606a5295f132d22e3c6979b89b2b (patch) | |
tree | 4a6c9ee488efff1e421432fa73b896b218320872 /Master/texmf-dist/tex/latex/mentis | |
parent | 11ddf98d71dfb0e1bf3a6fcedfe63f38b3d69e2a (diff) |
mentis
git-svn-id: svn://tug.org/texlive/trunk@1082 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/mentis')
-rw-r--r-- | Master/texmf-dist/tex/latex/mentis/mentis.cls | 429 |
1 files changed, 429 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/mentis/mentis.cls b/Master/texmf-dist/tex/latex/mentis/mentis.cls new file mode 100644 index 00000000000..43a2940d79a --- /dev/null +++ b/Master/texmf-dist/tex/latex/mentis/mentis.cls @@ -0,0 +1,429 @@ +%% +%% This is file `mentis.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% mentis.dtx (with options: `class') +%% +%% This is a generated file. +%% +%% Copyright (C) 2003 by Georg M. Verweyen <Georg.Verweyen@rub.de> +%% +%% This file may be distributed and/or modified under the conditions of +%% the LaTeX Project Public License, either version 1.2 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.2 or later is part of all distributions of LaTeX version +%% 1999/12/01 or later. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesClass{mentis}[2004/06/23 v1.3 mentis.cls] +\LoadClassWithOptions{scrbook} +\AtBeginDocument{% + \selectlanguage{ngerman}% + \makeindex% + \pagestyle{scrheadings}\pagestyle{mentis}% +} +\RequirePackage[latin1]{inputenc} +\RequirePackage[OT1,T3,T1]{fontenc} +\RequirePackage[polutonikogreek,german,ngerman]{babel} +\RequirePackage[german]{varioref} +\RequirePackage{lgreek} +\RequirePackage{tabularx} +\RequirePackage{hhline} +\RequirePackage{xspace} +\RequirePackage{amsmath} +\RequirePackage{amsfonts} +\RequirePackage{amssymb} +\RequirePackage{textcomp} +\RequirePackage{graphics} +\RequirePackage{scrpage2} +\RequirePackage{jurabib} +\RequirePackage{picinpar} +\RequirePackage{makeidx} +\RequirePackage{relsize} +\RequirePackage{multicol} +\RequirePackage{ragged2e} +\DeclareOption*{% + \PassOptionsToClass{\CurrentOption}{scrbook}% +} +\DeclareOption{mentisklein}{\m@ntisklein} +\DeclareOption{mentiskleinAfuenf}{\m@ntiskleinAfuenf} +\DeclareOption{mentisgross}{\m@ntisgross} +\DeclareOption{mentisroemisch}{\m@ntisroemisch} +\renewcommand{\@pnumwidth}{1.95em} +\newlength{\ChapterExtraWidth} +\setlength{\ChapterExtraWidth}{0em} +\DeclareRobustCommand{\m@ntisroemisch}{% + \setlength{\ChapterExtraWidth}{1em}% + \renewcommand\thesection{\arabic{section}} + \renewcommand\thechapter{\Roman{chapter}} +} +\newlength{\SectionExtraWidth} +\setlength{\SectionExtraWidth}{0em} +\newlength{\SubsectionExtraWidth} +\setlength{\SubsectionExtraWidth}{0em} +\newlength{\ChapterLabelWidth}% +\newlength{\SectionIndentWidth} +\newlength{\SubsectionIndentWidth} +\newlength{\SubsubsectionIndentWidth} +\newlength{\SectionLabelWidth} +\newlength{\SubsectionLabelWidth} +\newlength{\SubsubsectionLabelWidth} +\renewcommand*\l@chapter[2]{% + \setlength{\ChapterLabelWidth}{1.5em}% + \addtolength{\ChapterLabelWidth}{\ChapterExtraWidth}% + \ifnum \c@tocdepth >\m@ne + \addpenalty{-\@highpenalty}% + \vskip 1.0em \@plus\p@ + \setlength\@tempdima{\ChapterLabelWidth}% + \if@tocleft + \ifx\toc@l@number\@empty\else + \setlength\@tempdima{0\toc@l@number}% + \fi + \fi + \begingroup + \parindent \z@ \rightskip \@pnumwidth + \parfillskip -\@pnumwidth + \leavevmode \sectfont + \advance\leftskip\@tempdima + \hskip -\leftskip + #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par + \penalty\@highpenalty + \endgroup + \fi% +} +\renewcommand*\l@section{% + \setlength{\SectionLabelWidth}{2.3em}% + \addtolength{\SectionLabelWidth}{\SectionExtraWidth}% + \addtolength{\SectionLabelWidth}{-.5\ChapterExtraWidth}% + \setlength{\SectionIndentWidth}{1.5em}% + \addtolength{\SectionIndentWidth}{\ChapterExtraWidth}% + \@dottedtocline{1}{\SectionIndentWidth}{\SectionLabelWidth}% +} +\renewcommand*\l@subsection{% + \setlength{\SubsectionIndentWidth}{3.8em}% + \addtolength{\SubsectionIndentWidth}{\ChapterExtraWidth}% + \addtolength{\SubsectionIndentWidth}{\SectionExtraWidth}% + \setlength{\SubsectionLabelWidth}{3.2em}% + \addtolength{\SubsectionLabelWidth}{\SubsectionExtraWidth}% + \addtolength{\SubsectionLabelWidth}{-\ChapterExtraWidth}% + \@dottedtocline{2}{\SubsectionIndentWidth}{\SubsectionLabelWidth}% +} +\renewcommand*\l@subsubsection{% +\setlength{\SubsubsectionIndentWidth}{7.0em}% +\addtolength{\SubsubsectionIndentWidth}{\ChapterExtraWidth}% +\addtolength{\SubsubsectionIndentWidth}{\SectionExtraWidth}% +\addtolength{\SubsubsectionIndentWidth}{\SubsectionExtraWidth}% +\setlength{\SubsubsectionLabelWidth}{4.1em}% +\addtolength{\SubsubsectionLabelWidth}{-\ChapterExtraWidth}% + \@dottedtocline{3}{\SubsubsectionIndentWidth}{\SubsubsectionLabelWidth}% +} +\DeclareRobustCommand{\m@ntisgross}{ + \setlength{\oddsidemargin}{16.6mm} + \setlength{\textwidth}{117mm} + \setlength{\topmargin}{8.6mm} + \setlength{\marginparsep}{2mm} + \setlength{\marginparwidth}{17mm} + \setlength{\textheight}{195mm} + \setlength{\headsep}{\baselineskip} + \addtolength{\textheight}{-\headsep} + \addtolength{\textheight}{-\headheight} +} +\DeclareRobustCommand{\m@ntisklein}{ + \setlength{\oddsidemargin}{24.4mm} + \setlength{\textwidth}{100mm} + \setlength{\topmargin}{14.6mm} + \setlength{\marginparsep}{2mm} + \setlength{\marginparwidth}{17mm} + \setlength{\textheight}{182mm} + \setlength{\headsep}{\baselineskip} + \addtolength{\textheight}{-\headsep} + \addtolength{\textheight}{-\headheight} +} +\DeclareRobustCommand{\m@ntiskleinAfuenf}{ + \setlength{\oddsidemargin}{-15mm} + %\setlength{\evensidemargin}{-15mm} + \setlength{\textwidth}{100mm} + \setlength{\topmargin}{-16,07mm} + \setlength{\marginparsep}{2mm} + \setlength{\marginparwidth}{17mm} + \setlength{\textheight}{182mm} + \setlength{\headsep}{\baselineskip} + \addtolength{\textheight}{-\headsep} + \addtolength{\textheight}{-\headheight} +} + +\ProcessOptions\relax +\renewcommand{\titlepagestyle}{empty} +\renewcommand{\partpagestyle}{empty} +\renewcommand{\chapterpagestyle}{empty} +\renewcommand{\indexpagestyle}{empty} +\renewcommand{\headfont}{\normalfont\small\itshape} +\newpagestyle{mentis}% + {% + {\rlap{\pagemark}% + \hfill\leftmark\hfill% + }% + {\hfill\rightmark\hfill% + \llap{\pagemark}% + }% + {\hfill\headmark\hfill% + }% + }% + {% + {}% + {}% + {\hfill\pagemark\hfill} + }% +\deffootnote[1.2em]{1.2em}{1.2em}{\textsuperscript{\thefootnotemark}\ } +\renewcommand*{\footnoterule}{% + \hrule\@width 2cm + \kern8\p@ +} +\renewenvironment{quote}% +{\list{}{\setlength{\listparindent}{1em}% + \setlength{\itemindent}{0em}% + \setlength{\leftmargin}{2em}% + \setlength{\rightmargin}{0em}% + \setlength{\parsep}{\z@}% + }% + \smaller\item\relax\ignorespaces% +}% +{\endlist}% +\newenvironment{footquote}{\begin{quote}}{\end{quote}}% +\newcommand{\Dll}{\frqq} +\newcommand{\Drr}{\flqq} +\newcommand{\Dl}{\frq} +\newcommand{\Dr}{\flq} +\newcommand{\Ell}{\textquotedblleft} +\newcommand{\Err}{\textquotedblright} +\newcommand{\El}{\textquoteleft} +\newcommand{\Er}{\textquoteright} +\def\@chapter[#1]#2{\ifnum \c@secnumdepth >\m@ne + \if@mainmatter + \refstepcounter{chapter}% + \@maybeautodot\thechapter% + \typeout{\@chapapp\space\thechapter.}% + \addcontentsline{toc}{chapter}% + {\protect\numberline{\thechapter}#2}% + \else + \addcontentsline{toc}{chapter}{#2}\fi + \else + \addcontentsline{toc}{chapter}{#2} % + \fi + \chaptermark{#1}% + \addtocontents{lof}{\protect\addvspace{10\p@}}% + \addtocontents{lot}{\protect\addvspace{10\p@}}% + \@ifundefined{float@addtolists}{}{% + \float@addtolists{\protect\addvspace{10\p@}}} + \if@twocolumn + \if@at@twocolumn + \@makechapterhead{#2}% + \else + \@topnewpage[\@makechapterhead{#2}]% + \fi + \else + \@makechapterhead{#2}% + \@afterheading + \fi} +\def\@sect#1#2#3#4#5#6[#7]#8{% + \ifnum #2>\c@secnumdepth + \let\@svsec\@empty + \else + \refstepcounter{#1}% + \protected@edef\@svsec{\@seccntformat{#1}\relax}% + \fi + \@tempskipa #5\relax + \ifdim \@tempskipa>\z@ + \begingroup + #6{% + \@hangfrom{\hskip #3\relax\@svsec}% + \interlinepenalty \@M #8\@@par}% + \endgroup + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + #8}% + \else + \def\@svsechd{% + #6{\hskip #3\relax + \@svsec #8}% + \csname #1mark\endcsname{#7}% + \addcontentsline{toc}{#1}{% + \ifnum #2>\c@secnumdepth \else + \protect\numberline{\csname the#1\endcsname}% + \fi + #8}}% + \fi + \@xsect{#5}% +} +\newcommand{\Pn@mskip}{\bigskip}% +\newcounter{Pn@msection}[chapter]% +\newcounter{Pn@msubsection}[section]% +\newcounter{Pn@msubsubsection}[subsection]% +\newcounter{Pn@mparagraph}[subsubsection]% +\newcommand*{\Pnum}[1]{% + \ifthenelse{% + \equal{#1}{}% + }% + {% + \ifthenelse{% + {\value{section}=0}\or{\value{Pn@msection}=1}% + }{% + \Pn@mskip\par\noindent% + \refstepcounter{section}\setcounter{Pn@msection}{1}% + {\usekomafont{sectioning}\thesection\ }% + }% + {% + \ifthenelse{% + {\value{subsection}=0}\or{\value{Pn@msubsection}=1}% + }{% + \Pn@mskip\par\noindent% + \refstepcounter{subsection}\setcounter{Pn@msubsection}{1}% + {\usekomafont{sectioning}\thesubsection\ }% + }{% + \ifthenelse{% + {\value{subsubsection}=0}\or{\value{Pn@msubsubsection}=1}% + }{% + \Pn@mskip\par\noindent% + \refstepcounter{subsubsection}\setcounter{Pn@msubsubsection}{1}% + {\usekomafont{sectioning}\thesubsubsection\ }% + }{% + \ifthenelse{% + {\value{paragraph}=0}\or{\value{Pn@mparagraph}=1}% + }{% + \Pn@mskip\par\noindent% + \refstepcounter{paragraph}\setcounter{Pn@mparagraph}{1}% + {\usekomafont{sectioning}\theparagraph\ }% + }{% + + \ClassError{mentis}{Pnum hat kein Argument, findet aber auch keine Ebene mit Wert 0}% + {Pruefen Sie die Verwendung von Pnum!}% + }% + }% + }% + }% + }{% + \Pn@mskip\par\noindent% + {\usekomafont{sectioning}#1}\ % + }% +}% +\newcommand{\absatz}{% + {\removelastskip\medskip\centering $\star$ \\\medskip\noindent}% +} +\newcommand{\randnummer}[1]{\marginline{\small(#1)}} +\newcommand{\Psatz}[2]{% + \begin{list}{}{% + \setlength{\topsep}{0pt}% + \setlength{\parsep}{0pt}% + \setlength{\parskip}{0pt}% + \setlength{\leftmargin}{2em}% + \setlength{\rightmargin}{0pt}% + \setlength{\listparindent}{\parindent}% + }% + \fussy% + \ifthenelse{% + \equal{#1}{} + }%Dann: + {\item{\makebox[0mm]{\rule{0mm}{0mm}}\ignorespaces#2}} + {% + \item{\makebox[0mm]{\rule{0mm}{0mm}}\randnummer{#1}\ignorespaces#2}% + } + \end{list} +} +\jurabibsetup{% + authorformat=citationreversed,% + authorformat=firstnotreversed,% + authorformat=and,% +%%% authorformat=indexed,% + edby=true,% + titleformat=all,% + titleformat=colonsep,% + ibidem=strict,% + bibformat=ibidem,% + see=true,% + human=true,% + commabeforerest=true% +} +\AddTo\bibsgerman{% + \renewcommand*{\ibidemname}{Ebenda} + \renewcommand*{\ibidemmidname}{ebenda} +} +\renewcommand*{\bibpldelim}{(} +\renewcommand*{\bibprdelim}{)} +\renewcommand*{\bibauthormultiple}{-- } +\renewcommand*{\bibfnfont}{} +\renewcommand*{\biblnfont}{\textsc} +\renewcommand*{\bibefnfont}{} +\renewcommand*{\bibelnfont}{\textsc} +\renewcommand*{\bibtfont}{\textit} +\renewcommand*{\bibbtfont}{\textit} +\renewcommand*{\bibjtfont}{\textit} +\providecommand*{\textAnfzeichen}[1]{{\Dll}#1{\Drr}} +\renewcommand{\bibapifont}{\textAnfzeichen} +\renewcommand{\jbapifont}{\textAnfzeichen} +\setlength{\jbbibhang}{1em} +\jbdotafterbibentry +\clubpenalty=5001 \widowpenalty=5001 +\setlength{\emergencystretch}{25pt} +\newcommand{\setB}{{\mathord{\mathbb B}}\xspace} +\newcommand{\setC}{{\mathord{\mathbb C}}\xspace} +\newcommand{\setN}{{\mathord{\mathbb N}}\xspace} +\newcommand{\setQ}{{\mathord{\mathbb Q}}\xspace} +\newcommand{\setR}{{\mathord{\mathbb R}}\xspace} +\newcommand{\setZ}{{\mathord{\mathbb Z}}\xspace} +\newcommand{\strich}{\ensuremath{{}^{\prime}}}% +\newcommand{\stern}{\ensuremath{{}^{\ast}}} +\newcommand{\spitz}[1]{% +{\textlangle}#1{\textrangle}% +} +\newcommand{\textbfsf}[1]{% +{\sffamily\bfseries #1}% +} +\DeclareRobustCommand*\textsubscript[1]{% + \@textsubscript{\selectfont#1}}% +\def\@textsubscript#1{% + {\m@th\ensuremath{_{\mbox{\fontsize\sf@size\z@#1}}}}} +\newcommand{\tief}[1]{\textsubscript{#1}}% +\newcommand*{\hochtief}[2]{% + {\m@th\ensuremath{% + ^{\mbox{\fontsize\sf@size\z@\selectfont#1}}% + _{\mbox{\fontsize\sf@size\z@\selectfont#2}}% + }}% +} +\newcommand*{\roem}[1]{\textsc{\@roman{#1}}} +\setlength{\emergencystretch}{1em}% +\tolerance=125% +\newenvironment{tolerant}[1]{% + \par\tolerance=#1\relax + }{% + \par + } +\newcommand{\fraktext}[1]{{\fontfamily{yfrak}\selectfont #1}} +\newcommand{\swabtext}[1]{{\fontfamily{yfrak}\textsl{#1}}} +\newcommand{\gothtext}[1]{{\fontfamily{yfrak}\textbf{#1}}} +\newcommand{\fett}[1]{\scalebox{1.25}[1]{#1}} +\newcommand{\antiktext}[1]{\textrm{\textup{#1}}} +\newcommand{\orgtheindex}{} +\let\orgtheindex\theindex +\let\orgendtheindex\endtheindex +\def\theindex{% + \def\twocolumn{\begin{multicols}{2}}% + \def\onecolumn{}% + \clearpage\RaggedRight + \orgtheindex +} +\def\endtheindex{% + \end{multicols}% + \orgendtheindex +} +\endinput +%% +%% End of file `mentis.cls'. |