:tram: 西南交通大学研究生学位论文LaTeX模板(支持硕士和博士学位论文)
:computer: 更新日志
2024.08.14(swjtuThesis.cls, main.tex)
2024.07.27
2024.05.22(swjtuThesis.cfg, swjtuThesis.cls, info.tex, package.tex)
2024.04.08(swjtuThesis.cfg, swjtuThesis.cls)
2024.03.31(package.tex, main.tex, swjtuThesis.cls)
2024.02.24(conclusion.tex)
2024.01.11(swjtuBST.bst, main.tex)
2024.01.01(swjtuBST.bst, swjtuThesis.cls)
0.05em
2023.12.29(swjtuBST.bst)
2023.12.01(package.tex)
:computer: swjtuThesis V3.0主要版面设置更改(主要集中于swjtuThesis.cls文件与package.tex文件)
winfonts
被更改为nofonts
,并通过CJK手动设置主要字体。该项更改主要解决了之前模板无法在Windows外系统完成编译的问题,现在新的模板已经在Windows和macOS中通过编译测试。注意在macOS中使用模板时可能出现字体缺失问题,作者本人在使用时额外安装了以下字体:
SimSun
SimHei
Latin Modern Math
Linux Libertine O
geometry
控制版面,同时为了更贴近《撰写规范》中的效果,下页边距从25.4mm
更改为32.0mm
。注意A4纸的大小为210mm * 297mm
,因此《撰写规范》中对页边距和版心大小的要求版面上空25.4mm,下空25.4mm,左空 26.0mm,右空 26.0mm;版心尺寸:宽 160mm,高 250mm
无法同时满足,目前仅依据页边距来调整版面大小\baselineskip
调整更改为基于\baselinestretch
调整,目前的行距倍数被设置为1.4
,结合之前对页面大小的调整,V3.0模板目前可以保证单页内容的行数正好为34行,即与《撰写规范》中的建议相同1.3
,粗线宽设置为0.12em
,细线宽设置为0.08em
1.2
:computer: swjtuThesis V3.0主要文献引用设置更改(主要集中于swjtuBST.bst文件)
add.EBOL
,同时新增了基于@misc
修改而来的新引用类型@website
,使用方式与输出效果如下:
@website{clevert2015ELU, title={Fast and accurate deep network learning by exponential linear units (elus)}, author={Clevert, Djork-Arn{\'e} and Unterthiner, Thomas and Hochreiter, Sepp}, year={2015}, howpublished={https://arxiv.org/abs/1511.07289} }
Clevert D A, Unterthiner T, Hochreiter S. Fast and accurate deep network learning by exponential linear units (elus) [EB/OL]. https://arxiv.org/abs/1511.07289, 2015.
symbol
和freeinfo
,新增了函数add.GBTSYMBOL
以及新的引用类型@freecite
。该引用类型作为备选手段,主要处理已有引用类型无法满足需求且不想更改.bst文件设置的情况,此时使用@freecite
引用类型并通过symbol
手动输入GB/T文献类型符号以及freeinfo
手动录入文献额外引用信息即可输出任意格式的文献引用,其使用方式与输出效果如下:
@freecite{scarselli2008GNN_freecite, title={The graph neural network model}, author={Scarselli, Franco and Gori, Marco and Tsoi, Ah Chung and Hagenbuchner, Markus and Monfardini, Gabriele}, symbol={FreeCite}, freeinfo={TNNLS, 2008, 20(1): 61-80} }
Scarselli F,Gori M,Tsoi A C, et al. The graph neural network model [FreeCite]. TNNLS, 2008, 20(1): 61-80.
freeoutput.pages
用于处理页面信息的输出,目前该函数已经引入到了@inproceedings
和@book
引用类型中,包含页面以及不包含页面时的输出效果如下:
@inproceedings{vaswani2017Transformer_nopages, title={Attention is all you need}, author={Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N and Kaiser, {\L}ukasz and Polosukhin, Illia}, booktitle={Advances in neural information processing systems}, volume={30}, year={2017} }
Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need [C]. Advances in neural information processing systems, volume 30, 2017.
@inproceedings{vaswani2017Transformer_pages, title={Attention is all you need}, author={Vaswani, Ashish and Shazeer, Noam and Parmar, Niki and Uszkoreit, Jakob and Jones, Llion and Gomez, Aidan N and Kaiser, {\L}ukasz and Polosukhin, Illia}, booktitle={Advances in neural information processing systems}, volume={30}, pages={1--11}, year={2017} }
Vaswani A, Shazeer N, Parmar N, et al. Attention is all you need [C]. Advances in neural information processing systems, volume 30, 2017: 1–11.
- 部分BUG的修正,比如
@phdthesis
所对应的add.D
函数中GB/T文献标号的乱码