Make minted import optional
This commit is contained in:
parent
8c6a782cfc
commit
b9d6c531a9
1
main.tex
1
main.tex
@ -1,5 +1,4 @@
|
|||||||
\input{praeamble.tex} % Preamble
|
\input{praeamble.tex} % Preamble
|
||||||
\input{commands.tex} % Custom commands
|
|
||||||
\title{Script for the Fachschaft \acro{WIAI} \LaTeX{} Workshop}
|
\title{Script for the Fachschaft \acro{WIAI} \LaTeX{} Workshop}
|
||||||
\author{Evelyn Fradtschuk \and Florian Knoch \and Christian Kremitzl \and Bernhard Luedtke}
|
\author{Evelyn Fradtschuk \and Florian Knoch \and Christian Kremitzl \and Bernhard Luedtke}
|
||||||
|
|
||||||
|
|||||||
@ -36,8 +36,7 @@
|
|||||||
\usepackage{todonotes}
|
\usepackage{todonotes}
|
||||||
\usepackage{changes}
|
\usepackage{changes}
|
||||||
|
|
||||||
% Sourcecode listings
|
% Source code listings
|
||||||
\usepackage{minted}
|
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
|
|
||||||
% Quotes (\enquote)
|
% Quotes (\enquote)
|
||||||
@ -53,3 +52,11 @@
|
|||||||
\usepackage{changes}
|
\usepackage{changes}
|
||||||
\definechangesauthor[color=blue, name={Christian}]{C}
|
\definechangesauthor[color=blue, name={Christian}]{C}
|
||||||
\definechangesauthor[color=purple, name={Florian}]{F}
|
\definechangesauthor[color=purple, name={Florian}]{F}
|
||||||
|
|
||||||
|
% Custom commands
|
||||||
|
\input{commands.tex}
|
||||||
|
|
||||||
|
% Optional: Minted for source code listings
|
||||||
|
\ifthenelse{\equal{\listingsmode}{minted}}{%
|
||||||
|
\usepackage{minted}
|
||||||
|
}{}
|
||||||
Loading…
x
Reference in New Issue
Block a user