Skip to content

如何改引用文献的人名样式? #66

Answered by sikouhjw
iTomxy asked this question in Q&A
Discussion options

You must be logged in to vote

模板中参考文献的作者名是全部大写(形如 ZHANG S),大老板要求改成「首字母大写、其它小写」的样式(形如 Zhang San),请问要如何设置?

首先全大写是国标的要求,当然,texdoc gbt7714texdoc biblatex-gb7714-2015 都提供了相应的接口。

我在 texlive 的安装路径中找到一个跟 gb7714-2015 相关的说明文件:E:/texlive/2021/texmf-dist/doc/latex/biblatex-gb7714-2015/biblatex-gb7714-2015.pdf,里面讲到可以设置 biblatex 宏包的 gbnamefmt 参数,将其设为 gbnamefmt = quanpin 时就是对应上述那种样式。于是我尝试:

* 在 `\__gdut_biblatex_pre_setup`[1] 中,把 `gbnamefmt = quanpin` 加进末尾句 `\__gdut_pass_options_to_biblatex:n` 中;

* 在 `\__gdut_biblatex_pre_setup`[1] 末尾另加一句 `\PassOptionsToPackage { gbnamefmt = quanpin } { biblatex }`;

* 在 `\__gdut_bibtex_setup`[2] 中,在那句 `\cs_set:Npn \bibsection { \chapter{参考文献}{References} }` 后面加一句 `\__gdut_pass_options_to_bibl…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@sikouhjw
Comment options

@sikouhjw
Comment options

@iTomxy
Comment options

@iTomxy
Comment options

@sikouhjw
Comment options

Answer selected by sikouhjw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants