From 41d982fcb393aff169f47703f8e6fdf827a11a15 Mon Sep 17 00:00:00 2001 From: FSWIAI CICD Bot Date: Tue, 2 Apr 2024 10:20:05 +0000 Subject: [PATCH] updated latex weekend slides --- latex-weekend/index.html | 20 +- latex-weekend/onpoint/README.md | 2 + latex-weekend/onpoint/requirements.txt | 6 +- .../svg/chapter-13/ref-example-crop.svg | 373 +++++++++--------- .../svg/chapter-13/ref-example-orig.svg | 373 +++++++++--------- latex-weekend/svg/chapter-13/ref-example.tex | 2 +- latex-wochenende/index.html | 14 +- latex-wochenende/onpoint/README.md | 2 + latex-wochenende/onpoint/requirements.txt | 6 +- .../svg/chapter-13/ref-example-crop.svg | 373 +++++++++--------- .../svg/chapter-13/ref-example-orig.svg | 373 +++++++++--------- .../svg/chapter-13/ref-example.tex | 2 +- 12 files changed, 761 insertions(+), 785 deletions(-) diff --git a/latex-weekend/index.html b/latex-weekend/index.html index 4211799..60a940d 100644 --- a/latex-weekend/index.html +++ b/latex-weekend/index.html @@ -539,7 +539,7 @@ Image source: xkcd

Backslash

-

You get the backslash by pressing

+

Assuming a German keyboard layout, you get the backslash by pressing

AltGr + ß (Windows/Linux)

Alt + Shift + 7 (MacOS)

@@ -732,7 +732,7 @@ Place of birth: Milwaukee, Wisconsin
-

Front matter +

Title page

\title{The World of Truffles}
 \author{Fooboar Rüssel \and Fachschaft WIAI}
@@ -743,7 +743,7 @@ Place of birth: Milwaukee, Wisconsin
 
  • The values for the entries are stored in the preamble.
  • -\maketitle typesets the front matter within the document environment.
  • +\maketitle typesets the title page within the document environment.
  • The exact appearance depends on the document class.
  • Multiple authors can be joined with \and.
  • If no date is given, the current date will be used. A different date can be defined with \date{}.
  • @@ -863,7 +863,7 @@ My favorite recipe
  • Based on the document class, the layout of the generated pdf file changes.
  • Normally speled classes adhere to American English layout norms.
  • -src document classes usually adhere to European layout norms.
  • +scr document classes usually adhere to European layout norms.

Following document classes are available:

    @@ -2325,7 +2325,7 @@ result Gravitational acceleration -\(9,81\,\frac{m}{s^2}\) +\(9.81\,\frac{m}{s^2}\) Formula to solve quadratic equations @@ -2987,11 +2987,11 @@ wiki/Wild_boar}}
\begin{figure}[H]
     \includegraphics % …
     \caption{Our mascot Fooboar}
-    \label{img:fooboar}
+    \label{fig:fooboar}
 \end{figure}
 
-As you can see in figure 
-\ref{img:fooboar}, …
+As you can see in Figure +\ref{fig:fooboar}, …
@@ -3056,11 +3056,11 @@ As you can see in figure
\begin{figure}[H]
     \includegraphics % …
     \caption{Our mascot Fooboar}
-    \label{img:fooboar}
+    \label{fig:fooboar}
 \end{figure}
 
 Fooboar is a young and highly engaged
-boar (see \Cref{img:fooboar}).
+boar (see \Cref{fig:fooboar}).

The \cref command automatically inserts suitable prefixes.

diff --git a/latex-weekend/onpoint/README.md b/latex-weekend/onpoint/README.md index aa8c92a..b9e35b9 100755 --- a/latex-weekend/onpoint/README.md +++ b/latex-weekend/onpoint/README.md @@ -9,6 +9,8 @@ This program is meant to be used as a git submodule of your actual presentation Make sure to have python3 and pandoc (the same version for all developers!) installed. Next, we can install all requirements: + $ python3 -m venv venv + $ source venv/bin/activate $ cd onpoint $ pip3 install -r requirements.txt diff --git a/latex-weekend/onpoint/requirements.txt b/latex-weekend/onpoint/requirements.txt index c0165bc..2be8f35 100755 --- a/latex-weekend/onpoint/requirements.txt +++ b/latex-weekend/onpoint/requirements.txt @@ -1,3 +1,3 @@ -pypandoc==1.4 -lxml==4.8.0 -pyyaml==6.0 \ No newline at end of file +pypandoc==1.13 +lxml==5.2.0 +pyyaml==6.0.1 \ No newline at end of file diff --git a/latex-weekend/svg/chapter-13/ref-example-crop.svg b/latex-weekend/svg/chapter-13/ref-example-crop.svg index 353f941..7d87d20 100644 --- a/latex-weekend/svg/chapter-13/ref-example-crop.svg +++ b/latex-weekend/svg/chapter-13/ref-example-crop.svg @@ -1,225 +1,218 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - + + - - + + - - - + + + - - - - + + + + - - - + + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - - - - + + + + + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - + + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + diff --git a/latex-weekend/svg/chapter-13/ref-example-orig.svg b/latex-weekend/svg/chapter-13/ref-example-orig.svg index 1f48c6b..e147cae 100644 --- a/latex-weekend/svg/chapter-13/ref-example-orig.svg +++ b/latex-weekend/svg/chapter-13/ref-example-orig.svg @@ -1,225 +1,218 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - + + - - + + - - - + + + - - - - + + + + - - - + + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - - - - + + + + + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - + + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + diff --git a/latex-weekend/svg/chapter-13/ref-example.tex b/latex-weekend/svg/chapter-13/ref-example.tex index 13fef92..3fd68cf 100644 --- a/latex-weekend/svg/chapter-13/ref-example.tex +++ b/latex-weekend/svg/chapter-13/ref-example.tex @@ -15,6 +15,6 @@ \label{img:fooboar} \end{figure} -As you can see in figure \ref{img:fooboar}, fooboar is a young and very engaged boar. +As you can see in Figure \ref{img:fooboar}, fooboar is a young and very engaged boar. \end{document} diff --git a/latex-wochenende/index.html b/latex-wochenende/index.html index 5f5e468..e3baca1 100644 --- a/latex-wochenende/index.html +++ b/latex-wochenende/index.html @@ -540,7 +540,7 @@ Bildquelle: xkcd

Backslash

-

Den Backslash erzeugt ihr mit folgender Tastenkombination:

+

Den Backslash erzeugt ihr auf deutschen Tastaturen mit folgender Tastenkombination:

AltGr + ß (Windows/Linux)

Alt + Shift + 7 (MacOS)

@@ -865,7 +865,7 @@ Mein Lieblingsrezept
  • Je nachdem, welche Dokumentenklasse man verwendet, ändert sich das Layout der generierten PDF.
  • Die korrekt geschriebenen Dokumentenklassen richten sich nach US-amerikanischen Layout-Normen.
  • -src-Dokumentenklassen versuchen europäische Normen abzubilden.
  • +scr-Dokumentenklassen versuchen europäische Normen abzubilden.

    Folgende Dokumentenklassen stehen zur Verfügung:

      @@ -2226,7 +2226,7 @@ Guter Flattersatz ist noch schwieriger als guter Blocksatz, daher lieber vermeid

      Formel-Umgebungen 🧮

      $2 \sqrt{\frac{\pi^2}{3} \cdot c_2}$
      -

      Mathematische Formeln können nur im sogenannten Mathmode gesetzt werden, der inline durch zwei Dollarzeichen aktiviert wird. Außerdem gibt es eine Blockumgebung:

      +

      Mathematische Formeln können nur im sogenannten Mathmode gesetzt werden. Hierfür werden sie durch Dollarzeichen eingerahmt. Außerdem gibt es eine Blockumgebung:

      \begin{equation}
         2 \sqrt{\frac{\pi^2}{3} \cdot c_2}
       \end{equation}
      @@ -2988,10 +2988,10 @@ wiki/Eber}}
      \begin{figure}[H]
           \includegraphics % …
           \caption{Unser Maskottchen Fooboar}
      -    \label{img:fooboar}
      +    \label{fig:fooboar}
       \end{figure}
       
      -Wie man in Abbildung \ref{img:fooboar} …
      +Wie man in Abbildung \ref{fig:fooboar} …
    @@ -3010,11 +3010,11 @@ Wie man in Abbildung \ref{img:fooboar} …
    \begin{figure}[H]
         \includegraphics % …
         \caption{Unser Maskottchen Fooboar}
    -    \label{img:fooboar}
    +    \label{fig:fooboar}
     \end{figure}
     
     Fooboar ist ein sehr engagierter
    -Jungeber (siehe \Cref{img:fooboar}).
    +Jungeber (siehe \Cref{fig:fooboar}).

    Der Befehl \cref fügt selbstständig die passende Abkürzung ein.

    diff --git a/latex-wochenende/onpoint/README.md b/latex-wochenende/onpoint/README.md index aa8c92a..b9e35b9 100755 --- a/latex-wochenende/onpoint/README.md +++ b/latex-wochenende/onpoint/README.md @@ -9,6 +9,8 @@ This program is meant to be used as a git submodule of your actual presentation Make sure to have python3 and pandoc (the same version for all developers!) installed. Next, we can install all requirements: + $ python3 -m venv venv + $ source venv/bin/activate $ cd onpoint $ pip3 install -r requirements.txt diff --git a/latex-wochenende/onpoint/requirements.txt b/latex-wochenende/onpoint/requirements.txt index c0165bc..2be8f35 100755 --- a/latex-wochenende/onpoint/requirements.txt +++ b/latex-wochenende/onpoint/requirements.txt @@ -1,3 +1,3 @@ -pypandoc==1.4 -lxml==4.8.0 -pyyaml==6.0 \ No newline at end of file +pypandoc==1.13 +lxml==5.2.0 +pyyaml==6.0.1 \ No newline at end of file diff --git a/latex-wochenende/svg/chapter-13/ref-example-crop.svg b/latex-wochenende/svg/chapter-13/ref-example-crop.svg index 353f941..7d87d20 100644 --- a/latex-wochenende/svg/chapter-13/ref-example-crop.svg +++ b/latex-wochenende/svg/chapter-13/ref-example-crop.svg @@ -1,225 +1,218 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - + + - - + + - - - + + + - - - - + + + + - - - + + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - - - - + + + + + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - + + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + diff --git a/latex-wochenende/svg/chapter-13/ref-example-orig.svg b/latex-wochenende/svg/chapter-13/ref-example-orig.svg index 1f48c6b..e147cae 100644 --- a/latex-wochenende/svg/chapter-13/ref-example-orig.svg +++ b/latex-wochenende/svg/chapter-13/ref-example-orig.svg @@ -1,225 +1,218 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + - - - + + + - - - - + + + + - - - - - - - + + + + + + + - - + + - - + + - - - + + + - - - - + + + + - - - + + + - - + + - - - + + + - - - - + + + + - - - - + + + + - - - + + + - - - - - - + + + + + + + - - - + + + - - - + + + - - - + + + - - - - + + + + - - - + + + - - + + - - + + - - - - - + + + + + - - - - + + + + - - + + - - - - + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + diff --git a/latex-wochenende/svg/chapter-13/ref-example.tex b/latex-wochenende/svg/chapter-13/ref-example.tex index 13fef92..3fd68cf 100644 --- a/latex-wochenende/svg/chapter-13/ref-example.tex +++ b/latex-wochenende/svg/chapter-13/ref-example.tex @@ -15,6 +15,6 @@ \label{img:fooboar} \end{figure} -As you can see in figure \ref{img:fooboar}, fooboar is a young and very engaged boar. +As you can see in Figure \ref{img:fooboar}, fooboar is a young and very engaged boar. \end{document}