Make minted import optional

This commit is contained in:
Knoch 2022-01-10 09:21:01 +01:00
parent 8c6a782cfc
commit b9d6c531a9
2 changed files with 9 additions and 3 deletions

View File

@ -1,5 +1,4 @@
\input{praeamble.tex} % Preamble
\input{commands.tex} % Custom commands
\title{Script for the Fachschaft \acro{WIAI} \LaTeX{} Workshop}
\author{Evelyn Fradtschuk \and Florian Knoch \and Christian Kremitzl \and Bernhard Luedtke}

View File

@ -36,8 +36,7 @@
\usepackage{todonotes}
\usepackage{changes}
% Sourcecode listings
\usepackage{minted}
% Source code listings
\usepackage{listings}
% Quotes (\enquote)
@ -53,3 +52,11 @@
\usepackage{changes}
\definechangesauthor[color=blue, name={Christian}]{C}
\definechangesauthor[color=purple, name={Florian}]{F}
% Custom commands
\input{commands.tex}
% Optional: Minted for source code listings
\ifthenelse{\equal{\listingsmode}{minted}}{%
\usepackage{minted}
}{}