Typo
This commit is contained in:
@@ -5,32 +5,32 @@
|
||||
maxbibnames=99,% Show all authors in bibliography
|
||||
maxalphanames=1,% Show only one author in citations keys
|
||||
maxcitenames=1,% Show only one authors in citations in text
|
||||
uniquelist=false,% Force to show only one author in citations
|
||||
uniquelist=false% Force to show only one author in citations
|
||||
]{biblatex}
|
||||
|
||||
% Define citation style to be [Author, Year]
|
||||
% From https://tex.stackexchange.com/a/176119
|
||||
\DeclareLabelalphaTemplate{
|
||||
\DeclareLabelalphaTemplate{%
|
||||
\labelelement{% Author
|
||||
\field[final]{shorthand}
|
||||
\field{labelname}
|
||||
\field{label}
|
||||
}
|
||||
\field[final]{shorthand}%
|
||||
\field{labelname}%
|
||||
\field{label}%
|
||||
}%
|
||||
\labelelement{% Comma
|
||||
\literal{,\addhighpenspace}
|
||||
}
|
||||
\literal{,\addhighpenspace}%
|
||||
}%
|
||||
\labelelement{% Year
|
||||
\field{year}
|
||||
}
|
||||
\field{year}%
|
||||
}%
|
||||
}
|
||||
|
||||
% Use prefix + family name for 'Author' in citation keys
|
||||
\DeclareLabelalphaNameTemplate{
|
||||
\namepart[use]{prefix}
|
||||
\namepart{family}
|
||||
\DeclareLabelalphaNameTemplate{%
|
||||
\namepart[use]{prefix}%
|
||||
\namepart{family}%
|
||||
}
|
||||
|
||||
\renewcommand*{\labelalphaothers}{\ et~al.} % Remove "et al." in citation keys
|
||||
\renewcommand*{\labelalphaothers}{\ et~al.}% Use "et al." in citation keys
|
||||
|
||||
% Define \textcite to be Author [Yeara] (magically defined by Copilot)
|
||||
\DeclareCiteCommand{\textcite}
|
||||
@@ -46,9 +46,9 @@
|
||||
|
||||
% Remove some fields from bibliography
|
||||
\AtEveryBibitem{
|
||||
\ifentrytype{book}{}{ % Keep ISBN only for books
|
||||
\ifentrytype{book}{}{% Keep ISBN only for books
|
||||
\clearfield{isbn}%
|
||||
}
|
||||
}%
|
||||
\clearfield{day}%
|
||||
\clearfield{doi}%
|
||||
\clearlist{editor}%
|
||||
@@ -59,3 +59,4 @@
|
||||
\clearlist{publisher}%
|
||||
\clearfield{url}%
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user