Comments (17)
目前模板中有这个问题?待确认。
参考文献间距调整可参考 http://blog.sina.com.cn/s/blog_5e16f1770100ldv5.html 以及 http://blog.sina.com.cn/s/blog_5e16f1770100k9hk.html
from buaathesis.
http://blog.sina.com.cn/s/blog_5e16f1770100k9hk.html
中好像可以解决这个问题,但是我不知道把
\usepackage[numbers,sort&compress]{natbib}
\setlength{\bibsep}{0.5ex} % vertical spacing between references
放在什么地方.......
from buaathesis.
@huxuan Could you send a pull to fix this bug?
http://blog.sina.com.cn/s/blog_5e16f1770100ldv5.html This might be the solution for this bug.
from buaathesis.
谢谢指导 ,但是我现在的参考文献的标题的“参考文献”几个字变成了 “reference”了.....
from buaathesis.
而且还不居中了。我的命令就是
\usepackage{bibspacing}
\setlength{\bibspacing}{\baselineskip}
from buaathesis.
\newdimen\bibindent
\setlength\bibindent{1.5em}
\newdimen\bibspacing
\setlength\bibspacing\z@
\renewenvironment{thebibliography}[1]{%
\section*{\refname
@mkboth{\MakeUppercase\refname}{\MakeUppercase\refname}}%
\list{@biblabel{@Arabic\c@enumiv}}%
{\settowidth\labelwidth{@biblabel{#1}}%
\leftmargin\labelwidth
\advance\leftmargin\labelsep
\itemsep\z@skip % should this be commented out?
\parsep\z@skip % should this be commented out?
@OpenBib@code
\usecounter{enumiv}%
\let\p@enumiv@empty
\renewcommand\theenumiv{@Arabic\c@enumiv}}%
\sloppy\clubpenalty4000\widowpenalty4000%
\sfcode\.\@m} {\def\@noitemerr {\@latex@warning{Empty
thebibliography' environment}}%
\endlist}
上面的这段代码 哪里改了名字了?改了居中?
from buaathesis.
目测把 \setlength{\bibsep}{0.5ex}
加在下面的代码后面即可。
\bibliographystyle{buaathesis} % 参考文献格式
\RequirePackage[sort&compress]{natbib}
\bibpunct{[}{]}{,}{n}{}{}
关于bibspacing或natbibspacing这个包为啥会引起你所说的问题,这个还有待研究。
from buaathesis.
hi, I would rather classify this issue as a problem rather than a bug.
We can simply add \setlength{\bibsep}{0.5ex}
in sample-[master|bachelor].tex before \begin{document}
to achieve the goal.
I would like to introduce such kind of customization in buaacthesis.cls
as less as possible. As it's not clearly defined by school and default style not seems to be too bad.
from buaathesis.
Yes,I agree with the "problem" idea.
from buaathesis.
@huxuan I don't think the redundant space after reference items is necessary, i.e. do nothing about that is not recommended.
There is no redundant space after reference items in most of published books or thesis. So I think the this issue's problem might(should) be solved rather than leave it alone.
from buaathesis.
@JosephPeng Then what's the space do you think is the suitable one?
After searching on the Internet, there are two main length, one is 0pt
and the other is 0.5ex
from buaathesis.
@huxuan the \baselineskip
might be the suitable space for that. I don't know the exact distance.
from buaathesis.
@JosephPeng I have tried \baselineskip
but this will create one extra empty line between each bib items.
from buaathesis.
I think we have misunderstood what \bibsep means. natbib.pdf said:
\bibsep
The vertical spacing between references in the list, whether author-year
or numerical, is controlled by the length\bibsep. If this is set to 0 pt, there
is no extra line spacing between references. The default spacing depends
on the font size selected in\documentclass, and is almost a full blank line.
Change this by redening\bibsepwith\setlengthcommand.
It means the extra space between items but not the absolute space. So it seems better to set bibsep to 0.
from buaathesis.
@grissiom The problem we need to judge now is just the space length between bib items.
因为全局大部分正文的行距都是1.5倍行距吧,所以单纯的置为0是不是也有些不妥?
Maybe 0.5\baselineskip
better?
主要感觉自己没明白行距这些东西具体的定义……
from buaathesis.
@huxuan @grissiom Thanks for your explanations, in my opinion, set the bibsep to 0pt might be the perfect choice for now.
i.e. add the command \setlength{\bibsep}{0pt}
after the command \RequirePackage[sort&compress]{natbib}
.
Plus, in the natbib.pdf, what the command \bibsep
says "The default spacing depends on the font size selected in \documentclass, and is almost a full blank line.", "If this is set to 0 pt, there is no extra line spacing between references."
from buaathesis.
OK, then I will update it as soon as possible.
from buaathesis.
Related Issues (20)
- 学术型和专业型学位,封面、提名页的不同之处 HOT 2
- 关于可能存在的字体缺少问题 HOT 8
- CI Linux环境编译与实际Win环境编译存在不同 HOT 4
- Color of cite and TOC HOT 4
- 参考文献国标 HOT 2
- Plantuml supported version. HOT 9
- After recompiling, there is an extra blank line below the figure HOT 3
- can't show cn-zh fonts correctly on macOS Monterey 12.1 HOT 9
- 开题报告封面姓名问题 HOT 3
- Incorrect layout for reference in MacOS HOT 8
- 话说现在如何才能联系到《北航开源俱乐部》呢 HOT 10
- 长表格正文内容字号不是小五,要如何设置? HOT 3
- Bachelor thesis seems no longer need to be converted from pdf to docx format HOT 4
- 请问如何取消参考文献中的大小写锁定 HOT 1
- Why not using the package nomencl for the 主要符号对照表 section
- 不同页面段落间距不同 HOT 4
- 内容会向上溢出 HOT 2
- 更好的PDF转Word工具 HOT 1
- 无法正常生成参考文献章节和文献列表 HOT 4
- 伪代码的包algorithm2e和lstlisting不兼容吗 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 buaathesis.