Compare commits

..

No commits in common. "48fab67d996df16510d9641d303af62ca4ba918f" and "d488924a05d4ad283496655e2f249cf88c851d58" have entirely different histories.

10 changed files with 27 additions and 61 deletions

View File

@ -247,7 +247,7 @@ body {
body {
font-family: 'Fira Sans';
margin: 0;
line-height: 1.5em; }
line-height: 1.2em; }
.layout-content-and-preview .layout-content,
.layout-content-only .layout-content,
@ -285,12 +285,6 @@ body {
color: var(--secondary);
position: absolute;
left: calc(-0.33 * var(--margin) * var(--square)); }
.layout-content-and-preview .layout-content ul li:not(:last-of-type), .layout-content-and-preview .layout-content ol li:not(:last-of-type),
.layout-content-only .layout-content ul li:not(:last-of-type),
.layout-content-only .layout-content ol li:not(:last-of-type),
.layout-wide-content .layout-content ul li:not(:last-of-type),
.layout-wide-content .layout-content ol li:not(:last-of-type) {
margin-bottom: 0; }
.layout-content-and-preview .layout-content ul ul, .layout-content-and-preview .layout-content ul ol, .layout-content-and-preview .layout-content ol ul, .layout-content-and-preview .layout-content ol ol,
.layout-content-only .layout-content ul ul,
.layout-content-only .layout-content ul ol,
@ -370,7 +364,7 @@ body {
.layout-two-columns .layout-column-one pre,
.layout-two-columns .layout-column-two pre {
margin: 0 calc(-1 * var(--margin) * var(--square));
line-height: 1.3em;
line-height: 1.2em;
position: relative;
overflow: hidden; }
.layout-two-columns .layout-column-one pre::before,

File diff suppressed because one or more lines are too long

View File

@ -360,7 +360,7 @@ body {
body {
font-family: 'Fira Sans';
margin: 0;
line-height: 1.5em;
line-height: 1.2em;
}
.layout-content-and-preview,
@ -388,18 +388,12 @@ body {
list-style-type: none;
padding-left: 0;
position: relative;
li::before {
content: '';
color: var(--secondary);
position: absolute;
left: calc(-0.33 * var(--margin) * var(--square));
}
li:not(:last-of-type) {
margin-bottom: 0;
}
ul, ol {
margin-left: calc(0.33 * var(--margin) * var(--square));
}
@ -477,7 +471,7 @@ body {
pre {
margin: 0 calc(-1 * var(--margin) * var(--square));
line-height: 1.3em;
line-height: 1.2em;
position: relative;
overflow: hidden;
&::before {

View File

@ -53,14 +53,14 @@ Entstehung
@slide(layout=content-only)
@title
Fünf Gründe für LaTeX
5 Gründe für LaTeX
@content
1. LaTeX ist neben Word **eines der beiden dominierenden Textsatzsysteme** in der akademischen Welt.
2. ++ **Mathematische Formeln** fühlen sich in LaTeX am wohlsten. OneNote, Word und Wikipedia nutzen die LaTeX-Formelnotation.
2. ++ **Mathematische Formeln** fühlen sich in LaTeX am wohlsten. Darum wurde die LaTeX-Formelnotation in zahlreiche andere Tools integriert (z. B. OneNote, Word, Wikipedia, …).
3. ++ Es gibt **unzählige Erweiterungen** für die verschiedensten Anwendungsgebiete.
4. ++ LaTeX wurde entwickelt, um **ästhetisch anspechenden Textsatz** zu produzieren und das sieht man den Texten auch an.
5. ++ **Zusammenarbeit** wird durch LaTeX enorm erleichtert (z. B. durch Versionierung, Strukturierung, Templates, zuverlässiges Undo, …).
5. ++ Komplexe Dokumente, die in LaTeX gesetzt sind, **erleichtern die Zusammenarbeit** enorm (z. B. durch Versionierung, Strukturierung, Templates, zuverlässiges Undo, …).
@slide(layout=content-only)
@ -77,7 +77,7 @@ Die Debatte „LaTeX vs. Word“ ist schon sehr alt. Für eine Recherche dazu lo
Moorhead, A.V. [**Is LaTeX use correlated with the number of equations in a manuscript?**](https://doi.org/10.1007/s11192-021-04119-2) Scientometrics 126, 82598273 (2021).
<p style="font-size: 60%; line-height: 1.5em !important">(TL;DR: LaTeX-Nutzende machen mehr Fehler, brauchen außer bei Formeln länger, sind aber zufriedener mit ihrem Werkzeug.)</p>
<small style="font-size: 60%; line-height: 1.5em">(TL;DR: LaTeX-Nutzende machen mehr Fehler, brauchen außer bei Formeln länger, sind aber zufriedener mit ihrem Werkzeug.)</small>
:::
@ -154,15 +154,3 @@ Erstmaliges Kompilieren des Skriptes
::: {.box .warning}
**Windows**: Um Dateiendungen zu aktivieren, klickt auf das Ansichts-Tab im Dateiexplorer und wählt *Dateiendungen*. So könnt ihr besser zwischen den einzelnen main-Files unterscheiden.
:::
@slide(layout=extra-content-only)
@title
Mikro- und Makrotypografie
@content
Textsatz ist besonders dann gut, wenn er nicht auffällt. Oder anders formuliert: Guter Textsatz sorgt für anstrengungsarmes Lesen. Welche Rolle dabei Schriftarten und -größen, Zeilenabstände und viele weitere Faktoren spielen, zeigt diese Website eindrücklich:
[https://leserlich.info/leserlich-und-lesbar](https://leserlich.info/leserlich-und-lesbar)
Das Beste daran: LaTeX nimmt uns diese handwerkliche Arbeit weitestgehend ab.

View File

@ -78,7 +78,7 @@ The “LaTeX vs. Word” debate is very old. If you are interested in tracing it
Moorhead, A.V. [**Is LaTeX use correlated with the number of equations in a manuscript?**](https://doi.org/10.1007/s11192-021-04119-2) Scientometrics 126, 82598273 (2021).
<p style="font-size: 60%; line-height: 1.5em">(TL;DR: LaTeX users make more errors, they need more time except when it comes to formulas, but they are happier with their tool.)</p>
<small style="font-size: 60%; line-height: 1.5em">(TL;DR: LaTeX users make more errors, they need more time except when it comes to formulas, but they are happier with their tool.)</small>
:::
@slide(layout=content-and-preview)
@ -154,15 +154,3 @@ Compile the script for&nbsp;the&nbsp;first&nbsp;time
::: {.box .warning}
**Windows**: In order to enable file endings, click the view tab in the file explorer, and select *file name extensions*. This helps differentiating the different ``main`` files.
:::
@slide(layout=extra-content-only)
@title
Micro- and Macrotypography
@content
Text typesetting is particularly good when it is not conspicuous. Or to put it another way: Good typesetting makes for effortless reading. This (German) website impressively demonstrates the role played by fonts and font sizes, line spacing and many other factors:
[https://leserlich.info/leserlich-und-lesbar](https://leserlich.info/leserlich-und-lesbar)
The best thing about it: LaTeX does most of this manual work for us.

View File

@ -98,9 +98,10 @@ Weitere Materialien
Listings
@content
* **Bindet** den Java-Quelltext (zu finden in `Source.java`) in der Datei `source-code-listings.tex` **ein** (relativer Dateipfad!).
* Im Ordner `exercises/source-code-listings` findet ihr eine Datei namens `Source.java`.
* **Bindet** den Java-Quelltext in der Datei `source-code-listings.tex` **ein**. (Beachtet, dass der Dateipfad relativ zu `main-exercises.tex` ist.)
* Erlaubt die Verwendung von **Sonderzeichen** durch Angabe der `literate`-Option.
* Aktiviert das **Syntax-Highlighting**.
* Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java.
* **Nummeriert** die Zeilen und aktiviert **Umbrüche**.
* Setzt mit dem Parameter `basicstyle` eine dicktengleiche Schrift (`\ttfamily \small`).
* Ändert die Schlüsselwortfarbe zu Blau.

View File

@ -98,12 +98,13 @@ Further resources
Listings
@content
* **Include** the Java source code `Source.java` in the file `source-code-listings.tex` (mind the relative file path!).
* Enable **special characters** like umlauts via the `literate` option.
* In the directory `exercises/source-code-listings` you can find a file named `Source.java`.
* **Include** it in the file `source-code-listings.tex`. (Keep in mind that the file path is relative to the main LaTeX document, i.&thinsp;e., to `main-exercises.tex`.)
* Enable **special characters** via the `literate` option.
* Activate **syntax highlighting** by stating the programming language Java.
* **Number** the code lines.
* Set the `basicstyle` to a proper mono-spaced font (`\ttfamily \small`).
* Set the `basicstyle` to a proper mono-spaced font (`\ttfamily \small`)
* Change the **keyword color** to blue.
* Remove the signs for **spaces in strings**.
* Don't show special characters for **spaces in strings**.
If you have questions, try to consult the documentation of the `listings` package.

View File

@ -116,12 +116,12 @@ Sonderzeichen einfügen
@content
:::{.box .warning}
Kompiliert von nun an immer die Datei `main-exercises.tex`, um eure Änderungen im Übungsskript zu sehen (in diesem Fall im Abschnitt zu Übung 4).
Kompiliert von nun an immer die Datei `main-exercises.tex`, um eure Änderungen im Übungsskript zu sehen (in diesem Fall im Abschnitt zu Übung 5).
:::
* Ersetzt die Leerzeichen innerhalb der Abkürzungen in `exercises/special-characters.tex` durch **schmale Leerzeichen**.
* Die Bindestriche bei den Öffnungszeiten der ERBA sollen durch **Halbgeviertstriche** ersetzt werden, optional mit schmalen Leerzeichen außenrum.
* Setzt die Wörter *Studi-Ticket* und *Studi-Karte* mittels `\enquote` in **Anführungszeichen**.
* Nutzt den Befehl `\enquote`, um die Wörter *Studi-Ticket* und *Studi-Karte* in **Anführungszeichen** zu setzen.
@slide(layout=extra-content-and-preview)
@ -149,7 +149,7 @@ Bei *English&nbsp;spacing* versucht LaTeX, nach Abkürzungen trotzdem normale Wo
Silbentrennung
@content
LaTeX trennt Wörter im Normalfall automatisch richtig, wenn die richtige Sprache konfiguriert ist. Gelegentlich sind manuelle Anpassungen nötig.
LaTeX trennt Wörter im Normalfall automatisch richtig, wenn die richtige Sprache konfiguriert ist. Manchmal muss aber auch manuell eingegriffen werden.
<table>
<tr>
@ -240,7 +240,7 @@ Anführungszeichen
</tr>
</table>
Für andere Sprachen können andere Regeln gelten (meistens: gleiche Zeichen, andere Kombination).
Für andere Sprachen können andere Regeln gelten, meistens aber mit den gleichen Zeichen, nur in anderer Zusammensetzung.
@slide(layout=extra-content-only)

View File

@ -146,8 +146,8 @@ If you actually use *English&nbsp;spacing,* LaTeX will still try and put normal
Hyphenation
@content
Most of the time, LaTeX hyphenates words correctly if the correct language is configured.
Sometimes, manual intervention is required.
Most of the time, LaTeX hyphenates words correctly, if the correct language is configured.
Sometimes, however, manual intervention is necessary.
<table>
<tr>
@ -236,7 +236,7 @@ Manual quotation
</tr>
</table>
Other rules my apply for other languages (mostly: the same characters, but combined differently).
Other rules my apply for other languages, but most of the time its the same characters, only combined differently.
@slide(layout=extra-content-only)
@ -287,7 +287,7 @@ Letters with diacritics can either by typed directly on the keyboard or via esca
Special characters
@content
Special characters can also be typed directly or created via escape codes and commands:
The same is true for special characters: They can either be typed directly or created via escape codes and commands:
<table>
<tr>

View File

@ -95,7 +95,7 @@ A short feedback round
@content
* What did you like?
* What could we have done better?
* What would you have wished for?
* What did you wish for?
[wiai.de/latex-feedback](https://wiai.de/latex-feedback)