Comments (2)
-
没有复现你的现象,你可以更新一下biblatex-gb7714-2015试试。
-
我看你的需求是只要作者姓名非衬线,然后etal等不用。那么不能用sffamily,要用textsf,比如:
\renewcommand*{\mkbibnamefamily}[1]{\textsf{##1}}%
\renewcommand*{\mkbibnamegiven}[1]{\textsf{##1}}%
- 如果
\AtBeginBibliography
带来问题,那么可以在\bibauthorfont
中修改
比如:
\renewcommand{\bibauthorfont}{\color{gray}%
\renewcommand*{\mkbibnamefamily}[1]{\textsf{##1}}%
\renewcommand*{\mkbibnamegiven}[1]{\textsf{##1}}%
}
- 示例:
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage[top=10pt,bottom=10pt,left=1cm,right=1cm]{geometry}
\usepackage[backend=biber,style=gb7714-2015,gbnamefmt=lowercase,gbalign=center,
gbpub=false,
url=false,
doi=false,]{biblatex}
%gbnamefmt=givenahead,lowercase,familyahead,pinyin
% 设置参考文献每条内的行距
\usepackage{setspace}
\setlength{\bibitemsep}{1.5\itemsep}
% 设置参考文献格式
\DeclareFieldFormat[article,periodical]{volume}{\color{orange}\textbf{#1}}
\DeclareFieldFormat{journaltitle}{\textit{#1}}
\renewcommand{\bibpubfont}{\color{gray}}
%\AtBeginBibliography{%
%\renewcommand*{\mkbibnamefamily}[1]{\textsf{#1}}%
%\renewcommand*{\mkbibnamegiven}[1]{\textsf{#1}}%
%}%
\renewcommand{\bibauthorfont}{\color{blue}%
\renewcommand*{\mkbibnamefamily}[1]{\textsf{##1}}%
\renewcommand*{\mkbibnamegiven}[1]{\textsf{##1}}%
}
\begin{filecontents}[force]{\jobname.bib}
@ARTICLE{fazzari1993working,
AUTHOR = {Fazzari, Steven M and Petersen, Bruce C},
PUBLISHER = {JSTOR},
DATE = {1993},
JOURNALTITLE = {The RAND Journal of Economics},
PAGES = {328--342},
TITLE = {Working capital and fixed investment: new evidence on financing constraints},
}
@ARTICLE{bernanke1989agency,
AUTHOR = {Bernanke, Ben and Gertler, Mark},
PUBLISHER = {JSTOR},
DATE = {1989},
JOURNALTITLE = {The American Economic Review},
PAGES = {14--31},
TITLE = {Agency costs, net worth, and business fluctuations},
}
@ARTICLE{wang2006another,
AUTHOR = {Wang, Peng Fei and Wen, Yi},
PUBLISHER = {Elsevier},
DATE = {2006},
JOURNALTITLE = {Journal of Economic Dynamics and Control},
NUMBER = {12},
PAGES = {2533--2552},
TITLE = {Another look at sticky prices and output persistence},
VOLUME = {30},
}
@ARTICLE{zhang2009china,
AUTHOR = {Zhang, Wen Lang},
PUBLISHER = {Elsevier},
DATE = {2009},
JOURNALTITLE = {Journal of Macroeconomics},
NUMBER = {3},
PAGES = {473--484},
TITLE = {China’s monetary policy: Quantity versus price rules},
VOLUME = {31},
}
@Article{Zhang2007-500-503,
Title = {The design and experimental investigations of supersonic length shorted nozzle},
Author = {Zhang, Min Li and Yi, Shi He and Zhao, Yu Xin and Li, Ming},
Journal = {ACTA AERODYNAMICA SINICA},
Number = {4},
Pages = {500-503},
Volume = {25},
Year = {2007},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\begin{document}
\nocite{*}
\printbibliography
\end{document}
结果为:
from biblatex-gb7714-2015.
感谢您的解答~经过排查,不是[biblatex-gb7714-2015]包的问题,是我全局改变了normalsize,导致了该问题。现问题已解决
% 全局设置equation环境与正文的间距
% \expandafter\def\expandafter\normalsize\expandafter{%
% \normalsize
% \setlength\abovedisplayskip{1ex}
% \setlength\belowdisplayskip{1ex}
% \setlength\abovedisplayshortskip{1ex}
% \setlength\belowdisplayshortskip{1ex}
% }
from biblatex-gb7714-2015.
Related Issues (20)
- 用法:能否取消中文文献样式“等”前的空格? HOT 3
- 引用格式怎么变成[1],[2]这种 HOT 2
- 在选用bibstyle = gb7714-2015ay格式排列文献条目时,如何输出图书所在丛书及其序号? HOT 7
- 文献类型为@mvbook,书名后未能输出[M]? HOT 3
- 知网 网址信息太长 HOT 2
- \setcounter{gbrefcompress}{3}命令报错No counter 'gbrefcompress' defined. HOT 2
- 专利显示多余的内容:参考文献中显示bib文件中的 type = {patent}, HOT 1
- 在学位论文上 url=false 命令失效 HOT 4
- 对“参考文献”进行章节编号 HOT 3
- 会议论文集格式
- 会议论文集格式 HOT 6
- 著者-出版制的日期格式 HOT 5
- 一种法学类文献样式--如何实现这种注释要求 HOT 26
- 中英文文献中 unicode 引号的处理 HOT 7
- 在通过 Pandoc 转换的 LaTeX 文档中使用 biblatex-gb7714-2015 时,\autocites 多重引用产生了多余的括号 HOT 14
- 使用了gbcitelabel = quanjiao设定引用处的标点符号之后,括号前后的间距不一样。 HOT 3
- 南开大学硕/博模板中如何将[J]前的.去除 HOT 1
- [样式请求] 顺序编码制 + `\parencite` 输出的页码是非上标 HOT 2
- 英文译者 `Trans. by` 后没有空格 HOT 2
- 警告:`byeditor+others` 已定义 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from biblatex-gb7714-2015.