我想简单地将大写姓氏(在引文和参考文献中)改掉。到目前为止,都mkbibnamefamily
行不通DeclareFieldFormat
。cbx
文件这些改变似乎都没有任何效果。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[style=abnt,
maxcitenames=2,isbn=false,doi=false]{biblatex}
\usepackage[brazil]{babel}
\addbibresource{nome.bib}
\renewcommand\mkbibnamefamily[1]{\MakeLowercase{#1}}% doesn't work
\begin{filecontents}{nome.bib}
@book{fulano,
author = {Fulano de Tal},
title = {Observação de pássaros como prática mística},
publisher = {Editora Capivara},
date = {2022},
edition = {3},
location = {Jaboticabal}
}
\end{filecontents}
\begin{document}
\cite{fulano}
\printbibliography
\end{document}
答案1
biblatex-abnt
使用非常迂回的方式来重新定义名称格式。姓氏最终\UpperOrSC
在参考书目和\UpperOrSCCite
引文中排版,因此最快的方法是重新定义这些宏。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[brazil]{babel}
\usepackage{csquotes}
\usepackage[style=abnt,
maxcitenames=2,isbn=false,doi=false]{biblatex}
\renewcommand*{\UpperOrSC}[1]{#1}
\renewcommand*{\UpperOrSCCite}[1]{#1}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson}
\printbibliography
\end{document}
答案2
该biblatex-abnt
软件包还具有正常的大写宏,可以替换大写变体,同时保留小型大写的功能:
\let\UpperOrSC\NormalOrSC
\let\UpperOrSCCite\NormalOrSCCite