diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-03-31 23:10:25 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-04-01 00:00:00 +0200 |
commit | ff14f9474303784518589fd0ea1ad4b44dbc7161 (patch) | |
tree | f57e0192e5d0b8461aa306fd52a9d102fb927508 /templates/latex/headers | |
parent | feat(rust): Update to my SOTA (diff) | |
download | flake-templates-ff14f9474303784518589fd0ea1ad4b44dbc7161.tar.gz flake-templates-ff14f9474303784518589fd0ea1ad4b44dbc7161.zip |
feat(latex): Update to my current SOTA
Diffstat (limited to '')
-rw-r--r-- | templates/latex/headers/preamble.tex (renamed from latex/headers/preamble.tex) | 62 | ||||
-rw-r--r-- | templates/latex/headers/preamble_local.tex (renamed from latex/headers/preamble_local.tex) | 0 |
2 files changed, 39 insertions, 23 deletions
diff --git a/latex/headers/preamble.tex b/templates/latex/headers/preamble.tex index 9620808..bc8aa8a 100644 --- a/latex/headers/preamble.tex +++ b/templates/latex/headers/preamble.tex @@ -9,14 +9,29 @@ % \usepackage{textcomp} % support for yen and so on, not needed since latex2e(2020) % references -\usepackage[ngerman]{babel} % For German language support, with reformed orthography! +\usepackage[british]{babel} % For English language support, with reformed orthography! +% \usepackage[brithish]{babel} % For English language support, with reformed orthography! \usepackage{csquotes} % required by biblatex % \usepackage{biber} % required by biblatex + +% \usepackage{biblatex-dw} \usepackage[backend=biber, - style=numeric, - autocite=superscript + style=footnote-dw, + % + pageref=true, + annotation=true, + library=true, + % + % style=numeric, + autocite=superscript, + % FIXME: Keep this here? <2024-03-20> + doi=true, + isbn=true, + loccittracker=true, + opcittracker=true ]{biblatex} % For bibtex references -\addbibresource{resources/reference} +\addbibresource{resources/reference.bib} +% \renewcommand{\autocite}[1]{\footcite{#1}\supercite{#1}} % \bibliography{res/reference} % Set the location of the references % dates, time @@ -63,23 +78,24 @@ \usepackage{emptypage} % no page numbers and headings on empty pages % \usepackage[a4paper, left=2cm, right=2cm, top=2cm, bottom=2cm]{geometry} % For nice margins % \usepackage{xspace} % Adds a space when it thinks it is necessary -% \usepackage{blindtext} % blindtext +\usepackage{blindtext} % blindtext % tikz style config \tikzset{help_lines/.style={step=.5cm,gray!50,very thin}} % notes -\usepackage{todonotes} +% \usepackage{todonotes} % links % \usepackage[hidelinks]{hyperref} % Links in the pdf +\usepackage[nospace]{varioref} \usepackage[pdflang=de-DE]{hyperref} -\hypersetup{ - colorlinks, - linkcolor={black}, - citecolor={black}, - urlcolor={blue!80!black} - } +% \hypersetup{ +% colorlinks, +% linkcolor={black}, +% citecolor={black}, +% urlcolor={blue!80!black} +% } % \usepackage{stmaryrd} % for \lightning @@ -215,15 +231,15 @@ \DTMnewdatestyle{margindate}{ \renewcommand*\DTMdisplaydate[4]{ - \MakeLowercase{\DTMgermanshortweekdayname{##4}}\space + \MakeLowercase{\DTMshortweekdayname{##4}}\space \number##3\relax\space - \MakeLowercase{\DTMgermanshortmonthname{##2}}\space + \MakeLowercase{\DTMshortmonthname{##2}}\space \DTMtwodigits{\DTMtwodigits{##1}} } \renewcommand*\DTMDisplaydate[4]{ - \DTMgermanshortweekdayname{##4}\space + \DTMshortweekdayname{##4}\space ##3\space - \DTMgermanshortmonthname{##2}\space + \DTMshortmonthname{##2}\space \DTMtwodigits{\DTMtwodigits{##1}} } } @@ -247,13 +263,13 @@ \margindate{#2} } -\pagestyle{fancy} -\fancyhf{} -\fancyhead[LE, RO]{} -\fancyhead[RO, LE]{\@lesson} -\fancyhead[RE, LO]{} -\fancyfoot[LE, RO]{\thepage} -\fancyfoot[C]{\leftmark} +% \pagestyle{fancy} +% \fancyhf{} +% \fancyhead[LE, RO]{} +% \fancyhead[RO, LE]{\@lesson} +% \fancyhead[RE, LO]{} +% \fancyfoot[LE, RO]{\thepage} +% \fancyfoot[C]{\leftmark} % Parameters diff --git a/latex/headers/preamble_local.tex b/templates/latex/headers/preamble_local.tex index e69de29..e69de29 100644 --- a/latex/headers/preamble_local.tex +++ b/templates/latex/headers/preamble_local.tex |