# severinlandolt/hsg-latex-template

A LaTeX template for humans at HSG.
TeX
Latest commit 183ac55 May 17, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Dec 21, 2018
images Jan 9, 2019
little-prince-template May 17, 2019
.gitignore Nov 12, 2018

# A HSG LaTeX Template

A LaTeX template for humans at HSG.

## Getting Started

These instructions will get you a copy of the project up and running on your local machine to start writing your thesis.

### Prerequisites

The first part of a working LaTeX environment is a TeX distribution. This depends on your operating system. And yes, the file is big.

windows: https://miktex.org

### Installing an editor

There are many capable text editors where you can code LaTeX.

macOS
TextMate: https://macromates.com

windows
TeXniCe: http://www.texniccenter.org

With the right plugins, you can also use Atom. (this is the editor we mostly use)

For example, I use a combination of two packages:

### Get template

git clone <url_of_repository>


In Atom, you first have to set a "root" file. A LaTeX root file is essential for Atom-LaTeX. Building, preview, autocompletion, and more features rely on its proper configuration. You can manually select the root file by clicking the home icon at the bottom of the editor. Select the your_thesis.tex file. This is the correct root file with the sequence \begin{document} in it.

If you have any problems with "rendering" your PDF, just delete the .aux file.

## Citation

We are using the natbib package to cite in the prose text and also to generate the bibliography. Here we will explain the workflow of citing. The template is set up to APA-Style referencing.

Copy/Paste the source you want to cite in a BibTeX formatting (see screenshot below) into your references.bib file. Bear in mind that LaTeX by default only puts those sources into the final references section which are actually cited in the document.

Ways to cite
There are plenty ways to cite. The following information is mostly derived from natbib's documentation. Basically there are two basic citation commands, \citet and \citep for textual and parenthetical citations. There exist also starred versions \citet* and \citep* that print the full author list, and not just the abbreviated one.

## Miscellaneous

If you want to use an other paragraph styling, you can do this within the settings.tex file. You can tune both the indentation (\parindent, default 0px) and the space between the paragraphs (\parskip, default 1em)

To create entries for a glossary or a list of abbreviations use the \newglossaryentry{label}{name={key}, description={value}} command in the little-/01_head/abbreviations.tex file. In text use: \gls{label}.