@problem@
	@problemtype@
		embedded
	@;problemtype@
	@name@
		tutorial_16_tikz
	@endname@
	@preamble@
		s = randsign() # s takes either the value 1 or -1
	@;preamble@
	@content@
		In addition to binary image files, it is also possible to include images via the TikZ library for LaTeX, as shown below.
		@tikz@
			\begin{axis}[
				axis x line=middle, axis y line=left,
				xmin=-2.45, xmax=2.45,
				ytick=\empty,
				xticklabels={$x_0$},
				xtick={0}
			]
				\addplot[domain=-2.45:2.45,samples=49]{@s@*x^2+1} node[pos=.7,@case(s<0,"above right","below left")@] {$f$};
			\end{axis}
		@endtikz@
		The function $f$ visualized above has a @chooseans(100,["minimum","maximum"],case(s>0,1,2),display=DROPDOWN)@ at $x_0$.
		@pb;@
		Please note that TikZ images are currently not shown in the html debug preview.
	@;content@
@;problem@