diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-12 23:57:23 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-12 23:57:23 +0000 |
commit | ff73c995e5d626fc0d6804750bad1106179bbc54 (patch) | |
tree | c0cce80f71377ad450077059f764df720a2f0e12 | |
parent | 5494c8ed278e081d3a9db60e514bd924dac922fd (diff) |
jura
git-svn-id: svn://tug.org/texlive/trunk@1008 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r-- | Master/texmf-dist/tex/latex/jura/alphanum.sty | 227 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/jura/jura.cls | 109 |
2 files changed, 336 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/jura/alphanum.sty b/Master/texmf-dist/tex/latex/jura/alphanum.sty new file mode 100644 index 00000000000..f29d2e1e7e3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jura/alphanum.sty @@ -0,0 +1,227 @@ +%% +%% This is file `alphanum.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% jura.dtx (with options: `package') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from alphanum.sty. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file jura.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% Written by Felix Braun +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{alphanum}[1998/07/13 v4.3 alphanumeric section numbers] +\newcommand*{\@greek}[1]{\ifcase#1\relax\or$\alpha$\or$\beta$\or +$\gamma$\or$\delta$\or$\varepsilon$\or$\zeta$\or$\eta$\or$\vartheta$\or +$\iota$\or$\kappa$\or$\lambda$\or$\mu$\or$\nu$\or$\xi$\or$o$\or$\pi$\or +$\rho$\or$\sigma$\or$\tau$\or$\upsilon$\or$\varphi$\or$\chi$\or$\psi$\or +$\omega$\else\@ctrerr\fi} +\newcounter{lvla} +\newcounter{lvlb} +\newcounter{lvlc} +\newcounter{lvld} +\newcounter{lvle} +\newcounter{lvlf} +\newcounter{lvlg} +\newcounter{lvlh} +\newcounter{lvli} +\newcounter{lvlj} +\newcounter{lvlk} +\newcounter{lvll} +\renewcommand*{\thelvla}{\J@Number} +\renewcommand*{\thelvlb}{\J@Number} +\renewcommand*{\thelvlc}{\J@Number} +\renewcommand*{\thelvld}{\J@Number} +\renewcommand*{\thelvle}{\J@Number} +\renewcommand*{\thelvlf}{\J@Number} +\renewcommand*{\thelvlg}{\J@Number} +\renewcommand*{\thelvlh}{\J@Number} +\renewcommand*{\thelvli}{\J@Number} +\renewcommand*{\thelvlj}{\J@Number} +\renewcommand*{\thelvlk}{\J@Number} +\renewcommand*{\thelvll}{\J@Number} +\if@twoside +\newcommand*{\lvlamark}[1]{\J@SetCurrent% +\@mkboth{\J@NumberRoot1\J@NumberEnd1\ #1}% +{\J@NumberRoot1\J@NumberEnd1\ #1}} +\newcommand*{\lvlbmark}[1]{\J@SetCurrent% +\@mkboth{\J@NumberRoot1\,\J@NumberRoot2\J@NumberEnd2\ #1}% +{\J@NumberRoot1\,\J@NumberRoot2\J@NumberEnd2\ #1}} +\newcommand*{\lvlcmark}[1]{\J@SetCurrent\markright{\J@Number\ #1}} +\else +\newcommand*{\lvlamark}[1]{\J@SetCurrent% +\markright{\J@NumberRoot1\J@NumberEnd1\ #1}} +\newcommand*{\lvlbmark}[1]{\J@SetCurrent% +\markright{\J@NumberRoot1\,\J@NumberRoot2\J@NumberEnd2\ #1}} +\newcommand*{\lvlcmark}[1]{\J@SetCurrent% +\markright{\J@NumberRoot1\,\J@NumberRoot2\,\J@Number\ #1}} +\fi +\newcommand*{\lvldmark}{\J@SetCurrent\@gobble} +\newcommand*{\lvlemark}{\lvldmark} +\newcommand*{\lvlfmark}{\lvldmark} +\newcommand*{\lvlgmark}{\lvldmark} +\newcommand*{\lvlhmark}{\lvldmark} +\newcommand*{\lvlimark}{\lvldmark} +\newcommand*{\lvljmark}{\lvldmark} +\newcommand*{\lvlkmark}{\lvldmark} +\newcommand*{\lvllmark}{\lvldmark} +\newcounter{tiefe}\setcounter{tiefe}{1} +\setcounter{tocdepth}{12}\setcounter{secnumdepth}{12} +\newcommand*{\J@Number}{\J@NumberRoot{\value{tiefe}}% +\J@NumberEnd{\value{tiefe}}} +\newcommand*{\J@NumberRoot}[1]{\J@INumberRoot{#1}% +{\csname c@lvl\@alph{#1}\endcsname}} +\newcommand*{\J@INumberRoot}[2]{% +\ifcase#1\or +\@Alph{#2}\or +\@Roman{#2}\or +\@arabic{#2}\or +\@alph{#2}\or +\@alph{#2}\@alph{#2}\or +\@greek{#2}\or +\@greek{#2}\@greek{#2}\or +(\@arabic{#2})\or +(\@alph{#2})\or +(\@alph{#2}\@alph{#2})\or +(\@greek{#2})\or +(\@greek{#2}\@greek{#2})\fi} +\newcommand*{\J@NumberEnd}[1]{\ifnum#1<8\ifnum#1<4.\else)\fi\fi} +\newcommand*\l@lvla{\@dottedtocline{1}{0em}{2,5em}} +\newcommand*\l@lvlb{\@dottedtocline{2}{1em}{2,5em}} +\newcommand*\l@lvlc{\@dottedtocline{3}{2em}{2,5em}} +\newcommand*\l@lvld{\@dottedtocline{4}{3em}{2,5em}} +\newcommand*\l@lvle{\@dottedtocline{5}{4em}{2,5em}} +\newcommand*\l@lvlf{\@dottedtocline{6}{5em}{2,5em}} +\newcommand*\l@lvlg{\@dottedtocline{7}{6em}{2,5em}} +\newcommand*\l@lvlh{\@dottedtocline{8}{7em}{2,5em}} +\newcommand*\l@lvli{\@dottedtocline{9}{8em}{2,5em}} +\newcommand*\l@lvlj{\@dottedtocline{10}{9em}{2,5em}} +\newcommand*\l@lvlk{\@dottedtocline{11}{10em}{2,5em}} +\newcommand*\l@lvll{\@dottedtocline{12}{11em}{2,5em}} +\newcommand*{\J@SetCurrent}{\xdef\@currentlabel{{\arabic{lvla}}% +{\arabic{lvlb}}{\arabic{lvlc}}{\arabic{lvld}}{\arabic{lvle}}% +{\arabic{lvlf}}{\arabic{lvlg}}{\arabic{lvlh}}{\arabic{lvli}}% +{\arabic{lvlj}}{\arabic{lvlk}}{\arabic{lvll}}}} +\newcommand*{\toc}{\secdef\J@LongToc\J@ShortToc} +\newcommand*{\J@ShortToc}[1]{\stepcounter{lvl\alph{tiefe}}\J@Number\ % +\addcontentsline{toc}{lvl\alph{tiefe}}% +{\protect\numberline{\J@Number}#1}% +\csname lvl\alph{tiefe}mark\endcsname{#1}\@gobblecr} +\newcommand*{\J@LongToc}[2][]{% +\@startsection{lvl\alph{tiefe}}{\value{tiefe}}{0pt} +{\ifnum\value{tiefe}=1 -4ex plus-1,5ex minus-0,ex\else +-2,7ex plus-0,8ex minus-0,2ex\fi} +{\ifnum\value{tiefe}>7 -1em plus-0,5em\relax\else +0,6ex plus0,3ex minus0,1ex\fi} +{\sectfont\csname lvl\alph{tiefe}style\endcsname}[#1]{#2}} +\providecommand*{\sectfont}{\normalfont} +\newcommand*{\lvlastyle}{\large\bfseries} +\newcommand*{\lvlbstyle}{\bfseries} +\let\lvlcstyle=\lvlbstyle +\let\lvldstyle=\lvlbstyle +\let\lvlestyle=\lvlbstyle +\let\lvlfstyle=\lvlbstyle +\let\lvlgstyle=\lvlbstyle +\newcommand*{\lvlhstyle}{\itshape} +\let\lvlistyle=\lvlhstyle +\let\lvljstyle=\lvlhstyle +\let\lvlkstyle=\lvlhstyle +\let\lvllstyle=\lvlhstyle +\renewcommand*{\@seccntformat}[1]{\csname the#1\endcsname\ } +\renewcommand*{\numberline}[1]{#1\ } +\newcommand*{\leveldown}{% +\ifnum\value{lvla}=0% +\PackageWarning{alphanum}{\protect\sub\space without +\protect\toc\space}\fi +\ifnum\value{tiefe}=12% +\PackageWarning{alphanum}{too many sublevels!! Ignored \protect\sub. +\MessageBreak There will probably be an \protect\levelup\space +without \protect\sub\space warning later on} +\setcounter{tiefe}{11}\fi +\stepcounter{tiefe}} +\newcommand*{\sub}{\leveldown\toc} +\newcommand*{\levelup}{% +\ifnum\value{tiefe}=1% +\PackageWarning{alphanum}{\protect\levelup\space without\protect\sub} +\stepcounter{tiefe}\fi +\ifnum\value{lvl\alph{tiefe}}=1% +\PackageWarning{alphanum}{only one subitem in level "\J@Number" ending}% +\fi +\setcounter{lvl\alph{tiefe}}{0} +\addtocounter{tiefe}{-1}\par\addvspace{2,7ex plus0,8ex minus1ex}} +\renewcommand*{\@cite}[2][]{#1#2} +\def\@citex[#1]#2{% + \let\@citea\@empty + \@cite{\@for\@citeb:=#2\do + {\@citea\def\@citea{,\penalty\@m\ }% + \edef\@citeb{\expandafter\@firstofone\@citeb\@empty}% + \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi + \@ifundefined{b@\@citeb}{\mbox{\reset@font\bfseries ?}% + \G@refundefinedtrue + \@latex@warning + {Citation `\@citeb' on page \thepage \space undefined}}% + {\csname b@\@citeb\endcsname}}}{#1}} +\renewcommand*{\ref}{% +\@ifstar{\@tempswatrue\J@ref}{\@tempswafalse\J@ref}} +\newcommand*{\J@ref}[1]{% +\expandafter\ifx\csname r@#1\endcsname\relax + \protect\G@refundefinedtrue + \nfss@text{\reset@font\bfseries ??} + \@latex@warning{Reference '#1' on page \thepage \space undefined}% +\else + \expandafter\J@refX\csname r@#1\endcsname +\fi} +\newcommand*{\J@refX}[1]{\expandafter\J@refXX#1} +\newcommand*{\J@refXX}[2]{% +\ifcat_\ifnum9<1#1_\else X\fi + #1% +\else + \expandafter\J@refA#1% +\fi} +\newcommand*{\J@refA}[6]{\@tempcnta\@ne% +\J@refP1{#1}0\J@refP2{#2}{#1}\J@refP3{#3}{#2}\J@refP4{#4}{#3}% +\J@refP5{#5}{#4}\J@refP6{#6}{#5}\J@refB#6} +\newcommand*{\J@refB}[7]{\J@refP7{#2}{#1}\J@refP8{#3}{#2}% +\J@refP9{#4}{#3}\J@refP{10}{#5}{#4}\J@refP{11}{#6}{#5}% +\J@refP{12}{#7}{#6}\J@NumberEnd\@tempcnta} +\newcommand*{\J@refP}[3]{% +\if@tempswa% + \ifnum#2>0\@tempcnta#1\,\J@INumberRoot{#1}{#2}\fi +\else% + \ifnum#2=\value{lvl\@alph{#1}}% + \ifnum#1=12\PackageError{alphanum}{Self-reference detected!}{You used + a \protect\ref\space in the same section as the referenced + \protect\label\MessageBreak That makes no sense!}\fi + \else + \ifnum#2>0\@tempcnta#1\@tempswatrue\J@INumberRoot{#1}{#2}\else + \ifnum#3>0% + \@tempcnta#1\advance\@tempcnta-1\relax\J@INumberRoot{\@tempcnta}{#3}% + \fi + \fi + \fi +\fi} +\newenvironment*{jurabibliography} +{\chapter*{\bibname + \@mkboth{\bibname}{\bibname}}% + \begin{description}\sloppy}{\end{description}} +\def\jbibitem#1#2#3{\item[#1]\if@filesw + {\let\protect\noexpand\immediate + \write\@auxout{\string\bibcite{#3}{#2}}}\fi\ignorespaces} +\newenvironment{sachverhalt}{\chapter*{Sachverhalt}% +\@mkboth{Sachverhalt}{Sachverhalt}}{\clearpage} +\endinput +%% +%% End of file `alphanum.sty'. diff --git a/Master/texmf-dist/tex/latex/jura/jura.cls b/Master/texmf-dist/tex/latex/jura/jura.cls new file mode 100644 index 00000000000..65aeca66484 --- /dev/null +++ b/Master/texmf-dist/tex/latex/jura/jura.cls @@ -0,0 +1,109 @@ +%% +%% This is file `jura.cls', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% jura.dtx (with options: `class') +%% +%% IMPORTANT NOTICE: +%% +%% For the copyright see the source file. +%% +%% Any modified versions of this file must be renamed +%% with new filenames distinct from jura.cls. +%% +%% For distribution of the original source see the terms +%% for copying and modification in the file jura.dtx. +%% +%% This generated file may be distributed as long as the +%% original source files, as listed above, are part of the +%% same distribution. (The sources need not necessarily be +%% in the same archive or directory.) +%% Written by Felix Braun +%% +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{jura}[1998/07/13 v4.3 juristische Hausarbeiten] +\DeclareOption{twoside}{\PassOptionsToClass{twoside}{report}} +\DeclareOption{draft}{\PassOptionsToClass{draft}{report}} +\newlength\frontwidth\newlength\ofrontmargin\newlength\efrontmargin +\DeclareOption{widefront}{\setlength{\frontwidth}{15,77cm} +\setlength{\efrontmargin}{0,75mm}\setlength{\ofrontmargin}{0,75mm}} +\DeclareOption{normalfront}{\setlength{\frontwidth}{12,2cm} +\setlength{\ofrontmargin}{4,46cm}\setlength{\efrontmargin}{-7,4mm}} +\newcommand*{\J@FootnoteSpread}{1} +\DeclareOption{tightfn}{\renewcommand*{\J@FootnoteSpread}{1}} +\DeclareOption{spacedfn}{\renewcommand*{\J@FootnoteSpread}{1.3}} +\AtEndOfClass{\setlength{\footnotesep}{\J@FootnoteSpread\footnotesep}} +\ExecuteOptions{normalfront,tightfn} +\ProcessOptions\relax +\LoadClass[a4paper,12pt]{report} +\RequirePackage{alphanum} +\setlength{\parskip}{0ex} +\setlength{\parindent}{1,3em} +\setlength{\textwidth}{12,2cm} +\setlength{\oddsidemargin}{4,46cm} +\setlength{\evensidemargin}{-7,4mm} +\setlength{\marginparwidth}{3,5cm} +\reversemarginpar +\linespread{1.3} +\setlength{\textheight}{34\baselineskip} +\setlength{\textheight}{\baselinestretch\textheight} +\setlength\topmargin{\paperheight} +\addtolength\topmargin{-2in} +\addtolength\topmargin{-\headheight} +\addtolength\topmargin{-\headsep} +\addtolength\topmargin{-\textheight} +\addtolength\topmargin{-\footskip} +\addtolength\topmargin{-\topskip} +\addtolength\topmargin{-.5\topmargin} +\@settopoint\topmargin +\long\def\@footnotetext#1{\insert\footins{% + \linespread{\J@FootnoteSpread}\reset@font\footnotesize + \interlinepenalty\interfootnotelinepenalty + \splittopskip\footnotesep + \splitmaxdepth \dp\strutbox \floatingpenalty \@MM + \hsize\columnwidth \@parboxrestore + \protected@edef\@currentlabel{% + \csname p@footnote\endcsname\@thefnmark + }% + \color@begingroup + \@makefntext{% + \rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% + \color@endgroup}}% +\newcommand*{\frontmatter}{\cleardoublepage\pagenumbering{Roman}% +\oddsidemargin\ofrontmargin\evensidemargin\efrontmargin% +\hsize\frontwidth\columnwidth\hsize\linewidth\hsize\textwidth\hsize} +\newcommand*{\mainmatter}{\cleardoublepage\pagenumbering{arabic}% +\hsize12,2cm\columnwidth12,2cm\linewidth12,2cm\textwidth12,2cm% +\oddsidemargin4,46cm\evensidemargin-7,4mm} +\newcommand*{\backmatter}{\clearpage} +\renewenvironment*{titlepage}{% + \thispagestyle{empty}\setcounter{page}{1}% + \setlength{\oddsidemargin}{0,75mm}\setlength{\parindent}{0cm}% + \hsize15,77cm\columnwidth15,77cm\linewidth15,77cm\textwidth15,77cm}% + {\newpage\if@twoside\thispagestyle{empty}\null\clearpage\fi} +\renewcommand{\maketitle}{\begin{titlepage}% +\let\footnotesize\small\let\footnoterule\relax\let\footnote\thanks +\begin{tabular}[t]{l}% +\@author +\end{tabular}\par% +\null\vfill +\begin{center}% +{\LARGE\@title\par}\vspace{8ex}% +{\@date\par}% +\end{center}\par +\@thanks +\vfill\vfill\null +\end{titlepage}% +\setcounter{footnote}{0}\global\let\thanks\relax +\global\let\maketitle\relax\global\let\@thanks\@empty +\global\let\@author\@empty\global\let\@date\@empty +\global\let\@title\@empty\global\let\title\relax +\global\let\author\relax\global\let\date\relax +\global\let\and\relax} +\renewcommand*{\and}{\end{tabular}\hspace{1em}\hfill% +\begin{tabular}[t]{l}} +\endinput +%% +%% End of file `jura.cls'. |