diff --git a/bibliography.tex b/bibliography.tex index 818f17e..9994303 100644 --- a/bibliography.tex +++ b/bibliography.tex @@ -5,7 +5,15 @@ \begin{thebibliography}{defaultmarken} % % - \bibitem{bib:thielen-froh-getestet} \textbf{Prof. Dr-Ing. Herbert Thielen 2021, indirektes Zitat}: \emph{Lehrveranstaltung 2021, Hochschule Worms - Softwarequalität} + \bibitem[Swe21]{bib:sicherheit-fuer-tcpip} { + \bibformat + {Wenzel, S., Wenzel, S.} % Author(s) + {IT-Sicherheit für TCP/IP- und IoT-Netzwerke} % Publication title + {Worms} % Publication city + {Springer Verlag} % Publisher + {2021} % Publication date + {} + } % % \end{thebibliography} diff --git a/kapitel/foobar.tex b/kapitel/foobar.tex index e958448..cf7068a 100644 --- a/kapitel/foobar.tex +++ b/kapitel/foobar.tex @@ -3,4 +3,4 @@ % \chapter{Foobar} -Ene mene miste, es schwurbelt in der Kiste. \ No newline at end of file +Wer testet, der questet\cite{bib:sicherheit-fuer-tcpip}. \ No newline at end of file diff --git a/macros.tex b/macros.tex index 73c0872..b3b1983 100644 --- a/macros.tex +++ b/macros.tex @@ -10,3 +10,13 @@ % Will do a full reference, with both a number AND a caption. Like '1.2.3 Coding the code' \newcommand{\fullref}[1]{\ref{#1} \nameref{#1}} + +% Bibliography formatting +% #1 -> authors +% #2 -> title +% #3 -> publishing city +% #4 -> publisher +% #5 -> year of release +\newcommand{\bibformat}[5] { + #1: \textit{#2}. #3: #4, #5 +} diff --git a/main.pdf b/main.pdf index ba18dca..66ca894 100644 Binary files a/main.pdf and b/main.pdf differ