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
|
\newcommand{\Signatur}{FIF}
\newcommand{\Schule}{Hans-Sachs-Gymnasium Nürnberg}
\newcommand{\LogoSchule}{images/logoHansSachs.png}
\newtcolorbox{wiederholung}[1]{colback=orange!5!white,colframe=orange!75!black,fonttitle=\bfseries,title=Wiederholung: #1}
\newcommand\kariert[2][0.5cm]{%
\begin{tikzpicture}[gray,step=#1]
\pgfmathtruncatemacro\anzahl{(\linewidth-\pgflinewidth)/#1} % maximale Anzahl Kästchen pro Zeile
\draw (0,0) rectangle (\anzahl*#1,#2*#1) (0,0) grid (\anzahl*#1,#2*#1);
\end{tikzpicture}
}
\newcommand{\liniert}[2][0.5cm]{%
\begin{tikzpicture}[gray]
\path[use as bounding box](0,0)rectangle(\linewidth,-#2*#1-0.5\pgflinewidth);
\foreach \n in {1,...,#2}\draw(0 ,-#1*\n )--(\linewidth,-#1*\n );
\end{tikzpicture}
}
\newcommand{\iflehrer}[2]{\iftoggle{lehrerversion}{#1}{#2}}
\newcommand{\solution}[1]{\iftoggle{lehrerversion}{#1}{\phantom{#1}}}
\newcommand{\gap}[1]{\underline{\solution{#1}}}
|