Unoffical LaTeX template for Master, Bachelor, Diploma, and Student Theses at the University of Stuttgart, Computer Science.
More information at https://github.com/latextemplates/uni-stuttgart-computer-science-template.
It originates from the studiforge server at https://vorlagen.studiforge.informatik.uni-stuttgart.de/trac/
If you don't want to use git, just download https://github.com/latextemplates/uni-stuttgart-computer-science-template/archive/template.zip
- offline: TeXstudio together with JabRef.
- online: overleaf. Also with git support.
See LaTeX Editors/IDEs question on TeX.SX for a complete list of LaTeX editors.
- Install MiKTeX for: "Only for:
username
" - Install MiKTeX to:
C:\MiKTeX
. This enabled browsing for documentation at `C:\MiKTeX29\doc\latex - Install missing packages on the fly:
Yes
- UTF-8
- pdflatex
- Depends on biblatex
This template works on Windows using the current MiKTeX distribution. On Linux (TexLive full >= 2012) should work without any issues.
This howto assumes that you have not a git repository for your thesis. If you have, just add https://github.com/latextemplates/uni-stuttgart-computer-science-template.git as upstream and merge the branch "template" into your "master" branch.
- Open command line
- git clone https://github.com/latextemplates/uni-stuttgart-computer-science-template.git
- cd uni-stuttgart-computer-science-template
- git remote rename origin github
- git checkout -b master
Now, you are on the master branch, where you can write your thesis and push it to your (remote) origin repository, in case you have one.
If you want to merge updates from github, do the following:
- git fetch github
- git merge github/template
The template is compiled using normal LaTeX commands. Your LaTeX environment (such as TeXStudio) should take care about the compilation transparently. If you want to include .svg graphics, inkscape has to be in your path.
If you want to compile using the command line, you can use following tools.
latexmk -pdf ausarbeitung
latexmk -pvc -pdf ausarbeitung
This will open Acrobat Reader once. Close it and start a PDF reader supporting instant reload of PDFs. We recommend Sumatra PDF.
For those, who have cygwin installed or run a linux machine, this template offers a simple LaTeX makefile. It is not so sophisticated as other projects, but does its job
make
Make targets:
pdf
(default): Generates ausarbeitung.pdfaspell
: Checks all files using aspell.clean
: Removes all temporary files.mrproper
: Cleans up and removes also editor backup files.stand
: Creates a new PDF with the current status of the thesis.view
: Opens the configured viewer6
: Generates a 3x2 postscriptfile using psnup.
Alternatives:
- https://github.com/shiblon/latex-makefile
- https://github.com/ransford/pdflatex-makefile
- https://github.com/brotchie/latex-rubber-makefile
- See http://stackoverflow.com/questions/1240037/recommended-build-system-for-latex
- Current favourite: LaTeX-Mk.
The template has been built primarily for German documents. English documents, however, are also very welcome.
Two steps to switch to English typesetting:
ausarbeitung.tex
: Right on top: remove the%
beforepointlessnumbers
(line 17)ausarbeitung.tex
: Exchange commands\ifdeutsch
and\ifenglisch
. (Lines 23,23 <-> 27,28).preambel/packages_and_options.tex
atusepackage
ofuni-stuttgart-cs-cover
: disabledlanguage=german
and enablelanguage=english
. (Lines 448 and 449)- Cleanup everything (e.g.,
latexmk -c ausarbeitung
). Otherwise pdflatex will complain because ofngerman
.
Edit preambel/chapterheads.tex
.
- If you included some version control statements, please remove them. Currently, the template does not support any, but it used to support SVN.
- By using
\largeparge
and\shortpage
, single lines at the bottom or at the top of the page can be manually fixed. - Search the PDF for "TODO" or similar things. Remove
\usepackage{todonotes}
inpreambel/packages_and_options
. - Ensure that you run
pdflatex
at least three times and that there no "undefined references". - The margins are intended for a duplex printing. Do not change them (or do exactly know what you are doing).
See http://wiki.flupp.de/LaTeX
- ausarbeitung.tex
- Main file
- New chapters are added by using
\input
- Adjust title etc. here
- Makefile: The Makefile.
- README.md: This file.
- uni-stuttgart-cs-cover.sty: Verbatim copy of uni-stuttgart-cs-cover.sty available at https://github.com/latextemplates/uni-stuttgart-computer-science-cover
bibliography.bib
. Bibliography. biblatex format. Manage it with JabRef.- content/: Place for the actual content
- content/einleitung.tex: First chapter: The introduction
- content/kapitel2.tex: Second chapter
- content/zusammenfassung
_
und_
ausblick.tex: Conclusion and outlook. - content/anhang.tex
- graphics/: Directory containing the figures. By using PDFLaTeX it is possible to use PDFs, JPGs, PNGs, ... We recommend to use PDFs to enable smooth scaling.
- macros/: Directory for macros.
- macros/commands.tex: Example macros
- preambel/: Latex header of the document ("preambel" in latex)
- preambel/chapterheads.tex: Definition for the chapter headings.
- preambel/fonts.tex: Font selection
- preambel/margins.tex: Margin settings / Einstellung der Seitenränder
- preambel/packages
_
and_
options.tex: Includes required packages and their options. - preambel/pagestyle.tex: Defines the head and the foot of a page.