diff options
| author | Florian Fischer <florian.fischer@muhq.space> | 2024-06-02 16:38:40 +0200 |
|---|---|---|
| committer | Florian Fischer <florian.fischer@muhq.space> | 2024-06-02 16:38:40 +0200 |
| commit | 22a21ee3cdd8ee3584d55b7525dec8220b0039da (patch) | |
| tree | 72570c4442bf4e3896f80c171b3d5c73cba70709 /LP2/handout.tex | |
| parent | fee5c32470f66ad65fa77ac19c410c74a2c30c09 (diff) | |
| download | unterricht-22a21ee3cdd8ee3584d55b7525dec8220b0039da.tar.gz unterricht-22a21ee3cdd8ee3584d55b7525dec8220b0039da.zip | |
improve figures
Diffstat (limited to 'LP2/handout.tex')
| -rw-r--r-- | LP2/handout.tex | 38 |
1 files changed, 35 insertions, 3 deletions
diff --git a/LP2/handout.tex b/LP2/handout.tex index 641c6a9d..fedb440a 100644 --- a/LP2/handout.tex +++ b/LP2/handout.tex @@ -2,9 +2,32 @@ \csname endofdump\endcsname \usepackage{wrapfig} \usepackage{changepage} -\usetikzlibrary{decorations.pathreplacing,angles,quotes} +\usetikzlibrary{decorations.pathreplacing,angles,quotes,shapes.callouts} \geometry{margin=1cm} +\pgfkeys{% + /calloutquote/.cd, + width/.code = {\def\calloutquotewidth{#1}}, + position/.code = {\def\calloutquotepos{#1}}, + author/.code = {\def\calloutquoteauthor{#1}}, + /calloutquote/.unknown/.code = {\let\searchname=\pgfkeyscurrentname + \pgfkeysalso{\searchname/.try=#1, /tikz/\searchname/.retry=#1} + \pgfkeysalso{\searchname/.try=#1, /pgf/\searchname/.retry=#1}} +} + + +\newcommand\calloutquote[2][]{% + \pgfkeys{/calloutquote/.cd, + width = 5cm, + position = {(0,-1)}, + author = {}} + \pgfqkeys{/calloutquote}{#1} + \node [rectangle callout, callout relative pointer={\calloutquotepos}, + text width=\calloutquotewidth,/calloutquote/.cd, #1] (tmpcall) at (0,0) {#2}; + \node at (tmpcall.pointer){\calloutquoteauthor}; +} + + \title{Satz des Thales} \setcounter{section}{5} @@ -123,13 +146,22 @@ $\textcolor{red}{\gamma_1} + \textcolor{green}{\gamma_2} + \gamma_1 + \gamma_2 = \liniert{2} } +\vspace{-0.1cm} \begin{defbox}{Satz des Thales:} -\psolution{Wenn der Punkt $C$ eines Dreiecks $ABC$ auf dem Halbkreis über $\overline{AB}$ (Thaleskreis) liegt, dann hat das Dreieck bei $C$ einen rechten Winkel.} \\[3.5cm] +\iflehrer{ +\begin{tikzpicture} +\calloutquote[width=0.7\textwidth, position={(1,-0.05)}, draw, rounded corners] + {Wenn der Punkt $C$ eines Dreiecks $ABC$ auf dem Halbkreis über $\overline{AB}$ (Thaleskreis) liegt, dann hat das Dreieck bei $C$ einen rechten Winkel.}; +\node[right=-0.2cm of tmpcall.pointer] {\includegraphics[width=2cm, keepaspectratio]{img/thales}}; +\end{tikzpicture} +}{\phantom{foo}\\[3cm]} % \underline{Kehrsatz:} \\ % \psolution{Wenn ein Dreieck $ABC$ bei $C$ einen rechten Winkel hat, dann liegt die Ecke $C$ auf dem Halbkreis über $\overline{AB}$.} \iflehrer{\\[1.5cm]}{\\[2cm]} \end{defbox} -\underline{Wenn-Dann-Aussage:} \solution{Wenn die Kamerapositionen auf dem Halbkreis um das Schullogo liegen, dann ist der Bildwinkel der Kamera $90\degree$.} +\underline{Wenn-Dann-Aussage:} +\iflehrer{\\\solution{Wenn die Kamerapositionen auf dem Halbkreis um das Schullogo liegen, dann ist der Bildwinkel der Kamera $90\degree$.}}{\\[-0.1cm]\liniert{3}} +\vspace{-2cm} \end{document} |
