forked from andreasf/algorithmik
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvironment.tex
More file actions
70 lines (58 loc) · 888 Bytes
/
environment.tex
File metadata and controls
70 lines (58 loc) · 888 Bytes
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
% definition
\newcounter{definition}[section]
\newenvironment{definition}[0]
{
\stepcounter{definition}
\paragraph*{Definition \thesection.\thedefinition}
}
{
}
% lemma
\newcounter{lemma}[section]
\newenvironment{lemma}[0]
{
\refstepcounter{lemma}
\paragraph*{Lemma \thelemma}
}
{
}
\renewcommand{\thelemma}{\thesection.\arabic{lemma}}
% korollar
\newenvironment{korollar}[0]
{
\refstepcounter{lemma}
\paragraph*{Korollar \thelemma}
}
{
}
% beispiel
\newenvironment{beispiel}[0]
{
%\stepcounter{beispiel}
\paragraph*{Beispiel}
}
{
}
% bemerkung
\newenvironment{bemerkung}[0]
{
\paragraph*{Bemerkung}
}
{
}
% beweis
\newenvironment{beweis}[0]
{
\paragraph*{Beweis}
}
{
}
% tikz with bigger arrow heads
\newenvironment{tipi}[1][]
{
\begin{tikzpicture}[#1]
\begin{scope}[>=latex]
}
{ \end{scope}
\end{tikzpicture}
}