From e0c6872cf40896c7be36b11dcc744620f10adf1d Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Sep 2019 13:46:59 +0900 Subject: Initial commit --- macros/latex/contrib/akktex/README | 55 ++++ .../latex/contrib/akktex/documentation/still to do | 0 .../akktex/source/akktex/base/akkconditional.sty | 40 +++ .../source/akktex/base/akkcounterlabelpattern.sty | 142 +++++++++ .../contrib/akktex/source/akktex/base/akkdoc.sty | 26 ++ .../contrib/akktex/source/akktex/base/akknum.sty | 21 ++ .../akktex/source/akktex/base/akkstring.sty | 54 ++++ .../contrib/akktex/source/akktex/base/akktex.sty | 54 ++++ .../akktex/source/akktex/classes/akklecture.cls | 104 +++++++ .../akktex/source/akktex/classes/akkscript.cls | 138 +++++++++ .../akktex/source/akktex/classes/akktecdoc.cls | 90 ++++++ .../contrib/akktex/source/akktex/cs/akkcs.sty | 27 ++ .../akktex/source/akktex/german/akkgerman.sty | 26 ++ .../akktex/german/akkgermanabbreviations.sty | 43 +++ .../akktex/source/akktex/layout/akklongpage.sty | 19 ++ .../akktex/source/akktex/layout/akkparskip.sty | 243 +++++++++++++++ .../akktex/source/akktex/layout/akksection.sty | 125 ++++++++ .../akktex/source/akktex/layout/akkwidepage.sty | 72 +++++ .../contrib/akktex/source/akktex/math/akkmath.sty | 35 +++ .../akktex/source/akktex/math/akkmathbasic.sty | 51 +++ .../akktex/source/akktex/math/akkmathdisc.sty | 22 ++ .../akktex/source/akktex/math/akkmathfun.sty | 34 ++ .../akktex/source/akktex/math/akkmathnum.sty | 342 +++++++++++++++++++++ .../akktex/source/akktex/math/akkmathpaper.sty | 83 +++++ .../akktex/source/akktex/math/akkmathproof.sty | 176 +++++++++++ .../akktex/source/akktex/math/akkmathrel.sty | 161 ++++++++++ .../akktex/source/akktex/math/akkmathset.sty | 138 +++++++++ .../akktex/source/akktex/math/akkmathtext.sty | 110 +++++++ 28 files changed, 2431 insertions(+) create mode 100644 macros/latex/contrib/akktex/README create mode 100644 macros/latex/contrib/akktex/documentation/still to do create mode 100644 macros/latex/contrib/akktex/source/akktex/base/akkconditional.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/base/akkcounterlabelpattern.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/base/akkdoc.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/base/akknum.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/base/akkstring.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/base/akktex.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/classes/akklecture.cls create mode 100644 macros/latex/contrib/akktex/source/akktex/classes/akkscript.cls create mode 100644 macros/latex/contrib/akktex/source/akktex/classes/akktecdoc.cls create mode 100644 macros/latex/contrib/akktex/source/akktex/cs/akkcs.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/german/akkgerman.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/german/akkgermanabbreviations.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/layout/akklongpage.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/layout/akkparskip.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/layout/akksection.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/layout/akkwidepage.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmath.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathbasic.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathdisc.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathfun.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathnum.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathpaper.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathproof.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathrel.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathset.sty create mode 100644 macros/latex/contrib/akktex/source/akktex/math/akkmathtext.sty (limited to 'macros/latex/contrib/akktex') diff --git a/macros/latex/contrib/akktex/README b/macros/latex/contrib/akktex/README new file mode 100644 index 0000000000..f50ee0977b --- /dev/null +++ b/macros/latex/contrib/akktex/README @@ -0,0 +1,55 @@ +AkkTeX - LaTeX utilities by Igor Akkerman (http://www.akktex.org/) + +Main Features: + - new document classes for technical documents, thesis works, mathematical + manuscripts and lecture notes + - many math packages providing a tremendous nuber of macros for mathematical + texts + - layout providing a non-empty parskip with extended length corrections and + new section definition commands + - easy label creation for counters + - German language tools and predefined abbreviations + + +AkkTeX summary + +AkkTeX consists of a collection of new LaTeX document classes and a very large +set of LaTeX packages with hundreds of new macros simplifying the creation of +scientific papers. The packages have all been created within years of practical +work with LaTeX. + +AkkTeX provides document classes for mathematical lecture notes, elegant +working sheets, thesis works and many more. They are designed for easy-to-use +generation of the specified kinds of documents. + +Additionally, the AkkTeX packages provide a tremendous number of macros, +especially for mathematic texts. Their goal is to reduce the creation time of +documents to a minimum, such that, for example, to type a mathematic paper does +not take longer than to write it by hand. Another advantage over usual LaTeX +typing is that the macro names are subject-specific, not symbol-oriented. +That is, the author can think less about the LaTeX symbol names, but instead, +can call them by their meaning. The \set macro is just the simplest example. +Not only typing becomes more intuitive, but also, reading the LaTeX source code, +changing and refactoring it is made easier. + +The latest release can be found at: + + http://www.akktex.org/ + +Browse our CVS repository for the latest versions of the packages and document +classes at: + + http://sourceforge.net/cvs/?group_id=160672 + +========================================================================= +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License (latest version). + +The latest version of this license can be found at + http://www.latex-project.org/lppl.txt + +This file may only be distributed together with a copy of the +'AkkTeX' bundle. + +The files belonging to the 'AkkTeX' bundle are listed above in this file. +========================================================================= diff --git a/macros/latex/contrib/akktex/documentation/still to do b/macros/latex/contrib/akktex/documentation/still to do new file mode 100644 index 0000000000..e69de29bb2 diff --git a/macros/latex/contrib/akktex/source/akktex/base/akkconditional.sty b/macros/latex/contrib/akktex/source/akktex/base/akkconditional.sty new file mode 100644 index 0000000000..fc6ad504dc --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/base/akkconditional.sty @@ -0,0 +1,40 @@ +%===================================================================================================================================== +% Package akkconditional by Igor Akkerman (c) 2004, 2005 +% Package providing utilities for handling conditionals. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkconditional}[2005/04/30 1.1.1 by Igor Akkerman (c) 2004, 2005 Package providing utilities for handling conditionals.] +%===================================================================================================================================== + +\RequirePackage{ifthen} +%------------------------------------------------------------------------------ + +\newcommand \setnewboolean[2] {\newboolean{#1}\setboolean{#1}{#2}} + +\newcommand \ifthen[2] {\ifthenelse{#1}{#2}{}} +\newcommand \ifelse[2] {\ifthenelse{#1}{}{#2}} +\newcommand \ifbool[3] {\ifthenelse{\boolean{#1}}{#2}{#3}} +\newcommand \ifbooltrue[2] {\ifthen{\boolean{#1}}{#2}} +\newcommand \ifboolfalse[2] {\ifelse{\boolean{#1}}{#2}} + +%-------------------------- +% \ifset[]{}{} +% Executes if is not ; does nothing otherwise. +% { defaults to the empty string} +%-------------------------- +% \ifthenelseset[]{}{}{} +% Executes if is not ; otherwise. +% { defaults to the empty string} +%-------------------------- +\newcommand \ifset[3][] {\ifelse{\equal{#2}{#1}}{#3}} +\newcommand \ifthenelseset[4][] {\ifthenelse{\equal{#2}{#1}}{#4}{#3}} +%-------------------------- + diff --git a/macros/latex/contrib/akktex/source/akktex/base/akkcounterlabelpattern.sty b/macros/latex/contrib/akktex/source/akktex/base/akkcounterlabelpattern.sty new file mode 100644 index 0000000000..5a96ffc083 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/base/akkcounterlabelpattern.sty @@ -0,0 +1,142 @@ +%===================================================================================================================================== +% Package akkcounterlabelpattern by Igor Akkerman (c) 2004 +% Package providing easy counter label creation using a specified pattern. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkcounterlabelpattern}[2006/10/25 1.0.2 by Igor Akkerman (c)2004-2006 Package providing easy counter label creation using a specified pattern.] +%===================================================================================================================================== + +%===================================================================================================================================== +% This package is providing simple means for creating counter labels with a +% user-defined pattern. +% +% Usually, for displaying counters in a LaTeX document, +% you would need to use the commands "\arabic{mycounter}", "\Alph{mycounter}" etc. +% +% This package provides an easier way to define how a counter should be displayed. +% A pattern like "{Element }1" or "{Part }A" can be specified to define the label's format, +% instead of "Element \arabic{mycounter}" or "Part \Alph{mycounter}". +%===================================================================================================================================== + +\makeatletter + +\newtoks \akk@counterlabel% + +% ------------------------------------------------------------------- +% \createcounterlabel {} {} {} +% +% Creates a new command \ expanding to the label specified +% by using the counter specified by . +% +% Examples: +% \createcounterlabel {chapter}{chapternumber}{{Chapter }1} +% creates the new command \chapternumber that will expand to +% "Chapter 1", "Chapter 2", "Chapter 3", ... +% where "1", "2", "3", ... are the current values of the counter +% "chapter". +% It is a shorter version of +% \renewcommand {\thechapter} {\arabic{chapter}} +% \newcommand {\chapternumber} {Chapter \thechapter} +% +% \createcounterlabel {part}{partnumber}{{Part }A} +% creates the new command \partnumber that will expand to +% "Part A", "Part B", "Part C", ... +% where A, B, C, ... are the uppercase letter representants of the +% current values of the counter "part". +% It is a shorter version of +% \renewcommand {\thepart} {\alph{part}} +% \newcommand {\partnumber} {Part \thepart} +% ------------------------------------------------------------------- +\newcommand \createcounterlabel[3] {% + \def\akk@countername{#1}% + \akk@counterlabel{}% + \let \akk@counterpatternNumber ?% + \akk@parsePatternToken@ #3\relax% + \ifx\akk@counterpatternNumber?% + \@warning{% + [counterlabelpattern] The counter will not be printed.^^J% + [counterlabelpattern] The label is: '\the\akk@counterlabel'% + }% + \fi% + \expandafter% + \def \csname #2\endcsname {\the\akk@counterlabel}% + \expandafter% + \let \csname the\akk@countername\endcsname \akk@counterpatternNumber% +} + +\def \akk@parsePatternToken@ {% + % set \akk@patterntoken to >, + % expand \akk@processPatternToken@ \akk@patterntoken + \futurelet\akk@patterntoken\akk@processPatternToken@% +} + +\def \akk@processPatternToken@ {% + \ifx \akk@patterntoken A% + \def\akk@processcommand{\akk@processLabel\Alph}% + \else \ifx \akk@patterntoken a% + \def\akk@processcommand{\akk@processLabel\alph}% + \else \ifx \akk@patterntoken i% + \def\akk@processcommand{\akk@processLabel\roman}% + \else \ifx \akk@patterntoken I% + \def\akk@processcommand{\akk@processLabel\Roman}% + \else \ifx \akk@patterntoken 1% + \def\akk@processcommand{\akk@processLabel\arabic}% + \else \ifx \akk@patterntoken \@sptoken% (= ' ') + \let\akk@processcommand\akk@processSpace% + \else \ifx \akk@patterntoken \bgroup% (= '{') + \let\akk@processcommand\akk@processGroup% + \else \ifx \akk@patterntoken\relax% + \let\akk@processcommand\@gobble% + \else% + \let\akk@processcommand\akk@processOther% + \counterlabelpatternTokenHook + \fi\fi\fi\fi\fi\fi\fi\fi% + \akk@processcommand% +} + +% \akk@processLabel<\Alph|\alph|\Roman|\roman|\arabic> +% Actually, the second parameter is ignored. +\def \akk@processLabel#1#2{% + \ifx\akk@counterpatternNumber?% + \else% + \errmessage{% + [counterlabelpattern] The counter must be unique in the label.% + }% + \fi% + \edef \akk@counterpatternNumber {\noexpand#1{\akk@countername}}% + \akk@counterlabel \expandafter{\the\akk@counterlabel\csname the\akk@countername\endcsname}% + \akk@parsePatternToken@% +} + +\def \akk@processSpace {% + \afterassignment\akk@processSp@ce% + \let\akk@dummy= % (don't remove the blank before %) +} + +\def \akk@processSp@ce {% + \akk@counterlabel \expandafter{\the\akk@counterlabel\space}% + \akk@parsePatternToken@% +} + +\def \akk@processGroup#1{% + \akk@counterlabel \expandafter{\the\akk@counterlabel{#1}}% + \akk@parsePatternToken@% +} + +\def \akk@processOther#1{% + \akk@counterlabel% + \expandafter{\the\akk@counterlabel#1}% + \akk@parsePatternToken@% +} + +\providecommand\counterlabelpatternTokenHook{} + +\makeatother diff --git a/macros/latex/contrib/akktex/source/akktex/base/akkdoc.sty b/macros/latex/contrib/akktex/source/akktex/base/akkdoc.sty new file mode 100644 index 0000000000..70248bfd33 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/base/akkdoc.sty @@ -0,0 +1,26 @@ +%===================================================================================================================================== +% Package akkdoc by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 +% Package providing commands for documents. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkdoc}[2005/04/30 1.0.0 by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 Package providing commands for documents.] +%===================================================================================================================================== +\newboolean{akk@datetitle} + +\renewcommand \maketitle {% + \setboolean{akk@datetitle}{false}% + \akk@maketitle% +} + +\newcommand \makedatetitle {% + \setboolean{akk@datetitle}{true}% + \akk@maketitle% +} diff --git a/macros/latex/contrib/akktex/source/akktex/base/akknum.sty b/macros/latex/contrib/akktex/source/akktex/base/akknum.sty new file mode 100644 index 0000000000..1a1a62adb5 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/base/akknum.sty @@ -0,0 +1,21 @@ +%===================================================================================================================================== +% Package akknum by Igor Akkerman (c) 2005 +% Package providing numeric utilities. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akknum}[2005/05/01 1.0.0 by Igor Akkerman (c) 2005 Package providing numeric utilities.] +%===================================================================================================================================== +\newcommand \romannum[1] {\@roman#1} +\newcommand \Romannum[1] {\@Roman#1} +\newcommand \rom[1] {\romannum{#1}} +\newcommand \Rom[1] {\Romannum{#1}} +\newcommand \alphnum[1] {\@alph#1} +\newcommand \Alphnum[1] {\@Alph#1} diff --git a/macros/latex/contrib/akktex/source/akktex/base/akkstring.sty b/macros/latex/contrib/akktex/source/akktex/base/akkstring.sty new file mode 100644 index 0000000000..d74363290f --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/base/akkstring.sty @@ -0,0 +1,54 @@ +%===================================================================================================================================== +% Package akkstring by Igor Akkerman (c) 2004, 2005 +% Package providing string operation utilities. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkstring}[2005/04/30 1.2.2 by Igor Akkerman (c) 2004, 2005 Package providing string operation utilities.] +%===================================================================================================================================== + +\RequirePackage{ifthen} + +\makeatletter + +\newcommand \ignore[1] {} +\newcommand \ign[1] {} + +\newcommand \centerln[1] {\hspace*{\fill}{#1}\hspace*{\fill}} + +\newcommand \firstchar[1] {% + \def\@firstof##1##2!!!{##1}% + \expandafter\@firstof#1!!!% +} + +\newcommand \removefirstchar[1] {% + \def\@restof##1##2!!!{##2}% + \expandafter\@restof#1!!!% +} + +% \extractleadingnumber {} {} +\newcommand \extractleadingnumber[2] {% + \setbox0=\hbox{\global\csname c@#2\endcsname 0#1\relax}% +} + +% \extractnumber {} {} +\newcommand \extractnumber[2] {% + \def\@restof##1##2!!!{##2}% + \def\@remblank##1##2!!!{##1##2}% + \edef\@string{#1}% + \extractleadingnumber\@string{#2}% + \whiledo{\(\not \equal{\@string}{}\) \and \value{#2} = 0} {% + \edef\@string{\expandafter\@restof\@string!!!}% + \edef\@string{\expandafter\@remblank\@string!!!}% + \extractleadingnumber\@string{#2}% + }% +} + +\makeatother diff --git a/macros/latex/contrib/akktex/source/akktex/base/akktex.sty b/macros/latex/contrib/akktex/source/akktex/base/akktex.sty new file mode 100644 index 0000000000..495e7f475e --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/base/akktex.sty @@ -0,0 +1,54 @@ +%===================================================================================================================================== +% Package akktex by Igor Akkerman (c) 2005 +% Package loading all AkkTeX packages. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akktex}[2005/05/05 1.0.1 by Igor Akkerman (c) 2005 Package loading all AkkTeX packages.] +%===================================================================================================================================== + +\makeatletter + +% Initialisierungsteil +\RequirePackage{akkconditional} + +\newboolean {akk@widepage} +\newboolean {akk@longpage} + +% Deklaration von Optionen +\DeclareOption {widepage} {\setboolean {akk@widepage} {true}} +\DeclareOption {longpage} {\setboolean {akk@longpage} {true}} +\DeclareOption {twoside} {\PassOptionsToPackage {twoside} {akkwidepage}} +\DeclareOption {intlimits} {\PassOptionsToPackage{intlimits}{akkmath}} + +% Ausfuehrung von Optionen +\ProcessOptions + +% Laden von Paketen +\RequirePackage{ifthen} +\RequirePackage{calc} +\RequirePackage{lscape} +\RequirePackage{longtable} +\RequirePackage{theorem} +\RequirePackage{float} +\RequirePackage{enumerate} +\RequirePackage{verbatim} + +\RequirePackage{akkdoc} +\RequirePackage{akkstring} +\RequirePackage{akknum} +\RequirePackage{akkcounterlabelpattern} +\RequirePackage{akkparskip} +\RequirePackage{akkmath} +\RequirePackage{akkcs} +\ifbooltrue{akk@widepage}{\RequirePackage{akkwidepage}} +\ifbooltrue{akk@longpage}{\RequirePackage{akklongpage}} + +\makeatother diff --git a/macros/latex/contrib/akktex/source/akktex/classes/akklecture.cls b/macros/latex/contrib/akktex/source/akktex/classes/akklecture.cls new file mode 100644 index 0000000000..6dbbc3f537 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/classes/akklecture.cls @@ -0,0 +1,104 @@ +%===================================================================================================================================== +% Class akklecture by Igor Akkerman (c) 2005 +% Class for typesetting lecture notes. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{akklecture}[2005/05/05 v1.0.0 by Igor Akkerman (c) 2005 Class for typesetting lecture notes.] +%===================================================================================================================================== + +\makeatletter + +% Initialisierungsteil +\AtBeginDocument{% + \maketitle% +} + +\AtEndDocument{% + \label{lastpage}% +} + +% Deklaration von Optionen +\DeclareOption {10pt} {\PassOptionsToClass {10pt} {article}} +\DeclareOption {11pt} {\PassOptionsToClass {11pt} {article}} +\DeclareOption {12pt} {\PassOptionsToClass {12pt} {article}} +\DeclareOption {draft} {\PassOptionsToClass {draft} {article}} +\DeclareOption {final} {\PassOptionsToClass {final} {article}} + +\DeclareOption {widepage} {\PassOptionsToPackage {widepage} {akktex}} +\DeclareOption {longpage} {\PassOptionsToPackage {longpage} {akktex}} + +\DeclareOption* {\OptionNotUsed} % don't forward unknown options + +% Ausfuehrung von Optionen +\ProcessOptions + +% Laden von Paketen +\LoadClass[a4paper]{article} + +\RequirePackage[longpage,widepage]{akktex} +\RequirePackage{fancyhdr} + +% --------------------------------------------------------- +% set headers / footer +% --------------------------------------------------------- +\pagestyle{fancy} +\setlength \headheight \baselineskip % maximum number of rows in header: 1 +\setlength \headsep \baselineskip % vertical space between header and text +\lhead{\@title} +\chead{\thepage/\pageref{lastpage}} +\rhead{\@date} +\lfoot{} +\cfoot{} +\rfoot{} + +% --------------------------------------------------------- +% remove \abstract command +% --------------------------------------------------------- +\global\let\abstract\relax + +% --------------------------------------------------------- +% definition of the \maketitle command +% --------------------------------------------------------- +\newcommand \akk@maketitle {% + \normalsize% + \begin{large}% + \bfseries% + \@title\makebox[0pt]{\phantom{Mg}}% + \hspace*\fill + \@date% + \end{large}% + \renewcommand \maketitle \relax% + \par% +} +% --------------------------------------------------------- + +% --------------------------------------------------------- +% theorem environments definition +% --------------------------------------------------------- +% needs to be defined here because it doesn't use section numbers +% --------------------------------------------------------- +\theoremstyle{break} + +\theorembodyfont{\rmfamily\upshape} +\newtheorem {definition} {Definition} +\newtheorem {beispiel} [definition] {Beispiel} +\newtheorem {lemma} [definition] {Lemma} +\newtheorem {korollar} [definition] {Korollar} +\newtheorem {corollar} [definition] {Corollar} +\newtheorem {theorem} [definition] {Theorem} +\newtheorem {bemerkung} [definition] {Bemerkung} +\newtheorem {proposition} [definition] {Proposition} + +\theorembodyfont {\rmfamily\itshape} +\newtheorem {satz} [definition] {Satz} +% --------------------------------------------------------- + +\makeatother diff --git a/macros/latex/contrib/akktex/source/akktex/classes/akkscript.cls b/macros/latex/contrib/akktex/source/akktex/classes/akkscript.cls new file mode 100644 index 0000000000..85407768e0 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/classes/akkscript.cls @@ -0,0 +1,138 @@ +%===================================================================================================================================== +% Class akkscript by Igor Akkerman (c) 2004, 2005 +% Class for typesetting scripts. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{akkscript}[2005/04/30 v1.0.0 by Igor Akkerman (c) 2004, 2005 Class for typesetting scripts.] +%===================================================================================================================================== + +\makeatletter + +% Initialisierungsteil +\RequirePackage{ifthen} +\RequirePackage{theorem} +\RequirePackage{akkconditional} + +\AtBeginDocument{} + +% Deklaration von Optionen +\DeclareOption{10pt}{\PassOptionsToClass{10pt}{book}} +\DeclareOption{11pt}{\PassOptionsToClass{11pt}{book}} +\DeclareOption{12pt}{\PassOptionsToClass{12pt}{book}} + +% Ausfuehrung von Optionen +\ProcessOptions + +% Laden von Paketen +\LoadClass[a4paper]{book} + +\RequirePackage{ifthen} + +\RequirePackage{lscape} +\RequirePackage{longtable} +\RequirePackage{theorem} +\RequirePackage{float} +\RequirePackage{enumerate} +\RequirePackage{verbatim} + +\RequirePackage[longpage,widepage,twoside,intlimits]{akktex} + +% --------------------------------------------------------- +% definition of the \maketitle command +% --------------------------------------------------------- +\newcommand \akk@subtitle {} +\newcommand \subtitle[1] {% + \renewcommand \akk@subtitle {#1}% +} + +\newcommand \akk@maketitle {% + \begin{titlepage}% + \let \footnotesize \small + \let \footnoterule \relax + \let \footnote \thanks + \null\vfil + \vskip 60\p@ + \akk@widepage@setorigvalues% + \hspace*\fill + \begin{minipage}{\akk@orig@textwidth}% + \begin{center}% + \begin{Huge}% + \bfseries% + \@title\makebox[0pt]{\phantom{Mg}}% + \\% + \end{Huge}% + \ifset{akk@subtitle} {% + \vspace{2ex}% + \begin{large}% + \akk@subtitle% + \\% + \end{large}% + } + \vspace{3ex}% + \begin{Large}% + \bfseries% + \begin{tabular}[t]{c}% + \@author\makebox[0pt]{\phantom{Mg}}% + \end{tabular}% + \\% + \end{Large}% + \ifbooltrue{akk@datetitle} {% + \vspace{3ex}% + \begin{large}%\bfseries% + \@date\\% + \end{large}% + }% + \vspace{2ex}% + \end{center}% + \end{minipage}% + \hspace*\fill + \akk@widepage@setdefaultvalues% + \par + \@thanks + \vfil\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 +} +% --------------------------------------------------------- + +% --------------------------------------------------------- +% theorem environments definition +% --------------------------------------------------------- +% needs to be defined here because it uses section numbers +% --------------------------------------------------------- +\theoremstyle{changebreak} + +\theorembodyfont{\rmfamily\upshape} +\newtheorem {definition} {Definition} [section] +\newtheorem {beispiel} [definition] {Beispiel} +\newtheorem {lemma} [definition] {Lemma} +\newtheorem {korollar} [definition] {Korollar} +\newtheorem {corollar} [definition] {Corollar} +\newtheorem {theorem} [definition] {Theorem} +\newtheorem {bemerkung} [definition] {Bemerkung} +\newtheorem {proposition} [definition] {Proposition} + +\theorembodyfont {\rmfamily\itshape} +\newtheorem {satz} [definition] {Satz} +% --------------------------------------------------------- + +\makeatother + diff --git a/macros/latex/contrib/akktex/source/akktex/classes/akktecdoc.cls b/macros/latex/contrib/akktex/source/akktex/classes/akktecdoc.cls new file mode 100644 index 0000000000..0d8577ae6d --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/classes/akktecdoc.cls @@ -0,0 +1,90 @@ +%===================================================================================================================================== +% Class akktecdoc by Igor Akkerman (c) 2004, 2005 +% Class for typesetting technical documents. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesClass{akktecdoc}[2005/04/30 v1.0.1 by Igor Akkerman (c) 2004, 2005 Class for typesetting technical documents.] +%===================================================================================================================================== + +\makeatletter + +% Initialisierungsteil +\RequirePackage{ifthen} +\RequirePackage{akkconditional} + +\AtBeginDocument{} + +% Deklaration von Optionen +\DeclareOption {10pt} {\PassOptionsToClass {10pt} {article}} +\DeclareOption {11pt} {\PassOptionsToClass {11pt} {article}} +\DeclareOption {12pt} {\PassOptionsToClass {12pt} {article}} +\DeclareOption {draft} {\PassOptionsToClass {draft} {article}} +\DeclareOption {final} {\PassOptionsToClass {final} {article}} + +\DeclareOption {widepage} {\PassOptionsToPackage {widepage} {akktex}} +\DeclareOption {longpage} {\PassOptionsToPackage {longpage} {akktex}} + +\DeclareOption* {\OptionNotUsed} % don't forward unknown options + +% Ausfuehrung von Optionen +\ProcessOptions + +% Laden von Paketen +\LoadClass[a4paper]{article} + +\RequirePackage{akktex} + +% --------------------------------------------------------- +% definition of the abstract: use original paragraph values +% --------------------------------------------------------- +\let \akk@orig@abstract \abstract +\let \akk@orig@endabstract \endabstract +\renewenvironment {abstract} {% + \akk@setoriginalvalues% + \akk@orig@abstract% +}{% + \akk@orig@endabstract% + \akk@setdefaultvalues% +} +% --------------------------------------------------------- + +% --------------------------------------------------------- +% definition of the \maketitle command +% --------------------------------------------------------- +\newcommand \akk@maketitle {% + \normalsize% + \begin{center}% + \begin{Huge}% + \bfseries% + \@title\makebox[0pt]{\phantom{Mg}}% + \\% + \end{Huge}% + \vspace{2.5ex}% + \begin{Large}% + \bfseries% + \begin{tabular}[t]{c}% + \@author\makebox[0pt]{\phantom{Mg}}% + \end{tabular}% + \\% + \end{Large}% + \ifbooltrue{akk@datetitle} {% + \vspace{3ex}% + \begin{large}%\bfseries% + \@date\\% + \end{large}% + }% + \vspace{2ex}% + \end{center}% + \renewcommand \maketitle \relax% +} +% --------------------------------------------------------- + +\makeatother diff --git a/macros/latex/contrib/akktex/source/akktex/cs/akkcs.sty b/macros/latex/contrib/akktex/source/akktex/cs/akkcs.sty new file mode 100644 index 0000000000..c52de7732b --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/cs/akkcs.sty @@ -0,0 +1,27 @@ +%===================================================================================================================================== +% Package akkcs by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 +% Package providing utilities for typesetting computer science elements. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkcs}[2005/04/30 1.0.0 by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 Package providing utilities for typesetting computer science elements] +%===================================================================================================================================== + +\RequirePackage{amsmath} +\RequirePackage{amssymb} +\RequirePackage{latexsym} +%----------------------------------------------------------------------------------------------------------------------------------------------------------------------- +\newcommand \wlen[1] {{\left| #1 \right|}} +\providecommand \inv {^{-1}} % word inverse (do not wrap twice! {{}}) +\newcommand \winv \inv +\providecommand \inverse[1] {{{#1}\inv}} % word inverse of argument +\newcommand \winverse[1] {\inverse{#1}} +\newcommand \wcolon {{\!:\!}} +\newcommand \OO {{\mathcal O}} diff --git a/macros/latex/contrib/akktex/source/akktex/german/akkgerman.sty b/macros/latex/contrib/akktex/source/akktex/german/akkgerman.sty new file mode 100644 index 0000000000..2e23dcce66 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/german/akkgerman.sty @@ -0,0 +1,26 @@ +%===================================================================================================================================== +% Package akkgerman by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 +% Package for typesetting German documents. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkgerman}[2005/04/27 1.0.0 by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 Package for typesetting German documents.] +%===================================================================================================================================== + +% prepare for Latin-1 encoding and German dictionary +\RequirePackage[latin1]{inputenc} +\RequirePackage[T1]{fontenc} +\RequirePackage[ngerman]{babel} + +% German abbreviations +\RequirePackage{akkgermanabbreviations} + +% German quotes +\newcommand \qq[1] {\glqq #1\grqq\relax\@\xspace} diff --git a/macros/latex/contrib/akktex/source/akktex/german/akkgermanabbreviations.sty b/macros/latex/contrib/akktex/source/akktex/german/akkgermanabbreviations.sty new file mode 100644 index 0000000000..e1060f8bd7 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/german/akkgermanabbreviations.sty @@ -0,0 +1,43 @@ +%===================================================================================================================================== +% Package akkgermanabbreviations by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004 +% Package providing common German abbreviations. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkgermanabbreviations}[2004/06/10 1.1.1 by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004 Package providing common German abbreviations.] +%===================================================================================================================================== + +\RequirePackage{xspace} +%------------------------------------------------------------------------------ + +\renewcommand \dh {d.\,h.\@\xspace} +\newcommand \Dh {D.\,h.\@\xspace} +\newcommand \zb {z.\,B.\@\xspace} +\newcommand \Zb {Z.\,B.\@\xspace} +\newcommand \ua {u.\,a.\@\xspace} +\newcommand \Ua {U.\,a.\@\xspace} +\newcommand \Def {Def.\@\xspace} +\newcommand \Bem {Bem.\@\xspace} +\newcommand \vgl {vgl.\@\xspace} +\newcommand \Vgl {Vgl.\@\xspace} +\newcommand \tbzw {bzw.\@\xspace} +\newcommand \tBzw {Bzw.\@\xspace} +\newcommand \bzgl {bzgl.\@\xspace} +\newcommand \Bzgl {Bzgl.\@\xspace} +\newcommand \Co {Co.\@\xspace} +\newcommand \usw {usw.\@\xspace} +\newcommand \ggf {ggf.\@\xspace} +\newcommand \Ggf {Ggf.\@\xspace} +\renewcommand \S {S.\@\xspace} +\newcommand \s {s.\@\xspace} +\newcommand \so {s.\,o.\@\xspace} +\newcommand \su {s.\,u.\@\xspace} +\newcommand \oae {o.\,ä.\@\xspace} +\newcommand \ff {ff.\@\xspace} diff --git a/macros/latex/contrib/akktex/source/akktex/layout/akklongpage.sty b/macros/latex/contrib/akktex/source/akktex/layout/akklongpage.sty new file mode 100644 index 0000000000..17c46afdef --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/layout/akklongpage.sty @@ -0,0 +1,19 @@ +%===================================================================================================================================== +% Package akklongpage by Igor Akkerman (c) 2004 +% Package providing long pages. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akklongpage}[2004/06/12 by Igor Akkerman (c) 2004 v1.0.1 Package providing long pages.] +%===================================================================================================================================== + +\setlength \voffset {-1in} +\setlength \topmargin {2cm} +\setlength \textheight {23cm} diff --git a/macros/latex/contrib/akktex/source/akktex/layout/akkparskip.sty b/macros/latex/contrib/akktex/source/akktex/layout/akkparskip.sty new file mode 100644 index 0000000000..548815e817 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/layout/akkparskip.sty @@ -0,0 +1,243 @@ +%===================================================================================================================================== +% Package akkparskip by Igor Akkerman (c) 2004, 2005 +% Package providing a non empty paragraph skip with list and section environment corrections. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akkparskip}[2005/04/30 by Igor Akkerman (c) 2004, 2005 v1.3.2 Package providing a non empty paragraph skip with list and section environment corrections.] +%===================================================================================================================================== + +\RequirePackage{akksection} + +\makeatletter + +\newcommand \akk@layoutlist {% + % ------------------------------------------------------------------------------ + % set default labelsep + % (as set for the article class) + % + \setlength \labelsep \akk@default@labelsep% + % ------------------------------------------------------------------------------ + % set default labelwidth + % (as set in size10.clo for the article class) + % + \setlength \labelwidth \leftmargin% + \addtolength \labelwidth {-\labelsep}% + % ------------------------------------------------------------------------------ + % set default rightmargin + % + \setlength \rightmargin \akk@default@rightmargin% + % ------------------------------------------------------------------------------ + % set default listparindent + % + \setlength \listparindent \akk@default@listparindent% + % ------------------------------------------------------------------------------ + % set default itemindent + % + \setlength \itemindent \akk@default@itemindent% + % ------------------------------------------------------------------------------ + % set default topsep + % (set it to the default topsep value of the article class + % minus the parskip since we don't need it before and after the list) + % + \setlength \topsep \akk@default@topsep% + \addtolength \topsep {-\parskip}% + % ------------------------------------------------------------------------------ + % set default partopsep + % (set it to our parskip value) + % + \setlength \partopsep \akk@default@partopsep% + % ------------------------------------------------------------------------------ + % set default parsep + % (set it to our parskip value) + % + \setlength \parsep \akk@default@parsep% + % ------------------------------------------------------------------------------ + % set default itemsep + % (set it to the default itemsep value minus the parsep since we don't need it) + % + \setlength \itemsep \akk@default@itemsep% + \addtolength \itemsep {-\parsep}% + % ------------------------------------------------------------------------------ +} + +\let \akk@orig@listI \@listI +\let \akk@orig@listi \@listi +\let \akk@orig@listii \@listii +\let \akk@orig@listiii \@listiii +\let \akk@orig@listiv \@listiv +\let \akk@orig@listv \@listv +\let \akk@orig@listvi \@listvi + +\newcommand \akk@default@listI {% + \setlength \leftmargin \leftmargini% + \akk@layoutlist% +} +\let \akk@default@listi \akk@default@listI + +\newcommand \akk@default@listii {% + \setlength \leftmargin \leftmarginii% + \akk@layoutlist% +} + +\newcommand \akk@default@listiii {% + \setlength \leftmargin \leftmarginiii% + \akk@layoutlist% +} + +\newcommand \akk@default@listiv {% + \setlength \leftmargin \leftmarginiv% + \akk@layoutlist% +} + +\newcommand \akk@default@listv {% + \setlength \leftmargin \leftmarginv% + \akk@layoutlist% +} + +\newcommand \akk@default@listvi {% + \setlength \leftmargin \leftmarginvi% + \akk@layoutlist% +} + +% -------------------------------------------------------------------------------------------------------------------------------------------------------------------- + +% original values of the article class +\newlength \akk@orig@parskip +\newlength \akk@orig@parindent +\newlength \akk@orig@labelsep +\newlength \akk@orig@rightmargin +\newlength \akk@orig@listparindent +\newlength \akk@orig@itemindent +\newlength \akk@orig@topsep +\newlength \akk@orig@partopsep +\newlength \akk@orig@parsep +\newlength \akk@orig@itemsep + +% actual default values of this style +\newlength \akk@default@parskip +\newlength \akk@default@parindent +\newlength \akk@default@labelsep +\newlength \akk@default@rightmargin +\newlength \akk@default@listparindent +\newlength \akk@default@itemindent +\newlength \akk@default@topsep +\newlength \akk@default@partopsep +\newlength \akk@default@parsep +\newlength \akk@default@itemsep + +% skips before and after sections +\newlength \akk@@beforesectionskip +\newlength \akk@@beforesubsectionskip +\newlength \akk@@beforesubsubsectionskip +\newlength \akk@@beforeparagraphskip +\newlength \akk@@aftersectionskip +\newlength \akk@@aftersubsectionskip +\newlength \akk@@aftersubsubsectionskip +\newlength \akk@@afterparagraphskip + +% get the original values of the article class +\setlength \akk@orig@parskip \parskip +\setlength \akk@orig@parindent \parindent +\setlength \akk@orig@labelsep \labelsep +\setlength \akk@orig@rightmargin \rightmargin +\setlength \akk@orig@listparindent \listparindent +\setlength \akk@orig@itemindent \itemindent +\setlength \akk@orig@topsep \topsep +\setlength \akk@orig@partopsep \partopsep +\setlength \akk@orig@parsep \parsep +\setlength \akk@orig@itemsep \itemsep + +% set the actual default values of this style +\setlength \akk@default@parindent \z@ +\setlength \akk@default@parskip {0.71125\baselineskip plus 2pt} % = 3mm bei 10pt +\setlength \akk@default@labelsep \akk@orig@labelsep +\setlength \akk@default@rightmargin \z@ +\setlength \akk@default@listparindent \z@ +\setlength \akk@default@itemindent \z@ +\setlength \akk@default@topsep \akk@orig@topsep +\setlength \akk@default@partopsep \akk@default@parskip +\setlength \akk@default@parsep \akk@default@parskip +\setlength \akk@default@itemsep \akk@orig@itemsep + +\newcommand \akk@setoriginalvalues {% + \let \@listI \akk@orig@listI% + \let \@listi \akk@orig@listi% + \let \@listii \akk@orig@listii% + \let \@listiii \akk@orig@listiii% + \let \@listiv \akk@orig@listiv% + \let \@listv \akk@orig@listv% + \let \@listvi \akk@orig@listvi% + \setlength \parskip \akk@orig@parskip% + \setlength \parindent \akk@orig@parindent% + \setlength \labelsep \akk@orig@labelsep% + \setlength \rightmargin \akk@orig@rightmargin% + \setlength \listparindent \akk@orig@listparindent% + \setlength \itemindent \akk@orig@itemindent% + \setlength \topsep \akk@orig@topsep% + \setlength \partopsep \akk@orig@partopsep% + \setlength \parsep \akk@orig@parsep% + \setlength \itemsep \akk@orig@itemsep% +} + +\newcommand \akk@setdefaultvalues {% + \let \@listI \akk@default@listI% + \let \@listi \akk@default@listi% + \let \@listii \akk@default@listii% + \let \@listiii \akk@default@listiii% + \let \@listiv \akk@default@listiv% + \let \@listv \akk@default@listv% + \let \@listvi \akk@default@listvi% + \setlength \parskip \akk@default@parskip% + \setlength \parindent \akk@default@parindent% + \setlength \labelsep \akk@default@labelsep% + \setlength \rightmargin \akk@default@rightmargin% + \setlength \listparindent \akk@default@listparindent% + \setlength \itemindent \akk@default@itemindent% + \setlength \topsep \akk@default@topsep% + \setlength \partopsep \akk@default@partopsep% + \setlength \parsep \akk@default@parsep% + \setlength \itemsep \akk@default@itemsep% + \akk@layoutlist% +} + +% \akk@beforesectionskip {} {} +\newcommand \akk@beforesectionskip[2] {% + \expandafter \setlength \csname akk@@before#1skip\endcsname {-\akk@default@parskip}% + \expandafter \addtolength \csname akk@@before#1skip\endcsname {#2}% +} + +% \akk@aftersectionskip {} {} +\newcommand \akk@aftersectionskip[2] {% + \expandafter \setlength \csname akk@@after#1skip\endcsname {-\akk@default@parskip}% + \expandafter \addtolength \csname akk@@after#1skip\endcsname {#2}% +} + +\akk@beforesectionskip {section} {3.5ex \@plus 1ex \@minus .2ex} +\akk@aftersectionskip {section} {2.3ex \@plus.2ex} + +\akk@beforesectionskip {subsection} {3.25ex\@plus 1ex \@minus .2ex} +\akk@aftersectionskip {subsection} {1.5ex \@plus .2ex} + +\akk@beforesectionskip {subsubsection} {3.25ex\@plus 1ex \@minus .2ex} +\akk@aftersectionskip {subsubsection} {1.5ex \@plus .2ex} + +\akk@beforesectionskip {paragraph} {2ex \@plus 1ex \@minus .2ex} +\akk@aftersectionskip {paragraph} {.3ex \@plus .2ex} + +% \akk@startsection{}{}{}{}{}{}{}{stil} +\renewcommand \section {\akk@startsection {section} {1} {0pt} {false} {\akk@@beforesectionskip} {false} {\akk@@aftersectionskip} {\normalfont\Large\bfseries}} +\renewcommand \subsection {\akk@startsection {subsection} {2} {0pt} {false} {\akk@@beforesubsectionskip} {false} {\akk@@aftersubsectionskip} {\normalfont\large\bfseries}} +\renewcommand \subsubsection {\akk@startsection {subsubsection} {3} {0pt} {false} {\akk@@beforesubsubsectionskip} {false} {\akk@@aftersubsubsectionskip} {\normalfont\normalsize\bfseries}} +\renewcommand \paragraph {\akk@startsection {paragraph} {4} {0pt} {false} {\akk@@beforeparagraphskip} {false} {\akk@@afterparagraphskip} {\normalfont\bfseries}} + +\akk@setdefaultvalues + +\makeatother diff --git a/macros/latex/contrib/akktex/source/akktex/layout/akksection.sty b/macros/latex/contrib/akktex/source/akktex/layout/akksection.sty new file mode 100644 index 0000000000..5ef4419583 --- /dev/null +++ b/macros/latex/contrib/akktex/source/akktex/layout/akksection.sty @@ -0,0 +1,125 @@ +%===================================================================================================================================== +% Package akksection by Igor Akkerman (c) 2004, 2005 +% Package providing an alternative section definition command. +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License (latest version). +% +% The latest version of this license can be found at +% http://www.latex-project.org/lppl.txt +% +% This file may only be distributed together with the full 'AkkTeX' bundle. +%===================================================================================================================================== +\NeedsTeXFormat{LaTeX2e}[1995/12/01] +\ProvidesPackage{akksection}[2005/04/30 by Igor Akkerman (c) 2004, 2005 v1.0.2 Package providing an alternative section definition command.] +%===================================================================================================================================== + +\makeatletter + +\newif\if@embedded + +% \akk@startsection{}{}{}{}{}{}{}{stil} +\def\akk@startsection#1#2#3#4#5#6#7#8{% + \if@noskipsec \leavevmode \fi% + \par% + \@tempskipa #5\relax% + \csname @afterindent#4\endcsname% + \if@nobreak% + \everypar{}% + \else% + \addpenalty\@secpenalty\addvspace\@tempskipa% + \fi% + \@ifstar{% + \akk@ssect{#3}{#4}{#5}{#6}{#7}{#8}% + }{% + \@dblarg{\akk@sect{#1}{#2}{#3}{#5}{#6}{#7}{#8}}% + }% +} + +% \akk@sect{}{}{}{}{}}{}{}[]{