Extract \usepackage to config/ files

This commit is contained in:
2024-06-28 17:12:06 +02:00
parent 0f9ed24779
commit a0e9332d12
5 changed files with 123 additions and 114 deletions

25
config/bibliography.tex Normal file
View File

@@ -0,0 +1,25 @@
\usepackage[
backend=biber,
style=authoryear,
backref=true,% Show page numbers where citations appear
maxbibnames=99,% Show all authors in bibliography
maxcitenames=1,% Show only one author in citations
uniquelist=false% Force maxcitenames
]{biblatex}
\DefineBibliographyStrings{english}{andothers={}} % Remove "et al." in citations
% Use square brackets for citations
\AtEveryCite{
\let\bibopenparen=\bibopenbracket%
\let\bibcloseparen=\bibclosebracket%
}
% Remove some fields from bibliography
\AtEveryBibitem{
\clearfield{doi}%
\clearfield{day}%
\clearfield{location}%
\clearfield{month}%
\clearfield{series}%
}