Coder Social home page Coder Social logo

marvinwyrich / uni-stuttgart-dissertation-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from latextemplates/uni-stuttgart-dissertation-template

0.0 0.0 0.0 1.17 MB

Unofficial LaTeX template for a PhD thesis at University of Stuttgart, Germany

License: MIT License

Shell 16.25% TeX 75.85% Makefile 1.90% Batchfile 0.21% Dockerfile 0.61% VBScript 4.06% VBA 1.12%

uni-stuttgart-dissertation-template's Introduction

lang
en-US

University of Stuttgart PhD Thesis Template

Unofficial LaTeX template for PhD theses at the University of Stuttgart, Germany.

For a template for master, bachelor and other thesis, please head to the scientific thesis template.

Features

  • UTF-8 files
  • output format is A5
  • title page
  • nice chapter headings
  • important LaTeX packages are enabled
  • TeX4ht conversion enabled by make html
  • biblatex+biber instead of plain bibtex
  • latexmk

Example PDFs

Prerequisites

  • Windows: Recent MiKTeX
  • Mac OS X: Recent TeX Live (e.g. through MacTeX) - Try sudo tlmgr update --all if you encounter issues with biblatex
  • Linux: Recent TeX Live distribution

Usage

  • thesis-example.tex is the main document
  • make or latexmk for compilation
  • make clean or latexmk -C for cleaning up

Renaming the template

You probably don't want your document to be named example. In order to change this, replace the term thesis-example by e. g. thesis-musterfrau in the following locations:

location occurrence
cover-print/cover.tex \includegraphics{../thesis-example.pdf}
.gitignore thesis-example.pdf
.gitignore thesis-example*.png
Makefile MASTER_TEX = thesis-example.tex

VSCode configuration

To use the setup in VSCode, install

  • LaTeX Workshop to support LaTeX in VSCode and
  • LTeX to have a nice spell cheker that also identifies grammar issues

Then, change the setting of LaTeX Workshop to use biber. Therefore, update the following lines in the VSCode settings.json to contain:

    "latex-workshop.latex.recipes": [
        {
            "name": "pdflatex ➞ bibtex ➞ pdflatex × 2 🔃",
            "tools": [
                "pdflatex",
                "bibtex",
                "pdflatex",
                "pdflatex"
            ]
        },
    ],
    "latex-workshop.latex.tools": [
        ...
        {
            "name": "bibtex",
            "command": "biber", # make sure this is not bibtex!
            "args": [
                "%DOCFILE%"
            ],
            "env": {}
        },
        ...
    ],

The following settings are additionally recommended:

{
    "editor.wordWrap": "on",                              # enable soft line breaks
    "latex-workshop.view.pdf.viewer": "tab",              # display the generaded PDF in a separate tab
    "latex-workshop.view.pdf.backgroundColor": "#cccccc", # use a darker background in de PDF viewer to 
                                                            lift of the pages from it
    "latex-workshop.latex.autoBuild.run": "onSave",       # automatically build on saving .tex files
    "editor.renderWhitespace": "all",                     # display all whitespaces
}

Alternatively, just copy and paste the contents of the vscode.settings.json file to your VSCode settings file.

LTeX tips and tricks

LTeX is an offline grammar and spell checker with support for LaTeX and Markdown.

Add a magic comment to your files to tell LTeX which language to use:

% LTeX: language=de-DE

If you want to use different langauges in the text, use the \foreignlanguage{language}{text}} command. LTeX will detect these elements and automatically switch the spell checker's lanaguge. For example:

\foreignlanguage{english}{Therefore, our proposed approach is the best in the world.}

Using with your git repository

Initialization

This howto assumes that you have not a git repository for your thesis. If you have, just add https://github.com/latextemplates/uni-stuttgart-dissertation-template.git as upstream and merge the branch upstream/main into your main branch.

  1. Open command line
  2. git clone https://github.com/latextemplates/uni-stuttgart-dissertation-template.git
  3. cd uni-stuttgart-dissertation-template
  4. git remote rename origin github
  5. git checkout -b main

Now, you are on the main branch, where you can write your thesis and push it to your (remote) origin repository, in case you have one.

Merging updates from the template

If you want to merge updates from github, do the following:

  1. git fetch github
  2. git merge github/main

uni-stuttgart-dissertation-template's People

Contributors

binzts avatar daniel309 avatar duelle avatar gatlex avatar jojow avatar koppor avatar kuleszdl avatar lharzenetter avatar teeratpitakrat avatar vanto avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.