| 1 |
# THU coursework Template |
| 2 |
[](https://travis-ci.com/zhaofeng-shu33/THU-coursework-template) |
| 3 |
|
| 4 |
LaTeX package for students in Tsinghua University to write coursework more efficiently, also can be used by students from other university. |
| 5 |
|
| 6 |
Notice that the package itself does not import ctex package, to use it with Chinese writing, see example file `ithw.tex` for detail. |
| 7 |
|
| 8 |
## Features |
| 9 |
|
| 10 |
* support custom courseheader |
| 11 |
* automatic header setting |
| 12 |
* support coursework counter |
| 13 |
* definition of common math symbols |
| 14 |
|
| 15 |
## ToDo |
| 16 |
|
| 17 |
* automatic enumerate environment labeling and reference |
| 18 |
|
| 19 |
## Compile from source |
| 20 |
|
| 21 |
Use `make doc` or run the following commands one by one: |
| 22 |
|
| 23 |
xelatex thucoursework.dtx |
| 24 |
makeindex -s gind.ist -o thucoursework.ind thucoursework.idx |
| 25 |
makeindex -s gglo.ist -o thucoursework.gls thucoursework.glo |
| 26 |
xelatex thucoursework.dtx |
| 27 |
xelatex thucoursework.dtx |
| 28 |
|
| 29 |
## Usage |
| 30 |
|
| 31 |
`\usepackage{iidef}` and you are ready to go! |
| 32 |
|
| 33 |
## Help |
| 34 |
see manual `thucoursework.pdf` |
| 35 |
|
| 36 |
## Sample File |
| 37 |
|
| 38 |
* `iihw.tex` is the homework of **Information Inference** |
| 39 |
* `ithw.tex` is the homework of **Information Theory**, chinese version (to make it work, use `ctex` package in user file.) |
| 40 |
|
| 41 |
## Contributors |
| 42 |
|
| 43 |
[Xiangxiang Xu](https://xiangxiangxu.com/) revised this template, zhaofeng-shu33 made it a latex package. |
| 44 |
|
| 45 |
## License |
| 46 |
This project is licensed by The LaTeX Project Public LiĀcense. |
| 47 |
|
| 48 |
|