Fix prefix of name in citation keys

This commit is contained in:
2024-09-11 13:48:16 +02:00
parent 32f6d91b96
commit df81e6e7f6

View File

@@ -7,7 +7,6 @@
maxcitenames=1,% Show only one authors in citations in text
]{biblatex}
% Define citation style to be [Author, Year]
% From https://tex.stackexchange.com/a/176119
\DeclareLabelalphaTemplate{
@@ -23,6 +22,10 @@
\field{year}
}
}
\DeclareLabelalphaNameTemplate{% Use prefix + family name for 'Author' in citation keys
\namepart[use]{prefix}
\namepart{family}
}
\renewcommand*{\labelalphaothers}{} % Remove "et al." in citation keys
% Define \textcite to be Author [Year] (magically defined by Copilot)