Make chapter numbers appear grey

This commit is contained in:
Knoch 2022-06-18 23:57:04 +02:00
parent 520879dc2e
commit d26f562b85
38 changed files with 608 additions and 629 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -157,6 +157,10 @@ body {
grid-area: content; grid-area: content;
position: relative; position: relative;
.chapter-number {
color: lightgray;
}
&.titlepage { &.titlepage {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View File

@ -1,5 +1,8 @@
<div class="layout-content-only"> <div class="layout-content-only">
<div class="layout-content"> <div class="layout-content">
<h1>@title(inline)</h1> <h1>
<span class="chapter-number">@number(inline).</span>
@title(inline)
</h1>
</div> </div>
</div> </div>

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
1
@title @title
1 Was ist L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X? Was ist L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X?
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
1
@title @title
1 What is L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X? What is L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X?
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
2
@title @title
2 Wie funktioniert L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X? Wie funktioniert L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X?
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
2
@title @title
2 How does <br/>L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X work? How does <br/>L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X work?
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
3
@title @title
3 Grundstruktur eines L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X-Dokuments Grundstruktur eines L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X-Dokuments
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
3
@title @title
3 Basic structure of a L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X document Basic structure of a L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X document
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
4
@title @title
4 Projektstruktur Projektstruktur
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
4
@title @title
4 Project structure Project structure
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
5
@title @title
5 Sonderzeichen Sonderzeichen
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
5
@title @title
5 Special characters Special characters
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
6
@title @title
6 Text&shy;auszeichnung Text&shy;auszeichnung
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
6
@title @title
6 Text Markup Text Markup
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
7
@title @title
7 Absatz&shy;formatierung Absatz&shy;formatierung
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
7
@title @title
7 Formatting paragraphs Formatting paragraphs
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
8
@title @title
8 Aufzählungen Aufzählungen
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
8
@title @title
8 Enumerations Enumerations
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
9
@title @title
9 Mathematische Formeln Mathematische Formeln
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
9
@title @title
9 Typesetting mathematics Typesetting mathematics
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
10
@title @title
10 Grafiken Grafiken
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
10
@title @title
10 Graphics Graphics
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
11
@title @title
11 Tabellen Tabellen
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
11
@title @title
11 Tables Tables
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
12
@title @title
12 Quelltext-Listings Quelltext-Listings
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
12
@title @title
12 Source code listings Source code listings
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
13
@title @title
13 Referenzen und&nbsp;Fußnoten Referenzen und&nbsp;Fußnoten
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
13
@title @title
13 References and&nbsp;footnotes References and&nbsp;footnotes
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
14
@title @title
14 Literatur&shy;verwaltung Literatur&shy;verwaltung
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
14
@title @title
14 Reference management Reference management
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
15
@title @title
15 Paket in Sicht! Paket in Sicht!
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
15
@title @title
15 Package in sight! Package in sight!
@slide(layout=content-and-preview) @slide(layout=content-and-preview)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
16
@title @title
16 Hilfe und Informationen Hilfe und Informationen
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,7 +1,10 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
16
@title @title
16 Getting help and&nbsp;information Getting help and&nbsp;information
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,10 +1,11 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@title @number
0 Technik-Vorbereitung 0
@title
Technik-Vorbereitung
@content
TEST TEST
@slide(layout=content-only) @slide(layout=content-only)

View File

@ -1,5 +1,8 @@
@slide(layout=chapter-slide) @slide(layout=chapter-slide)
@number
0
@title @title
First steps with&nbsp;L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X First steps with&nbsp;L<sup style="font-weight: bold; font-size: 73%; margin-left: -.25em; margin-right: -.05em; position: relative; top: .2em">A</sup>T<sub style="font-size: 100%; margin-left: -.1em">E</sub>X
@ -113,8 +116,9 @@ Passing the flag ``--shell-escape`` to your compiler can be a potential security
</div> </div>
@slide(layout=content-and-preview) @slide(layout=content-and-preview)
@title @title
0 Change the listings mode Change the listings mode
@content @content
In order to compile the script using `minted`, the listings mode has to be changed. In order to compile the script using `minted`, the listings mode has to be changed.