Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

用法:引用和最后Print的时候设置不同的格式 #215

Open
pfchu opened this issue Jan 14, 2025 · 3 comments
Open

用法:引用和最后Print的时候设置不同的格式 #215

pfchu opened this issue Jan 14, 2025 · 3 comments

Comments

@pfchu
Copy link

pfchu commented Jan 14, 2025

您好,我在导包的时候设置的是\usepackage[backend=biber,style=gb7714-2015ay,sorting=gb7714-2015, sortlocale=zh__pinyin ,maxcitenames=2,mincitenames=1]{biblatex}
最后print的时候想改成style=gb7714-2015,但是好像没办法实现,会报错

@hushidong
Copy link
Owner

引用标注和文献表采用不同的样式,可以设置citestyle和bibstyle不同。

也可以设置一个style,然后选择gbalign选项来给出不同形式的文献表。

比如:设置style=gb7714-2015ay,gbalign=right会得到一个作者年制的标注标签,会得到一个标签右对齐的带顺序标签的文献表。

@pfchu
Copy link
Author

pfchu commented Jan 15, 2025

太感谢您了,这个问题已经解决了。但是我还有另外一个小问题,现在作者年份引用的时候都是英文括号,比如张三(2020),怎么替换成中文括号呢?我试了下边的方法,但是都没起作用
\DeclareDelimFormat[textcite,citet,citep]{nameyeardelim}{\addthinspace}
\renewcommand*{\multicitedelim}{;}
\renewcommand*{\bibleftparen}{\hspace{-0.25em}(}
\renewcommand*{\bibrightparen}{)}

@hushidong
Copy link
Owner

使用gbcitelabel选项试试看。
比如:gbcitelabel=parensqj 或者 gbcitelabel=quanjiao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants