diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-03 11:17:29 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-03 11:17:29 +0200 |
commit | 1b0d1d4b8f373d9c05996055fb85ea8a2bb949a7 (patch) | |
tree | 93781d3a88a498ec27ea1e3f550e899476f11496 /common/latex/preamble/core/references.tex | |
parent | fix(templates/latex/{academia,letter}): Share files and update to lpm v2.0 (diff) | |
download | flake-templates-1b0d1d4b8f373d9c05996055fb85ea8a2bb949a7.tar.gz flake-templates-1b0d1d4b8f373d9c05996055fb85ea8a2bb949a7.zip |
refactor(templates/latex): Split the preamble up into multiple files
Diffstat (limited to 'common/latex/preamble/core/references.tex')
-rw-r--r-- | common/latex/preamble/core/references.tex | 37 |
1 files changed, 37 insertions, 0 deletions
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.} +} |