\newcommand{\Ker}{\operatorname{Ker}}
\newcommand{\Image}{\operatorname{Im}}
\newcommand{\trivial}{\ensuremath{\mathbb{T\ R\ I\ V\ I\ A\ L}}}
\usepackage{cancel}
\usepackage{stmaryrd}

\newcommand{\decrs}{%
	\begin{tikzpicture}[scale=1.75, baseline=0]%
		\draw (0,-0.25ex) -- (1ex,-0.25ex);%
		\draw (1ex,0) arc (0:90:1ex);%
	\end{tikzpicture}\,%
}

\newcommand{\stdecrs}{%
	\begin{tikzpicture}[scale=1.75, baseline=0]%
		\draw (0,-0.25ex) -- (1ex,-0.25ex);%
		\draw (1ex,0) arc (0:90:1ex);%
		\draw (0.75ex,0.125ex) -- (0.25ex,-0.5ex);%
	\end{tikzpicture}\,%
}

\newcommand{\croiss}{%
	\begin{tikzpicture}[scale=1.75, baseline=0]%
		\draw (0,-0.25ex) -- (1ex,-0.25ex);%
		\draw (0,0) arc (-90:0:1ex);%
	\end{tikzpicture}\,%
}

\newcommand{\stcroiss}{%
	\begin{tikzpicture}[scale=1.75, baseline=0]%
		\draw (0,-0.25ex) -- (1ex,-0.25ex);%
		\draw (0,0) arc (-90:0:1ex);%
		\draw (0.75ex,0.125ex) -- (0.25ex,-0.5ex);%
	\end{tikzpicture}\,%
}
\newcommand{\stmonos}{%
	\begin{tikzpicture}[scale=1.75, baseline=0]%
		\draw (0,-0.25ex) -- (1ex,-0.25ex);%
		\draw (0,0) arc (-90:0:1ex);%
		\draw (1ex,0) arc (0:90:1ex);%
		\draw (0.75ex,0.125ex) -- (0.25ex,-0.5ex);%
	\end{tikzpicture}\,%
}
\newcommand{\periodiques}{\circlearrowleft}
\newcommand{\concaves}{}
\newcommand{\convexes}{}
\newcommand{\intensives}{}
\newcommand{\extensives}{}

\newcommand{\paires}{%
	\begin{tikzpicture}[scale=1.5, baseline=-0.5ex]%
		\draw (-1ex,0) -- (1ex,0);%
		\draw (0,-1ex) -- (0, 1ex);%
		\draw (0ex, 0ex) arc (-90:0:1ex);%
		\draw (0ex, 0ex) arc (90:0:-1ex);%
	\end{tikzpicture}\,%
}

\newcommand{\impaires}{%
	\begin{tikzpicture}[scale=1.5, baseline=-0.5ex]%
		\draw (-1ex,0) -- (1ex,0);%
		\draw (0,-1ex) -- (0, 1ex);%
		\draw (0ex, 0ex) arc (-90:0:1ex);%
		\draw (0ex, 0ex) arc (-90:0:-1ex);%
	\end{tikzpicture}\,%
}

\newcommand{\bijections}{%
	\begin{tikzpicture}[scale=1.2, baseline=-0.8ex]%
		\draw (-0.75ex,0) ellipse (0.5ex and 1ex);
		\draw (0.75ex,0) ellipse (0.5ex and 1ex);
		\draw (-0.75ex,0.5ex) -- (0.75ex,0.5ex);
		\draw (-0.75ex,0) -- (0.75ex,0);
		\draw (-0.75ex,-0.5ex) -- (0.75ex,-0.5ex);
	\end{tikzpicture}\,%
}

\newcommand{\injections}{%
	\begin{tikzpicture}[scale=1.5, baseline=-0.5ex]%
		\draw (-0.75ex,0) ellipse (0.5ex and 1ex);
		\draw (0.75ex,0) ellipse (0.5ex and 1ex);
		\draw (-0.75ex,-.25ex) -- (0.75ex,-.25ex);
		\draw (0.75ex, .25ex) node {$\cdot$};
	\end{tikzpicture}\,%
}

\newcommand{\surjections}{%
	\begin{tikzpicture}[scale=1.5, baseline=-0.5ex]%
		\draw (-0.75ex,0) ellipse (0.5ex and 1ex);
		\draw (0.75ex,0) ellipse (0.5ex and 1ex);
		\draw (-0.75ex,0.5ex) -- (0.75ex,0);
		\draw (-0.75ex,-0.5ex) -- (0.75ex,0);
	\end{tikzpicture}\,%
}

\newcommand{\imp}{\ensuremath{\fbox{\lightning}}}
\newcommand{\Mat}{\operatorname{Mat}}
\newcommand{\lvec}[1]{\overrightarrow{#1}}
\newcommand{\from}{\leftarrow}
