当我在 biblatex 中使用 \citet 命令时,我想更改“et al.”格式。
这是我的示例代码。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
%\usepackage[utf8]{inputenc}
%\usepackage[english]{babel}
%\usepackage[style=british]{csquotes}
%%%%%%%%%%%%%%%%%%%%%%% ref package %%%%%%%%%%%%%%
\usepackage[
backend=biber,
bibencoding=utf8,
style=nature,
isbn=false,
doi=false,
url=false,
sorting=none,
clearlang=true,
natbib=true,
date=year,
uniquelist=false,
maxbibnames=9,
maxcitenames=1
]{biblatex}
\addbibresource{CH1_3_m.bib}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
cite auther with number \citet{Antia2005}
\printbibliography[title=REFERENCES]
\end{document}
我想将“et al”格式更改为普通文本样式。我该如何修改我的代码?谢谢。
答案1
这是硬编码name:andothers
到nature.bbx
(第 216-231 行,于 2018/10/18 发布的 v1.3c 中)。你可以直接删除\mkbibemph
周围不需要的部分\bibstring{andothers}
。
\documentclass[british]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage[
backend=biber,
style=nature,
isbn=false,
doi=false,
url=false,
sorting=none,
clearlang=true,
natbib=true,
date=year,
uniquelist=false,
maxbibnames=9,
maxcitenames=1
]{biblatex}
\renewbibmacro*{name:andothers}{%
\ifboolexpr
{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
}
{
\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}
{}%
\andothersdelim
\bibstring{andothers}%
}
{}%
}
\addbibresource{biblatex-examples.bib}
\begin{document}
cite auther with number \textcite{aksin}
\printbibliography[title=REFERENCES]
\end{document}