This template was created by Christoph Graumann (https://github.com/cgraumann) based on the great work by Florian Walch [1].
Please refer to the LICENSE file for copyright information - but basically feel free to change and redistribute this template :-)
Your main file for the thesis is MAIN_Masterthesis.tex
.
You always compile this file in LaTeX, everything else is depends on it.
Put your files in the following folders:
chapters
- your content files, should be divided in chaptersfigures
- your imagesbibliography/library.bib
- your Bibtex file (e.g. generated by Mendeley)glossary
- glossary and acronymssettings
- some global settingspages
- template pages; no need to change thislogos
- faculty logos; no need to change this
The following settings files are used:
commands.tex
- Start here by entering your Name, Title, etc.
- Include some useful shortcuts and commands (like TODO)
packages.tex
- This file has all usepackage-directives. Add packages you need here.
settings.tex
- Some settings for included packages, like listings and glossary
TexStudio [2] is the best Latex editor out there. Seriously. No discussion accepted ;-)
To use it with this template, you will have to set up its compilation chain:
- Go to Configure TexStudio and select the view Build on the left.
- Select PdfLaTeX as your Default Compiler.
- Select Biber as your Default Bibliography Tool.
- Click on the wrench icon next to Build & View and edit your list of commands to the following recommendation:
- Default Compiler
- Default Glossary Tool
- Default Bibliography Tool
- Default Compiler
- Default Compiler
You can also copy-paste the following line into the Build & View field:
txs:///compile | txs:///glossary | txs:///bibliography | txs:///compile | txs:///compile | txs:///view
When you now open your MAIN_Masterthesis.tex
file, you can simply click on Build & View (the green double-arrow button) and all necessary steps will be done automatically. It also includes three times LaTeX compilation; this is recommended to avoid indexing errors. Always compile your stuff multiple times!
- First of all, please use Git to version your thesis. You will thank me for this some time - guaranteed.
- Check out the file
TeX.gitignore
at [3] for a standard gitignore file. - You can set up your TexStudio, to automatically clean the LaTeX compilation files after finishing, to keep your repository clean. I created a script for this, check out [4].
- You can also perform an automatic compression of your PDF file, which is useful for sharing especially. You'll find a script for this as well on [4].
[1] https://github.com/fwalch/tum-thesis-latex
[2] http://texstudio.sourceforge.net/