Biblatex:如何使特定的 \citefield 变为粗体?

Biblatex:如何使特定的 \citefield 变为粗体?

我有一些参考如下。

    @article {RefNumber,
    AUTHOR = {LastName, FirstName},
     TITLE = {ArticleTitle},
   JOURNAL = {JournalName},
    VOLUME = {Vol},
    NUMBER = {No},
     PAGES = {FirstPage--LastPage},
      YEAR = {PubYear},
    }

当我通过调用卷号时\citefield{RefNumber}{volume},我希望体积将在大胆的我知道\DeclareFieldFormat[article]{volume}{\mkbibbold{#1}}只有改变体积在参考书目中。应如何修改此代码来解决我的问题?

答案1

您必须指定\citefield{RefNumber}[article]{volume}或使用\citefield{RefNumber}[bold]{volume}

\citefield不遵循特定于的格式指令,但是当未提供可选参数时,entrytype它会从格式中获取格式规范。citefield

相关内容