Add BibTeX

This commit is contained in:
Frederik Beimgraben 2024-11-21 17:24:31 +00:00
parent 6a7bb9e015
commit b018a571b1
7 changed files with 37 additions and 2 deletions

View File

@ -1,5 +1,6 @@
% !TEX root = ../Main.tex
\begin{InfoBox}
\textbf{Hinweis:} \lipsum[75]
\textbf{Hinweis:} \lipsum[75]\cite{wombat2016}
\begin{multicols}{2}
\begin{CustomBox}{\faIcon{user-graduate}}{britishracinggreen}
\textbf{Hinweis:} \lipsum[66]

3
Content/99_bib.tex Normal file
View File

@ -0,0 +1,3 @@
% !TEX root = ../Main.tex
\newpage
\printbibliography

View File

@ -22,6 +22,7 @@
% ===== Content =====
\input{Content/00_toc.tex}
\input{Content/01_content.tex}
\input{Content/99_bib.tex}
\pagebreak
% Print the glossary

View File

@ -165,7 +165,7 @@
% =============================================================================
\def\skylinePath{TeX/Assets/Images/Skyline.svg}
\newcommand{\footerYShift}{2em}
\newcommand{\footerYShift}{1.5em}
\newcommand{\footerXShift}{0.7em}
% Define the logo and its position
@ -178,6 +178,8 @@
\includesvg[height=\imageHeight]{\imagesPath/DUMMY_FOOT.svg}
}
};
\ifnum\thepage=1
\else
% For loop to place all logos
\foreach \i in {1,...,\value{logoCounter}} {
% Calculate name for i-1
@ -207,6 +209,7 @@
\makeatother
};
}
\fi
% Skyline
\node[anchor=south west, inner sep=0pt, yshift=0em] at (current page.south west) {
\includesvg[width=1.5\paperwidth]{\skylinePath}

View File

@ -7,6 +7,7 @@
% ==== Settings ====
\inputrelative{Settings/General}
\inputrelative{Settings/Logos}
\inputrelative{Settings/BibTeX}
% ==== Tools ====
\inputrelative{Modules/Listings}

4
TeX/Settings/BibTeX.tex Normal file
View File

@ -0,0 +1,4 @@
% !TEX root = ../../Main.tex
% Add main.bib to bibliography
\addbibresource{main.bib}

22
main.bib Normal file
View File

@ -0,0 +1,22 @@
@article{wombat2016,
author = {Walther Wombat and Klaus Koala},
title = {The true meaning of 42},
journal = {Journal of modern skepticism},
date = {2016},
keywords = {trusted},
}
@book{lion2010,
author = {Laura Lion and Gabrielle Giraffe and Carl Capybara},
title = {The dangers of asking the wrong question},
publisher = {publishing house},
date = {2010},
keywords = {trusted},
}
@online{wikibook,
title = {Generating Bibliographies with biblatex and biber},
organization = {Wikibooks},
date = {2016},
urldate = {2016-03-07},
url = {https://en.wikibooks.org/wiki/LaTeX/Generating_Bibliographies_with_biblatex_and_biber},
keywords = {untrusted},
}