Coder Social home page Coder Social logo

iydon / sustechthesis Goto Github PK

View Code? Open in Web Editor NEW
225.0 225.0 61.0 46.03 MB

南方科技大学本科生毕业论文 LaTeX 模板

License: LaTeX Project Public License v1.3c

TeX 90.33% Python 7.41% Makefile 1.53% Perl 0.72%
latex-template sustex todo

sustechthesis's Introduction

GitHub Statistics
Code Statistics

===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 Autoconf                9           45           36            0            9
 BASH                   32           98           34           32           32
 Batch                   7          343          289            3           51
 C                      36        4,418        2,599        1,060          759
 C Header               47        3,554        2,507          485          562
 CMake                   1           21           14            0            7
 C++                    13          611          462           40          109
 CSS                     6          493          480           12            1
 Cython                  1           16            7            5            4
 Dockerfile              3          215           95          100           20
 Forge Config            2           38           38            0            0
 FORTRAN Modern          2          201          164            0           37
 Go                      2          140          118            0           22
 JavaScript              2            4            4            0            0
 JSON                   40       21,830       21,828            0            2
 Julia                   2          120          105            0           15
 M4                      2        1,069          927            0          142
 MATLAB                155        6,266        4,650        1,017          599
 Makefile               69        1,272          888           85          299
 Python                836       86,430       74,424        2,102        9,904
 R                       5          256          215            6           35
 ReStructuredText       21        1,046          705            0          341
 Shell                  11          174          101           40           33
 SQL                    19        7,774        7,623           88           63
 SVG                     6          968          883            1           84
 TeX Class              26       14,113       10,567        2,414        1,132
 TeX Definition          3          207          195           12            0
 TeX                   676      328,353      179,029        3,421      145,903
 Plain Text             67      183,640            0      181,202        2,438
 TOML                   18          609          529           15           65
 XML                     1            7            7            0            0
 YAML                   94       37,690       35,842        1,147          701
-------------------------------------------------------------------------------
 HTML                   26        2,542        2,164          322           56
 |- CSS                  5          116          115            0            1
 |- JavaScript           9          461          396           11           54
 (Total)                          3,119        2,675          333          111
-------------------------------------------------------------------------------
 Jupyter Notebooks      11            0            0            0            0
 |- Markdown             7          288            0          259           29
 |- Python              10          370          324           11           35
 (Total)                            658          324          270           64
-------------------------------------------------------------------------------
 Markdown              381       26,913            0       20,808        6,105
 |- C                    1            7            6            0            1
 |- C++                  2           78           63            2           13
 |- HTML                 2           66           66            0            0
 |- JSON                 2        1,096        1,096            0            0
 |- MATLAB               1           62           28           29            5
 |- Markdown             1           51            0           50            1
 |- Python              35        1,965        1,569           82          314
 |- R                    2          214          178           36            0
 |- Rust                 2          269          237            6           26
 |- Shell               23        1,027          979            0           48
 |- SQL                  1            2            2            0            0
 |- TeX                  2           42           35            0            7
 |- XML                  1            8            8            0            0
 |- YAML                 7          263          234           17           12
 (Total)                         32,063        4,501       21,030        6,532
-------------------------------------------------------------------------------
 Rust                  191       20,121       17,145          694        2,282
 |- Markdown            45        8,067           58        5,930        2,079
 (Total)                         28,188       17,203        6,624        4,361
===============================================================================
 Total               2,823      751,597      364,674      215,111      171,812
===============================================================================
  

sustechthesis's People

Contributors

barryzhu6 avatar certseeds avatar iydon avatar liziwl avatar snowcharmq avatar stortinter avatar sustex avatar xdzhelheim avatar zhangzj2018 avatar zhou-yicheng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sustechthesis's Issues

Bug: 参考文献、附录、致谢的链接跳转位置错误

学长好!我在模板中发现了一个链接跳转位置错误的问题,以下为详细说明。

问题说明

参考文献的链接跳转到了最后一个 section,附录跳转到了参考文献,致谢跳转到了附录的结尾(或者致谢上方某个位置?)。

通过目录跳转或者 PDF 阅读器的边栏跳转均可复现错误。

测试环境

  1. GitHub Release v1.3.2 中直接下载的 main.pdf
  2. 最新开发版编译 - Windows 10 - TeX Live 2020
  3. 最新开发版编译 - macOS 12 - MacTex 2021

以上三种情况均存在跳转错误问题。麻烦学长确认下是否存在 bug,还是我的个人环境有问题。

解决方案

添加 \phantomsection,例如致谢:

\newcommand{\致谢}{
  \phantomsection % <---------- added
  \addcontentsline{toc}{section}{致谢}
  \sectionmark{致谢}
  \section*{\centerline{致谢}}
}

如果这个方案可行,我可以提交一个 PR。

https://github.com/XDZhelheim/sustechthesis/commit/31ad79ff0a4d9258bd07afa25305c02ae9e7d648

行距未生效

定义正文1.5倍的行距并未生效

\renewcommand{\baselinestretch}{1.72} %调整正文为1.5倍行距
\RequirePackage[MSWordLineSpacingMultiple=1.5]{zhlineskip}

两个语句都在定义1.5倍行距,但是第二个语句的1.5倍似乎并未生效,而第一个语句的效果被第二个语句的效果覆盖了

关于参考文献格式的问题

NQFM27QDTR@%0QY~6@6GQVF
%R29C)7)6(`G80Y38YM@EHT
你好,当ref.bib中引用的文献是inproceedings类型时,文章名和会议名之间不是用 "." 隔开的而是用"//"隔开的,和撰写规范不太一样,请问有修改的方法吗

关于页码如何调整的疑问

image
你好,今年的论文撰写规范中要求页码使用阿拉伯数字,目前模版从摘要开始的三页是罗马数字页码,想问该如何调整呢

Bug: 参考文献样式

按论文中参考文献出现的次序,用数字连续编号;参考文献为五号字,注释(脚注或者尾注)为小五号字。中文为宋体,英文为相应字号的Time New Roman体。

实际上参考文献字体为小四号。

bug: 三线表样式

  1. 表题用五号宋体加黑,表格内中文用五号宋体,英文用五号Times New Roman字体

实际表题符合规范,表内中文为小四宋体,英文为小四Times New Roman

高德纳呢,亲

First I would express my appreciation for your great effort to creating this template.

I just want to mention a little error, as showned in this title.

中文论文的et al.更换为“等人”

您好!

我在写论文时发现在中文环境下,\citeauthor{}的输出也是et al.,但是在中文环境下可能使用“和”以及“等人”更好。参考这个链接可更改为“等人”,请问维护者们能否将此功能加入?类似的代码如下。

\DefineBibliographyStrings{english}{
        andincite         = {和},
        andincitecn       = {和},
        andothersincitecn = {等人},
        andothersincite   = {等人},%adddot才能避开标点追踪
}

谢谢!

模板的问题

  1. 字号命令 \fontsize{42pt} {\baselineskip} 是错的
  2. Times New Roman 有粗体,不要用伪粗
  3. \heiti 这样的命令不改变西文字体,尽量避免使用

英文关键字显示问题

英文关键字有多个时,用逗号分割,且逗号后面有一个空格的时候,只能显示第一个关键字。

\begin{英文摘要}{keyword1,keyword2} 显示结果为 keyword1,keyword2

\begin{英文摘要}{keyword1, keyword2} 仅显示 keyword1

希望在保持逗号后面带空格的格式的情况下能正常显示多个关键字。

另:

  • 最好列举一下编译所需的所有宏包,避免报错之后逐个安装
  • 好像字体和mac不是很兼容,加上 fontset=mac 之后才正常,最好可以提示一下

英文字体

我检查了多次,发现模版的编译代码,好像并没有设置英文的字体,是否可以增加对南大科要求的英文字体(Times New Roman)的支持。

todo

  • update changelog
  • check linespace format

系名或者论文题目过长无法换行的问题

如题,妮可有些系的名字真的是太长了,所以会出现这种重叠问题,有时候论文题目也很长,除了手动分割到小标题中,有什么自动换行的操作吗?非常感谢
image

方括号与冒号不应当共存

在摘要、关键词等地方,应当使用这一格式:
[关键词] 关键词1;关键词2
或者这一格式:
关键词:关键词1;关键词2

然而现有格式为:
[关键词]:关键词1;关键词2

(此格式规范问题由写交老师指出)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.