aboutsummaryrefslogtreecommitdiffstats
path: root/buch/chapters/110-elliptisch/images/ellcommon.tex
blob: cd3245d40aab3ccc430cd83184c1b3bd6d97a0ee (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
%
% ellcommon.tex -- common macros/definitions for elliptic function
%                  values display
%
% (c) 2022 Prof Dr Andreas Müller, OST Ostschweizer Fachhochschule
%
\definecolor{rot}{rgb}{0.8,0,0}
\definecolor{blau}{rgb}{0,0,1}
\definecolor{gruen}{rgb}{0,0.6,0}
\def\l{0.2}

\def\pol#1#2{
	\draw[color=#2!50,line width=3.0pt]
		($#1+(-\l,-\l)$) -- ($#1+(\l,\l)$);
	\draw[color=#2!50,line width=3.0pt]
		($#1+(-\l,\l)$) -- ($#1+(\l,-\l)$);
}
\def\nullstelle#1#2{
	\draw[color=#2!50,line width=3.0pt] #1 circle[radius=\l];
}
\def\rechteck#1#2{
	\fill[color=#1!20] (-1,-1) rectangle (1,1);
	\node[color=#1] at (0,0) {$#2\mathstrut$};
}