| 1 | # CQUThesis:重庆大学毕业论文LaTeX模板 |
| 2 | |
| 3 | [](https://travis-ci.org/nanmu42/CQUThesis) |
| 4 | [](https://www.ctan.org/pkg/cquthesis) |
| 5 | [](https://github.com/nanmu42/CQUThesis/releases/latest) |
| 6 | [](https://github.com/nanmu42/CQUThesis/commits/master) |
| 7 | [](https://zenodo.org/badge/latestdoi/58866503) |
| 8 | |
| 9 | CQUThesis表示的是**C**hong**Q**ing **U**niversity **Thesis**. |
| 10 | |
| 11 | 本宏包是重庆大学毕业论文的`\LaTeX{}`模板,支持学士、硕士、博士论文的排版,熟悉LaTeX的同学在合理使用本宏包的情况下可以减轻毕业论文撰写过程中的排版工作量。 |
| 12 | |
| 13 | CQUThesis根据重庆大学《重庆大学本科设计(论文)撰写规范化要求(2007年修订版)》和《重庆大学博士、硕士论文撰写格式标准(2007年修订版)》编写,力求合规,简洁,易于实现,用户友好。 |
| 14 | |
| 15 | # 模板特色 |
| 16 | |
| 17 | * 支持重庆大学本科(文学、理工)、硕士(学术、专业)、博士的毕业论文格式; |
| 18 | * 内置封面、目录、索引、授权书等论文部件,可按需自动生成; |
| 19 | * 自动侦测文档页数,生成相应的单面打印/双面打印PDF文件; |
| 20 | * 预置一批优化过的宏包和小功能,包含中英双语题注及配套图录、表录,国际标准单位、化学式支持、三线表等,可按需开启; |
| 21 | * 支持基于cwl文件的代码着色和补全,makefile功能能够在Linux, Mac, Windows三平台通用; |
| 22 | * 每周自动进行持续集成测试,保证模板在最新宏包环境下能够正常运行,当前状态:[](https://travis-ci.org/nanmu42/CQUThesis) |
| 23 | |
| 24 |  |
| 25 | |
| 26 | # 用户协议 |
| 27 | |
| 28 | 1. 本模板按照[LaTeX Project Public License](https://latex-project.org/lppl/lppl-1-3.txt)发布,协议版本号为1.3或以后的任何版本(随你意)。本条款不适用于重庆大学LaTeX模板工具箱(CQUThesis Toolkit); |
| 29 | 1. 截止本文档编辑时,重庆大学教务处和研究生院只提供了毕业论文写作指南,没有提供官方模板,也没有授权或认证任何第三方模板为官方模板。本模板是按照写作指南的参考实现,模板作者自当尽力,但不保证审查老师不提意见。在开始使用前,您同意,任何由于本模板而引起的论文格式审查问题与本模板作者无关。 |
| 30 | |
| 31 | # 获取CQUThesis |
| 32 | |
| 33 | ## 下载 |
| 34 | |
| 35 | 版本 | 下载地址 | 描述 |
| 36 | --- | --- | --- |
| 37 | 开发版 |[点我下载](https://github.com/nanmu42/cquthesis/zipball/master) | 推荐,最新的功能,最快的BugFix |
| 38 | 预发行版 | [Github下载页面](https://github.com/nanmu42/CQUThesis/releases) | 累计有较大更改时更新 |
| 39 | 发行版 |[CTAN下载页面](https://www.ctan.org/pkg/cquthesis)| 定期从预发行版更新,和TeX Live等发行版一同发行 |
| 40 | |
| 41 | 排版示例和用户文档随版本发布,如果需要单独下载,请参阅后文。 |
| 42 | |
| 43 | ## 部署 |
| 44 | |
| 45 | CQUThesis的安装十分便利。下载CQUThesis的.zip压缩包后请将整个文件夹解压出来,进入文件夹后: |
| 46 | |
| 47 | * Windows用户可以直接双击运行`makewin.bat` |
| 48 | * Linux 和 Mac 用户请在Bash窗口中进行如下操作: |
| 49 | ``` |
| 50 | cd path/to/cquthesis |
| 51 | make thesis |
| 52 | ``` |
| 53 | |
| 54 | 即可完成 CQUThesis 的安装和示例文档的编译。以上也是CQUThesis推荐的论文编译方式。 |
| 55 | |
| 56 | ## 高级编译 |
| 57 | |
| 58 | CQUThesis提供了支持全平台的Makefile来完成论文编译,大部分编译工作基于`latexmk`,能够有效利用中间文件提高编译效率,实现一键编译。 |
| 59 | |
| 60 | * Windows用户请在文件夹空白处按住Shift键再点击书鼠标右键,选择“在此处打开命令窗口”,运行下列命令: |
| 61 | ``` |
| 62 | makewin help |
| 63 | ``` |
| 64 | 可查询makewin.bat的详细用法(推荐熟悉,事半功倍)。 |
| 65 | |
| 66 | * Linux用户和Mac用户可打开 Makefile 文件查看相关用法。 |
| 67 | |
| 68 | ## 更新 |
| 69 | |
| 70 | CQUThesis的升级很方便,下载最新的开发版,将zip文件中的`cquthesis.dtx`和`cquthesis.ins`覆盖掉工作文件夹中的相应文件后: |
| 71 | |
| 72 | * Windows用户请在文件夹空白处按住Shift键再点击书鼠标右键,选择“在此处打开命令窗口”,运行下列命令: |
| 73 | ``` |
| 74 | makewin extract |
| 75 | ``` |
| 76 | |
| 77 | * Linux 和 Mac 用户请在 Bash 窗口中进行如下操作: |
| 78 | ``` |
| 79 | cd cquthesis |
| 80 | make cls |
| 81 | ``` |
| 82 | 即可完成 CQUThesis 的升级。 |
| 83 | |
| 84 | |
| 85 | # 文档 |
| 86 | |
| 87 | 文档涵盖了CQUThesis的使用方法、注意事项、实现方式,推荐阅读以快速上手: |
| 88 | |
| 89 | 文档 | 描述 |
| 90 | --- | --- |
| 91 | 排版示例 | 编译`main.tex`获得,也可 [点我下载](https://github.com/nanmu42/CQUThesis/files/4817714/main.pdf) |
| 92 | 用户文档 | 随模板发布,也可[点我下载](https://github.com/nanmu42/CQUThesis/raw/master/cquthesis.pdf) |
| 93 | |
| 94 | 此外,如果您需要向导师或学院征求使用TeX进行论文排版的理解和肯定,[重庆大学TeX用户组](http://jq.qq.com/?_wv=1027&k=2HvYu95)为您提供[《关于推荐重庆大学开设TeX相关课程并推广其运用的提议》](https://github.com/CQUtug/TeXProposal),希望这份文档能帮到您。目前,我们正在学校范围内推动这一提案。 |
| 95 | |
| 96 | # 提问和支持 |
| 97 | |
| 98 | * [Github Issues](https://github.com/nanmu42/CQUThesis/issues) |
| 99 | * 加入[重庆大学TeX用户组](http://jq.qq.com/?_wv=1027&k=2HvYu95)寻求支持 |
| 100 | |
| 101 | # 致谢 / Acknowledgements |
| 102 | |
| 103 | 这个模板是站在巨人肩膀上的成果,感谢LaTeX 2e计划,感谢[CTeX社区](https://github.com/CTeX-org/ctex-kit)提供的中文解决方案,感谢薛瑞尼副教授的[先驱之作](https://github.com/xueruini/thuthesis),感谢[中国科学技术大学TeX用户组](https://github.com/ustctug/gbt-7714-2015)。向你们致以真诚的问候和感激! |
| 104 | |
| 105 | 持续集成构建服务由[Travis CI](https://travis-ci.org/)提供,在构建中,CQUThesis使用了由Christian Schenk开发的[MiKTeX](https://miktex.org),使用[Docker](https://www.docker.com/)进行了[虚拟化](https://github.com/nanmu42/TeXPackageTestBench),镜像中包含[Ubuntu发行版](https://www.ubuntu.com),作者在此特别致谢。 |
| 106 | |
| 107 | 特别感谢参与CQUThesis的开发和维护的诸位[**直接贡献者**](https://github.com/nanmu42/CQUThesis/blob/master/CONTRIBUTORS.md),向你们致以真诚的敬意和感激! |
| 108 | |
| 109 | 特别感谢我的母校重庆大学无偿提供[CTAN镜像](https://mirrors.cqu.edu.cn/ctan/)服务,这对于中国西南地区的TeX用户而言是极大的利好。感谢[CQU Mirror Site Dev. Task Force](https://github.com/cqumirror)和[重庆大学蓝盟](http://lanunion.cqu.edu.cn/)的维护支持! |
| 110 | |
| 111 | 世界因你们更美好。 |
| 112 | |
| 113 | The author would like to acknowledge these contributors for their efforts and, essentially, beautiful mind: |
| 114 | |
| 115 | * [The CTeX Community](https://github.com/CTeX-org/ctex-kit) |
| 116 | * [XUE, Ruini](https://github.com/xueruini/thuthesis) |
| 117 | * [USTC TeX User Group](https://github.com/ustctug/gbt-7714-2015) |
| 118 | * [Chongqing University Opensource Mirror](https://github.com/cqumirror) |
| 119 | * [CQU Mirror Site Dev. Task Force](https://github.com/cqumirror) |
| 120 | * [Chongqing University Lan-Union for Computer and Network](http://lanunion.cqu.edu.cn/) |
| 121 | * [Travis CI](https://travis-ci.org/) |
| 122 | * [MiKTeX](https://miktex.org) |
| 123 | * [Docker](https://www.docker.com/) |
| 124 | * [Ubuntu](https://www.ubuntu.com) |
| 125 | |
| 126 | # CQUThesis Toolkit |
| 127 | |
| 128 | 重庆大学LaTeX模板工具箱(CQUThesis Toolkit)是为了增强CQUThesis而提供的额外文件和程序,这些内容往往是对CQUThesis易用性或功能的增强,没有它们,CQUThesis仍然可以良好地独立运行。 |
| 129 | |
| 130 | 这些内容有着自己的授权方式和简单的用户协议,不会随本模板的CTAN版本发布,CQUThesis的Github源是这些内容唯一的官方源,程序的更新和修正都会在这里进行。 |
| 131 | |
| 132 | # 论文写作规范 |
| 133 | |
| 134 | - [重庆大学本科毕业设计(论文)撰写规范化要求(2007修订).pdf](https://github.com/nanmu42/CQUThesis/files/644308/2007.pdf) |
| 135 | - [重庆大学博士、硕士学位论文撰写格式标准(2007修订).pdf](https://github.com/nanmu42/CQUThesis/files/644309/2007.pdf) |
| 136 | - [GB/T 7714-2015 信息与文献 参考文献著录规则.pdf](https://github.com/nanmu42/CQUThesis/files/1096886/GBT.7714-2015.pdf) |
| 137 | |
| 138 | # About CQUThesis |
| 139 | |
| 140 | CQUThesis stands for Chongqing University Thesis Template for LaTeX, bearing the ability to support bachelor, master, doctor dissertations with grace and speed. |