%
% 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!40,line width=2.4pt]
		($#1+(-\l,-\l)$) -- ($#1+(\l,\l)$);
	\draw[color=#2!40,line width=2.4pt]
		($#1+(-\l,\l)$) -- ($#1+(\l,-\l)$);
}
\def\nullstelle#1#2{
	\draw[color=#2!40,line width=2.4pt] #1 circle[radius=\l];
}
\def\rechteck#1#2{
	\fill[color=#1!20] (-1,-1) rectangle (1,1);
	\node[color=#1] at (0,0) {$#2$};
}
