Loading .github/workflows/verify-compile.yml +1 −0 Changes for .github/workflows/verify-compile.yml: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ jobs: runs-on: ubuntu-latest name: Sync to other git service if: always() && github.repository_owner == 'SUSTech-CRA' timeout-minutes: 10 needs: build_latex steps: Loading .gitignore +3 −0 Changes for .gitignore: 3 added lines, 0 removed lines. Original line number Diff line number Diff line # output zip dist/ ## distribution files .DS_Store package-lock.json Loading CHANGELOG.md +21 −0 Changes for CHANGELOG.md: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -29,6 +29,27 @@ Changelog 维护应保持最新版本在文件上面的原则,日期格式按 - 预发布版本使用形如 "`[1.0.2-rc.1] - 2021-06-11`" 作为二级标题, - 正式发布版本使用形如 "`[1.0.1] - 2020-07-25`" 作为二级标题。 ## [1.3.0] - 2021-08-01 ### Changed - 【封面】封面“硕士学位论文” 修改为宋体 24 号字加粗。 - 【封面】封面论文题目中文采用黑体 22 号字。 - 【封面】封面作者及指导教师信息采用宋体 18 号字。 - 【封面】封面日期填写学位论文成文打印的日期,采用用宋体 18 号字。 - 【题名页】题目采用中文黑体 22 号字,英文Times New Roman 22号字。 - 【其他】修正目录行距目录。 - 【其他】条目列表,默认缩进2个中文字符,悬挂缩进,并按要求更新默认样式。 - 【其他】子图、子表改用成对圆括号。 - 【其他】对齐了声明中的签名 - 【其他】变更声明顺序,位于在答辩委员会后。 - 【其他】修正学术成果部分的参考文献字体大小,改为10.5pt。 - 【其他】修改学术成果用节标题,前面不加(一)(二)等,序号从[1]开始往后递推。 - 【其他】修改学术成果用节标题样式。 ## Added - 【字体】添加加载外部字体选项,改善非Windows系统下的字体编译。 ## [1.2.0] - 2021-06-30 ## Added Loading Makefile +7 −6 Changes for Makefile: 7 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ else RM = rm -f endif .PHONY: all all-dev clean cleanall distclean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE .PHONY: all all-dev clean cleanall thesis viewthesis dist doc viewdoc cls test wordcount FORCE_MAKE thesis: $(THESIS).pdf Loading @@ -31,6 +31,10 @@ $(CLSFILE): $(SOURCES) doc: $(PACKAGE).pdf dist: doc thesis clean rm -rf dist/ mkdir -p dist/ zip -r dist/sustech-master-thesis.zip . -x *.git* /*node_modules/* .editorconfig *public-test/* *dist/* $(PACKAGE).pdf: cls FORCE_MAKE $(LATEXMK) $(PACKAGE).dtx Loading @@ -52,12 +56,9 @@ clean: -@$(RM) -rf *~ main-survey.* main-translation.* _markdown_sustechthesis* sustechthesis.markdown.* _markdown_thuthesis* thuthesis.markdown.* cleanall: clean -@$(RM) -rf public-test -@$(RM) $(PACKAGE).pdf $(THESIS).pdf distclean: cleanall -@$(RM) $(CLSFILE) -@$(RM) -r dist -@$(RM) -rf public-test dist -@$(RM) $(PACKAGE).pdf $(THESIS).pdf wordcount : $(THESIS).tex @if grep -v ^% $< | grep -q '\\documentclass\[[^\[]*english'; then \ Loading README.md +5 −3 Changes for README.md: 5 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases) [](https://github.com/SUSTech-CRA/sustech-master-thesis/commits/master) [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases/latest) [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases/tag/dev-latest) [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases/tag/dev-latest) ## 下载 Loading Loading @@ -70,14 +70,15 @@ xetex sustechthesis.ins ### 使用 LaTex 在线编辑器 * 使用 [Overleaf](https://www.overleaf.com/)(需要科学上网保证稳定使用),上传 zip 压缩包后,更改编译器为 `XeLaTex` * 使用 [南科大 ShareLaTex](https://sharelatex.cra.moe/),使用方式与Overleaf相同,上传 zip 压缩包后,更改编译器为 `XeLaTex`,并在主文档的头部 `\documentclass[degree=master,language=english,fontset=fandol]` 设置 `fontset` 参数 为 `fandol`. * 使用 [南科大 ShareLaTex](https://sharelatex.cra.moe/),使用方式与Overleaf相同,上传 zip 压缩包后,更改编译器为 `XeLaTex`,并在主文档的头部 `\documentclass[degree=master,language=english,cjk-font=external]` 设置 `cjk-font` 参数 为 `external`. ### 编译前的建议 1. 在撰写论文时,我们不推荐使用原有的 `sustechthesis-example.tex` 这一名称。建议将其复制一份,改为其他的名字(如 `thesis.tex` 或者 `main.tex`)。需要注意,如果使用了来 自 `data` 目录中的 `tex` 文件,则重命名主文件后,其顶端的 `!TeX root` 选项也需要相应修改。 2. 需要注意,如果更改了主文件的名称,则需要修改 `Makefile` 顶端的 `THESIS` 变量定义;或修改 `latexmk` 命令后的参数。 3. ⚠️ 提交最终正式版本时,建议在 Windows 下本地编译且设置 `fontset` 参数 为 `windows`,以保证字体正确。 3. 如果出现中文字体找不到的错误或期望 Windows 几乎字体显示几乎一致,可以设置 `cjk-font` 参数 为 `external`,导入包内自带字体。 4. ⚠️ 提交最终正式版本时,建议在 Windows 下本地编译且设置 `fontset` 参数 为 `windows`,以保证字体正确。 ## 模板结构 Loading @@ -103,3 +104,4 @@ xetex sustechthesis.ins * 本模板基于清华大学模板 [ThuThesis v7.1.0](https://github.com/tuna/thuthesis/releases/tag/v7.1.0) 修改。 * 本模版根据南方科技大学研究生院发布的相关 [学位授予的政策文件](https://gs.sustech.edu.cn/xueweishouyuzhengce) 编写,如有冲突以官网规定为准。 * 如果范例中存在与《写作指南》中的规定不符之处,以《写作指南》中的文字叙述为准。 Loading
.github/workflows/verify-compile.yml +1 −0 Changes for .github/workflows/verify-compile.yml: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -35,6 +35,7 @@ jobs: runs-on: ubuntu-latest name: Sync to other git service if: always() && github.repository_owner == 'SUSTech-CRA' timeout-minutes: 10 needs: build_latex steps: Loading
.gitignore +3 −0 Changes for .gitignore: 3 added lines, 0 removed lines. Original line number Diff line number Diff line # output zip dist/ ## distribution files .DS_Store package-lock.json Loading
CHANGELOG.md +21 −0 Changes for CHANGELOG.md: 21 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -29,6 +29,27 @@ Changelog 维护应保持最新版本在文件上面的原则,日期格式按 - 预发布版本使用形如 "`[1.0.2-rc.1] - 2021-06-11`" 作为二级标题, - 正式发布版本使用形如 "`[1.0.1] - 2020-07-25`" 作为二级标题。 ## [1.3.0] - 2021-08-01 ### Changed - 【封面】封面“硕士学位论文” 修改为宋体 24 号字加粗。 - 【封面】封面论文题目中文采用黑体 22 号字。 - 【封面】封面作者及指导教师信息采用宋体 18 号字。 - 【封面】封面日期填写学位论文成文打印的日期,采用用宋体 18 号字。 - 【题名页】题目采用中文黑体 22 号字,英文Times New Roman 22号字。 - 【其他】修正目录行距目录。 - 【其他】条目列表,默认缩进2个中文字符,悬挂缩进,并按要求更新默认样式。 - 【其他】子图、子表改用成对圆括号。 - 【其他】对齐了声明中的签名 - 【其他】变更声明顺序,位于在答辩委员会后。 - 【其他】修正学术成果部分的参考文献字体大小,改为10.5pt。 - 【其他】修改学术成果用节标题,前面不加(一)(二)等,序号从[1]开始往后递推。 - 【其他】修改学术成果用节标题样式。 ## Added - 【字体】添加加载外部字体选项,改善非Windows系统下的字体编译。 ## [1.2.0] - 2021-06-30 ## Added Loading
Makefile +7 −6 Changes for Makefile: 7 added lines, 6 removed lines. Original line number Diff line number Diff line Loading @@ -16,7 +16,7 @@ else RM = rm -f endif .PHONY: all all-dev clean cleanall distclean thesis viewthesis doc viewdoc cls test wordcount FORCE_MAKE .PHONY: all all-dev clean cleanall thesis viewthesis dist doc viewdoc cls test wordcount FORCE_MAKE thesis: $(THESIS).pdf Loading @@ -31,6 +31,10 @@ $(CLSFILE): $(SOURCES) doc: $(PACKAGE).pdf dist: doc thesis clean rm -rf dist/ mkdir -p dist/ zip -r dist/sustech-master-thesis.zip . -x *.git* /*node_modules/* .editorconfig *public-test/* *dist/* $(PACKAGE).pdf: cls FORCE_MAKE $(LATEXMK) $(PACKAGE).dtx Loading @@ -52,12 +56,9 @@ clean: -@$(RM) -rf *~ main-survey.* main-translation.* _markdown_sustechthesis* sustechthesis.markdown.* _markdown_thuthesis* thuthesis.markdown.* cleanall: clean -@$(RM) -rf public-test -@$(RM) $(PACKAGE).pdf $(THESIS).pdf distclean: cleanall -@$(RM) $(CLSFILE) -@$(RM) -r dist -@$(RM) -rf public-test dist -@$(RM) $(PACKAGE).pdf $(THESIS).pdf wordcount : $(THESIS).tex @if grep -v ^% $< | grep -q '\\documentclass\[[^\[]*english'; then \ Loading
README.md +5 −3 Changes for README.md: 5 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases) [](https://github.com/SUSTech-CRA/sustech-master-thesis/commits/master) [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases/latest) [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases/tag/dev-latest) [](https://github.com/SUSTech-CRA/sustech-master-thesis/releases/tag/dev-latest) ## 下载 Loading Loading @@ -70,14 +70,15 @@ xetex sustechthesis.ins ### 使用 LaTex 在线编辑器 * 使用 [Overleaf](https://www.overleaf.com/)(需要科学上网保证稳定使用),上传 zip 压缩包后,更改编译器为 `XeLaTex` * 使用 [南科大 ShareLaTex](https://sharelatex.cra.moe/),使用方式与Overleaf相同,上传 zip 压缩包后,更改编译器为 `XeLaTex`,并在主文档的头部 `\documentclass[degree=master,language=english,fontset=fandol]` 设置 `fontset` 参数 为 `fandol`. * 使用 [南科大 ShareLaTex](https://sharelatex.cra.moe/),使用方式与Overleaf相同,上传 zip 压缩包后,更改编译器为 `XeLaTex`,并在主文档的头部 `\documentclass[degree=master,language=english,cjk-font=external]` 设置 `cjk-font` 参数 为 `external`. ### 编译前的建议 1. 在撰写论文时,我们不推荐使用原有的 `sustechthesis-example.tex` 这一名称。建议将其复制一份,改为其他的名字(如 `thesis.tex` 或者 `main.tex`)。需要注意,如果使用了来 自 `data` 目录中的 `tex` 文件,则重命名主文件后,其顶端的 `!TeX root` 选项也需要相应修改。 2. 需要注意,如果更改了主文件的名称,则需要修改 `Makefile` 顶端的 `THESIS` 变量定义;或修改 `latexmk` 命令后的参数。 3. ⚠️ 提交最终正式版本时,建议在 Windows 下本地编译且设置 `fontset` 参数 为 `windows`,以保证字体正确。 3. 如果出现中文字体找不到的错误或期望 Windows 几乎字体显示几乎一致,可以设置 `cjk-font` 参数 为 `external`,导入包内自带字体。 4. ⚠️ 提交最终正式版本时,建议在 Windows 下本地编译且设置 `fontset` 参数 为 `windows`,以保证字体正确。 ## 模板结构 Loading @@ -103,3 +104,4 @@ xetex sustechthesis.ins * 本模板基于清华大学模板 [ThuThesis v7.1.0](https://github.com/tuna/thuthesis/releases/tag/v7.1.0) 修改。 * 本模版根据南方科技大学研究生院发布的相关 [学位授予的政策文件](https://gs.sustech.edu.cn/xueweishouyuzhengce) 编写,如有冲突以官网规定为准。 * 如果范例中存在与《写作指南》中的规定不符之处,以《写作指南》中的文字叙述为准。