From 653c516aa271bb0741ea9a2dbfef0144b9e8d2f4 Mon Sep 17 00:00:00 2001 From: SergeantBiggs Date: Sat, 20 Feb 2021 14:14:30 +0100 Subject: [PATCH] Bibliography Added Bibliography, changed citation style. --- IHK/Abschlussdokumentation.tex | 21 +++++++++++++++++++-- IHK/bibliography.bib | 6 ++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 IHK/bibliography.bib diff --git a/IHK/Abschlussdokumentation.tex b/IHK/Abschlussdokumentation.tex index 267fce7..a4b57e9 100644 --- a/IHK/Abschlussdokumentation.tex +++ b/IHK/Abschlussdokumentation.tex @@ -2,16 +2,28 @@ \usepackage[utf8]{inputenc} \usepackage{hyperref} \usepackage{fancyhdr} +\usepackage{csquotes} +% add bibliography to TOC +\usepackage{tocbibind} % German specific stuff \usepackage[ngerman]{babel} -% Hypenation for german +% Hyphenation for german \usepackage{hyphenat} \hyphenation{Mathe-matik wieder-gewinnen} % To create dummy text \usepackage{lipsum} +% Citation + Bibtex +\usepackage[ + backend=biber, + style=numeric, + citestyle=numeric, +]{biblatex} + +\addbibresource{bibliography.bib} + \hypersetup{ colorlinks=true, } @@ -27,6 +39,7 @@ \author{Johannes Reinert} \date{\today} + \begin{document} \maketitle \newpage @@ -38,7 +51,8 @@ \section{Einführung} \lipsum{1} \subsection{Punkt 1} -\lipsum{4} + +Testing the citation \cite{test} tool. \section{Mittelpunkt} \lipsum{2} @@ -46,4 +60,7 @@ \section{Schluss} \lipsum{3} + +\printbibliography + \end{document} \ No newline at end of file diff --git a/IHK/bibliography.bib b/IHK/bibliography.bib new file mode 100644 index 0000000..b389c3c --- /dev/null +++ b/IHK/bibliography.bib @@ -0,0 +1,6 @@ +@test {test, + title = "Testing Citation tool", + url = "https://example.com", + addendum = "(accessed: 2021-02-03)", + keywords = "test", +} \ No newline at end of file