{"id":14980702,"url":"https://github.com/swjtutug/swjtuthesis","last_synced_at":"2025-10-29T03:30:51.131Z","repository":{"id":43808246,"uuid":"125520746","full_name":"swjtutug/swjtuthesis","owner":"swjtutug","description":"LaTeX template for SWJTU thesis.","archived":false,"fork":false,"pushed_at":"2019-12-09T05:35:25.000Z","size":1374,"stargazers_count":38,"open_issues_count":4,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-29T04:41:30.744Z","etag":null,"topics":["latex","latex-class","swjtu","thesis-template"],"latest_commit_sha":null,"homepage":null,"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/swjtutug.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}},"created_at":"2018-03-16T13:36:06.000Z","updated_at":"2024-06-27T15:53:04.000Z","dependencies_parsed_at":"2022-09-17T03:21:07.799Z","dependency_job_id":null,"html_url":"https://github.com/swjtutug/swjtuthesis","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swjtutug%2Fswjtuthesis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swjtutug%2Fswjtuthesis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swjtutug%2Fswjtuthesis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/swjtutug%2Fswjtuthesis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/swjtutug","download_url":"https://codeload.github.com/swjtutug/swjtuthesis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219858509,"owners_count":16556043,"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","latex-class","swjtu","thesis-template"],"created_at":"2024-09-24T14:02:17.223Z","updated_at":"2025-10-29T03:30:49.903Z","avatar_url":"https://github.com/swjtutug.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 西南交通大学学位论文 LaTeX 模板\n\n[![Travis build](https://travis-ci.org/swjtutug/swjtuthesis.svg?branch=master)](https://travis-ci.org/swjtutug/swjtuthesis)\n[![GitHub release](https://img.shields.io/github/release/swjtutug/swjtuthesis/all.svg)](https://github.com/swjtutug/swjtuthesis/releases/latest)\n[![Github downloads](https://img.shields.io/github/downloads/swjtutug/swjtuthesis/total.svg)](https://github.com/swjtutug/swjtuthesis/releases)\n[![GitHub commits](https://img.shields.io/github/commits-since/swjtutug/swjtuthesis/v1.1.svg)](https://github.com/swjtutug/swjtuthesis/commits/master)\n\n本项目是西南交通大学的学位论文 LaTeX 模板 swjtuthesis，按照\n《[西南交通大学研究生学位论文撰写规范](http://gs.swjtu.edu.cn/ws/gs/dd/25)》\n和\n《[本科毕业设计（论文）指导纪要（模板）](http://jwc.swjtu.edu.cn/download/file/2014060410031788.doc)》\n的要求编写，兼容最新版的 TeX Live、MacTeX 、MikTeX 发行版，支持跨平台使用。\n\n注意：\n\n1. 使用说明文档\n[swjtuthesis.pdf](https://github.com/swjtutug/swjtuthesis/releases/download/v1.1/swjtuthesis.pdf)\n在发布版中附带，用户也可自行编译获取说明文档；**使用模板前应仔细阅读**。\n\n2. 本模板要求 TeX Live、MacTeX、MikTeX 不低于 2015 年的发行版，\n并且尽可能升级到最新。\n\n3. **不支持** [CTeX 套装](http://www.ctex.org/CTeXDownload)。\n\n\u003c!--4. 初始版本无法利用 `make doc` 编译运行，但是其他方式可以的，主要是环境变量依赖问题。--\u003e\n\u003c!--``` bash--\u003e\n\u003c!--sudo apt-get remove --purge texlive-base --\u003e\n\u003c!--sudo apt-get remove --purge texlive-binaries tex-common --\u003e\n\u003c!--```--\u003e\n\n\u003c!--5. 主要注意相关的设置含义，配置--\u003e\n\u003c!--[Travis CI](https://travis-ci.org/swjtutug/swjtuthesis)--\u003e\n\u003c!--时，未注意到时间延迟问题，因此起始阶段花费时间较大，配置实现参考--\u003e\n\u003c!--[官方文档](https://docs.travis-ci.com/)--\u003e\n\u003c!--或者--\u003e\n\u003c!--[阮一峰博客](http://www.ruanyifeng.com/blog/2017/12/travis_ci_tutorial.html)。--\u003e\n\n## 下载地址\n\n- GitHub Releases：https://github.com/swjtutug/swjtuthesis/releases\n\n\n## 编译文档\n\n- 编译模板的使用说明文档 `swjtuthesis.pdf`：\n   ```\n   latexmk swjtuthesis.dtx\n   ```\n- 编译论文 `main.pdf`：\n   ```\n   latexmk\n   ```\n- 如需清理论文编译过程中的临时文件，可以：\n   ```\n   latexmk -c\n   ```\n\n- 以上编译过程也可以用 `make` 工具：\n   ```\n   make doc        # 编译生成 swjtuthesis.pdf\n   make            # 编译生成论文 main.pdf\n   make clean      # 删除编译过程中生成的临时文件\n   ```\n\n## \u003c!--环境变量依赖--\u003e\n\u003c!--本次之前* `latexmk swjtuthesis.dtx` 也是存在问题，无法正常编译。--\u003e\n\u003c!--删除上述软件后即实现了正常编译，主要问题是路径问题，最初利用了系统的安装库。--\u003e\n\u003c!--v1.0其实也是没有问题，因为在 `Travis CI` 中可以编译通过，主要问题在于本地无法编译通过。--\u003e\n\u003c!--前期运行过 `apt-get install texlive-binaries` ，重新定义texlive的环境变量路径。--\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswjtutug%2Fswjtuthesis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fswjtutug%2Fswjtuthesis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fswjtutug%2Fswjtuthesis/lists"}