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

\textcite{} 在正文中的格式 #27

Closed
Ghiclgi opened this issue Mar 1, 2018 · 4 comments
Closed

\textcite{} 在正文中的格式 #27

Ghiclgi opened this issue Mar 1, 2018 · 4 comments

Comments

@Ghiclgi
Copy link

Ghiclgi commented Mar 1, 2018

希望可以在正文中直接使用biblatex 的\textcite{}命令,得到国标2015中10.2.2的格式。
国标的对多著者在正文中的标注要求是指标第一人的姓:

Chen et al.(1981)
陈某 等(1981)

现在直接用\textcite{}得到的只是

Chen, et al. (1981)
陈某, 等 (1981)

不知道能否去掉逗号?然后限制只标一个人?

@Ghiclgi
Copy link
Author

Ghiclgi commented Mar 1, 2018

好吧,我刚刚在手册的2.2.2 节看到了这一部分的说明。不过还是想问一下能否实现?
对了,yearpagescite 能否只是引用年份呢?手册中没有看到只有年份的例子

@Ghiclgi
Copy link
Author

Ghiclgi commented Mar 1, 2018

不是啊,这个是基于biblatex 的,所以本来就有\textcite{} 命令可以调用

@zepinglee
Copy link
Contributor

我看错了

@hushidong
Copy link
Owner

hushidong commented Mar 1, 2018

正常作者年制引用是有逗号的,见10.2.4节。而没有逗号的,10.2.2中情况是因为姓名是自己写的,因此你的问题是有没有命令可以就写年份。你有两种方法可以解决:

  1. cite*citeyear,比如陈某 等(\cite*{bibtex key}) 陈某 等(\citeyear{bibtex key})

  2. 修改\yearpagescite命令去掉其中的页码,比如:
    \DeclareCiteCommand{\yearcite}
    {\printtext{(}\usebibmacro{prenote}}
    {\printfield{year}\printfield{extrayear}}
    {\multicitedelim}
    {\printtext{)}}

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

3 participants