summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/thucoursework/README.md
blob: 61c7c82949e64dec6a774895b90aa3730724c3a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# THU coursework Template
[![Build Status](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template.svg?branch=master)](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template)

LaTeX package for students in Tsinghua University to write coursework more efficiently, also can be used by students from other university.

Notice that the package itself does not import ctex package, to use it with Chinese writing, see example file `ithw.tex` for detail.

## Features

 * support custom courseheader
 * automatic header setting
 * support coursework counter
 * definition of common math symbols

## ToDo

 * automatic enumerate environment labeling and reference

## Compile from source

Use `make doc` or run the following commands one by one:

    xelatex thucoursework.dtx
    makeindex -s gind.ist -o thucoursework.ind thucoursework.idx
    makeindex -s gglo.ist -o thucoursework.gls thucoursework.glo
    xelatex thucoursework.dtx
    xelatex thucoursework.dtx

## Usage

`\usepackage{iidef}` and you are ready to go!

## Help
  see manual `thucoursework.pdf`

## Sample File

 * `iihw.tex` is the homework of **Information Inference**
 * `ithw.tex` is the homework of **Information Theory**, chinese version (to make it work, use `ctex` package in user file.)

## Contributors

 [Xiangxiang Xu](https://xiangxiangxu.com/) revised this template, zhaofeng-shu33 made it a latex package.

## License
 This project is licensed by The LaTeX Project Public Li­cense.