Debian Codegraph @

texmf-dist/doc/latex/bithesis/README.md

raw
1 <!-- This README aims to be packed into bithesis LaTeX package -->
2
3 # The `bithesis` Class
4
5 $\LaTeX$ thesis template for [Beijing Institute of Technology (BIT)](https://bit.edu.cn).
6
7 This project is maintained by [BITNP (Net Pioneer Association of BIT)](https://bitnp.net), the de facto TUG at BIT.
8 Maintainers are listed on [the BIThesis website](https://bithesis.bitnp.net/guide/acknowledgements.html).
9
10 [![BIThesis](./assets/bithesis_badge_solid.svg)](https://bithesis.bitnp.net/)
11 [![Latexmk](https://badgen.net/badge/compiler/latexmk/blue)](https://mg.readthedocs.io/latexmk.html)
12 [![License](https://badgen.net/github/license/BITNP/BIThesis?color=008080&labelColor=2b2b2b)](./LICENSE)
13
14 BIThesis is an unofficial LaTeX template set for your
15 **undergraduate, master, or doctoral thesis** as well as other academic writing here at BIT.
16
17 This project is supported by the _[Dept. of Undergraduate Academic Affairs, BIT](https://jwb.bit.edu.cn/)_ and the _[School of Computer Science and Technology, BIT](https://cs.bit.edu.cn/)_. See [Acknowledgements - Official Sponsors](https://bithesis.bitnp.net/guide/acknowledgements.html#%E5%AE%98%E6%96%B9%E8%B5%9E%E5%8A%A9-official-sponsors).
18
19 At present, `bithesis` only supports XeTeX and LuaTeX engines. `bithesis` only allows `UTF-8` encoding.
20
21 ## Installation
22
23 ```shell
24 tlmgr install bithesis
25 ```
26
27 ## How to use BIThesis?
28
29 **For a comprehensive guide on how to install LaTeX, compile `bithesis`, and use BIThesis' templates, please refer to BIThesis' Wiki. 👇**
30
31 [![BIThesis Wiki](https://img.shields.io/badge/BIThesis-Wiki-009944?logo=wikipedia&labelColor=2b2b2b&style=for-the-badge)](https://bithesis.bitnp.net/)
32
33 ## How to build PDF documentations?
34
35 This section describes how to generate the following PDF documentations from `bithesis-doc-src.zip` manually.
36
37 - Package documentation: `bithesis.pdf`
38 - Quick start handbooks: `bithesis-handbook-{undergraduate,graduate}.pdf`
39
40 However, it is much easier to generate them by cloning our [repo](https://github.com/BITNP/BIThesis) and running `just doc handbooks`. Details can be found in `DEVELOPMENT.md` there.
41
42 ### Package documentation
43
44 ```shell
45 xetex bithesis.ins
46
47 7z x bithesis-doc-src.zip bithesis-pdf
48 mv bithesis-pdf/* .
49 rmdir bithesis-pdf
50
51 curl https://bithesis.bitnp.net/faq/index.tex -o assets/faq.tex
52
53 latexmk -xelatex -shell-escape bithesis.dtx # `-shell-escape` is for lt3luabridge
54 ```
55
56 Now check `bithesis.pdf`.
57
58 ### Quick start handbooks
59
60 1. Generate `bithesis.cls` with `xetex bithesis.ins` or `tlmgr install bithesis`
61 2. Run the following commands
62
63 ```shell
64 7z x bithesis-doc-src.zip handbook
65 cd handbook
66
67 cp path/to/bithesis.cls .
68
69 latexmk
70 mv main.pdf bithesis-handbook-undergraduate.pdf
71
72 GRADUATE=true latexmk -gt # `-gt` forces reprocessing *.tex files
73 mv main.pdf bithesis-handbook-graduate.pdf
74 ```
75
76 ## Contributing
77
78 For more details, please see the [contributing doc](./contributing.md).
79
80 ## Contributors
81
82 For more information, please see: [GitHub Contributors](https://github.com/BITNP/BIThesis/graphs/contributors) and [Acknowledgements](https://bithesis.bitnp.net/guide/acknowledgements.html).