Closed jinyu121 closed 5 years ago
你是使用biblatex的吧?是的话能否把 你的需求能否用例子更具体说明一下?
中科院大学资环类的论文的要求,biblatex-gb7714-2015可以通过gblocal选项和本地化字符串设置实现。
你的要求是无论中英文作者都用等?
那么参考如下示例:
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,能否对本地化字符串做强制语言的设置
% 或者不同语言的设置
% 测试标注和文献表中的不同设置
% 测试gblocal及相关选项
\documentclass{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{toolbox}
\usepackage[colorlinks]{hyperref}
\usepackage{lipsum}
\usepackage[paperwidth=15cm,paperheight=11.5cm,top=10pt,bottom=10pt,left=0.5cm,right=0.5cm]{geometry}
\usepackage{xltxtra,mflogo,texnames}
\usepackage[backend=biber,style=gb7714-2015ay,gblocal=chinese,gbnamefmt=lowercase]{biblatex}
%默认的中英文区分的设置gblocal=gb7714-2015
%全部用中文的字符串,则为gblocal=chinese
%全部用英文的字符串,则为gblocal=english
%\DefineBibliographyStrings{english}{
% andincite = {and},
% andincitecn = {和},
% andothersincitecn = {等},
% %andothersincite = {等{\adddot}},%adddot才能避开标点追踪
% %andothersincite = {等.},%
% andothersincite = {et al{\adddot}},%adddot才能避开标点追踪
%}
\renewcommand{\bibfont}{\small}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{易仕和2013--,
Title = {超声速和高超声速喷管设计},
Address = {北京},
Author = {易仕和 and 赵玉新 and 何霖 and 张敏莉},
Publisher = {国防工业出版社},
Year = {2013}
}
@Book{Yi2013--,
Title = {Supersonic and hypersonic nozzle design},
Address = {Beijing},
Author = {Yi, Shi He and Zhao, Yu Xin and He, Lin and Zhang, Min Li},
Publisher = {National Defense Industry Press},
Year = {2013}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\section{测试gb7714-2015样式利用gblocal选择本地化字符串设置方式}
\small
\citeauthor{易仕和2013--}
\citeauthor{Yi2013--}
\printbibliography[heading=subbibliography]
\end{document}
结果为:
如果是顺序编码制,则参考如下例子:
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,能否对本地化字符串做强制语言的设置
% 或者不同语言的设置
% 测试标注和文献表中的不同设置
% 测试gblocal及相关选项
\documentclass{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{toolbox}
\usepackage[colorlinks]{hyperref}
\usepackage{lipsum}
\usepackage[paperwidth=15cm,paperheight=11.5cm,top=10pt,bottom=10pt,left=0.5cm,right=0.5cm]{geometry}
\usepackage{xltxtra,mflogo,texnames}
\usepackage[backend=biber,style=gb7714-2015,gblocal=chinese,gbnamefmt=lowercase]{biblatex}
%默认的中英文区分的设置gblocal=gb7714-2015
%全部用中文的字符串,则为gblocal=chinese
%全部用英文的字符串,则为gblocal=english
%\DefineBibliographyStrings{english}{
% andincite = {and},
% andincitecn = {和},
% andothersincitecn = {等},
% %andothersincite = {等{\adddot}},%adddot才能避开标点追踪
% %andothersincite = {等.},%
% andothersincite = {et al{\adddot}},%adddot才能避开标点追踪
%}
\renewcommand{\bibfont}{\small}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Book{易仕和2013--,
Title = {超声速和高超声速喷管设计},
Address = {北京},
Author = {易仕和 and 赵玉新 and 何霖 and 张敏莉},
Publisher = {国防工业出版社},
Year = {2013}
}
@Book{Yi2013--,
Title = {Supersonic and hypersonic nozzle design},
Address = {Beijing},
Author = {Yi, Shi He and Zhao, Yu Xin and He, Lin and Zhang, Min Li},
Publisher = {National Defense Industry Press},
Year = {2013}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\section{测试gb7714-2015样式利用gblocal选择本地化字符串设置方式}
\small
\citeauthor{易仕和2013--}
\citeauthor{Yi2013--}
\printbibliography[heading=subbibliography]
\end{document}
结果为:
\citeauthor
事实上不算是 citation,所以都是允许的。@hushidong 文献列表里的 et al 是有严格规定的,最好不要改成“等”,只修改 \citeauthor
的就可以
@jinyu121 你用的是 BibTeX 还是 biblatex?
嗯,看到了。用户可以更加自由的处理了。
@hushidong 文献列表里的 et al 是有严格规定的,最好不要改成“等”,只修改
\citeauthor
的就可以
可以,把示例中的gblocal改为gbcitelocal即可。
更正: citet,不是citeauthor
引擎: bibtex(对不起我分不清 包 和 工具),编译用的bibtex
关于citet那么用的bibtex
请教@zepinglee 吧
@jinyu121 author-year 式的 \citet
引用?
国标有做规定
@zepinglee 类似……我更新了一下最上面的说明。 就是10.2.2里面的情形。
我看到师兄们的文章里面,英文作者也是用的第一个作者+“等人”,但我这里出现的是第一个作者+et al。
首先要确定一下是不是通用需求……如果不是,或者跟国标相违背的话,就close掉吧~
谢谢~~
@jinyu121 据我了解,你们学校是要求严格按照 GB/T 7714-2015 执行的,看来你师兄并没有严格遵循国标
谢谢各位!
希望使用
\citet{bib_index}
的时候,出现的是$XXX 等人^{[x]}$。 目前出现的是XXX et al. ^{[x]}
可以参考一下这里 https://github.com/xueruini/thuthesis/blob/master/thuthesis-numeric.bst#L106
其他参考: https://github.com/xueruini/thuthesis/issues/303
最小例子:
2016年,\citet{alphago}提出的AlphaGo 轻松打败人类。
想显示的效果(额,没想好怎么打,脑补一下?):
2018年,Google 等人^{[233]} 提出的AlphaGo轻松打败人类。