Bibliography

Added Bibliography, changed citation style.
This commit is contained in:
SergeantBiggs
2021-02-20 14:14:30 +01:00
parent 820a4fec88
commit 653c516aa2
2 changed files with 25 additions and 2 deletions
+19 -2
View File
@@ -2,16 +2,28 @@
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage{hyperref} \usepackage{hyperref}
\usepackage{fancyhdr} \usepackage{fancyhdr}
\usepackage{csquotes}
% add bibliography to TOC
\usepackage{tocbibind}
% German specific stuff % German specific stuff
\usepackage[ngerman]{babel} \usepackage[ngerman]{babel}
% Hypenation for german % Hyphenation for german
\usepackage{hyphenat} \usepackage{hyphenat}
\hyphenation{Mathe-matik wieder-gewinnen} \hyphenation{Mathe-matik wieder-gewinnen}
% To create dummy text % To create dummy text
\usepackage{lipsum} \usepackage{lipsum}
% Citation + Bibtex
\usepackage[
backend=biber,
style=numeric,
citestyle=numeric,
]{biblatex}
\addbibresource{bibliography.bib}
\hypersetup{ \hypersetup{
colorlinks=true, colorlinks=true,
} }
@@ -27,6 +39,7 @@
\author{Johannes Reinert} \author{Johannes Reinert}
\date{\today} \date{\today}
\begin{document} \begin{document}
\maketitle \maketitle
\newpage \newpage
@@ -38,7 +51,8 @@
\section{Einführung} \section{Einführung}
\lipsum{1} \lipsum{1}
\subsection{Punkt 1} \subsection{Punkt 1}
\lipsum{4}
Testing the citation \cite{test} tool.
\section{Mittelpunkt} \section{Mittelpunkt}
\lipsum{2} \lipsum{2}
@@ -46,4 +60,7 @@
\section{Schluss} \section{Schluss}
\lipsum{3} \lipsum{3}
\printbibliography
\end{document} \end{document}
+6
View File
@@ -0,0 +1,6 @@
@test {test,
title = "Testing Citation tool",
url = "https://example.com",
addendum = "(accessed: 2021-02-03)",
keywords = "test",
}