{"id":26359881,"url":"https://github.com/Pungjay/swjtuThesis","last_synced_at":"2025-03-16T16:04:26.144Z","repository":{"id":252409428,"uuid":"840125986","full_name":"Pungjay/swjtuThesis","owner":"Pungjay","description":"西南交通大学硕/博学位论文 LaTeX 模板","archived":false,"fork":false,"pushed_at":"2024-08-17T15:20:11.000Z","size":16483,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"template","last_synced_at":"2024-10-12T21:03:26.357Z","etag":null,"topics":["latex-template","overleaf","southwest-jiaotong-university","swjtu","texstudio","thesis-template","xelatex"],"latest_commit_sha":null,"homepage":"","language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Pungjay.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-09T03:05:10.000Z","updated_at":"2024-10-07T11:48:06.000Z","dependencies_parsed_at":"2024-09-24T05:02:17.056Z","dependency_job_id":"2e1f0007-2e67-4602-9af6-d83382b788c5","html_url":"https://github.com/Pungjay/swjtuThesis","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"c1203ea6cc20c6756d6c008667361ed3bc481f18"},"previous_names":["pungjay/swjtuthesis"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pungjay%2FswjtuThesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pungjay%2FswjtuThesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pungjay%2FswjtuThesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Pungjay%2FswjtuThesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Pungjay","download_url":"https://codeload.github.com/Pungjay/swjtuThesis/tar.gz/refs/heads/template","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243893840,"owners_count":20364916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["latex-template","overleaf","southwest-jiaotong-university","swjtu","texstudio","thesis-template","xelatex"],"created_at":"2025-03-16T16:01:45.735Z","updated_at":"2025-03-16T16:04:26.130Z","avatar_url":"https://github.com/Pungjay.png","language":"TeX","funding_links":[],"categories":["Popular \u0026 New LaTeX Templates"],"sub_categories":["Thesis/Dissertation"],"readme":"# 西南交通大学硕/博学位论文 LaTeX 模板\n\n## 模板简介\n\n西南交通大学硕/博学位论文 LaTeX 模板 swjtuThesis，严格按照《[西南交通大学研究生学位论文撰写范式（2024年7月编写）](https://gsnews.swjtu.edu.cn/info/1063/8744.htm)》的要求编写，查阅参考了很多的其他高校的模板、教程和资料。 \n\nLaTeX 使得论文的内容与格式相分离，用户只需要专注内容，而格式已由模板控制好，有关 LaTeX 的全面教程可查阅[Overleaf官方教程](https://cn.overleaf.com/learn/latex/Tutorials)与[CSDN相关教程](https://blog.csdn.net/weixin_66397563/article/details/125709511)。\n\n模板的下载地址以及更新渠道：[GitHub](https://github.com/Pungjay/swjtuThesis)\n\n## 文件说明\n\n- `main.tex`：主文件，编译即可产生论文PDF；\n- `swjtuThesis.cls`：文章的类文件，控制了论文的页边距、字体字号、各级标题、扉页、页眉页脚等，不建议用户修改；\n- `swjtuThesis.sty`：文章的样式文件，控制了论文的公式、图片、表格、文献、算法、代码、脚注、列表、目录、图/表目录等，不建议用户修改；\n-  `swjtuThesis.bst`：参考文献列表的样式文件，控制了各种文献类型在文献列表的呈现样式，不建议用户修改；\n-  `simsun.ttc、simhei.ttf`：字体文件，在 .cls 文件中指定了论文的中文主要字体（衬线字体）为宋体、次要字体（无衬线字体）为黑体，请用户不要更改、移动和删除；\n- `01_frontPart/`：用户需要撰写的论文的前置部分（中英文扉页信息、独创性声明、论文使用授权、中英文摘要、主要符号表(如须)、缩略词表(如须)）。而目录、图/表目录(如须)是通过 LaTeX 命令自动生成的（见主文件`main.tex`），封面是请用户打印最终纸质版论文后自己封装；\n- `02_bodyPart/`：用户需要撰写的论文的正文部分（绪论、具体研究内容、结论、致谢），而参考文献列表是通过 LaTeX 命令自动生成的（见主文件`main.tex`）。\n- `03_behindPart/`：用户需要撰写的论文的结尾部分（附录(如须)、攻读硕士/博士期间取得的成果）；\n- `figures/`：论文中的图片的文件夹，LaTeX 支持多种图片格式，如 .jpg、.png、.eps、.pdf 等，建议用户尽可能使用 .pdf 形式的矢量图；\n- `references/`：论文中的参考文献的文件夹，其中的`ref_01.bib`、`ref_02.bib`是参考文献数据库，将论文中需要引用的所有文献的 BibTeX 格式复制粘贴到这里（建议通过[Google Scholar](https://scholar.google.com)查找或者 Zotero 软件搭配 Better BibTeX 插件一键导出）。\n- `delete-temp-files`：使用本地编译的编译方式时，双击运行即可一键删除每次编译后产生的临时缓存文件（使用在线编译的编译方式则不需要，因为缓存文件保存在云端）。\n\n## 编译方式\n\nswjtuThesis 模板有两种编译方式：在线编译，本地编译。不论是哪种编译方式，编译器均必须选择 XeLaTeX（中文文档），不能用 pdfLaTeX（英文文档）。\n\n### 1. 在线编译（推荐）\n\n推荐使用 [Overleaf](https://cn.overleaf.com/) 在线 LaTeX 编辑器。可以在不安装任何工具的情况下编写 LaTeX 文档且**自动保存**，也可以和其他人**共享文档**以共同编辑，还具备**记录版本**的功能，能记录项目自创建起所做过的所有修改并保存在云端。\n\n 1. 在 Overleaf 中“创建项目”→“上传项目”→上传`swjtuThesis.zip`压缩包；\n 2. 左侧的项目预览栏的左上角的 “菜单”：\n - “编译器”→下拉选择 “XeLaTeX” ；\n - “TeX Live版本”→下拉选择“2024”（或其他2021以后的版本）；\n 3. 右侧的文件预览窗口的左上角点击“重新编译”。\n\n### 2. 本地编译\n[Texstudio](https://texstudio.sourceforge.net/) 本地 LaTeX 编译器。需要先本地部署 TeX Live 环境，再进行Texstudio的安装，可以在[清华大学开源软件镜像站](https://mirrors.tuna.tsinghua.edu.cn/)或者[Texstudio官网](https://texstudio.sourceforge.net/)进行下载安装。Texstudio 可以在无网络的情况下**离线编译**，其界面内置了很多**快捷命令**，有能力的用户还可以查阅相关教程使用 **VS Code 搭配 LaTeX workshop 插件**直接在 VS Code 中进行写作。\n\n## 其他说明\n\n1. 硕士、博士的学位论文的格式要求完全相同，只是中英文扉页、页眉、研究成果标题这三处有文字差异。本模板默认为硕士论文，切换成博士论文的方法：\n  - 在`01_frontPart/thesisInformation.tex`文件中，按照注释内容提示修改以下代码：\n```\n\\cDegree{硕}  % 硕士论文请填“硕”，博士论文请填“博”\n\\eDegree{Master} % 硕士论文请填“Master”，博士论文请填“Doctoral”\n\\eThesis{Thesis} % 硕士论文请填“Thesis”，博士论文请填“Dissertation”\n```\n\n2. 本模板目前在bodyPart内容设置了4章内容：`chapter_01.tex`、`chapter_02.tex`、`chapter_03.tex`、`chapter_04.tex`。用户如需增加章，请在文件夹`bodyPart/`中新建空白`chapter_0X.tex`文件，同时在`main.tex`主文件的相应位置添加以下代码。如需增加附录同理。\n```\n\\include{02_bodyPart/chapter_0X}\n```\n3. 为了方便用户按类型分类文献，本模板目前设置了2个参考文献数据库：`ref_01.bib`、`ref_02.bib`。用户可以添加.bib文件，也可重命名.bib文件（通过记事本软件生成.txt文件后修改后缀为.bib后上传至该文件夹），同时在主文件中修改以下代码：\n```\n\\bibliography{references/ref_01,references/ref_02}\n```\n4. 本模板未能设置文献在论文中的上标引用与水平引用的混合使用模式，只含有上标引用。因此，应避免“由文献[4, 7-10]可知”的水平引用的写法，可以用（作者）等加上标引用的写法代替。\n5. 文集中的文章（incollection）和会议论文（inproceedings/conference）同属于析出型文献，GBT7714-2015中对于该类文献在文献列表中显示的是[M]//和][C]//，但考虑到文集已很少用而会议论文却常用，因而本模板的参考文献列表样式将其改成显示为[M].和][C].（二者只能同时变动）。改动前后的效果为：\n```\n白书农. 植物开花研究[M]//李承森. 植物科学进展. 北京: 高等教育出版社, 1998: 146-163.\n白书农. 植物开花研究[M]. 李承森. 植物科学进展. 北京: 高等教育出版社, 1998: 146-163.\nRathgeb A, Ma L, Tran M, et al. Extended depth of field imaging for mosaic hyperspectral images\n[C]//Conference on Medical Imaging-Digital and Computational Pathology. San Diego, USA,\n2023: 283-291.\nRathgeb A, Ma L, Tran M, et al. Extended depth of field imaging for mosaic hyperspectral images\n[C]. Conference on Medical Imaging-Digital and Computational Pathology. San Diego, USA,\n2023: 283-291.\n```\n## 注意事项\n\n\u003e 电子版论文：\n\u003e 请用户对`main.tex`主文件进行最终的编译之前，通过将带有作者和导师的手写签名的《学位论文独创性声明》及《学位论文使用授权》的纸质版扫描成PDF文件，上传到`01_frontPart/`中替换对应的现有PDF文件，再进行编译即可得到电子版论文。\n\u003e \n\u003e 纸质版论文：\n\u003e 请用户对`main.tex`主文件进行最终的编译之前，注释掉以下代码。再根据《范式》3.3节的要求通过 Acrobat 等PDF编辑器在合理的位置插入空白页，再进行全体双面打印，最后将带有作者和导师的手写签名的《学位论文独创性声明》及《学位论文使用授权》的纸质版插入相应的位置，装订，即可得到纸质版论文。\n```\n\\includepdf{01_frontPart/statement.pdf}\n\\includepdf{01_frontPart/copyright.pdf}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPungjay%2FswjtuThesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPungjay%2FswjtuThesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPungjay%2FswjtuThesis/lists"}