A simple LaTeX template for CS courses in Zhejiang University
-
package
mintedrequirespython,pygmentsand its dependencies.Add
minted.styto the directory of your TeX distribution, generally/usr/local/texlive/YOUR-VERSION/texmf-dist/tex/latex/base, then run$ sudo texhash
To install
pygments,run$ sudo easy_install pip && pip3 install pygmentsYou can run
$ pygmentize
to check if it functions well.
- compile with XeLaTeX(简体中文) or pdfLaTeX(English)
- add
-shell-escapeto compile options so that shell commands can be called while compiling - add
-8bitto compile options so thatTABcan be displayed correctly inmintedenvironment
MIT License © Zhiyuan Pan