diff options
Add minted package for code listings
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | main.tex | 3 | ||||
-rw-r--r-- | shell.nix | 2 |
3 files changed, 7 insertions, 2 deletions
@@ -1,10 +1,10 @@ .PHONY: build clean live build: - latexmk -pdf -outdir=build main.tex + latexmk -shell-escape -pdf -outdir=build main.tex live: - latexmk -pdf -pvc -outdir=build main.tex + latexmk -shell-escape -pdf -pvc -outdir=build main.tex clean: latexmk -C -outdir=build main.tex @@ -9,6 +9,9 @@ \usepackage{amsmath,amssymb,amsthm} %\usepackage[euler-digits,euler-hat-accent]{eulervm} \usepackage{enumitem} +\usepackage[outputdir=build]{minted} + +\usemintedstyle{borland} \usepackage{hyperref} \hypersetup{ @@ -11,12 +11,14 @@ stdenv.mkDerivation rec { eulervm cm-super enumitem + minted fvextra ifplatform framed bibtex biblatex logreq xstring ; }; in [ gnumake texlive-custom + python3Packages.pygments ]; shellHook = '' |