Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 850 Bytes

File metadata and controls

37 lines (23 loc) · 850 Bytes

Report-Template

A simple LaTeX template for CS courses in Zhejiang University

Install on macOS

  • package minted requires python, pygments and its dependencies.

    Add minted.sty to 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 pygments

    You can run

    $ pygmentize

    to check if it functions well.

Usage

  • compile with XeLaTeX(简体中文) or pdfLaTeX(English)
  • add -shell-escape to compile options so that shell commands can be called while compiling
  • add -8bit to compile options so that TAB can be displayed correctly in minted environment

License

MIT License © Zhiyuan Pan