From df81e6e7f6efedab3a92fe68b013546a0ac43d39 Mon Sep 17 00:00:00 2001 From: Erwan Normand Date: Wed, 11 Sep 2024 13:48:16 +0200 Subject: [PATCH] Fix prefix of name in citation keys --- config/bibliography.tex | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/bibliography.tex b/config/bibliography.tex index 7b9d064..88fa96b 100644 --- a/config/bibliography.tex +++ b/config/bibliography.tex @@ -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)