This repository is a fork of https://github.com/tohecz/ctuthesis. Most of the original files are present, but the folder structure is cleaner to work with. It's designed to work well with Visual Studio Code and a LaTeX workshop extension.
- Visual Studio Code
- VSCode LaTeX workshop extension
- TexLive or other TexLive distribution such as TinyTex
Note
I'd suggest TinyTex if you're comfortable installing missing packages since the installation size is substantially reduced. See required packages below.
Most of the required packages are included in the full distribution of TexLive. If you're an advanced user with custom Tex distribution (such as TinyTex), below are some of the packages that you might be missing. You can copy the command to install all of them with the tlmgr
package manager below.
- biblatex
- csquotes
- environ
- microtype
- pdfpages
- titlesec
- fancyhdr
- caption
- pdflscape
- biber
- makeindex
- babel-czech
- babel-english
- hyphen-czech
tlmgr install biblatex csquotes environ microtype pdfpages titlesec fancyhdr caption pdflscape biber makeindex babel-czech babel-english hyphen-czech
These packages aren't needed for the compilation of the project to work. However, they can enhance your experience with linting and formatting your LaTeX code.
tlmgr install chktex latexindent texcount
- Make sure you have all the prerequisites
- Open the workspace file using Visual Studio Code
- Open
thesis.tex
(your root file, this should include all the other*.tex
files) - Make your changes and hit save
.build
folder should be generated in the root of the workspace with bunch of intermediate files and a final pdf.- Check out the original manual if you want to customize the thesis to your liking
- Have fun writing your awesome thesis!
To make your life a little bit easier, there are several TODO
comments placed across the *.tex
files to let you know that you should change their content before submitting your work.
✨ ctuthesis/ # Workspace root
├─ .build/ # Build directory (not in VCS)
│ ├─ thesis.pdf
├─ src/ # Source directory
│ ├─ assets/ # Asset directory, mainly CTU logo and font
│ │ ├─ ctu_logo_black.pdf
│ ├─ common/ # (almost) original ctuthesis *.tex files
│ │ ├─ ctuth-core.tex
│ │ ├─ ctuth-names.tex
│ │ ├─ ctuth-templates.tex
│ │ ├─ ctuth-pkg.tex
│ ├─ documents/ # Directory for all sorts of documents
│ │ ├─ zadani.pdf # Specification of your thesis
│ ├─ ctuthesis.cls # LaTeX class file that makes all the magic, don't worry about it too much.
│ ├─ thesis.ist # Formatting configuration for Index of the document
│ ├─ thesis.bib # Bibliography references
│ ├─ thesis.tex # Entry tex file for your thesis
├─ manual.pdf # Original ctuthesis manual