Skip to content

Licheam/ICPC_Templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICPC Templates

English简体中文 (Simplified Chinese)

Introduction

ICPC Templates of Leachim in LaTeX

With a collection of implementation of Algorithms and Data Structure for Competitive Programming.

It may contain several open source code from online resources, which will be strictly enclosed with namespace and labeled with origin as comment (if possible).

Features

  1. Enable Math Formula in LaTeX display in comments.
  2. Easy to use and modify, highly modular.
  3. Enable a neat Syntax Highlight.
  4. Highly printable.
  5. Maintained by a ICPC retired competitor.

Compilation Guide

Dependancy

XeLaTeX(Packages are listed in tex file), Pygments(For minted package to syntax highlight in code)

XeLaTeX can be obtained by installing LaTeX distribution on your device, for which Tex Live are recommanded.

Pygments can be install by pip or package manager of your choice.

Using pip

pip install Pygments

Using Homebrew

brew install pygments

Compilation

In the directory ./LaTeX, compile the templates.tex file using

make

If you encounter mistakes about pygmentize, it is posible that the flag "-shell-escape" is left or you didn't configure the path for pygments properly.

Future Features

Divide the tex file for each section.