https://github.com/alexfikl/uiucthesis2020
A more opinionated LaTeX template for UIUC thesis manuscripts
https://github.com/alexfikl/uiucthesis2020
latex-template phd-thesis uiuc
Last synced: about 1 year ago
JSON representation
A more opinionated LaTeX template for UIUC thesis manuscripts
- Host: GitHub
- URL: https://github.com/alexfikl/uiucthesis2020
- Owner: alexfikl
- Created: 2020-04-18T02:54:05.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T19:13:41.000Z (over 1 year ago)
- Last Synced: 2024-11-01T20:19:37.722Z (over 1 year ago)
- Topics: latex-template, phd-thesis, uiuc
- Language: TeX
- Homepage:
- Size: 2.76 MB
- Stars: 0
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UIUC Thesis Template 2020
This is a version of [uiucthesis2014](https://github.com/mayhewsw/uiucthesis2014)
with some updates to the new decade compatible with **TeXLive 2018 and newer**.
The main [official requirements](https://grad.illinois.edu/thesis/format) should
still be respected (feel free to file a bug otherwise).
At a technical level, a few things have changed in the class implementation:
* *Use the `scrbook` class from [KOMA-Script](https://ctan.org/pkg/koma-script?lang=en)*.
The class and surrounding packages have better support for typography and
improved versatility compared to the standard `book` class.
* *Improve positioning and customization code*. The class uses the
`scrlayer-scrpage` and `tocbasic` to modify the page style, table of
contents style, and various positioning code in a more consistent fashion.
* *Use higher level functionality*. Most parts switched from low level TeX
commands to LaTeX2e commands and standard packages.
**Note**: There is now an officially promoted LaTeX template on the
[Graduate College website](https://grad.illinois.edu/thesis/format) that can be
found [here](https://uofi.app.box.com/s/f5za8r9qi4yahne2l1b6hapuahwve2mb). This
is similarly based on the classic `uiucthesis2014` class. Unless you really like
some formatting choices made here, you should really use that one!
# Usage
To use this class, the easiest way is probably just to copy `uiucthesis2020.cls`
to your own repository / local folder and use is as a document class
```latex
\documentclass[11pt,edeposit,draftthesis]{uiucthesis2020}
% ... custom commands and packages ...
\begin{document}
% ... custom text ...
\end{document}
```
The `thesis.tex` and `thesisstyle.sty` files are provided as inspiration and
likely contain some personal preferences. The example document can be easily built
with (see the [just command runner](https://just.systems))
```bash
just thesis
```
# Options
The class has several options that can be turned on as desired (see the
documentation in ``uiucthesis2020.pdf`` for details). They are
* ``draftthesis``: turns on line numbering, puts the compilation date on
each page, etc. This is mostly meant to make it easier to review the manuscript.
* ``edeposit``: should be turned on when depositing the thesis electronically.
This contains some important official requirements.
* ``doublespacing``: turns on double line spacing. By default the lines are
spaced at 1.5, which is also allowed by the official requirements.
* ``forcebottom``: sets the bottom margin to be exactly ``1in`` as well. By
default, the class uses standard KOMA-Script margins (with ``DIV=12``),
which set the bottom margin to about twice the other margins (which are
already ``1in``).
* ``layoutgrid``: adds a nice grid on each page to allow checking the
margins.
The provided documentation can also be built with
```bash
just docs
```
# Colors
The standard branding colors are given below. For some suggestions as to how
these should be used, see the [official recommendations](https://marketing.illinois.edu/visual-identity/color).
| Primary Colors | RGB |
| :- | :-
| `IlliniOrange` |  `(255, 95, 5)` |
| `IlliniBlue` |  `(19, 41, 75)` |
| `IlliniAltgeld` |  `(200, 65, 19)` |
| **Secondary Colors** | **RGB**
| `IlliniStorm1` |  `(112, 115, 114)` |
| `IlliniStorm2` |  `(156, 154, 157)` |
| `IlliniStorm3` |  `(200, 198, 199)` |
| `IlliniStorm4` |  `(255, 255, 255)` |
| `IlliniStorm5` |  `(0, 0, 0)` |
| **Supporting Colors**| **RGB**
| `IlliniIndustrial` |  `(29, 88, 167)` |
| `IlliniArches` |  `(0, 159, 212)` |
| `IlliniHarvest` |  `(252, 179, 22)` |
| `IlliniPrairie` |  `(0, 98, 48)` |
| `IlliniPatina` |  `(0, 126, 142)` |
| `IlliniBerry` |  `(92, 14, 65)` |
| `IlliniEarth` |  `(125, 62, 19)` |
You can use these colors for your plots as well. For example, to set the color
cycle in `matplotlib` using `axes.prop_cycle` you can do
```python
import matplotlib as mpl
mpl.rcParams["axes.prop_cycle"] = mpl.cycler(color=[
# Blue, Orange, Industrial, Harvest, Arches, Prairie, Patina, Berry, Earth
"#13294B", "#FF5F05", "#1D58A7", "#FCB316", "#009FD4", "#006230",
"#007E8E", "#5C0E41", "#7D3E13",
])
```
or in MATLAB using [colororder](https://www.mathworks.com/help/matlab/ref/colororder.html)
```matlab
colororder([
% Blue, Orange, Industrial, Harvest, Arches, Prairie, Patina, Berry, Earth
'#13294B', '#FF5F05', '#1D58A7', '#FCB316', '#009FD4', '#006230', ...
'#007E8E', '#5C0E41', '#7D3E13', ...
]);
```
# References
Some recommended reading
* [A Guide to LaTeX2e (2007)](https://anorien.csc.warwick.ac.uk/mirrors/CTAN/info/l2tabu/english/l2tabuen.pdf)
* [A LaTeX Primer (2022)](https://github.com/schtandard/latex_primer)
* [microtype: Better Typography](http://www.khirevich.com/latex/microtype/)
* [booktabs: Pretty Tables](https://inf.ethz.ch/personal/markusp/teaching/guides/guide-tables.pdf)
* [xparse: Powerful Commands](https://www.texdev.net/2010/05/23/from-newcommand-to-newdocumentcommand/)
* [fixmath: ISO Math](https://ctan.org/pkg/fixmath)
* [cleveref: Flexible References](https://texblog.org/2013/05/06/cleveref-a-clever-way-to-reference-in-latex/)
## License
This code is template under the Creative Commons Zero v1.0 Universal. This means
it is public domain and no attribution is required when copying it around!