This template is a general template for scientific theses. Currently, it is the unofficial LaTeX template for Master, Bachelor, Diploma, and Student Theses at following institutions:
- University of Stuttgart, Computer Science. [example-english] [example-german]
- Paderborn University, Computer Science. - To be confirmed. [example-english] [example-german]
It will be extended to support theses from different institutions.
This README.md of the template is also rendered at https://latextemplates.github.io/scientific-thesis-template/. For architectural decision records see docs/adr.
- Characteristics of the template
- Quick start
- Recommended LaTeX environments
- Installation hints for Ubuntu
- Installation hints for Windows
- LaTeX compilation
- FAQ
- Q: There is an output that biber/biblatex too old
- Q: My Paderborn title page is strange. The boxes seem to be located arbitrarily.
- Q: I get the error
! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
- Q: How do I change the appearance of chapter headings?
- Q: Do I have to do something special for the final version?
- Q: I want to use make instead of latexmk
- Q: Are there any other alternatives to latexmk and make?
- Q: Is there any other place to look for further information?
- Q: I was recommended the Harvard style
- Q: Aren't there other templates?
- Contained Files and Directories
- License
- UTF-8
- pdflatex
- latexmk - Reasoning available at https://tex.stackexchange.com/a/249243/9075.
- biblatex+biber instead of plain bibtex, because biblatex fully supports UTF-8 and commands such as
\citeauthor{...}
work out of the box. See also https://tex.stackexchange.com/q/8411/9075. - Most recent packages and package configuration based on long-time experience
- Open for contributions
Even though AuToLaTeX is more powerful than latexmk, it is not included in MiKTeX and therefore it is not used here.
- Go to the latest release via https://github.com/latextemplates/scientific-thesis-template/releases/latest.
- Download the file
source.zip
- Extract
source.zip
to the directory you want to work. E.g.,c:\users\user\documents\thesis
. - Start texing at
main-english.tex
ormain-german.tex
. - Users of Paderborn University: Adapt
logos/UBP-background-picture.pdf
to your needs. It has the format 20cm x 10cm.
See overleaf.
We do not recommend to fork this project as a fork denotes that you work on improving the template itself. Thus, just create a new git repository and populate it using the files provided at https://github.com/latextemplates/scientific-thesis-template/archive/master.zip
- offline: Grammar and spell checking is available at TeXstudio.
Please download LanguageTool and configure TeXstudio to use it.
Note that it is enough to point to
languagetool.jar
. Use JabRef to manage your bibliography. Quick installation using Chocolatey:choco install texstudio languagetool jabref
. A comparison to other literature management software is available at https://ultimate-comparisons.github.io/ultimate-reference-management-software-comparison/. - online: overleaf. Also with git support.
See LaTeX Editors/IDEs question on TeX.SX for a complete list of LaTeX editors.
Ubuntu currently ships biber 2.4, so you have to upgrade your texlive distribution. The easiest way is to uninstall the ubuntu package and use install-tl-ubuntu. Then, you can follow the instructions given at http://tex.stackexchange.com/a/55459/9075 to update your texlive distribution. If you do not want to have an updated installation, but fiddle around with dirty patching your installation, please follow http://tex.stackexchange.com/questions/84624/how-to-upgrade-biblatex-properly.
- The default installation of MiKTeX ships with incompatible biblatex and biber packages. You have to keep your MiKTeX up to date. In case you followed the linked installation steps, you only have to run "Update MiKTeX". If you installed MiKTeX other ways, you have to run "Update MiKTeX (Admin)" and "Update MiKTeX" and check in both tools for updates (see http://tex.stackexchange.com/a/108490/9075).
- Install other tools using chocolatey:
choco install texstudio sumatrapdf.install latexmk strawberryperl jabref languagetool jre8
. This allows you to runchoco upgrade all
to keep the software updated. - Ensure that in the "MiKTeX Package Manager" "biber" and "biblatex-lni" are installed
- Download the basic installer from http://miktex.org/download
- Start it
- First screen: Read the license conditions and be sure that you really agree.
- Second screen: "Shared Installation": Install MiKTeX for: "Only for:
username
" - Third screen: "Installation Directory": Install MiKTeX to:
C:\MiKTeX
. This enabled browsing for documentation atC:\MiKTeX29\doc\latex
- Fourth screen: "Settings": Preferred paper: A4 and Install missing packages on the fly:
Yes
- Fifth screen: Press "Start"
- After the installation:
- Open
cmd.exe
- Execute
mpm --update-db
- Execute
mpm --update
- Execute
mpm --install=cm-super
- Execute
initexmf --update-fndb
- Execute
initexmf --mklinks --force
- Open
The template is compiled using normal LaTeX commands. Your LaTeX environment (such as TeXStudio) should take care about the compilation transparently. When the "Package Installation" dialog pops up at TeXStudio, choose your username at "The package will be installed for:" and uncheck "Always show this dialog before installing packages." 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 main-german
latexmk -pvc main-german
This will open a Sumatra PDF and only works with the supplied configuration.
This repository ships a .latexmk
which is read by latexmk.
It is configured for Windows and especially sets Sumatra PDF as default PDF viewer.
You can make this local configuration a global configuration, when you put it at the right place.
If you want to add more packages, configure it there. For instance, for support of makeglossaries see http://tex.stackexchange.com/questions/1226/how-to-make-latexmk-use-makeglossaries.
See installation hints of how to update them at different systems.
Just run pdflatex again.
Q: I get the error ! pdfTeX error (font expansion): auto expansion is only possible with scalable fonts.
Install the cm-super
package using the MiKTeX package manager. Then, run initexmf --mkmaps
on the command line. (Long description: http://tex.stackexchange.com/a/324972/9075)
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
\largepage
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}
inconfig.tex
. - Ensure that you run
pdflatex
at least three times and that there are no "undefined references". - The margins are intended for a duplex printing. Do not change them (or do exactly know what you are doing).
For those, who have cygwin installed or run a linux machine, this template offers a simple LaTeX makefile. It is not as 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.
- https://github.com/akerbos/ltx2any
- https://github.com/shiblon/latex-makefile
- https://github.com/ransford/pdflatex-makefile
- https://github.com/brotchie/latex-rubber-makefile
- LaTeX-Mk
- See also Recommended build system for latex? and How to properly 'make' a latex project?
For German users, go to http://texfragen.de/.
This template uses the alphabetic style. That style is explained at the biblatex documentation on page 60:
The alphabetic labels resemble a compact author-year style to some extent, but the way they are employed is similar to a numeric citation scheme. For example, instead of “Jones 1995” this style would use the label “[Jon95]”. “Jones and Williams 1986” would be rendered as “[JW86]”.
We are aware that the University of Stuttgart recommends to use the Hardvard style. However, this style is not common in natural sciences and information science.
Sure. The Hagenberg Thesis Document Collection seems to be the most promising. However, they currently do not support microtype and not the cover of the University of Stuttgart.
We are collecting alternatives at the issue #25 and plan to add a comparison to each other template.
- 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.
main-*.tex
- Start file for theses- main-german.tex for German
- main-english.tex for English
- main-paderborn-german.tex for German theses at Paderborn University
- main-paderborn-english.tex for English theses at Paderborn University
- Add text here
- Adjust title etc. here
- bibliography.bib - Bibliography. biblatex format. Manage it with JabRef.
- acronyms.tex - Abbreviations.
- commands.tex - Example macros
- config.tex - The place to add packages etc.
Following additional files are included, which do not need to be adapted:
- Makefile - The Makefile. Builds on latexmk.
- README.md - Explains the template
- uni-stuttgart-cs-cover.sty - Verbatim copy of uni-stuttgart-cs-cover.sty available at https://github.com/latextemplates/uni-stuttgart-computer-science-cover
The license of this work is CC0, which corresponds to "public domain".
The images in logos
are subject to other copyright from other parties:
UPB_LOGO_GB_RGB_15.pdf
andUPB_Logo_RGB_D_2012.pdf
are copyright Paderborn University. Refer to https://www.uni-paderborn.de/universitaet/marketing/design-vorgaben-templates/ for proper use.UBP-background-picture.*
are demonstration files generated using an educational edition of Microsoft Office. They can be used in a scientific context only. For commercial use, please change them.UBP-background-picture.pdf
is generated out ofUBP-background-picture.pptx
and is free for personal use only.