Fix prefix of name in citation keys
This commit is contained in:
@@ -7,7 +7,6 @@
|
|||||||
maxcitenames=1,% Show only one authors in citations in text
|
maxcitenames=1,% Show only one authors in citations in text
|
||||||
]{biblatex}
|
]{biblatex}
|
||||||
|
|
||||||
|
|
||||||
% Define citation style to be [Author, Year]
|
% Define citation style to be [Author, Year]
|
||||||
% From https://tex.stackexchange.com/a/176119
|
% From https://tex.stackexchange.com/a/176119
|
||||||
\DeclareLabelalphaTemplate{
|
\DeclareLabelalphaTemplate{
|
||||||
@@ -23,6 +22,10 @@
|
|||||||
\field{year}
|
\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
|
\renewcommand*{\labelalphaothers}{} % Remove "et al." in citation keys
|
||||||
|
|
||||||
% Define \textcite to be Author [Year] (magically defined by Copilot)
|
% Define \textcite to be Author [Year] (magically defined by Copilot)
|
||||||
|
|||||||
Reference in New Issue
Block a user