summaryrefslogtreecommitdiff
path: root/latexHeaders/math.tex
blob: 92938988f13e2d385223774e0e3133a018b94745 (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
% Display math.
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{amssymb}
\usepackage{ntheorem}

% New enviroment for remarks.
\theoremstyle{break}
\newtheorem{bem}{Bemerkung}

% New commands for math operators.
% Binomial coefficients.
\renewcommand{\binom}[2]{
  \biggl(
  \begin{matrix}
    #1 \\
    #2
  \end{matrix}
  \biggr)
}
% Euler numbers, first kind.
\newcommand{\eulerI}[2]{
  \biggl\langle
  \begin{matrix}
    #1 \\
    #2
  \end{matrix}
  \biggr\rangle
}
% Euler numbers, second kind.
\newcommand{\eulerII}[2]{
  \biggl\langle
  \negthinspace
  \biggl\langle
  \begin{matrix}
    #1 \\
    #2
  \end{matrix}
  \biggr\rangle
  \negthinspace
  \biggr\rangle
}
% Stirling numbers, first kind.
\newcommand{\stirlingI}[2]{
  \biggl[
  \begin{matrix}
    #1 \\
    #2
  \end{matrix}
  \biggr]
}
% Stirling numbers, second kind.
\newcommand{\stirlingII}[2]{
  \biggl\{
  \begin{matrix}
    #1 \\
    #2
  \end{matrix}
  \biggr\}
}
% Legendre symbol.
\newcommand{\legendre}[2]{
  \biggl(
  \frac{#1}{#2}
  \biggr)
}
% Expectation values.
\newcommand{\E}{\text{E}}
% Greates common divisor.
\newcommand{\ggT}{\text{ggT}}