include minted in preamble only when minted is defined as listingsmode
This commit is contained in:
parent
c9f0bee905
commit
5a9cc630bb
1
main.tex
1
main.tex
@ -1,3 +1,4 @@
|
|||||||
|
\input{setup.tex} % Setup
|
||||||
\input{praeamble.tex} % Preamble
|
\input{praeamble.tex} % Preamble
|
||||||
\input{commands.tex} % Custom commands
|
\input{commands.tex} % Custom commands
|
||||||
\title{Script for the Fachschaft \acro{WIAI} \LaTeX{} Workshop}
|
\title{Script for the Fachschaft \acro{WIAI} \LaTeX{} Workshop}
|
||||||
|
|||||||
@ -37,8 +37,8 @@
|
|||||||
\usepackage{changes}
|
\usepackage{changes}
|
||||||
|
|
||||||
% Sourcecode listings
|
% Sourcecode listings
|
||||||
\usepackage{minted}
|
|
||||||
\usepackage{listings}
|
\usepackage{listings}
|
||||||
|
\ifthenelse{\equal{\listingsmode}{minted}}{\usepackage{minted}}{}
|
||||||
|
|
||||||
% Quotes (\enquote)
|
% Quotes (\enquote)
|
||||||
\usepackage[autostyle,autopunct=false]{csquotes}
|
\usepackage[autostyle,autopunct=false]{csquotes}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user