qcts33 / buptthesis-ctex Goto Github PK
View Code? Open in Web Editor NEWYet anoter BUPT Thesis LaTeX class
Yet anoter BUPT Thesis LaTeX class
同学,我遇到了这样的问题,\cite{item}命令显示的是[item]而不是序号,而且文章末尾不显示文献列表;pub.tex中的\nocite{*}也不显示发表论文列表。
我尝试着基于glossaries-extra
实现了自动缩略语功能。具体实现可参见abbreviation
分支。
虽然基本功能有了但缩略语前后的空格却不受ctex的控制。具体输出效果可abbreviation
分支中bare_thesis.pdf
的第二章开头。
研究了一下文档实在不知道哪里出问题了,还请有兴趣的小伙伴一起研究一下。
Hi,我最近为项目增加了Overleaf在线编译的适配。为了Overleaf的适配,我增加修改了两部分,一部分是增加了字体文件,宋体、楷体、黑体和仿宋体四个字体大小有40MB左右;另一部分是Overleaf使用的texlive 2017下biblatex-gb7714-2015存在问题,故将biblatex-gb7714-2015的宏包放在了项目文件下。因为Overleaf是为了适配增加东西,因此觉着放在master不太好,故请求开设Overleaf分支,用以维护项目在Overleaf上的版本。
目前我的Overleaf分支在放在 https://github.com/VivianSnow/BUPTthesis-ctex/tree/overleaf,开了后可以PR过来。
由于当前最新的newtx
宏包于CTeX
之间存在冲突,在使用 txmath 参数调用 Times 数学字体之后会导致编译失败。
学长您好,用了你分享的latex模板,感觉挺好的。但是有一些细节的问题,我也自己花了一天时间改了一下,但是有个问题,我没找到办法,还请指教下。
我按照要求,自己进行了修改,在figure的caption里边,手动加上了\kaishu \zihao{5}命令,这样的话,caption里边是对的了。但是有个问题,“图”这个字,好像不会随着变化大小。所以,我看了下,这个字的定义,好像在BUPTthesis.cfg里边,我在里边手动加上大小的限制,但没有效果。想问下,应该在哪里解决这个问题?
北邮研究生学位论文格式要求中对于会议论文的参考文献格式要求和gb7714-2015的国家标准是不一致的,格式要求如下:
【会议论文格式】 [序号]作者. 篇名[A]. // 论文集名称[C], 出版地: 出版者, 出版年份: 起始页码.
【示例】
[3] Karagiannis, T., Broido, A., Faloutsos,M., et al. Transport Layer Identification of P2P Traffic [A]. // Proc of the 4th ACM SIGCOMM Conf on Internet Measurement [C], New York: ACM Press, 2004: 121-134.
所以需要在BUPTthesis.cls文件中增加如下代码:
\DeclareStyleSourcemap{
\maps[datatype=bibtex]{
\map[overwrite]{
\pertype{inproceedings}
\step[fieldset=usera,fieldvalue={A}]
}
}
}
\renewbibmacro*{booktitle}{%
\ifboolexpr{
test {\iffieldundef{booktitle}}
and
test {\iffieldundef{booksubtitle}}
}
{}
{\printtext[booktitle]{%
\printfield[titlecase]{booktitle}%
}%
}%
\ifentrytype{inproceedings}{\printtext{[C]}\newunit}
}
\renewbibmacro*{in:}{%
\iftoggle{bbx:gbpunctin}{
\ifentrytype{inproceedings}{\unspace\printtext{\allowbreak{\SlashFont\adddot//}\allowbreak}}
{\printtext{\allowbreak{\SlashFont//}\allowbreak}}
}%\addthinspace
{\setunit{\adddot\addspace}%
\iffieldequalstr{userd}{chinese}%
{\printtext{\bibstring{incn}}}%
{\printtext{\bibstring{in}}}%
}}%\newunit\newblock\intitlepunct
效果和示例参见:hushidong/biblatex-gb7714-2015#145
但是要把gb7714-2015.bbx 和 gb7714-2015.cbx更新到最新版。
下载地址:https://github.com/hushidong/biblatex-gb7714-2015
希望作者能更新一下BUPTthesis.cls文件的版本@qcts33
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.