我如何才能创建作者姓名大写在 BibLaTeX authortitle
citestyle 中?该声明\DeclareNameFormat{author}{\MakeUppercase{#1}}
会更改引用的参考文献,但不会更改脚注中的引用。
\documentclass{article}
\usepackage[backend=biber, citestyle=authortitle]{biblatex}
\usepackage{filecontents}
\DeclareNameFormat{author}{\MakeUppercase{#1}}
\begin{filecontents}{sample.bib}
@article{myArticle,
author={Author},
title={Title},
journal={Journal},
year={2000},
volume={1}}
\end{filecontents}
\addbibresource{sample.bib}
\begin{document}
First sentence \autocite [3] {myArticle}.
\printbibliography
\end{document}
答案1
使用labelname
而不是author
:
\DeclareNameFormat{labelname}{\MakeUppercase{#1}}