Skip to content
/ ctuthesis Public template

CTU in Prague thesis template

License

Notifications You must be signed in to change notification settings

susickypavel/ctuthesis

Repository files navigation

ctuthesis

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.

1. Installation

1.1 Prerequisites

Note

I'd suggest TinyTex if you're comfortable installing missing packages since the installation size is substantially reduced. See required packages below.

1.1.1 Required LaTeX packages

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.

tlmgr install biblatex csquotes environ microtype pdfpages titlesec fancyhdr caption pdflscape biber makeindex babel-czech babel-english hyphen-czech

1.1.2 Optional LaTeX packages

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

1.2 Usage

  1. Make sure you have all the prerequisites
  2. Open the workspace file using Visual Studio Code
  3. Open thesis.tex (your root file, this should include all the other *.tex files)
  4. Make your changes and hit save
  5. .build folder should be generated in the root of the workspace with bunch of intermediate files and a final pdf.
  6. Check out the original manual if you want to customize the thesis to your liking
  7. Have fun writing your awesome thesis!

1.2.1 TODOs

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.

2. Structure

✨ 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