aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2023-10-01 10:55:55 +0200
committerFlorian Fischer <florian.fischer@muhq.space>2023-10-01 10:55:55 +0200
commit56d7fe33b11f0b520d068d34645a30475ff260bd (patch)
tree94c812de4b222f9e971e3cfb3246bfb011e9907f
parenteb5ef414da7827b2e663cb273322881dddaa7cc4 (diff)
downloadunterricht-56d7fe33b11f0b520d068d34645a30475ff260bd.tar.gz
unterricht-56d7fe33b11f0b520d068d34645a30475ff260bd.zip
cleanup Heron handout and fix lesson-make
-rw-r--r--Mathe/9/1/Heron-Algorithmus/handout.tex (renamed from Mathe/9/1/Heron-Algorithmus/_handout.tex)9
-rw-r--r--Mathe/9/1/Heron-Algorithmus/handout_lehrer.tex4
-rw-r--r--Mathe/9/1/Heron-Algorithmus/handout_schueler.tex4
-rwxr-xr-xscripts/lesson-make2
4 files changed, 3 insertions, 16 deletions
diff --git a/Mathe/9/1/Heron-Algorithmus/_handout.tex b/Mathe/9/1/Heron-Algorithmus/handout.tex
index 754a298b..372be892 100644
--- a/Mathe/9/1/Heron-Algorithmus/_handout.tex
+++ b/Mathe/9/1/Heron-Algorithmus/handout.tex
@@ -1,9 +1,4 @@
-\usepackage[shortlabels]{enumitem}
-\geometry{margin=1.5cm}
-
-\setlength\parindent{0pt}
-
-\newtcolorbox{defbox}[1]{breakable, enhanced, colback=orange!5!white,colframe=orange!75!black,title=#1}
+\documentclass{handout}
\begin{document}
\subsection*{Zurück in die Antike}
@@ -69,7 +64,7 @@ Mit dem \textbf{Heron-Verfahren} lassen sich Näherungswerte für $\sqrt{z}, z >
Dabei wird immer der selbe Rechenschritt ausgeführt und jeweils das letzte Ergebnis wiederverwendet.
\iflehrer{
-$a_{n+1} = \frac{1}{2}(a_n+b_n); b_{n+1} = \frac{z}{a_{n+1}} \Rightarrow a_{n1+1} = \frac{1}{2}(a_n + \frac{z}{a_n})}
+$a_{n+1} = \frac{1}{2}(a_n+b_n); b_{n+1} = \frac{z}{a_{n+1}} \Rightarrow a_{n1+1} = \frac{1}{2}(a_n + \frac{z}{a_n})$}
{\vspace{3cm}}
Mit wachsendem $n$ nähert sich der Wert $a$ dem Wert von $\sqrt{z}$ immer mehr an.
diff --git a/Mathe/9/1/Heron-Algorithmus/handout_lehrer.tex b/Mathe/9/1/Heron-Algorithmus/handout_lehrer.tex
deleted file mode 100644
index c2fcfbba..00000000
--- a/Mathe/9/1/Heron-Algorithmus/handout_lehrer.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-\documentclass[lehrerversion]{handout}
-
-\input{_handout.tex}
-
diff --git a/Mathe/9/1/Heron-Algorithmus/handout_schueler.tex b/Mathe/9/1/Heron-Algorithmus/handout_schueler.tex
deleted file mode 100644
index aec6e113..00000000
--- a/Mathe/9/1/Heron-Algorithmus/handout_schueler.tex
+++ /dev/null
@@ -1,4 +0,0 @@
-\documentclass[]{handout}
-
-\input{_handout.tex}
-
diff --git a/scripts/lesson-make b/scripts/lesson-make
index 01db501a..6a4bfb9b 100755
--- a/scripts/lesson-make
+++ b/scripts/lesson-make
@@ -26,7 +26,7 @@ if [[ -z "${targets[*]}" ]]; then
;;
esac
- if grep -qe 'lehrerversion\|gap\|solution' "${source}"; then
+ if grep -qe 'iflehrer\|lehrerversion\|gap\|solution' "${source}"; then
declare -a sus_targets=( "${new_targets[@]}" )
for sus_target in "${sus_targets[@]}"; do
dir=$(dirname "${sus_target}")