From 1b0d1d4b8f373d9c05996055fb85ea8a2bb949a7 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Thu, 3 Oct 2024 11:17:29 +0200 Subject: refactor(templates/latex): Split the preamble up into multiple files --- common/latex/preamble/core/references.tex | 37 +++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 common/latex/preamble/core/references.tex (limited to 'common/latex/preamble/core/references.tex') diff --git a/common/latex/preamble/core/references.tex b/common/latex/preamble/core/references.tex new file mode 100644 index 0000000..69a6ad6 --- /dev/null +++ b/common/latex/preamble/core/references.tex @@ -0,0 +1,37 @@ +\usepackage[%INIT_BABLE_LANGUAGE]{babel} % For language support +\usepackage{csquotes} % required by biblatex + +% \usepackage{biblatex-dw} +\usepackage[backend=biber, + % style=footnote-dw, + % pageref=true, + % annotation=true, + % library=true, + % + style=numeric, + autocite=plain, + doi=true, + isbn=true, + loccittracker=true, + opcittracker=true, + % No idea what it does, but it was recomended to me + defernumbers=true +]{biblatex} % For bibtex references +\addbibresource{ref/references.bib} +% \bibliography{res/reference} % Set the location of the references + +\usepackage[nospace,%INIT_BABLE_LANGUAGE]{varioref} % for \vref +\usepackage[%INIT_BABLE_LANGUAGE, noabbrev, nameinlink]{cleveref} +\usepackage[pdflang=%INIT_DATE_TIME_LANGUAGE]{hyperref} +\hypersetup{ + colorlinks, + linkcolor={black}, + citecolor={black}, + urlcolor={blue!80!black} +} + +\ifdraft{ + \usepackage{showlabels} +} { + \message {Draft packages not loaded, showlabels not loaded.} +} -- cgit 1.4.1