From 2008edad411c281afc0a223ee8b87d3db10b5db7 Mon Sep 17 00:00:00 2001 From: Florian Knoch Date: Mon, 10 May 2021 13:35:04 +0200 Subject: [PATCH] Fix math display --- slides/chapter-09.de.md | 13 +- slides/chapter-09.en.md | 14 +- svg/chapter-09/task-a-crop.svg | 755 --------------------------------- svg/chapter-09/task-a-orig.svg | 755 --------------------------------- svg/chapter-09/task-a.tex | 37 -- svg/chapter-09/task-b-crop.svg | 544 ------------------------ svg/chapter-09/task-b-orig.svg | 544 ------------------------ svg/chapter-09/task-b.tex | 32 -- 8 files changed, 23 insertions(+), 2671 deletions(-) delete mode 100644 svg/chapter-09/task-a-crop.svg delete mode 100644 svg/chapter-09/task-a-orig.svg delete mode 100644 svg/chapter-09/task-a.tex delete mode 100644 svg/chapter-09/task-b-crop.svg delete mode 100644 svg/chapter-09/task-b-orig.svg delete mode 100644 svg/chapter-09/task-b.tex diff --git a/slides/chapter-09.de.md b/slides/chapter-09.de.md index 17ffee7..cc18962 100644 --- a/slides/chapter-09.de.md +++ b/slides/chapter-09.de.md @@ -211,7 +211,12 @@ Formeln setzen @content Setzt die folgenden Formeln in der Datei `exercises/maths/math-formulas.tex`. - +| Bedeutung | Ergebnis | +|-----------|----------| +| Fallbeschleunigung (Deutschland) | $9,81\,\frac{m}{s^2}$ | +| pq-Formel | $x_{1,2} = - \frac{p}{2} \pm \sqrt{\left(\frac{p}{2}\right)^2 - q}$ | +| Mitternachtsformel | $x_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ | +| Catalansche Zahlen | $C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!}$ | @slide(layout=task) @@ -224,4 +229,8 @@ Formeln setzen @content Setzt die folgenden Formeln in der Datei `exercises/maths/math-formulas.tex`. - +| Bedeutung | Ergebnis | +|-----------|----------| +| Definition der Fakultät | $n! = \prod_{i=1}^{n} i$ | +| Menge aller ungeraden natürlichen Zahlen | $\{ x \mid x \in \mathbb{N}, \mathrm{ungerade}(x) \}$ | +| Elimination $\neg\exists x$ | $\neg\exists x . p(x) \Leftrightarrow \forall x . \neg p(x)$ | diff --git a/slides/chapter-09.en.md b/slides/chapter-09.en.md index bb7706e..bf38a15 100644 --- a/slides/chapter-09.en.md +++ b/slides/chapter-09.en.md @@ -213,7 +213,13 @@ Typesetting mathematics @content Code up the following formulas in the file `exercises/maths/math-formulas.tex`. - +| Meaning | Result | +|---------|--------| +| Gravitational acceleration | $9,81\,\frac{m}{s^2}$ | +| Formula to solve quadratic equations | $x_{1,2} = - \frac{p}{2} \pm \sqrt{\left(\frac{p}{2}\right)^2 - q}$ | +| Another formula to solve quadratic equations | $x_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$ | +| Catalan numbers | $C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!}$ | + @slide(layout=task) @@ -226,4 +232,8 @@ Typesetting mathematics @content Code up the following formulas in the file `exercises/maths/math-formulas.tex`. - +| Meaning | Result | +|---------|--------| +| Definition of factorial | $n! = \prod_{i=1}^{n} i$ | +| Set of all odd natural numbers | $\{ x \mid x \in \mathbb{N}, \mathrm{odd}(x) \}$ | +| Elimination $\neg\exists x$ | $\neg\exists x . p(x) \Leftrightarrow \forall x . \neg p(x)$ | diff --git a/svg/chapter-09/task-a-crop.svg b/svg/chapter-09/task-a-crop.svg deleted file mode 100644 index 322865f..0000000 --- a/svg/chapter-09/task-a-crop.svg +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-09/task-a-orig.svg b/svg/chapter-09/task-a-orig.svg deleted file mode 100644 index 954a61f..0000000 --- a/svg/chapter-09/task-a-orig.svg +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-09/task-a.tex b/svg/chapter-09/task-a.tex deleted file mode 100644 index ad1ee3e..0000000 --- a/svg/chapter-09/task-a.tex +++ /dev/null @@ -1,37 +0,0 @@ -\documentclass[a4paper, ngerman]{report} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{babel} -\usepackage{eurosym, tipa, textcomp, textgreek, upgreek} -\usepackage{amssymb, amsfonts, amsmath, dsfont} -\usepackage[hidelinks]{hyperref} -\usepackage{cleveref} -\usepackage{graphicx} -\usepackage{longtable, array, tabularx, booktabs, colortbl} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\begin{center} - -\textbf{Fallbeschleunigung in Deutschland} \\ -(Gravitational acceleration) -$$9,81\,\frac{m}{s^2}$$ \\ -~ \\ - -\textbf{pq-Formel} \\ -(Formula to solve quadratic equations) -$$x_{1,2} = - \frac{p}{2} \pm \sqrt{\left(\frac{p}{2}\right)^2 - q}$$ \\ -~ \\ - -\textbf{Mitternachtsformel} \\ -(Another formula to solve quadratic equations) -$$x_{1,2} = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$ \\ -~ \\ - -\textbf{Catalansche Zahlen} \\ -(Catalan numbers) -\begin{equation*} C_n = \frac{1}{n+1} {2n \choose n} = \frac{(2n)!}{(n+1)!n!} \end{equation*} -\end{center} - -\end{document} diff --git a/svg/chapter-09/task-b-crop.svg b/svg/chapter-09/task-b-crop.svg deleted file mode 100644 index 97e3ea5..0000000 --- a/svg/chapter-09/task-b-crop.svg +++ /dev/null @@ -1,544 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-09/task-b-orig.svg b/svg/chapter-09/task-b-orig.svg deleted file mode 100644 index 1d91e52..0000000 --- a/svg/chapter-09/task-b-orig.svg +++ /dev/null @@ -1,544 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-09/task-b.tex b/svg/chapter-09/task-b.tex deleted file mode 100644 index 41124c0..0000000 --- a/svg/chapter-09/task-b.tex +++ /dev/null @@ -1,32 +0,0 @@ -\documentclass[a4paper, ngerman]{report} -\usepackage[utf8]{inputenc} -\usepackage[T1]{fontenc} -\usepackage{babel} -\usepackage{eurosym, tipa, textcomp, textgreek, upgreek} -\usepackage{amssymb, amsfonts, amsmath, dsfont} -\usepackage[hidelinks]{hyperref} -\usepackage{cleveref} -\usepackage{graphicx} -\usepackage{longtable, array, tabularx, booktabs, colortbl} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\begin{center} - -\textbf{Definition der Fakultät} \\ -(Definition of factorial) -$$n! = \prod_{i=1}^{n} i$$ \\ -~ \\ - -\textbf{Menge aller ungeraden natürlichen Zahlen} \\ -(Set of all odd natural numbers) -$$\{ x \mid x \in \mathds{N}, \mathrm{ungerade}(x) \}$$ -~ \\ - -\textbf{Elimination $\neg\exists x$} -$$\neg\exists x . p(x) \Leftrightarrow \forall x . \neg p(x)$$ - -\end{center} - -\end{document} \ No newline at end of file