diff --git a/sections/german/15/15.md b/sections/german/15/15.md deleted file mode 100644 index f1ca4ec..0000000 --- a/sections/german/15/15.md +++ /dev/null @@ -1,206 +0,0 @@ -
-
-

Paket in Sicht!

-
-
- ---- - -
-
-

Stichwortverzeichnis anlegen

-
\usepackage{makeidx}
-\makeindex
-\begin{document}
-\maketitle
-\section{Was ist LaTeX\index{LaTeX}?}
-LaTeX\index{LaTeX} ist ein
-Textsatzsystem\index{Textsatzsystem}.
-\newpage \section{TeX\index{TeX} vs.
-LaTeX\index{LaTeX}} Es basiert auf
-TeX\index{TeX}, einer Erfindung von
-Donald Knuth\index{Knuth, Donald}.
-Da TeX\index{TeX} in seiner Syntax sehr
-viel komplexer als LaTeX\index{LaTeX}
-ist, ist LaTeX\index{LaTeX} wesentlich
-weiter verbreitet.
-\printindex
-
-
- -
-
- ---- - -
-
-

Präsentationen gestalten

-

Für Präsentationen gibt es die Dokumentenklasse `beamer` sowie zahlreiche [Vorlagen und Themes](https://www.overleaf.com/learn/latex/Beamer).

-
\documentclass{beamer}
-\usetheme{Frankfurt}
-\usecolortheme{seahorse}
-\usepackage[utf8]{inputenc}
-
-\begin{document}
-\begin{frame}
-	\frametitle{Zitronensorbet}
-	\framesubtitle{Inkarnation des Guten?}
-	\begin{definition}
-		Ein Zitronensorbet ist eine
-		halbgefrorene \textbf{Speiseeiscreme}
-		auf Basis von \textit{Zitronen}.
-	\end{definition}
-\end{frame}
-\end{document}
-
-
- -
- ---- - -
-
-

Grafiken erstellen

-

TikZ (»TikZ ist kein Zeichenprogramm«) ist ein umfangreiches Paket zur Erstellung von Vektorgrafiken.

-
% …
-\tikzstyle{every node}=[draw=black,thick,anchor=west]
-\tikzstyle{selected}=[draw=red,fill=red!30]
-\tikzstyle{dir}=[fill=gray!50]
-\tikzstyle{relativeTo}=[fill=blue!70]
-\begin{tikzpicture}[%
-grow via
-three points={one child at (0.5,-0.7) and
-two children at
-(0.5,-0.7) and (0.5,-1.4)},
-edge from
-parent path={(\tikzparentnode.south)
- |- (\tikzchildnode.west)}]
-\node {/ oder C:}
-child { node {home}
-  child { node {knut}
-    child { node {pictures}}
-    child { node {docs}
-      child { node [dir] {latex}
-        child { node [relativeTo] {main.tex}
-        child { node [selected] {part1.tex}
-      }
-    }
-  }
-};
-\end{tikzpicture}
-% …
-
-
- -
-
- ---- - -
-
-

Linguistik

-

Mit dem Paket qtree lassen sich Konstituentenbäume erstellen:

-
\Tree [.S [.NP LaTeX ]
-[.VP [.V is ] [.NP fun ] ] ]
-
-
- -
-
- ---- - -
-
-

Mathematische Beweisführung

-

Beweisbäume lassen sich mit dem Paket `prftree` einwandfrei darstellen.

-
\begin{displaymath}
-\prftree[l,r]{}{[comp$\_{ns}$]}
-{
-  \prftree[l,r]{}{[comp$\_{ns}$]}
-  {
-    \prftree[l,r]{}{[ass$\_{ns}$]}
-    {
-      -
-    }
-    {
-      (\texttt{m:=a}, \sigma\_{\bot,\bot})
-      \rightarrow \sigma\_{48,\bot}
-    }
-  }
-  {
-    \prftree[l,r]{}{[ass$\_{ns}$]}
-    {
-      -
-    }
-    {
-      (\texttt{n:=b}, \sigma\_{48,\bot})
-      \rightarrow \sigma\_{48,18}
-    }
-  }
-  {
-    (\texttt{m:=a; n:=b}, \sigma\_{\bot,\bot})
-    \rightarrow \sigma\_{48,18}
-  }
-}
-{
-  \prftree[l,r]{}{}
-  {
-    \dots
-  }
-  {
-    \textbf{[1]}\ (\texttt{LOOP}, \sigma\_{48,18})
-    \rightarrow \sigma\_{6,6}
-  }
-}
-{
-  (\texttt{m:=a; n:=b; LOOP}, \sigma\_{\bot,\bot})
-  \rightarrow \sigma\_{6,6}
-}
-\end{displaymath}
-
-
- -
-
- ---- - -
-
-

Weitere nützliche Pakete

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
PaketAnwendung
xcolorMach’s mit Farbe
todonotesToDo-Markierungen und Liste der ToDos
pdfpagesEinbinden von pdf-Dateien
subcaptionUnterabbildungen und zusätzliche Möglichkeiten für Blidunterschriften
colortbl, tabularx, multirow, makecellGestalten von Tabellen
paralistKompaktere Aufzählungen
-
-
diff --git a/slides.yml b/slides.yml index fa6c6d4..0ebc46d 100644 --- a/slides.yml +++ b/slides.yml @@ -13,4 +13,5 @@ - chapter-12 - chapter-13 - chapter-14 +- chapter-15 diff --git a/slides/chapter-15.de.md b/slides/chapter-15.de.md new file mode 100644 index 0000000..9d83473 --- /dev/null +++ b/slides/chapter-15.de.md @@ -0,0 +1,211 @@ +@slide(layout=chapter-slide) + +@title +Paket in Sicht! + +@slide(layout=content-and-preview) + +@title +Stichwortverzeichnis anlegen + +@content +```{.lang-tex .hljs} +\usepackage{makeidx} +\makeindex +\begin{document} +\maketitle +\section{Was ist LaTeX\index{LaTeX}?} +LaTeX\index{LaTeX} ist ein +Textsatzsystem\index{Textsatzsystem}. +\newpage \section{TeX\index{TeX} vs. +LaTeX\index{LaTeX}} Es basiert auf +TeX\index{TeX}, einer Erfindung von +Donald Knuth\index{Knuth, Donald}. +Da TeX\index{TeX} in seiner Syntax sehr +viel komplexer als LaTeX\index{LaTeX} +ist, ist LaTeX\index{LaTeX} wesentlich +weiter verbreitet. +\printindex +``` + +@preview +![](svg/chapter-15/index.png) + +@slide(layout=content-and-preview) + +@title +Präsentationen gestalten + +@content +Für Präsentationen gibt es die Dokumentenklasse `beamer` sowie zahlreiche [Vorlagen und Themes](https://www.overleaf.com/learn/latex/Beamer). + +```{.lang-tex .hljs .small-text} +\documentclass{beamer} +\usetheme{Frankfurt} +\usecolortheme{seahorse} +\usepackage[utf8]{inputenc} + +\begin{document} +\begin{frame} + \frametitle{Zitronensorbet} + \framesubtitle{Inkarnation des Guten?} + \begin{definition} + Ein Zitronensorbet ist eine + halbgefrorene \textbf{Speiseeiscreme} + auf Basis von \textit{Zitronen}. + \end{definition} +\end{frame} +\end{document} +``` + +@preview + + + +@slide(layout=content-and-preview) + +@title +Grafiken erstellen + +@content +`TikZ` (»TikZ ist kein Zeichenprogramm«) ist ein umfangreiches Paket zur Erstellung von Vektorgrafiken. + +```{.lang-tex .hljs .small-text .scroll-one-half} +% … +\tikzstyle{every node}=[draw=black,thick,anchor=west] +\tikzstyle{selected}=[draw=red,fill=red!30] +\tikzstyle{dir}=[fill=gray!50] +\tikzstyle{relativeTo}=[fill=blue!70] +\begin{tikzpicture}[% +grow via +three points={one child at (0.5,-0.7) and +two children at +(0.5,-0.7) and (0.5,-1.4)}, +edge from +parent path={(\tikzparentnode.south) + |- (\tikzchildnode.west)}] +\node {/ oder C:} +child { node {home} + child { node {knut} + child { node {pictures}} + child { node {docs} + child { node [dir] {latex} + child { node [relativeTo] {main.tex} + child { node [selected] {part1.tex} + } + } + } +}; +\end{tikzpicture} +``` + +@preview +![](svg/chapter-04/relative-path-crop.svg) + + +@slide(layout=content-and-preview) + +@title +Linguistik + +@content +Mit dem Paket `qtree` lassen sich Konstituentenbäume erstellen: + +```{.lang-tex .hljs} +\Tree [.S [.NP LaTeX ] +[.VP [.V is ] [.NP fun ] ] ] +``` + +@preview +![](svg/chapter-15/constituency-tree-crop.svg) + +@slide(layout=content-and-preview) + +@title +Mathematische Beweisführung + +@content +Beweisbäume lassen sich mit dem Paket `prftree` einwandfrei darstellen. + +```{.hljs .lang-tex .small-text .scroll-one-half} +\begin{displaymath} +\prftree[l,r]{}{[comp$\_{ns}$]} +{ + \prftree[l,r]{}{[comp$\_{ns}$]} + { + \prftree[l,r]{}{[ass$\_{ns}$]} + { + - + } + { + (\texttt{m:=a}, \sigma\_{\bot,\bot}) + \rightarrow \sigma\_{48,\bot} + } + } + { + \prftree[l,r]{}{[ass$\_{ns}$]} + { + - + } + { + (\texttt{n:=b}, \sigma\_{48,\bot}) + \rightarrow \sigma\_{48,18} + } + } + { + (\texttt{m:=a; n:=b}, \sigma\_{\bot,\bot}) + \rightarrow \sigma\_{48,18} + } +} +{ + \prftree[l,r]{}{} + { + \dots + } + { + \textbf{[1]}\ (\texttt{LOOP}, \sigma\_{48,18}) + \rightarrow \sigma\_{6,6} + } +} +{ + (\texttt{m:=a; n:=b; LOOP}, \sigma\_{\bot,\bot}) + \rightarrow \sigma\_{6,6} +} +\end{displaymath} +``` + +@preview + + +@slide(layout=content-only) + +@title +Weitere nützliche Pakete + +@content + + + + + + + + + + + + + + + + + + + + + + + + + +
PaketAnwendung
xcolorMach’s mit Farbe
todonotesToDo-Markierungen und Liste der ToDos
pdfpagesEinbinden von pdf-Dateien
subcaptionUnterabbildungen und zusätzliche Möglichkeiten für Blidunterschriften
colortbl, tabularx, multirow, makecellGestalten von Tabellen
\ No newline at end of file diff --git a/slides/chapter-15.en.md b/slides/chapter-15.en.md new file mode 100644 index 0000000..e69de29 diff --git a/sections/german/15/beamer-crop.svg b/svg/chapter-15/beamer-crop.svg similarity index 100% rename from sections/german/15/beamer-crop.svg rename to svg/chapter-15/beamer-crop.svg diff --git a/sections/german/15/beamer-orig.svg b/svg/chapter-15/beamer-orig.svg similarity index 100% rename from sections/german/15/beamer-orig.svg rename to svg/chapter-15/beamer-orig.svg diff --git a/sections/german/15/beamer.png b/svg/chapter-15/beamer.png similarity index 100% rename from sections/german/15/beamer.png rename to svg/chapter-15/beamer.png diff --git a/sections/german/15/beamer.tex b/svg/chapter-15/beamer.tex similarity index 100% rename from sections/german/15/beamer.tex rename to svg/chapter-15/beamer.tex diff --git a/sections/german/15/constituency-tree-crop.svg b/svg/chapter-15/constituency-tree-crop.svg similarity index 100% rename from sections/german/15/constituency-tree-crop.svg rename to svg/chapter-15/constituency-tree-crop.svg diff --git a/sections/german/15/constituency-tree-orig.svg b/svg/chapter-15/constituency-tree-orig.svg similarity index 100% rename from sections/german/15/constituency-tree-orig.svg rename to svg/chapter-15/constituency-tree-orig.svg diff --git a/sections/german/15/constituency-tree.tex b/svg/chapter-15/constituency-tree.tex similarity index 100% rename from sections/german/15/constituency-tree.tex rename to svg/chapter-15/constituency-tree.tex diff --git a/sections/german/15/index.png b/svg/chapter-15/index.png similarity index 100% rename from sections/german/15/index.png rename to svg/chapter-15/index.png diff --git a/sections/german/15/paralist.png b/svg/chapter-15/paralist.png similarity index 100% rename from sections/german/15/paralist.png rename to svg/chapter-15/paralist.png diff --git a/sections/german/15/prftree-crop.svg b/svg/chapter-15/prftree-crop.svg similarity index 100% rename from sections/german/15/prftree-crop.svg rename to svg/chapter-15/prftree-crop.svg diff --git a/sections/german/15/prftree-orig.svg b/svg/chapter-15/prftree-orig.svg similarity index 100% rename from sections/german/15/prftree-orig.svg rename to svg/chapter-15/prftree-orig.svg diff --git a/sections/german/15/prftree.tex b/svg/chapter-15/prftree.tex similarity index 100% rename from sections/german/15/prftree.tex rename to svg/chapter-15/prftree.tex diff --git a/sections/german/15/tikz.tex b/svg/chapter-15/tikz.tex similarity index 100% rename from sections/german/15/tikz.tex rename to svg/chapter-15/tikz.tex