diff options
| author | Blaise Thompson <blaise@untzag.com> | 2018-03-27 16:06:30 -0500 |
|---|---|---|
| committer | Blaise Thompson <blaise@untzag.com> | 2018-03-27 16:06:30 -0500 |
| commit | 093ce016b23812d0aaf58c2b05c9d4189791e2a6 (patch) | |
| tree | 125fb4613ebdb38d63d5f87a6d62eb8063118495 /dissertation.cls | |
| parent | 8c9fc50d417809d7c5ad1b512f55c83307a83364 (diff) | |
2018-03-27 16:06
Diffstat (limited to 'dissertation.cls')
| -rw-r--r-- | dissertation.cls | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dissertation.cls b/dissertation.cls index 6d2364c..5fefce5 100644 --- a/dissertation.cls +++ b/dissertation.cls @@ -98,8 +98,6 @@ \definecolor{bg}{rgb}{0.95, 0.95, 0.95} -\setmintedinline[python]{bgcolor=bg} - \RequirePackage[many]{tcolorbox} \tcbuselibrary{minted} @@ -125,9 +123,11 @@ \BeforeBeginEnvironment{codefragment}{\begin{singlespace}\stepcounter{equation}} \AfterEndEnvironment{codefragment}{\end{singlespace}} +\newmintinline[bash]{bash}{bgcolor=bg} \newmintinline[python]{python}{bgcolor=bg} \newcommand{\includepython}[1]{\inputminted[bgcolor=bg]{python}{#1}} +\newcommand{\includebash}[1]{\inputminted[bgcolor=bg]{bash}{#1}} % --- graphics ------------------------------------------------------------------------------------ |
