diff --git a/slides/chapter-12.de.md b/slides/chapter-12.de.md index b716a15..89f0f6f 100644 --- a/slides/chapter-12.de.md +++ b/slides/chapter-12.de.md @@ -7,163 +7,8 @@ Quelltext-Listings -@slide(layout=content-only) - -@title -Unsere Optionen - -@content -Es gibt zwei verbreitete Wege, Quelltext in LaTeX-Dokumenten zu zeigen. - -* ++ **`minted`** erstellt **sehr hübsche** Quelltext-Listings, aber es benötigt **etwas mehr Konfiguration** und funktioniert nicht auf allen Betriebssystemen zuverlässig. -* ++ **`listings`** ist eine **einfach zu nutzende** (aber nicht so hübsche) Alternative für diejenigen, die Probleme mit `minted` haben. - -++ Die Befehle beider Pakete sind sehr ähnlich. - - @slide(layout=content-and-preview) -@title -Installation 🖥️ - -@content -`minted` benötigt die Programmiersprache Python. Nach der **[Installation von Python](https://www.python.org/)** kann das zugehörige Paket **[`Pygments`](http://pygments.org/)** in der Eingabeaufforderung installiert werden durch: - -``` {.lang-sh .hljs} -pip install Pygments -``` - -Anschließend muss das Paket `minted` (oder `listings`) nur noch eingebunden werden: - -``` {.lang-tex .hljs} -\usepackage{minted} -\usepackage{listings} -``` - -@preview -![](svg/chapter-10/minted-overview-crop.svg){ .thin-padding } - -@slide(layout=content-only) - -@title -Anpassungen beim Kompilieren - -@content -
- Um Dokumente mit Quelltext-Listings kompilieren zu können, muss die Flag `--shell-escape` an den Compiler übergeben werden.
- Dies ist nur bei vertrauenswürdigen Dokumenten empfehlenswert. -
- -In TeXstudio muss diese unter **`Optionen → TeXstudio konfigurieren → Befehle`** (`TeXstudio → Einstellungen` unter macOS) bei PdfLaTeX vor `%.tex` ergänzt werden: - -pdflatex -synctex=1 -interaction=nonstopmode **\-\-shell-escape** %.tex - - -@slide(layout=content-only) - -@title -Ein Hinweis zu unserem Skript - -@content -Unsere Übungsmaterialien erlauben es, zwischen `minted` und `listings` zu wählen. -Von Haus aus nutzen wir `listings`. -Um `minted` zu aktivieren muss eine Datei namens `listings-mode.tex` mit dem folgenden Inhalt im Wurzelverzeichnis unseres Projekts erstellt werden: - -```{.lang-tex .hljs} -\newcommand\listingsmode{minted} -``` - -Kompiliert erneut und die Listings sollten durch `minted` erstellt worden sein. - - -@slide(layout=content-and-preview-with-category) - -@category -minted - -@title -Code im LaTeX-Quelltext - -@content -++ In einer eigenen Umgebung: - -``` {.lang-tex .hljs .fragment} -\section*{Haskell-Magie} -Quadrate aller geraden % … -\begin{minted}{haskell} -[x^2 | x <- [1..200], even x] -\end{minted} -``` - -++ Inline im Quelltext: - -``` {.lang-tex .hljs .fragment} -\section*{Ein HTML-Beispiel} -Eine Überschrift wird so ausgezeichnet: -\mint{html}|

LaTeX im Studium

|. -``` - -@preview -![](svg/chapter-10/minted-haskell-crop.svg) - - -@slide(layout=content-and-preview-with-category) - -@category -minted - -@title -Externer Code - -@content -Um Redundanz zu vermeiden, ist es manchmal praktisch, den Quelltext direkt aus der Quelldatei einzulesen. - -``` {.lang-tex .hljs} -\section*{Einfache Java-Anwendung} -\inputminted{java}{Test.java} -``` - -``` {.lang-java .hljs data-sourcefile="Test.java"} -public class Test { - public static void main(/*…*/) { - System.out.println(/*…*/); - } -} -``` - -@preview -![](svg/chapter-10/minted-java-crop.svg) - - -@slide(layout=content-only-with-category) - -@category -minted - -@title -Themen und Stile - -@content -Durch optionale Parameter können Zeilennummerierung, Umbrüche und Farben ausgewählt werden. Außerdem sind zahlreiche Themes verfügbar. - -``` {.lang-tex .hljs} -\usemintedstyle{monokai} -\begin{minted}[ -linenos=true, -breaklines=true, -]{javascript} - % ... -\end{minted} -``` - -🔗 **[Einführung](https://www.overleaf.com/learn/latex/Code_Highlighting_with_minted)** und **[offizielle Dokumentation](https://ctan.kako-dev.de/macros/latex/contrib/minted/minted.pdf)** - - -@slide(layout=content-and-preview-with-category) - -@category -listings - @title Code im LaTeX-Quelltext @@ -178,22 +23,17 @@ Quadrate aller geraden % … \end{lstlisting} ``` -Das Paket `listings` stellt keinen Befehl für inline-Listings zur Verfügung. - @preview ![](svg/chapter-10/listings-haskell-crop.svg) -@slide(layout=content-and-preview-with-category) - -@category -listings +@slide(layout=content-and-preview) @title Externer Code @content -Praktischerweise bietet auch `listings` einen Befehl zum Einfügen externen Codes: +Praktischerweise bietet `listings` einen Befehl zum Einfügen externen Codes: ``` {.lang-tex .hljs} \section*{Einfache Java-Anwendung} @@ -212,10 +52,7 @@ public class Test { ![](svg/chapter-10/listings-java-crop.svg) -@slide(layout=content-only-with-category) - -@category -listings +@slide(layout=content-only) @title Themen und Stile @@ -230,7 +67,7 @@ Themen und Stile breaklines=true, keywordstyle=\color{ForestGreen}, commentstyle=\color{DarkGray}, - literate={ö}{{\"o}}1 + literate={ö}{{\"o}} ] % … \end{lstlisting} @@ -239,10 +76,7 @@ Themen und Stile Für die Erstellung eigener Themes ist der Befehl `\lstset` nützlich. -@slide(layout=content-only-with-category) - -@category -listings +@slide(layout=content-only) @title Weitere Materialien @@ -260,28 +94,7 @@ Weitere Materialien 10 @title -`minted` - -@content -* 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.tex` ist.) -* Aktiviert das **Syntax-Highlighting** durch Angabe der Sprache Java. -* **Nummeriert** die Zeilen und aktiviert **Umbrüche**. -* Nutzt das **Theme** `native`. -* Ändert die **Hintergrundfarbe** des Themes zu Dunkelblau. -* Bindet jetzt nur die **Zeilen 5 bis 7** ein. -* Entfernt die **Leerzeichen** am Anfang der Zeilen durch die passende Option (Tipp: Die Dokumentation spricht hier von `gobble`). - -Seht bei Fragen in der Dokumentation des Paketes `minted` nach. - - -@slide(layout=task) - -@task-number -10 - -@title -`listings` +Listings @content * Im Ordner `exercises/source-code-listings` findet ihr eine Datei namens `Source.java`. diff --git a/slides/chapter-12.en.md b/slides/chapter-12.en.md index 1c5e237..1541c72 100644 --- a/slides/chapter-12.en.md +++ b/slides/chapter-12.en.md @@ -6,162 +6,9 @@ @title Source code listings -@slide(layout=content-only) - -@title -Our options - -@content -There are two popular ways to display source code in a LaTeX document. - -* ++ **`minted`** renders **very pretty** source code listings, but it requires some **extra configuration** and might not work on every operating system. -* ++ **`listings`** is an **easy-to-use** (but not as pretty) option for those having troubles with `minted`. - -++ Their commands are very similar. @slide(layout=content-and-preview) -@title -Installation 🖥️ - -@content -`minted` requires the Python programming language. As soon as **[Python is installed](https://www.python.org/)**, we can download the corresponding Python package **[`Pygments`](http://pygments.org/)** using a command prompt: - -``` {.lang-sh .hljs} -pip install Pygments -``` - -Add the LaTeX packages for `minted` or `listings` and we are good to go: - -``` {.lang-tex .hljs} -\usepackage{minted} -\usepackage{listings} -``` - -@preview -![](svg/chapter-10/minted-overview-english-crop.svg){ .thin-padding } - -@slide(layout=content-only) - -@title -Compiler settings - -@content -
- We need to pass the additional flag `--shell-escape` to our compiler in order to use `minted`.
- Do this only for documents you trust! -
- -In TeXstudio, go to **`Options → Configure TeXstudio → Commands`** (`TeXstudio → Settings` on macOS) and add the flag in the PdfLaTeX row before `%.tex`: - -pdflatex -synctex=1 -interaction=nonstopmode **\-\-shell-escape** %.tex - - -@slide(layout=content-only) - -@title -A note on our script - -@content -Our exercise material allows you to choose between `minted` and `listings`. -By default, we use `listings`. -To activate `minted`, create a file called `listings-mode.tex` in the project's root directory and add the following line: - -```{.lang-tex .hljs} -\newcommand\listingsmode{minted} -``` - -After compiling again, your listings should be rendered by `minted`. - - -@slide(layout=content-and-preview-with-category) - -@category -minted - -@title -In-situ listings - -@content -++ Within a dedicated environment: - -``` {.lang-tex .hljs .fragment} -\section*{Haskell Magic} -Squares of all even % … -\begin{minted}{haskell} -[x^2 | x <- [1..200], even x] -\end{minted} -``` - -++ Directly inline: - -``` {.lang-tex .hljs .fragment} -\section*{An HTML Example} -A headline is denoted the following way: -\mint{html}|

LaTeX at University

| -``` - -@preview -![](svg/chapter-10/minted-haskell-english-crop.svg) - - -@slide(layout=content-and-preview-with-category) - -@category -minted - -@title -External source code - -@content -We can avoid redundancy by including source code directly from its source file. - -``` {.lang-tex .hljs} -\section*{Simple Java Application} -\inputminted{java}{Test.java} -``` - -``` {.lang-java .hljs data-sourcefile="Test.java"} -public class Test { - public static void main(/*…*/) { - System.out.println(/*…*/); - } -} -``` - -@preview -![](svg/chapter-10/minted-java-english-crop.svg) - - -@slide(layout=content-only-with-category) - -@category -minted - -@title -Themes and styles - -@content -Optional parameters allow us to activate line numbers, automated line breaks, and syntax highlighting based on numerous color schemes. - -``` {.lang-tex .hljs} -\usemintedstyle{monokai} -\begin{minted}[ -linenos=true, -breaklines=true, -]{javascript} - % ... -\end{minted} -``` - -🔗 **[introduction](https://www.overleaf.com/learn/latex/Code_Highlighting_with_minted)** and **[official documentation](https://ctan.kako-dev.de/macros/latex/contrib/minted/minted.pdf)** - - -@slide(layout=content-and-preview-with-category) - -@category -listings - @title In-situ listings @@ -176,22 +23,17 @@ Squares of all even % … \end{lstlisting} ``` -The `listings` package does not provide an inline command. - @preview ![](svg/chapter-10/listings-haskell-english-crop.svg) -@slide(layout=content-and-preview-with-category) - -@category -listings +@slide(layout=content-and-preview) @title External source code @content -Conveniently, also `listings` offers an import command: +Conveniently, `listings` offers an import command: ``` {.lang-tex .hljs} \section*{Simple Java Application} @@ -210,10 +52,7 @@ public class Test { ![](svg/chapter-10/listings-java-english-crop.svg) -@slide(layout=content-only-with-category) - -@category -listings +@slide(layout=content-only) @title Themes and styles @@ -228,7 +67,7 @@ Themes and styles breaklines=true, keywordstyle=\color{ForestGreen}, commentstyle=\color{DarkGray}, - literate={ö}{{\"o}}1 + literate={ö}{{\"o}} ] % … \end{lstlisting} @@ -237,10 +76,7 @@ Themes and styles Have a look at the `\lstset` command for creating your own themes. -@slide(layout=content-only-with-category) - -@category -listings +@slide(layout=content-only) @title Further resources @@ -258,27 +94,7 @@ Further resources 10 @title -Listings with `minted` - -@content -* 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. e., to `main.tex`.) -* Activate **syntax highlighting** by stating the programming language Java. -* **Number** the code lines and add **line breaks**. -* Use the **theme** `native`. -* Change the **background colour** to dark blue. -* Now only include **lines 5 to 7**. -* Delete the **spaces** at the beginning of the lines. (Hint: The documentation speaks of `autogobble`). - -If you have questions, try to consult the documentation of the `minted` package. - -@slide(layout=task) - -@task-number -10 - -@title -Listings with `listings` +Listings @content * In the directory `exercises/source-code-listings` you can find a file named `Source.java`. diff --git a/slides/chapter-13.de.md b/slides/chapter-13.de.md index 2a98f81..34421a8 100644 --- a/slides/chapter-13.de.md +++ b/slides/chapter-13.de.md @@ -32,29 +32,6 @@ wiki/Eber}} ![](svg/chapter-13/fußnotenbeispiel-crop.svg) -@slide(layout=content-and-preview) - -@title -Konfiguration von Fußnoten - -@content -Das Paket `footmisc` stellt verschiedene weitere Optionen für die Darstellung von Fußnoten zur Verfügung, die als optionale Parameter an den Befehl `\usepackage` übergeben werden können. - -``` {.hljs .lang-tex} -% Zählung auf jeder Seite neu beginnen: -\usepackage[perpage]{footmisc} - -% Fußnoten inline anzeigen lassen: -\usepackage[para]{footmisc} - -% Symbole statt Nummerierung verwenden: -\usepackage[symbol]{footmisc} -``` - -@preview -![](svg/chapter-13/footmisc-de-crop.svg){.thin-padding} - - @slide(layout=content-and-preview) @title @@ -159,28 +136,6 @@ Dinge, die zu beachten sind ``` -@slide(layout=content-and-preview) - -@title -Weiterführend - -@content -* ++ Wurde vor dem Paket `cleveref` das Paket `hyperref` eingebunden, entsteht ein **klickbarer Link** im fertigen PDF. -* ++ Mehrere Referenzen können in `\cref` kommagetrennt angegeben werden. - -``` {.hljs .lang-tex} -\section{Ein Einstieg} -\label{sec:section1} -% … -Hier sei verwiesen auf -\cref{sec:section1,sec:section2, -sec:section3,sec:section5}. -``` - -@preview -![](svg/chapter-13/cref-multiple-beispiel-crop.svg) - - @slide(layout=task) @task-number @@ -211,5 +166,47 @@ Referenzen einfügen * Fügt noch eine **Beschriftung** zum Listing hinzu. +@slide(layout=extra-content-and-preview) + +@title +Konfiguration von Fußnoten + +@content +Das Paket `footmisc` stellt verschiedene weitere Optionen für die Darstellung von Fußnoten zur Verfügung, die als optionale Parameter an den Befehl `\usepackage` übergeben werden können. + +``` {.hljs .lang-tex} +% Zählung auf jeder Seite neu beginnen: +\usepackage[perpage]{footmisc} + +% Fußnoten inline anzeigen lassen: +\usepackage[para]{footmisc} + +% Symbole statt Nummerierung verwenden: +\usepackage[symbol]{footmisc} +``` + +@preview +![](svg/chapter-13/footmisc-de-crop.svg){.thin-padding} +@slide(layout=extra-content-and-preview) + +@title +Weiterführend + +@content +* Wurde vor dem Paket `cleveref` das Paket `hyperref` eingebunden, entsteht ein **klickbarer Link** im fertigen PDF. +* Mehrere Referenzen können in `\cref` kommagetrennt angegeben werden. + +``` {.hljs .lang-tex} +\section{Ein Einstieg} +\label{sec:section1} +% … +Hier sei verwiesen auf +\cref{sec:section1,sec:section2, +sec:section3,sec:section5}. +``` + +@preview +![](svg/chapter-13/cref-multiple-beispiel-crop.svg) + diff --git a/slides/chapter-13.en.md b/slides/chapter-13.en.md index 62e3549..14a7fba 100644 --- a/slides/chapter-13.en.md +++ b/slides/chapter-13.en.md @@ -35,29 +35,6 @@ wiki/Wild_boar}} ![](svg/chapter-13/footnote-example-crop.svg) -@slide(layout=content-and-preview) - -@title -Configuring footnotes - -@content -The `footmisc` package provides additional options for the presentation of footnotes that can be activated by adding parameters to the `\usepackage` command. - -``` {.hljs .lang-tex} -% Reset the counter on each page: -\usepackage[perpage]{footmisc} - -% Display footnotes in-line: -\usepackage[para]{footmisc} - -% Use symbols instead of numbers: -\usepackage[symbol]{footmisc} -``` - -@preview -![](svg/chapter-13/footmisc-en-crop.svg){.thin-padding} - - @slide(layout=content-and-preview) @title @@ -161,27 +138,6 @@ Things to consider \section{Notes}\label{sec:notes} ``` -@slide(layout=content-and-preview) - -@title -A few more things - -@content -* It is recommended that you include the package `hyperref` before `cleveref`. -* `\cref` can take multiple references at once, separated by commas. - -``` {.hljs .lang-tex} -\section{An introduction} -\label{sec:section1} -% … -Reference be made to -\cref{sec:section1,sec:section2, -sec:section3,sec:section5}. -``` - -@preview -![](svg/chapter-13/cref-multiple-example-crop.svg) - @slide(layout=task) @@ -210,3 +166,49 @@ Inserting references * Make sure to add **labels** to the elements that you want to create a reference for. * To do so, wrap the source code listing in a `listing` **environment**. * Additionally, add a **caption** to the source code listing. + + +@slide(layout=extra-content-and-preview) + +@title +Configuring footnotes + +@content +The `footmisc` package provides additional options for the presentation of footnotes that can be activated by adding parameters to the `\usepackage` command. + +``` {.hljs .lang-tex} +% Reset the counter on each page: +\usepackage[perpage]{footmisc} + +% Display footnotes in-line: +\usepackage[para]{footmisc} + +% Use symbols instead of numbers: +\usepackage[symbol]{footmisc} +``` + +@preview +![](svg/chapter-13/footmisc-en-crop.svg){.thin-padding} + + + +@slide(layout=extra-content-and-preview) + +@title +A few more things + +@content +* It is recommended that you include the package `hyperref` before `cleveref`. +* `\cref` can take multiple references at once, separated by commas. + +``` {.hljs .lang-tex} +\section{An introduction} +\label{sec:section1} +% … +Reference be made to +\cref{sec:section1,sec:section2, +sec:section3,sec:section5}. +``` + +@preview +![](svg/chapter-13/cref-multiple-example-crop.svg) \ No newline at end of file diff --git a/svg/chapter-10/minted-haskell-crop.svg b/svg/chapter-10/minted-haskell-crop.svg deleted file mode 100644 index 6d35707..0000000 --- a/svg/chapter-10/minted-haskell-crop.svg +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-haskell-english-crop.svg b/svg/chapter-10/minted-haskell-english-crop.svg deleted file mode 100644 index 472af29..0000000 --- a/svg/chapter-10/minted-haskell-english-crop.svg +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-haskell-english-orig.svg b/svg/chapter-10/minted-haskell-english-orig.svg deleted file mode 100644 index 3d09f28..0000000 --- a/svg/chapter-10/minted-haskell-english-orig.svg +++ /dev/null @@ -1,497 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-haskell-english.tex b/svg/chapter-10/minted-haskell-english.tex deleted file mode 100644 index bde476b..0000000 --- a/svg/chapter-10/minted-haskell-english.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{lmodern} -\usepackage{amssymb,amsmath} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{hyperref} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\section*{Haskell Magic} -Squares of all even numbers between 1 and 200: -\begin{minted}{haskell} -[x^2 | x <- [1..200], even x] -\end{minted} - -\section*{An HTML Example} -A headline is denoted the following way: -\mint{html}|

LaTeX at University

| - -\end{document} diff --git a/svg/chapter-10/minted-haskell-orig.svg b/svg/chapter-10/minted-haskell-orig.svg deleted file mode 100644 index c0ada3a..0000000 --- a/svg/chapter-10/minted-haskell-orig.svg +++ /dev/null @@ -1,475 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-haskell.tex b/svg/chapter-10/minted-haskell.tex deleted file mode 100644 index dfd1107..0000000 --- a/svg/chapter-10/minted-haskell.tex +++ /dev/null @@ -1,21 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{lmodern} -\usepackage{amssymb,amsmath} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{hyperref} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\section*{Haskell-Magie} -Quadrate aller geraden Zahlen zwischen 1 und 200: -\begin{minted}{haskell} -[x^2 | x <- [1..200], even x] -\end{minted} - -\section*{Ein HTML-Beispiel} -Eine Überschrift wird so ausgezeichnet: -\mint{html}|

LaTeX im Studium

| - -\end{document} diff --git a/svg/chapter-10/minted-java-crop.svg b/svg/chapter-10/minted-java-crop.svg deleted file mode 100644 index 2fff75b..0000000 --- a/svg/chapter-10/minted-java-crop.svg +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-java-english-crop.svg b/svg/chapter-10/minted-java-english-crop.svg deleted file mode 100644 index 9cbb416..0000000 --- a/svg/chapter-10/minted-java-english-crop.svg +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-java-english-orig.svg b/svg/chapter-10/minted-java-english-orig.svg deleted file mode 100644 index fa1b215..0000000 --- a/svg/chapter-10/minted-java-english-orig.svg +++ /dev/null @@ -1,352 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-java-english.tex b/svg/chapter-10/minted-java-english.tex deleted file mode 100644 index d899250..0000000 --- a/svg/chapter-10/minted-java-english.tex +++ /dev/null @@ -1,14 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{lmodern} -\usepackage{amssymb,amsmath} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{hyperref} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\section*{Simple Java Application} -\inputminted{java}{Test.java} - -\end{document} diff --git a/svg/chapter-10/minted-java-orig.svg b/svg/chapter-10/minted-java-orig.svg deleted file mode 100644 index ca70f85..0000000 --- a/svg/chapter-10/minted-java-orig.svg +++ /dev/null @@ -1,369 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-java.tex b/svg/chapter-10/minted-java.tex deleted file mode 100644 index f484d66..0000000 --- a/svg/chapter-10/minted-java.tex +++ /dev/null @@ -1,14 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{lmodern} -\usepackage{amssymb,amsmath} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{hyperref} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\section*{Einfache Java-Anwendung} -\inputminted{java}{Test.java} - -\end{document} diff --git a/svg/chapter-10/minted-overview-crop.svg b/svg/chapter-10/minted-overview-crop.svg deleted file mode 100644 index 5f19228..0000000 --- a/svg/chapter-10/minted-overview-crop.svg +++ /dev/null @@ -1,1423 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-overview-english-crop.svg b/svg/chapter-10/minted-overview-english-crop.svg deleted file mode 100644 index 2771fd6..0000000 --- a/svg/chapter-10/minted-overview-english-crop.svg +++ /dev/null @@ -1,1406 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-overview-english-orig.svg b/svg/chapter-10/minted-overview-english-orig.svg deleted file mode 100644 index a562244..0000000 --- a/svg/chapter-10/minted-overview-english-orig.svg +++ /dev/null @@ -1,1406 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-overview-english.tex b/svg/chapter-10/minted-overview-english.tex deleted file mode 100644 index 4d59414..0000000 --- a/svg/chapter-10/minted-overview-english.tex +++ /dev/null @@ -1,45 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{lmodern} -\usepackage{amssymb,amsmath} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{hyperref} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\begin{minted}[ -fontfamily=tt, -linenos=true, -numberblanklines=true, -numbersep=12pt, -numbersep=5pt, -gobble=0, -frame=leftline, -framerule=0.4pt, -framesep=2mm, -funcnamehighlighting=true, -tabsize=4, -breaklines=true, -texcl=false, -]{html} -
-
-

Installation

-

- Minted, another LaTeX package, is very useful to display source code. It requires the Python programming language. -

-

- As soon as Python is installed, we can download the corresponding Python package Pygments using a command prompt: -

-
pip install Pygments
-

Add the LaTeX package and we are good to go:

-
\usepackage{minted}
-
-
- -
-
-\end{minted} - -\end{document} diff --git a/svg/chapter-10/minted-overview-orig.svg b/svg/chapter-10/minted-overview-orig.svg deleted file mode 100644 index 0ee0f33..0000000 --- a/svg/chapter-10/minted-overview-orig.svg +++ /dev/null @@ -1,1423 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/svg/chapter-10/minted-overview.tex b/svg/chapter-10/minted-overview.tex deleted file mode 100644 index a26a13e..0000000 --- a/svg/chapter-10/minted-overview.tex +++ /dev/null @@ -1,45 +0,0 @@ -\documentclass[a4paper]{article} -\usepackage{lmodern} -\usepackage{amssymb,amsmath} -\usepackage[T1]{fontenc} -\usepackage[utf8]{inputenc} -\usepackage{hyperref} -\usepackage{minted} -\begin{document} -\thispagestyle{empty} - -\begin{minted}[ -fontfamily=tt, -linenos=true, -numberblanklines=true, -numbersep=12pt, -numbersep=5pt, -gobble=0, -frame=leftline, -framerule=0.4pt, -framesep=2mm, -funcnamehighlighting=true, -tabsize=4, -breaklines=true, -texcl=false, -]{html} -
-
-

Installation

-

- Mit dem Paket minted lässt sich Quelltext gut darstellen. Dafür wird die Programmiersprache Python benötigt. -

-

- Nach der Installation von Python kann das zugehörige Paket Pygments in der Eingabeaufforderung installiert werden durch: -

-
pip install Pygments
-

Anschließend muss das LaTeX-Paket nur noch eingebunden werden:

-
\usepackage{minted}
-
-
- -
-
-\end{minted} - -\end{document}