Comments (5)
config/packages.tex 中,biblatex那里。把修改的内容添加进去即可。
\usepackage{pdfpages}
\usepackage[
style=gb7714-2015,
gbcitelocal=chinese, % Uncomment if you want \citeauthor{} in "et al." format. GitHub PR (#324)
% gbpub=false, % Uncomment if you do NOT want '[S.l. : s.n.]' in reference entries, GitHub Issue (#47)
% gbnamefmt=lowercase, % Uncomment if you do NOT want uppercase author names in reference entries, GitHub Issue (#23)
]{biblatex}
\usepackage{siunitx}
改为:
\usepackage{pdfpages}
\usepackage[
style=gb7714-2015ay,
gbcitelocal=chinese, % Uncomment if you want \citeauthor{} in "et al." format. GitHub PR (#324)
gbnamefmt=familyahead,
gbpub=false,
gbtype=false,
url=false,
doi=false,]{biblatex}
\setlength{\bibitemsep}{0pt}
\setlength{\bibhang}{4em}
\setlength{\bibitemindent}{-\bibhang}
\renewcommand*{\bibinitdelim}{}
\renewcommand*{\bibpagespunct}{\addcomma\addspace}
\renewbibmacro*{journal+issuetitle}{\bibpubfont%源来自standard.bbx
\usebibmacro{journal}%
%修改为增加一个逗号\setunit*{\addcomma\addspace}
\iffieldundef{journaltitle}{}{\addspace}%
\printtext{\usebibmacro{issue+date}}%
%\iffieldundef{volume}{}{\setunit*{\addcomma\space}}%
\usebibmacro{volume+number+eid}%把卷期放到年份后面
}
\usepackage{siunitx}
至于行距则在body/graduate/post/ref.tex修改:
\cleardoublepage
\begingroup
\linespreadsingle{}
\printbibliography[title={参考文献}]
\endgroup
修改成你希望的linespread,默认使用的是\linespreadsingle{}
from zjuthesis.
进一步的:
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage{geometry}
\usepackage[backend=biber,style=gb7714-2015ay,
gbnamefmt=familyahead,
gbpub=false,
gbtype=false,
url=false,
doi=false,]{biblatex}
\setlength{\bibitemsep}{0pt}
\setlength{\bibhang}{4em}
\setlength{\bibitemindent}{-\bibhang}
\renewcommand*{\bibinitdelim}{}
\renewcommand*{\bibpagespunct}{\addcomma\addspace}
\renewbibmacro*{journal+issuetitle}{\bibpubfont%源来自standard.bbx
\usebibmacro{journal}%
%修改为增加一个逗号\setunit*{\addcomma\addspace}
\iffieldundef{journaltitle}{}{\addspace}%
\printtext{\usebibmacro{issue+date}}%
%\iffieldundef{volume}{}{\setunit*{\addcomma\space}}%
\usebibmacro{volume+number+eid}%把卷期放到年份后面
}
\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{*}
{
\linespread{2}
\printbibliography
}
\end{document}
结果为:
from zjuthesis.
-
行距按照正文的方式设置即可。
局部编组里面使用 \linespread 命令调整即可。 -
缩进调整尺寸bibhang,bibitemindent即可。
-
文献标识符、标点等也可以做调整。
示例为:
% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015样式,对于作者姓名格式的控制和选项
% 测试gbnamefmt选项
% 测试bib文件中的nameformat域
\documentclass[twoside]{article}
\usepackage{ctex}
\usepackage{xcolor}
\usepackage{hyperref}
\usepackage{lipsum}
\usepackage{geometry}
\usepackage[backend=biber,style=gb7714-2015ay,
gbnamefmt=familyahead,
gbpub=false,
gbtype=false,
url=false,
doi=false,]{biblatex}
\setlength{\bibitemsep}{0pt}
\setlength{\bibhang}{4em}
\setlength{\bibitemindent}{-\bibhang}
\renewcommand*{\bibinitdelim}{}
\renewbibmacro*{journal+issuetitle}{\bibpubfont%源来自standard.bbx
\usebibmacro{journal}%
%修改为增加一个逗号\setunit*{\addcomma\addspace}
\iffieldundef{journaltitle}{}{\addspace}%
\printtext{\usebibmacro{issue+date}}%
%\iffieldundef{volume}{}{\setunit*{\addcomma\space}}%
\usebibmacro{volume+number+eid}%把卷期放到年份后面
}
\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{*}
{
\linespread{2}
\printbibliography
}
\end{document}
结果为:
from zjuthesis.
谢谢!!!请问具体是修改zjuthesis里面的哪一部分呢?
from zjuthesis.
谢谢,已修改并成功!
from zjuthesis.
Related Issues (20)
- 将 overleaf 下载到本地后统计字数 HOT 4
- macOS本地编译乱码,中文不显示
- 如何让外文翻译部分的标题不出现在目录中 HOT 2
- mathbb{R}显示问题 HOT 1
- TwoSide设定为false后,页码变为自动居中 HOT 2
- 目录的格式显示不对,CS doctor 模板 HOT 1
- overleaf PrintFilePath = true 的时候报错
- 生成图目录时,在尚未填满一页时就另起一页 HOT 3
- 使用gbcitelocal=chinese,但参考文献仍显示et al 而不是等人 HOT 3
- 按照github 提示的cs doctor模板配置之后章节的标题在中间,怎么改成在左侧呀? HOT 1
- English version has many bugs
- \signature如何添加信息 HOT 14
- 解决方案:中途修改目录级别 HOT 1
- 参考文献格式问题 HOT 2
- 如何在目录中将致谢和摘要添加在“第一部分 毕业论文”之后 HOT 2
- overleaf编译报错 HOT 2
- overleaf编译报错
- 参考文献引用格式问题 HOT 3
- 如何修改参考文献部分页眉内容 HOT 1
- 表格:字体及大小如何设置
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 zjuthesis.