Initiele template toegevoegd
This commit is contained in:
19
README.md
19
README.md
@ -1,2 +1,19 @@
|
|||||||
# template
|
# Latex template voor studie Zuyd
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
* `texlive` Voor het algemene pakket (pdflatex)
|
||||||
|
* `texlive-lang-european` Voor de nederlandse taal (voor babel)
|
||||||
|
* `texlive-bibtex-extra` Voor biblatex
|
||||||
|
* `biber` Ook voor biblatex
|
||||||
|
* *Optioneel*`latexmk` voor eenvoudigere compilatie
|
||||||
|
|
||||||
|
## Compilen project
|
||||||
|
|
||||||
|
1. `pdflatex main.tex`
|
||||||
|
2. *Optioneel voor bibliografie* `biber main`
|
||||||
|
3. *Optioneel voor bibliografie* `pdflatex main`
|
||||||
|
|
||||||
|
Of met `latexmk`:
|
||||||
|
|
||||||
|
1. `latexmk -pdf main.tex`
|
||||||
|
2. *Cleanup* `latexmk -c`
|
||||||
38
bibliography.bib
Normal file
38
bibliography.bib
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
@article{einstein,
|
||||||
|
author = "Albert Einstein",
|
||||||
|
title = "{Zur Elektrodynamik bewegter K{\"o}rper}. ({German})
|
||||||
|
[{On} the electrodynamics of moving bodies]",
|
||||||
|
journal = "Annalen der Physik",
|
||||||
|
volume = "322",
|
||||||
|
number = "10",
|
||||||
|
pages = "891--921",
|
||||||
|
year = "1905",
|
||||||
|
DOI = "http://dx.doi.org/10.1002/andp.19053221004",
|
||||||
|
keywords = "physics"
|
||||||
|
}
|
||||||
|
|
||||||
|
@book{dirac,
|
||||||
|
title={The Principles of Quantum Mechanics},
|
||||||
|
author={Paul Adrien Maurice Dirac},
|
||||||
|
isbn={9780198520115},
|
||||||
|
series={International series of monographs on physics},
|
||||||
|
year={1981},
|
||||||
|
publisher={Clarendon Press},
|
||||||
|
keywords = {physics}
|
||||||
|
}
|
||||||
|
|
||||||
|
@online{knuthwebsite,
|
||||||
|
author = "Donald Knuth",
|
||||||
|
title = "Knuth: Computers and Typesetting",
|
||||||
|
url = "http://www-cs-faculty.stanford.edu/~uno/abcde.html",
|
||||||
|
keywords = "latex,knuth"
|
||||||
|
}
|
||||||
|
|
||||||
|
@inbook{knuth-fa,
|
||||||
|
author = "Donald E. Knuth",
|
||||||
|
title = "Fundamental Algorithms",
|
||||||
|
publisher = "Addison-Wesley",
|
||||||
|
year = "1973",
|
||||||
|
chapter = "1.2",
|
||||||
|
keywords = "knuth,programming"
|
||||||
|
}
|
||||||
4
chapters/1 - voorbeeld.tex
Normal file
4
chapters/1 - voorbeeld.tex
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
\chapter{Een test}
|
||||||
|
Test \cite{dirac}
|
||||||
|
|
||||||
|
\lipsum{10}
|
||||||
27
coverpage.tex
Normal file
27
coverpage.tex
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
\begin{titlepage}
|
||||||
|
|
||||||
|
\hspace{0pt}
|
||||||
|
\vfill
|
||||||
|
|
||||||
|
\center
|
||||||
|
\sffamily
|
||||||
|
\fontsize{40pt}{42pt}\selectfont\project\\
|
||||||
|
\vspace{10pt}
|
||||||
|
\huge\titel
|
||||||
|
|
||||||
|
\vfill
|
||||||
|
\hspace{0pt}
|
||||||
|
|
||||||
|
\rmfamily
|
||||||
|
\begin{table}[b]
|
||||||
|
\begin{tabular}{l l}
|
||||||
|
\makecell[tl]{Titel} & \makecell[tl]{\titel}\\
|
||||||
|
\makecell[tl]{Versie} & \makecell[tl]{\versie}\\
|
||||||
|
\makecell[tl]{Project} & \makecell[tl]{\project}\\
|
||||||
|
\makecell[tl]{Auteur(s)} & \makecell[tl]{\auteur}\\
|
||||||
|
\makecell[tl]{Datum} & \makecell[tl]{\datum}\\
|
||||||
|
\makecell[tl]{Opdrachtgever} & \makecell[tl]{\opdrachtgever}
|
||||||
|
\end{tabular}
|
||||||
|
\end{table}
|
||||||
|
|
||||||
|
\end{titlepage}
|
||||||
64
main.tex
Normal file
64
main.tex
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
\documentclass[a4paper, 11pt]{report}
|
||||||
|
|
||||||
|
\usepackage[a4paper,total={170mm,257mm},left=2cm,top=2cm]{geometry}
|
||||||
|
|
||||||
|
\usepackage[dutch]{babel}
|
||||||
|
\usepackage{csquotes}
|
||||||
|
|
||||||
|
\usepackage{booktabs}
|
||||||
|
|
||||||
|
\usepackage[hybrid]{markdown}
|
||||||
|
|
||||||
|
\usepackage{biblatex}
|
||||||
|
\addbibresource{bibliography.bib}
|
||||||
|
|
||||||
|
\usepackage{FiraMono}
|
||||||
|
\usepackage{FiraSans}
|
||||||
|
\usepackage{DejaVuSerifCondensed}
|
||||||
|
\usepackage[T1]{fontenc}
|
||||||
|
|
||||||
|
\usepackage{titlesec}
|
||||||
|
|
||||||
|
\usepackage{makecell}
|
||||||
|
|
||||||
|
\usepackage{lipsum}
|
||||||
|
|
||||||
|
%% For code snippets
|
||||||
|
\usepackage{listings}
|
||||||
|
\lstset{basicstyle=\ttfamily\footnotesize,breaklines=true}
|
||||||
|
|
||||||
|
\setlength{\parindent}{0pt}
|
||||||
|
\setlength{\parskip}{1em}
|
||||||
|
|
||||||
|
%% Verander dit {
|
||||||
|
\newcommand{\titel}{Titel hier}
|
||||||
|
\newcommand{\project}{Projectnaam hier}
|
||||||
|
\newcommand{\auteur}{
|
||||||
|
Martijn Remmen
|
||||||
|
}
|
||||||
|
\newcommand{\datum}{\today}
|
||||||
|
\newcommand{\opdrachtgever}{KEMBIT Services}
|
||||||
|
\newcommand{\versie}{v0.0}
|
||||||
|
%% }
|
||||||
|
|
||||||
|
|
||||||
|
\titleformat{\chapter}[hang]
|
||||||
|
{\Huge\bfseries}{\thechapter}{20pt}{}{\Huge\bfseries}
|
||||||
|
|
||||||
|
|
||||||
|
\author{\auteur}
|
||||||
|
\date{\datum}
|
||||||
|
\title{\titel}
|
||||||
|
|
||||||
|
\begin{document}
|
||||||
|
|
||||||
|
\input{coverpage}
|
||||||
|
\tableofcontents
|
||||||
|
\pagebreak
|
||||||
|
|
||||||
|
\input{chapters/1 - voorbeeld.tex}
|
||||||
|
|
||||||
|
|
||||||
|
\printbibliography
|
||||||
|
|
||||||
|
\end{document}
|
||||||
Reference in New Issue
Block a user