summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/akktex/source/akktex/math/akkmathtext.sty
blob: 4cab3b69cf1ed383c76025eaf65d907b85a45df2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
%=====================================================================================================================================
% Package akkmathtext by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005
% Package providing utilities for typesetting text elements within mathematic formulas.
%
% 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{akkmathtext}[2005/05/01 1.0.0 by Igor Akkerman (c) 2000, 2001, 2002, 2003, 2004, 2005 Package providing utilities for typesetting text elements within mathematic formulas]
%=====================================================================================================================================

\newcommand \textq[1] {{\text{{#1}}\quad}}
\newcommand \textqq[1] {{\text{{#1}}\qquad}}
\newcommand \qtext[1] {{\quad\text{{#1}}}}
\newcommand \qtextq[1] {{\quad\text{{#1}}\quad}}
\newcommand \qtextqq[1] {{\quad\text{{#1}}\qquad}}
\newcommand \qqtext[1] {{\qquad\text{{#1}}}}
\newcommand \qqtextq[1] {{\qquad\text{{#1}}\quad}}
\newcommand \qqtextqq[1] {{\qquad\text{{#1}}\qquad}}
\newcommand \und {{\text{ und }}}
\newcommand \qund {{\qtext{und }}}
\newcommand \qundq {{\qtextq{und}}}
\newcommand \qqund {{\qqtext{und }}}
\newcommand \qqundq {{\qqtextq{und}}}
\newcommand \qqundqq {{\qqtextqq{und}}}
\newcommand \sowie {{\text{ sowie }}}
\newcommand \qsowie {{\qtext{sowie }}}
\newcommand \qsowieq {{\qtextq{sowie}}}
\newcommand \qqsowie {{\qqtext{sowie }}}
\newcommand \qqsowieq {{\qqtextq{sowie}}}
\newcommand \qqsowieqq {{\qqtextqq{sowie}}}
\newcommand \bzw {{\text{ bzw.~}}}
\newcommand \qbzw {{\qtext{}}}
\newcommand \qbzwq {{\qtextq{bzw.}}}
\newcommand \qqbzw {{\qqtext{bzw.~}}}
\newcommand \qqbzwq {{\qqtextq{bzw.}}}
\newcommand \qqbzwqq {{\qqtextqq{bzw.}}}
\newcommand \oder {{\text{ oder }}}
\newcommand \qoder {{\qtext{oder }}}
\newcommand \qoderq {{\qtextq{oder}}}
\newcommand \qqoder {{\qqtext{oder }}}
\newcommand \qqoderq {{\qqtextq{oder}}}
\newcommand \qqoderqq {{\qqtextqq{oder}}}
\newcommand \qdh {{\qtext{\dh}\ }}
\newcommand \qdhq {{\qtextq{\dh}}}
\newcommand \qqdh {{\qqtext{\dh}\ }}
\newcommand \qqdhq {{\qqtextq{\dh}}}
\newcommand \qqdhqq {{\qqtextqq{\dh}}}
\newcommand \gdw {{\text{ gdw.~}}}
\newcommand \qgdw {{\qtext{gdw.~}}}
\newcommand \qgdwq {{\qtextq{gdw.}}}
\newcommand \qqgdw {{\qqtext{gdw.~}}}
\newcommand \qqgdwq {{\qqtextq{gdw.}}}
\newcommand \qqtgdwqq {{\qqtextqq{gdw.}}}
\newcommand \fuer {{\text{ für }}}
\newcommand \qfuer {{\qtext{für }}}
\newcommand \qfuerq {{\qtextq{für}}}
\newcommand \qqfuer {{\qqtext{für }}}
\newcommand \qqfuerq {{\qqtextq{für}}}
\newcommand \qqfuerqq {{\qqtextqq{für}}}
\newcommand \falle {{\text{ für alle }}}
\newcommand \qfalle {{\qtext{für alle }}}
\newcommand \qfalleq {{\qtextq{für alle}}}
\newcommand \qqfalle {{\qqtext{für alle }}}
\newcommand \qqfalleq {{\qqtextq{für alle}}}
\newcommand \qqfalleqq {{\qqtextqq{für alle}}}
\newcommand \fein {{\text{ für ein }}}
\newcommand \qfein {{\qtext{für ein }}}
\newcommand \qfeinq {{\qtextq{für ein}}}
\newcommand \qqfein {{\qqtext{für ein }}}
\newcommand \qqfeinq {{\qqtextq{für ein}}}
\newcommand \qqfeinqq {{\qqtextqq{für ein}}}
\renewcommand \mit {{\text{ mit }}}
\newcommand \qmit {{\qtext{mit }}}
\newcommand \qmitq {{\qtextq{mit}}}
\newcommand \qqmit {{\qqtext{mit }}}
\newcommand \qqmitq {{\qqtextq{mit}}}
\newcommand \qqmitqq {{\qqtextqq{mit}}}
\newcommand \wobei {{\text{ wobei }}}
\newcommand \qwobei {{\qtext{wobei }}}
\newcommand \qwobeiq {{\qtextq{wobei}}}
\newcommand \qqwobei {{\qqtext{wobei }}}
\newcommand \qqwobeiq {{\qqtextq{wobei}}}
\newcommand \qqwobeiqq {{\qqtextqq{wobei}}}
\newcommand \also {{\text{ also }}}
\newcommand \qalso {{\qtext{also }}}
\newcommand \qalsoq {{\qtextq{also}}}
\newcommand \qqalso {{\qqtext{also }}}
\newcommand \qqalsoq {{\qqtextq{also}}}
\newcommand \qqalsoqq {{\qqtextqq{also}}}
\newcommand \falls {{\text{falls }}}
\newcommand \sonst {{\text{sonst}}}

\newcommand \mal [4]{{\underbrace{#3#1\,#2\,#1#3}_{#4\text{-mal}}}}
                    % underbraces #3#1 #2 #1#3 with `#4-mal'
                    % example: \mal \cdot \cdots 2 n
\newcommand \plusmal[2] {\mal + \cdots {#1} {#2}}
\newcommand \malmal[2]  {\mal \cdot \cdots {#1} {#2}}
\newcommand \xmal[2]    {\mal \times \cdots {#1} {#2}}
%\newcommand \malmal [2]{{\underbrace{#1\cdot\,\cdots\,\cdot#1}_{#2\text{-mal}}}}
%                        % underbraces #1*...*#1 with `#2-mal'

\newcommand \obda {o.B.d.A.\@\xspace}
\newcommand \Obda {O.B.d.A.\@\xspace}
\newcommand \diffbar {{differenzierbar\@\xspace}}