diff --git a/slides/chapter-06.de.md b/slides/chapter-06.de.md index bea63c0..b9f1d2f 100644 --- a/slides/chapter-06.de.md +++ b/slides/chapter-06.de.md @@ -41,36 +41,13 @@ legen genau fest, wie Text formatiert wird: kursiv (italics)`\textit{wichtig}` Kapitälchen (small caps)`\textsc{wichtig}` dicktengleich (teletype)`\texttt{wichtig}` - geneigt (slanted)`\textsl{wichtig}` unterstrichen`\underline{wichtig}` - tiefgestellt`\textsubscript{…}` - hochgestellt`\textsuperscript{…}` @preview ![](svg/chapter-06/optische-auszeichnungen-crop.svg) -@slide(layout=content-and-preview) - -@title -Auszeichnungen schachteln - -@content -Möglich, solange die verwendete Schrift den entsprechenden Schnitt enthält: - -``` {.lang-tex .hljs} -\textbf{Sehr - \textit{wichtiges - \textsc{Zeug} - } -} -``` - -@preview -![](svg/chapter-06/auszeichnungen-schachteln-crop.svg) - - @slide(layout=content-only) @title @@ -88,81 +65,6 @@ Das heißt im Umkehrschluss: Möglichst wenig manuell an Schriftgrößen herumsc -@slide(layout=content-only) - -@title -Schriftgröße - -@content -### `normalsize` -* Wird für den Fließtext verwendet -* Standard: 10pt -* Kann in der Präambel verändert werden: - -``` {.lang-tex .hljs} -\documentclass[12pt]{article} -``` - - -@slide(layout=content-and-preview) - -@title -Schriftgröße - -@content -### Voreingestellte Schriftgrößen - -``` {.hljs .lang-tex} -{\ ein Textabschnitt} -``` - -Schriftgrößen relativ zu `normalsize`: - -``` {.hljs .lang-tex} -{\tiny Wenn} -{\footnotesize du} -{\small das} -{\normalsize lesen} -{\large kannst,} -{\Large brauchst} -{\LARGE du} -{\huge keine} -{\Huge Brille.} -``` - -@preview -![](svg/chapter-06/schriftgroesse-optiker-crop.svg){.thin-padding} - - -@slide(layout=content-and-preview) - -@title -Schriftgröße - -@content -### Manuelle Konfiguration möglich - -``` {.lang-tex .hljs} -\fontsize{}{} -\selectfont -``` - -

- -``` {.lang-tex .hljs} -Das ist Text in normaler Schriftgröße. - -\fontsize{1cm}{0.9cm}\selectfont -Das ist wirklich riesige Schrift. - -\normalsize -Back to normal. -``` - -@preview -![](svg/chapter-06/schriftgroesse-fontsize-befehl-crop.svg){.thin-padding} - - @slide(layout=content-and-preview) @title @@ -197,7 +99,35 @@ Text hervorheben @content * **Betont** in der Datei `exercises/text-markup/markup.tex` die Wörter *Recursion* und *recursive* mit `\emph{…}`. * Macht die **URL** im Text anklickbar. -* Probiert euch gerne auch an den anderen Textauszeichnungs-Möglichkeiten, die ihr kennengelernt habt. Löscht diese aber wieder, wenn ihr ein sauberes Dokument haben wollt. + +@slide(layout=extra-content-and-preview) + +@title +Schriftgröße + +@content +### Voreingestellte Schriftgrößen + +``` {.hljs .lang-tex} +{\ ein Textabschnitt} +``` + +Schriftgrößen relativ zu `normalsize`: + +``` {.hljs .lang-tex} +{\tiny Wenn} +{\footnotesize du} +{\small das} +{\normalsize lesen} +{\large kannst,} +{\Large brauchst} +{\LARGE du} +{\huge keine} +{\Huge Brille.} +``` + +@preview +![](svg/chapter-06/schriftgroesse-optiker-crop.svg){.thin-padding} @slide(layout=extra-content-and-preview) diff --git a/slides/chapter-06.en.md b/slides/chapter-06.en.md index bbb47ec..b899292 100644 --- a/slides/chapter-06.en.md +++ b/slides/chapter-06.en.md @@ -40,36 +40,13 @@ specifies exactly how to format the text: Italics (italics)`\textit{important}` Small caps`\textsc{important}` non-proportional (teletype)`\texttt{important}` - slanted`\textsl{important}` underlined`\underline{important}` - subscript`\textsubscript{…}` - superscript`\textsuperscript{…}` @preview ![](svg/chapter-06/optical-highlighting-crop.svg) -@slide(layout=content-and-preview) - -@title -Nesting emphases - -@content -Possible if the font contains the exact font style: - -``` {.lang-tex .hljs} -\textbf{Very - \textit{Important - \textsc{Stuff} - } -} -``` - -@preview -![](svg/chapter-06/nesting-emphases-crop.svg) - - @slide(layout=content-only) @title @@ -87,81 +64,6 @@ This conversely means: Avoid fiddling around with font sizes manually. -@slide(layout=content-only) - -@title -Font size - -@content -### `normalsize` -* used for continuous text paragraphs -* default: 10pt -* can be modified in the preamble: - -``` {.lang-tex .hljs} -\documentclass[12pt]{article} -``` - - -@slide(layout=content-and-preview) - -@title -Font size - -@content -### Preset font sizes - -``` {.hljs .lang-tex} -{\ some text} -``` - -Font sizes relative to `normalsize`: - -``` {.hljs .lang-tex} -{\tiny If} -{\footnotesize you} -{\small can} -{\normalsize read} -{\large this,} -{\Large you} -{\LARGE don’t} -{\huge need} -{\Huge glasses.} -``` - -@preview -![](svg/chapter-06/font-size-optician-crop.svg){.thin-padding} - - -@slide(layout=content-and-preview) - -@title -Font size - -@content -### Manual configuration possible - -``` {.lang-tex .hljs} -\fontsize{}{} -\selectfont -``` - -

- -``` {.lang-tex .hljs} -This is text in normal font size. - -\fontsize{1cm}{0.9cm}\selectfont -This is a ginormous passage. - -\normalsize -Back to normal. -``` - -@preview -![](svg/chapter-06/font-size-fontsize-command-crop.svg){.thin-padding} - - @slide(layout=content-and-preview) @title @@ -197,6 +99,36 @@ Emphasising text * Of course, you can also experiment with the other **text markup** possibilities. However, remove them afterwards, if you want to have a clean document. +@slide(layout=extra-content-and-preview) + +@title +Font size + +@content +### Preset font sizes + +``` {.hljs .lang-tex} +{\ some text} +``` + +Font sizes relative to `normalsize`: + +``` {.hljs .lang-tex} +{\tiny If} +{\footnotesize you} +{\small can} +{\normalsize read} +{\large this,} +{\Large you} +{\LARGE don’t} +{\huge need} +{\Huge glasses.} +``` + +@preview +![](svg/chapter-06/font-size-optician-crop.svg){.thin-padding} + + @slide(layout=extra-content-and-preview) @title