11 lines
576 B
TeX
11 lines
576 B
TeX
\chapter{Source code listings}
|
|
\label{sec:source-code-listings}
|
|
|
|
There are many ways in \LaTeX{} to display source code.
|
|
We have come to appreciate the package \pkg{minted}, which causes some additional installation overhead, but generates very appealing source code renderings.
|
|
However, especially on macOS, the installation of minted has caused a lot of headache in the early days of this workshop.
|
|
That's why we will also have a look at an alternative called \pkg{lstlistings}.
|
|
|
|
\input{./content/source-code-listings-minted}
|
|
\input{./content/source-code-listings-listings}
|