├── .gitignore ├── .hgignore ├── CHANGELOG ├── LICENSE ├── README.md ├── base └── xjtuthesis.cls ├── doc ├── README.old └── examples │ ├── Makefile │ ├── bachelor.tex │ ├── doctor.tex │ ├── figures │ ├── 437px-Monet_in_Garden_New_York_Times_1922.jpg │ ├── 450px-Claude_Monet_1899_Nadar_crop.jpg │ ├── 738px-Charing_Cross_Bridge_Monet.jpg │ ├── 780px-Claude_Monet_Impression_soleil_levant_1872.jpg │ ├── 800px-Claude_Monet_038.jpg │ ├── Claude_Monet_River_Scene_at_Bennecourt_Seine.jpg │ ├── Monet-Claude_-_View_At_Rouelles_Le_Havre_1858.jpg │ └── XJTU.pdf │ ├── master.tex │ ├── pages │ ├── anthem.tex │ ├── appendice.tex │ ├── conclusion.tex │ ├── denotation.tex │ ├── extrapdfs.tex │ ├── float.tex │ ├── formulae.tex │ ├── intro.tex │ ├── jiang-hk.tex │ ├── meta.tex │ └── monet.tex │ └── sample.bib ├── solutions ├── Makefile ├── bachelor.tex ├── bibliography.bib ├── doctor.tex ├── figures │ ├── XJTU.pdf │ ├── XJTU_2024.png │ └── XJTU_RED.png ├── master.tex └── pages │ ├── acknowledgements.tex │ ├── appendice.tex │ ├── conclusion.tex │ ├── denotation.tex │ ├── extrapdfs.tex │ ├── intro.tex │ └── meta.tex ├── tools ├── fetchDoc.sh └── release.sh └── unittests ├── packages.tex ├── xecjk-propfont.tex └── xecjk.tex /.gitignore: -------------------------------------------------------------------------------- 1 | *.aux 2 | *.blg 3 | *.out 4 | *.log 5 | *.bbl 6 | *.toc 7 | 8 | *.pdf 9 | *.kilepr 10 | *.synctex.gz 11 | *.synctex(busy) 12 | 13 | *~ 14 | 15 | build/ 16 | 17 | # MacOS filesystem file 18 | *.DS_Store 19 | -------------------------------------------------------------------------------- /.hgignore: -------------------------------------------------------------------------------- 1 | syntax: glob 2 | examples/bachelor.pdf 3 | examples/master.pdf 4 | examples/doctor.pdf 5 | unittests/*.pdf 6 | *.swp 7 | *.latexmain 8 | *.out 9 | *.log 10 | *.aux 11 | *.bbl 12 | *.blg 13 | *.thm 14 | *.toc 15 | *.toe 16 | *.orig 17 | *.xdv 18 | setmain 19 | examples/xjtuthesis.cls 20 | solutions/xjtuthesis.cls 21 | solutions/bachelor.pdf 22 | solutions/master.pdf 23 | solutions/doctor.pdf 24 | solutions/*.bst 25 | STAGED 26 | release.sh 27 | release/ 28 | doc/*.html 29 | -------------------------------------------------------------------------------- /CHANGELOG: -------------------------------------------------------------------------------- 1 | 0.9.1 (June 4, 2024) (Credit: ShunchiZhang) 2 | * `5d9385e` 使用了楷体作为斜体 3 | * `8348605` 提供了 `tarbularx` 表格的对齐设置 4 | * `3795051` 修正了多行图题与表题的行距设置 5 | * `2341b9c` 提供了 `proof` 环境以编写证明 6 | * `5d9385e` Improved: Kai font for italic text 7 | * `8348605` Added: alignment options for `tabularx` 8 | * `3795051` Fixed: line stretch for multi-line figure and table captions 9 | * `2341b9c` Added: `proof` environment 10 | 11 | 0.9.0 (June 4, 2024) (Credit: ShunchiZhang) 12 | * `b5b8832` 修正了摘要和致谢中间的空格 13 | * `d8e288c` 修正了图序与表序的前后空格 14 | * `ea221fa` 修正了附录奇数页页眉 15 | * `c12b835` 增加了文末插入 PDF 的功能(任务书等) 16 | * `b5b8832` Fixed: spaces between abstract and acknowledgements 17 | * `d8e288c` Fixed: spaces before and after figure and table captions 18 | * `ea221fa` Fixed: odd page headers in the appendices 19 | * `c12b835` Added: feature to append required PDFs 20 | 21 | 0.8.0 (May 5, 2023) (Credit: junyang-zh) 22 | * 修改了默认非私有字体为*思源宋体*和*思源黑体* 23 | * 修改了 Makefile 使其符合 Wiki 描述(`make bachelor`, etc.) 24 | * 修正了 Makefile 中 bibtex 的用法 25 | * 使用了 gbt7714 宏包来摒弃内建 bst 用法 26 | * 丰富了 gitignore 27 | * 根据 2023 年新发布的本科论文模板修改了封面样式 28 | * Changed default non-property fonts to *Source Hans Serif* and *Source Hans Sans*. 29 | * Changed Makefile in accordance with Wiki (`make bachelor`, etc.) 30 | * Fixed the bibtex usage in the Makefile 31 | * Used the gbt7714 package to obsolete the inclusion of bst file 32 | * replenished the gitignore file 33 | * Changed the title page layouts in accordance with the latest bachelor's template in 2023 34 | 35 | 0.7.0 (Jun 6, 2016) 36 | * 改变了项目文件结构 37 | * 修正了页眉间距,与最新标准吻合 38 | * 接口改变: 移除了 truefont 选项, 增加了 propfont 选项 39 | * 更新了示例排版的代码 40 | * 增加了自动化编译脚本 41 | * Slightly changed project file structure 42 | * Fixed header spacing, matching newest official doc template 43 | * Interface: removed truefont option, added propfont option 44 | * Improved: updated examples code 45 | * Added automatic make script 46 | 47 | 0.6.7 (Jun 13, 2015) 48 | * 项目主页转移至 Github 49 | * 增加了示例排版的 Makefile 中的 clean 目标 50 | * 更新使用了新版本的 GBT7714-2005 文献引用格式 51 | * 修正了带圈的脚注编号 52 | * 移除了无用的文件 53 | * 修正了文献引用中作者姓没有首字母大写的问题 54 | * 与 revamped 分支融合 55 | * Changed: project moved to Github 56 | * Improved: added a clean target in example Makefile 57 | * Improved: using a newer version of GBT7714-2005 for reference style 58 | * Fixed: circled footnote number 59 | * Removed: unused files 60 | * Fixed: Capitalize author's last name in reference entries. 61 | * Improved: merged with revamped version reviewed through XJTU library 62 | 63 | 0.6.6 (Mar 21, 2013) 64 | * 修正了对 Tex Live 2012 的支持 65 | * 改进了英文字体,使用 FreeSerif 作为默认字体 66 | * Fixed: support for TeX Live 2012 67 | * Improved: Free English font using FreeSerif 68 | 69 | 0.6.2 (May 16, 2012) 70 | * 修正了标题和编号的格式问题 71 | * 修正了扉页中元素的顺序错误 72 | * 修正了示例排版文本中的笔误 73 | * 改进了脚注编号的外观 74 | * 改进了示例排版中的摘要和致谢部分 75 | * Fixed: various titles as well as enumerates 76 | * Fixed: sequence of items on the title page 77 | * Fixed: typo in example text 78 | * Improved: appearance in footnote numbering 79 | * Improved: example text in abstract and acknowledgement 80 | 81 | 0.6.0 (Apr 12, 2012) 82 | * 修正了二级标题字号错误 83 | * 修正了示例表格中的笔误 84 | * 增加了示例排版中莫奈的介绍 85 | * 增加了示例排版中江学长的演讲 86 | * 增加了对附录英文标题的支持 87 | * 增加了自动判断月份名称的功能 88 | * 增加了「解决方案」(solutions) 目录 89 | * 优化了目录结构 90 | * Fixed: section titles 91 | * Fixed: mistake in example table 92 | * Added: Monet's description for example typesetting result 93 | * Added: schoolmate Jiang's speech 94 | * Added: support for appendix titles in English 95 | * Added: support for auto determining the month name 96 | * Added: the directory of solutions 97 | * Improved: better content structure 98 | 99 | 0.4.6 (Apr 9, 2012) 100 | * 修正了图和表环境中没有指定默认字号的问题 101 | * 修正了子图标题的字号 102 | * 添加了对 enumerate 包的调用 103 | * 移去了未被用到的字体 104 | * Fixed: fontsize of figures and tables 105 | * Fixed: fontsize of labels of sub-figures 106 | * Added: dependency for package `enumerate` 107 | * Removed: unused font dependencies 108 | 109 | 0.4.2 (Mar 21, 2012) 110 | * 修正了英文引号不正确的问题 111 | * Fixed: quotation marks error 112 | 113 | 0.4.0 (Feb 18, 2012) 114 | * 改进了章节标题,在之前添加了章节号 115 | * 修正了扉页格式的错误 116 | * 修正了论文页码 117 | * 修正了摘要部分的行距 118 | * 修正了页眉中的分隔线 119 | * 修改了示例文本 120 | * 去除了无用的字体命令 121 | * 接口变化: 在有标号章节结束后, 增加\xjtuendcontents命令 122 | * 接口变化: 将\xjtucontents移动到主要符号表的后面 123 | * Improved: chapter titles having leading numbers 124 | * Fixed: some errors within the head pages 125 | * Fixed: page numbering in graduates theses 126 | * Fixed: line spacing in the abstract section 127 | * Fixed: rules in the header 128 | * Updated: example text 129 | * Removed: useless font commands 130 | * Interface: added \xjtuendcontents after numbered chapters 131 | * Interface: moved \xjtucontents after the denotation env 132 | 133 | 0.3.4 (Feb 17, 2012) 134 | * 在硕士学位论文示例中加入学术规范页面 135 | * 修正了博士学位论文示例中的笔误 136 | * 修改了源代码中到文档的链接地址 137 | * Added: xjtuacademicintegrity command in master example file 138 | * Fixed: typo in doctor.tex 139 | * Fixed: links to documentation in source code. 140 | 141 | 0.3.2 (Feb 15, 2012) 142 | * 增加了源代码顶部的到相关文档的链接和说明 143 | * 删去了研究生学位论文示例文件中无用的选项 144 | * Added: links to documentation in source code. 145 | * Fixed: removed `bigskip` option in graduates' example files. 146 | 147 | 0.3.0 (Feb 9, 2012) 148 | * 修正了 amssymb 宏包因冲突无法载入的情况 149 | * 改进了纸张大小的声明 150 | * Fixed: amssymb package not loading due to confict 151 | * Improved: page size declaration 152 | 153 | 0.2.8 (Jan 27, 2012) 154 | * 修正了参考文献在目录中页码错误的情况 155 | * Fixed: wrong page number for references in TOC. 156 | 157 | 0.2.7 (Jan 20, 2012) 158 | * 增加了无字体选项以便于手动设置字体 159 | * Added: nofont option for manually setting fonts 160 | 161 | 0.2.6 (Jan 20, 2012) 162 | * 修正了公式编号的分隔符为"`-`" 163 | * Fixed: modified equation numbering style 164 | 165 | 0.2.5 (Jan 16, 2012) 166 | * 修正了默认打开`compact`选项的错误 167 | * Fixed: compact option turned off in default 168 | 169 | 0.2.4 (Jan 14, 2012) 170 | * 修正了一些错误 171 | * 修正了图片和表格编号中没有使用"`-`"分隔的错误 172 | * 添加了单元测试 173 | * 添加了用于隐藏空白页的选项 174 | * Fixed: a few mistakes 175 | * Fixed: separator in figure numbers changed to "-" 176 | * Added: unit tests 177 | * Added: option to turn off empty pages 178 | 179 | 0.2.3 (Dec 16, 2011) 180 | * 修正了一些错误 181 | * 修正了2个导致编译失败的错误 182 | * Fixed a few mistakes 183 | * Fixed 2 errors that break compilation 184 | 185 | 0.2.2 (Dec 16, 2011) 186 | * 添加了对硕士和博士学位论文的初步支持 187 | * 修正了一个语法错误 188 | * 添加了用于行内引用的命令 189 | * Initial support for masters' and Ph.D.'s theses and dissertations 190 | * Fixed: a grammar error 191 | * Added: a command for in-text citation 192 | 193 | 0.2.1 (Dec 11, 2011) 194 | * 修正了章节标题和编号之间的空格 195 | * 修正了引用编号使用中括号的问题 196 | * 修正了目录中附录编号覆盖附录标题的错误 197 | * Fixed: Space between section title and its number 198 | * Fixed: Citation style using sqaure brackets 199 | * Fixed: Appendices overlays with its number in TOC 200 | 201 | 0.2.0 (Oct 5, 2011) 202 | * 迁移到Google Code 203 | * Switched to Google Code 204 | 205 | 0.1.7 (Aug 27, 2011) 206 | * 改进了 subsection 的样式 207 | * Improved: `subsection` style 208 | 209 | 0.1.5 (Aug 5, 2011) 210 | * 添加了对附录的支持 211 | * 改进了公式的示例 212 | * Added: appendices support 213 | * Improved: samples for math-mode 214 | 215 | 0.1.4 (Aug 7, 2011) 216 | * 添加了脚注格式标题 217 | * Added: footnote support 218 | 219 | 0.1.3 (Aug 3, 2011) 220 | * 增加了新的 denotation 环境 221 | * Added: `denotation` environment 222 | 223 | 0.1.2 (Aug 2, 2011) 224 | * 增加了表格的示例排版 225 | * 增加了对页眉和页脚的支持 226 | * Added: samples for tables 227 | * Added: support for page headers and footer 228 | 229 | 0.1.1 (July 23, 2011) 230 | * 代号改为 Monet 231 | * 改进了本科毕业论文的摘要部分 232 | * 增加了标准行距 233 | * 增加了新的命令 234 | * CodeName turned to `Monet` 235 | * Improved abstract pages in `bachelor` 236 | * Added: standard linespread support 237 | * Added: \thu@define@term from `THUthesis` 238 | 239 | 0.1.0 (July 21, 2011) 240 | * 首个版本 241 | * 代号 Copycat 242 | * 本科毕业论文模板尚未完成 243 | * Initial commit 244 | * CodeName `Copycat` 245 | * Unfinished `bachelor` template 246 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The LaTeX Project Public License 2 | =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 3 | 4 | LPPL Version 1.3c 2008-05-04 5 | 6 | Copyright 1999 2002-2008 LaTeX3 Project 7 | Everyone is allowed to distribute verbatim copies of this 8 | license document, but modification of it is not allowed. 9 | 10 | 11 | PREAMBLE 12 | ======== 13 | 14 | The LaTeX Project Public License (LPPL) is the primary license under 15 | which the LaTeX kernel and the base LaTeX packages are distributed. 16 | 17 | You may use this license for any work of which you hold the copyright 18 | and which you wish to distribute. This license may be particularly 19 | suitable if your work is TeX-related (such as a LaTeX package), but 20 | it is written in such a way that you can use it even if your work is 21 | unrelated to TeX. 22 | 23 | The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE', 24 | below, gives instructions, examples, and recommendations for authors 25 | who are considering distributing their works under this license. 26 | 27 | This license gives conditions under which a work may be distributed 28 | and modified, as well as conditions under which modified versions of 29 | that work may be distributed. 30 | 31 | We, the LaTeX3 Project, believe that the conditions below give you 32 | the freedom to make and distribute modified versions of your work 33 | that conform with whatever technical specifications you wish while 34 | maintaining the availability, integrity, and reliability of 35 | that work. If you do not see how to achieve your goal while 36 | meeting these conditions, then read the document `cfgguide.tex' 37 | and `modguide.tex' in the base LaTeX distribution for suggestions. 38 | 39 | 40 | DEFINITIONS 41 | =========== 42 | 43 | In this license document the following terms are used: 44 | 45 | `Work' 46 | Any work being distributed under this License. 47 | 48 | `Derived Work' 49 | Any work that under any applicable law is derived from the Work. 50 | 51 | `Modification' 52 | Any procedure that produces a Derived Work under any applicable 53 | law -- for example, the production of a file containing an 54 | original file associated with the Work or a significant portion of 55 | such a file, either verbatim or with modifications and/or 56 | translated into another language. 57 | 58 | `Modify' 59 | To apply any procedure that produces a Derived Work under any 60 | applicable law. 61 | 62 | `Distribution' 63 | Making copies of the Work available from one person to another, in 64 | whole or in part. Distribution includes (but is not limited to) 65 | making any electronic components of the Work accessible by 66 | file transfer protocols such as FTP or HTTP or by shared file 67 | systems such as Sun's Network File System (NFS). 68 | 69 | `Compiled Work' 70 | A version of the Work that has been processed into a form where it 71 | is directly usable on a computer system. This processing may 72 | include using installation facilities provided by the Work, 73 | transformations of the Work, copying of components of the Work, or 74 | other activities. Note that modification of any installation 75 | facilities provided by the Work constitutes modification of the Work. 76 | 77 | `Current Maintainer' 78 | A person or persons nominated as such within the Work. If there is 79 | no such explicit nomination then it is the `Copyright Holder' under 80 | any applicable law. 81 | 82 | `Base Interpreter' 83 | A program or process that is normally needed for running or 84 | interpreting a part or the whole of the Work. 85 | 86 | A Base Interpreter may depend on external components but these 87 | are not considered part of the Base Interpreter provided that each 88 | external component clearly identifies itself whenever it is used 89 | interactively. Unless explicitly specified when applying the 90 | license to the Work, the only applicable Base Interpreter is a 91 | `LaTeX-Format' or in the case of files belonging to the 92 | `LaTeX-format' a program implementing the `TeX language'. 93 | 94 | 95 | 96 | CONDITIONS ON DISTRIBUTION AND MODIFICATION 97 | =========================================== 98 | 99 | 1. Activities other than distribution and/or modification of the Work 100 | are not covered by this license; they are outside its scope. In 101 | particular, the act of running the Work is not restricted and no 102 | requirements are made concerning any offers of support for the Work. 103 | 104 | 2. You may distribute a complete, unmodified copy of the Work as you 105 | received it. Distribution of only part of the Work is considered 106 | modification of the Work, and no right to distribute such a Derived 107 | Work may be assumed under the terms of this clause. 108 | 109 | 3. You may distribute a Compiled Work that has been generated from a 110 | complete, unmodified copy of the Work as distributed under Clause 2 111 | above, as long as that Compiled Work is distributed in such a way that 112 | the recipients may install the Compiled Work on their system exactly 113 | as it would have been installed if they generated a Compiled Work 114 | directly from the Work. 115 | 116 | 4. If you are the Current Maintainer of the Work, you may, without 117 | restriction, modify the Work, thus creating a Derived Work. You may 118 | also distribute the Derived Work without restriction, including 119 | Compiled Works generated from the Derived Work. Derived Works 120 | distributed in this manner by the Current Maintainer are considered to 121 | be updated versions of the Work. 122 | 123 | 5. If you are not the Current Maintainer of the Work, you may modify 124 | your copy of the Work, thus creating a Derived Work based on the Work, 125 | and compile this Derived Work, thus creating a Compiled Work based on 126 | the Derived Work. 127 | 128 | 6. If you are not the Current Maintainer of the Work, you may 129 | distribute a Derived Work provided the following conditions are met 130 | for every component of the Work unless that component clearly states 131 | in the copyright notice that it is exempt from that condition. Only 132 | the Current Maintainer is allowed to add such statements of exemption 133 | to a component of the Work. 134 | 135 | a. If a component of this Derived Work can be a direct replacement 136 | for a component of the Work when that component is used with the 137 | Base Interpreter, then, wherever this component of the Work 138 | identifies itself to the user when used interactively with that 139 | Base Interpreter, the replacement component of this Derived Work 140 | clearly and unambiguously identifies itself as a modified version 141 | of this component to the user when used interactively with that 142 | Base Interpreter. 143 | 144 | b. Every component of the Derived Work contains prominent notices 145 | detailing the nature of the changes to that component, or a 146 | prominent reference to another file that is distributed as part 147 | of the Derived Work and that contains a complete and accurate log 148 | of the changes. 149 | 150 | c. No information in the Derived Work implies that any persons, 151 | including (but not limited to) the authors of the original version 152 | of the Work, provide any support, including (but not limited to) 153 | the reporting and handling of errors, to recipients of the 154 | Derived Work unless those persons have stated explicitly that 155 | they do provide such support for the Derived Work. 156 | 157 | d. You distribute at least one of the following with the Derived Work: 158 | 159 | 1. A complete, unmodified copy of the Work; 160 | if your distribution of a modified component is made by 161 | offering access to copy the modified component from a 162 | designated place, then offering equivalent access to copy 163 | the Work from the same or some similar place meets this 164 | condition, even though third parties are not compelled to 165 | copy the Work along with the modified component; 166 | 167 | 2. Information that is sufficient to obtain a complete, 168 | unmodified copy of the Work. 169 | 170 | 7. If you are not the Current Maintainer of the Work, you may 171 | distribute a Compiled Work generated from a Derived Work, as long as 172 | the Derived Work is distributed to all recipients of the Compiled 173 | Work, and as long as the conditions of Clause 6, above, are met with 174 | regard to the Derived Work. 175 | 176 | 8. The conditions above are not intended to prohibit, and hence do not 177 | apply to, the modification, by any method, of any component so that it 178 | becomes identical to an updated version of that component of the Work as 179 | it is distributed by the Current Maintainer under Clause 4, above. 180 | 181 | 9. Distribution of the Work or any Derived Work in an alternative 182 | format, where the Work or that Derived Work (in whole or in part) is 183 | then produced by applying some process to that format, does not relax or 184 | nullify any sections of this license as they pertain to the results of 185 | applying that process. 186 | 187 | 10. a. A Derived Work may be distributed under a different license 188 | provided that license itself honors the conditions listed in 189 | Clause 6 above, in regard to the Work, though it does not have 190 | to honor the rest of the conditions in this license. 191 | 192 | b. If a Derived Work is distributed under a different license, that 193 | Derived Work must provide sufficient documentation as part of 194 | itself to allow each recipient of that Derived Work to honor the 195 | restrictions in Clause 6 above, concerning changes from the Work. 196 | 197 | 11. This license places no restrictions on works that are unrelated to 198 | the Work, nor does this license place any restrictions on aggregating 199 | such works with the Work by any means. 200 | 201 | 12. Nothing in this license is intended to, or may be used to, prevent 202 | complete compliance by all parties with all applicable laws. 203 | 204 | 205 | NO WARRANTY 206 | =========== 207 | 208 | There is no warranty for the Work. Except when otherwise stated in 209 | writing, the Copyright Holder provides the Work `as is', without 210 | warranty of any kind, either expressed or implied, including, but not 211 | limited to, the implied warranties of merchantability and fitness for a 212 | particular purpose. The entire risk as to the quality and performance 213 | of the Work is with you. Should the Work prove defective, you assume 214 | the cost of all necessary servicing, repair, or correction. 215 | 216 | In no event unless required by applicable law or agreed to in writing 217 | will The Copyright Holder, or any author named in the components of the 218 | Work, or any other party who may distribute and/or modify the Work as 219 | permitted above, be liable to you for damages, including any general, 220 | special, incidental or consequential damages arising out of any use of 221 | the Work or out of inability to use the Work (including, but not limited 222 | to, loss of data, data being rendered inaccurate, or losses sustained by 223 | anyone as a result of any failure of the Work to operate with any other 224 | programs), even if the Copyright Holder or said author or said other 225 | party has been advised of the possibility of such damages. 226 | 227 | 228 | MAINTENANCE OF THE WORK 229 | ======================= 230 | 231 | The Work has the status `author-maintained' if the Copyright Holder 232 | explicitly and prominently states near the primary copyright notice in 233 | the Work that the Work can only be maintained by the Copyright Holder 234 | or simply that it is `author-maintained'. 235 | 236 | The Work has the status `maintained' if there is a Current Maintainer 237 | who has indicated in the Work that they are willing to receive error 238 | reports for the Work (for example, by supplying a valid e-mail 239 | address). It is not required for the Current Maintainer to acknowledge 240 | or act upon these error reports. 241 | 242 | The Work changes from status `maintained' to `unmaintained' if there 243 | is no Current Maintainer, or the person stated to be Current 244 | Maintainer of the work cannot be reached through the indicated means 245 | of communication for a period of six months, and there are no other 246 | significant signs of active maintenance. 247 | 248 | You can become the Current Maintainer of the Work by agreement with 249 | any existing Current Maintainer to take over this role. 250 | 251 | If the Work is unmaintained, you can become the Current Maintainer of 252 | the Work through the following steps: 253 | 254 | 1. Make a reasonable attempt to trace the Current Maintainer (and 255 | the Copyright Holder, if the two differ) through the means of 256 | an Internet or similar search. 257 | 258 | 2. If this search is successful, then enquire whether the Work 259 | is still maintained. 260 | 261 | a. If it is being maintained, then ask the Current Maintainer 262 | to update their communication data within one month. 263 | 264 | b. If the search is unsuccessful or no action to resume active 265 | maintenance is taken by the Current Maintainer, then announce 266 | within the pertinent community your intention to take over 267 | maintenance. (If the Work is a LaTeX work, this could be 268 | done, for example, by posting to comp.text.tex.) 269 | 270 | 3a. If the Current Maintainer is reachable and agrees to pass 271 | maintenance of the Work to you, then this takes effect 272 | immediately upon announcement. 273 | 274 | b. If the Current Maintainer is not reachable and the Copyright 275 | Holder agrees that maintenance of the Work be passed to you, 276 | then this takes effect immediately upon announcement. 277 | 278 | 4. If you make an `intention announcement' as described in 2b. above 279 | and after three months your intention is challenged neither by 280 | the Current Maintainer nor by the Copyright Holder nor by other 281 | people, then you may arrange for the Work to be changed so as 282 | to name you as the (new) Current Maintainer. 283 | 284 | 5. If the previously unreachable Current Maintainer becomes 285 | reachable once more within three months of a change completed 286 | under the terms of 3b) or 4), then that Current Maintainer must 287 | become or remain the Current Maintainer upon request provided 288 | they then update their communication data within one month. 289 | 290 | A change in the Current Maintainer does not, of itself, alter the fact 291 | that the Work is distributed under the LPPL license. 292 | 293 | If you become the Current Maintainer of the Work, you should 294 | immediately provide, within the Work, a prominent and unambiguous 295 | statement of your status as Current Maintainer. You should also 296 | announce your new status to the same pertinent community as 297 | in 2b) above. 298 | 299 | 300 | WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE 301 | ====================================================== 302 | 303 | This section contains important instructions, examples, and 304 | recommendations for authors who are considering distributing their 305 | works under this license. These authors are addressed as `you' in 306 | this section. 307 | 308 | Choosing This License or Another License 309 | ---------------------------------------- 310 | 311 | If for any part of your work you want or need to use *distribution* 312 | conditions that differ significantly from those in this license, then 313 | do not refer to this license anywhere in your work but, instead, 314 | distribute your work under a different license. You may use the text 315 | of this license as a model for your own license, but your license 316 | should not refer to the LPPL or otherwise give the impression that 317 | your work is distributed under the LPPL. 318 | 319 | The document `modguide.tex' in the base LaTeX distribution explains 320 | the motivation behind the conditions of this license. It explains, 321 | for example, why distributing LaTeX under the GNU General Public 322 | License (GPL) was considered inappropriate. Even if your work is 323 | unrelated to LaTeX, the discussion in `modguide.tex' may still be 324 | relevant, and authors intending to distribute their works under any 325 | license are encouraged to read it. 326 | 327 | A Recommendation on Modification Without Distribution 328 | ----------------------------------------------------- 329 | 330 | It is wise never to modify a component of the Work, even for your own 331 | personal use, without also meeting the above conditions for 332 | distributing the modified component. While you might intend that such 333 | modifications will never be distributed, often this will happen by 334 | accident -- you may forget that you have modified that component; or 335 | it may not occur to you when allowing others to access the modified 336 | version that you are thus distributing it and violating the conditions 337 | of this license in ways that could have legal implications and, worse, 338 | cause problems for the community. It is therefore usually in your 339 | best interest to keep your copy of the Work identical with the public 340 | one. Many works provide ways to control the behavior of that work 341 | without altering any of its licensed components. 342 | 343 | How to Use This License 344 | ----------------------- 345 | 346 | To use this license, place in each of the components of your work both 347 | an explicit copyright notice including your name and the year the work 348 | was authored and/or last substantially modified. Include also a 349 | statement that the distribution and/or modification of that 350 | component is constrained by the conditions in this license. 351 | 352 | Here is an example of such a notice and statement: 353 | 354 | %% pig.dtx 355 | %% Copyright 2005 M. Y. Name 356 | % 357 | % This work may be distributed and/or modified under the 358 | % conditions of the LaTeX Project Public License, either version 1.3 359 | % of this license or (at your option) any later version. 360 | % The latest version of this license is in 361 | % http://www.latex-project.org/lppl.txt 362 | % and version 1.3 or later is part of all distributions of LaTeX 363 | % version 2005/12/01 or later. 364 | % 365 | % This work has the LPPL maintenance status `maintained'. 366 | % 367 | % The Current Maintainer of this work is M. Y. Name. 368 | % 369 | % This work consists of the files pig.dtx and pig.ins 370 | % and the derived file pig.sty. 371 | 372 | Given such a notice and statement in a file, the conditions 373 | given in this license document would apply, with the `Work' referring 374 | to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being 375 | generated from `pig.dtx' using `pig.ins'), the `Base Interpreter' 376 | referring to any `LaTeX-Format', and both `Copyright Holder' and 377 | `Current Maintainer' referring to the person `M. Y. Name'. 378 | 379 | If you do not want the Maintenance section of LPPL to apply to your 380 | Work, change `maintained' above into `author-maintained'. 381 | However, we recommend that you use `maintained', as the Maintenance 382 | section was added in order to ensure that your Work remains useful to 383 | the community even when you can no longer maintain and support it 384 | yourself. 385 | 386 | Derived Works That Are Not Replacements 387 | --------------------------------------- 388 | 389 | Several clauses of the LPPL specify means to provide reliability and 390 | stability for the user community. They therefore concern themselves 391 | with the case that a Derived Work is intended to be used as a 392 | (compatible or incompatible) replacement of the original Work. If 393 | this is not the case (e.g., if a few lines of code are reused for a 394 | completely different task), then clauses 6b and 6d shall not apply. 395 | 396 | 397 | Important Recommendations 398 | ------------------------- 399 | 400 | Defining What Constitutes the Work 401 | 402 | The LPPL requires that distributions of the Work contain all the 403 | files of the Work. It is therefore important that you provide a 404 | way for the licensee to determine which files constitute the Work. 405 | This could, for example, be achieved by explicitly listing all the 406 | files of the Work near the copyright notice of each file or by 407 | using a line such as: 408 | 409 | % This work consists of all files listed in manifest.txt. 410 | 411 | in that place. In the absence of an unequivocal list it might be 412 | impossible for the licensee to determine what is considered by you 413 | to comprise the Work and, in such a case, the licensee would be 414 | entitled to make reasonable conjectures as to which files comprise 415 | the Work. 416 | 417 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # XJTUthesis 2 | 3 | | 是 | 一个 LaTeX 模板 | 4 | |:------------|:--------------------------------------------| 5 | | 提供 | 对教务处和研究生院的学位论文格式标准的实现 | 6 | | 帮助 | 要使用 LaTeX 排版学位论文的西安交大学生 | 7 | | 解决 | 学位论文排版的大部分格式问题 | 8 | 9 | ## [下载使用](https://github.com/Aetf/xjtuthesis/wiki/Before-Downloading) 10 | 11 | ## 示例文档 12 | 13 | - [学士示例](https://github.com/Aetf/xjtuthesis/wiki/examples/bachelor.pdf) 14 | - [硕士示例](https://github.com/Aetf/xjtuthesis/wiki/examples/master.pdf) 15 | - [博士示例](https://github.com/Aetf/xjtuthesis/wiki/examples/doctor.pdf) 16 | 17 | ## 使用字体 18 | 您可选择使用免费字体或版权字体或手动设置字体. 设置方式请参考[如何编译](https://github.com/Aetf/xjtuthesis/wiki/HowToCompile#%E5%AD%97%E4%BD%93) 19 | 20 | 默认免费字体使用了 Adobe 开源的[思源宋体](https://github.com/adobe-fonts/source-han-serif/releases/tag/2.001R)和[思源黑体](https://github.com/adobe-fonts/source-han-sans/releases/tag/2.004R),字体库非常大,可以只下载简体中文区的子集。 21 | 22 | 推荐一款不错的宋体字体: [方正新书宋简体](http://item.taobao.com/item.htm?id=20077875366). 23 | 24 | ## 免责声明 25 | 26 | `XJTUthesis` 是个人项目. 学校的相关部门没有提供任何有益的协助. 使用者应当自行承担一切后果. 详见[协议](https://github.com/Aetf/xjtuthesis/blob/master/LICENSE)(英文). 27 | 28 | ## 我要用可是我心里没有底我该联系谁 29 | 30 | * **本科生**和系里联系 31 | * **研究生**和研究生院学位办(周主任)联系. 电话: 82668899. 办公地址: 教学主楼1311室. 电子邮件: xwb@mail.xjtu.edu.cn ([从来不回](Letters)). 32 | 33 | ## 同类解决方案 34 | * **Overleaf** *无需本地配置环境即可编译使用* 的本科生、研究生毕业论文模板 [Overleaf模板网址](https://www.overleaf.com/latex/templates/xjtu-bachelor-thesis-template-2024/xkzqhwkdfpjx),基于本repo,最新更新于2024年6月。(Overleaf [其他模板网址](https://www.overleaf.com/latex/templates?q=xjtu),最后更新于2021年,可供参考,并含答辩可以使用的beamer模板。) 35 | * Shujun Li (hooklee)的 [西安交通大学博士学位论文cls文档类](http://www.hooklee.com/default.asp?t=TeX%2FLaTeX),最后更新于 2009 年 2 月 24 日 36 | * Haoyun 的 [本科生毕业论文模板 (xjtuthss)](http://xjtuthesis.sinaapp.com/),[相关帖子](http://bbs.xjtu.edu.cn/BMY/con?B=thesis&F=M.1367163286.A)(已经成为死链) 37 | 38 | 39 | ## 社交平台 40 | (由原作者multiple1902维护,现已停止更新): 41 | 42 | - [twitter](https://twitter.com/xjtuthesis) 43 | - [新浪微博](http://weibo.com/xjtuthesis) 44 | 45 | 46 | ## 原项目信息 47 | [Google Code](https://code.google.com/p/xjtuthesis/) 48 | 49 | XJTUthesis, initiated by multiple1902, aims to provide a set of canonical LaTeX templates for dissertations of Xi'an Jiaotong University, suitable for bachelors, masters and Ph.D.'s. This project is now hosted on Google Code. 50 | 2011 年 7 月由 multiple1902 创建的 XJTUthesis 项目旨在提供一套符合学校有关部门标准并且方便易用的西安交通大学学士、硕士、博士学位论文的 LaTeX 模板. 该项目目前托管于 Google Code. 51 | 52 | XJTUthesis strictly follows the standards published by the Office of Academic Degrees and the Graduate School, and keeps up with the newest requirements on formats. 53 | XJTUthesis 严格按照学校教务处(学士学位论文)和研究生院(硕士、博士学位论文)的格式要求制作, 并根据最新的格式要求进行修正. 54 | 55 | Copyright 2011~2013, multiple1902 (Weisi Dai) 56 | -------------------------------------------------------------------------------- /base/xjtuthesis.cls: -------------------------------------------------------------------------------- 1 | % bachelor.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \NeedsTeXFormat{LaTeX2e}[1999/12/01] 28 | \ProvidesClass{xjtuthesis} 29 | [2016/6/6 0.7.0 Xi'an Jiaotong University Dissertation Template] 30 | 31 | % Brand marks, and version info 32 | \def\xjtuthesis{XJTUthesis} 33 | \def\meta@version{0.8.0-dev} 34 | \def\meta@codename{Monet} 35 | \def\metaversion{\meta@version} 36 | 37 | % Option switches 38 | \newif\ifxjtu@bachelor \xjtu@bachelorfalse 39 | \newif\ifxjtu@master \xjtu@masterfalse 40 | \newif\ifxjtu@doctor \xjtu@doctorfalse 41 | \newif\ifxjtu@bigskip \xjtu@bigskipfalse 42 | \newif\ifxjtu@nofont \xjtu@nofontfalse 43 | \newif\ifxjtu@propfont \xjtu@propfontfalse 44 | \newif\ifxjtu@pdflinks \xjtu@pdflinksfalse 45 | \newif\ifxjtu@colorlinks\xjtu@colorlinksfalse 46 | \newif\ifxjtu@compact \xjtu@compactfalse 47 | \newif\ifxjtu@content \xjtu@contentfalse 48 | \newif\ifxjtu@autolineskip \xjtu@autolineskipfalse 49 | 50 | \DeclareOption{bachelor} {\xjtu@bachelortrue} 51 | \DeclareOption{master} {\xjtu@mastertrue} 52 | \DeclareOption{doctor} {\xjtu@doctortrue} 53 | \DeclareOption{bigskip} {\xjtu@bigskiptrue} % bachelor only 54 | \DeclareOption{nofont} {\xjtu@nofonttrue} 55 | \DeclareOption{propfont} {\xjtu@propfonttrue} 56 | \DeclareOption{pdflinks} {\xjtu@pdflinkstrue} 57 | \DeclareOption{colorlinks} {\xjtu@colorlinkstrue} 58 | \DeclareOption{compact} {\xjtu@compacttrue} 59 | \DeclareOption{autolineskip} {\xjtu@autolineskiptrue} 60 | 61 | \DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}} 62 | 63 | \ProcessOptions\relax 64 | 65 | \LoadClass[openany]{book} 66 | 67 | % if-condition 68 | \newif\ifxjtu@inmainbody\xjtu@inmainbodyfalse 69 | 70 | \ifxjtu@bachelor\relax\else 71 | \ifxjtu@master\relax\else 72 | \ifxjtu@doctor\relax\else 73 | \ClassError{xjtuthesis}% 74 | {You have to specify one of thesis options: bachelor, master or doctor.}{} 75 | \fi 76 | \fi 77 | \fi 78 | 79 | % Math & format packages 80 | \RequirePackage{amsmath} 81 | \RequirePackage{amssymb} 82 | \RequirePackage{amsthm} 83 | \RequirePackage{indentfirst} 84 | \RequirePackage{tabularx} 85 | \newcolumntype{L}{>{\raggedright\arraybackslash}X} % 左对齐 86 | \newcolumntype{C}{>{\centering\arraybackslash}X} % 居中 87 | \newcolumntype{R}{>{\raggedleft\arraybackslash}X} % 右对齐 88 | \RequirePackage{threeparttable} 89 | \RequirePackage{array} 90 | \RequirePackage{longtable} 91 | \RequirePackage{booktabs} 92 | \RequirePackage{subfig} 93 | \RequirePackage[numbers,super,square,sort&compress]{natbib} 94 | \RequirePackage{setspace} 95 | \RequirePackage[shortlabels]{enumitem} 96 | \setenumerate[1]{1),fullwidth,itemindent=\parindent,listparindent=\parindent,itemsep=0.05\baselineskip,partopsep=0pt,parsep=0ex,topsep=0.1\baselineskip} 97 | \setenumerate[2]{\qquad(1),itemindent=\parindent,listparindent=\parindent,itemsep=0ex,partopsep=0pt,parsep=0ex,topsep=0\baselineskip} 98 | \RequirePackage{pdfpages} 99 | \RequirePackage{hanging} 100 | \RequirePackage{gbt7714} 101 | 102 | % Code packages 103 | \RequirePackage{listings} 104 | \RequirePackage{xcolor} 105 | 106 | % Add spacing before a table 107 | \RequirePackage{etoolbox} 108 | \AtBeginEnvironment{table}{\vspace{10pt}} 109 | 110 | % CJK character support 111 | \RequirePackage{fontspec,xltxtra,xunicode} 112 | \RequirePackage[slantfont,boldfont]{xeCJK} 113 | \RequirePackage{xeCJKfntef} 114 | \RequirePackage{CJKnumb} 115 | \punctstyle{hangmobanjiao} 116 | 117 | % Padding 118 | \RequirePackage[left=2.6cm, right=2.6cm,top=3.0cm,bottom=2.5cm,a4paper]{geometry} 119 | 120 | % Header & footer 121 | \RequirePackage{fancyhdr} 122 | \RequirePackage[perpage]{footmisc} 123 | \RequirePackage{tikz} 124 | 125 | % titleformat 126 | \RequirePackage{titlesec,titletoc} 127 | 128 | % Code environment definition 129 | \renewcommand{\lstlistingname}{} 130 | \lstset{ 131 | language=Python, 132 | basicstyle=\ttfamily\small, 133 | keywordstyle=\color{blue}, 134 | stringstyle=\color{red}, 135 | commentstyle=\color{green}, 136 | numbers=left, 137 | numberstyle=\tiny\color{gray}, 138 | stepnumber=1, 139 | numbersep=5pt, 140 | backgroundcolor=\color{white}, 141 | showspaces=false, 142 | showstringspaces=false, 143 | showtabs=false, 144 | frame=single, 145 | tabsize=4, 146 | captionpos=t, % Set caption position to top 147 | breaklines=true, 148 | breakatwhitespace=false, 149 | escapeinside={\%*}{*)} 150 | } 151 | 152 | % l10n here 153 | \renewcommand{\tablename}{表} 154 | \renewcommand{\figurename}{图} 155 | \renewcommand{\bibname}{\vskip -0.5em 参考文献} 156 | \renewcommand\@biblabel[1]{{[#1]\hfill}} 157 | \renewcommand\contentsname{目\quad 录} 158 | \renewcommand\thefigure{% thanks to fitsirgmail.com 159 | \ifnum \c@chapter>\z@\thechapter-\fi\@arabic\c@figure% 160 | } 161 | \renewcommand\thetable{% 162 | \ifnum \c@chapter >\z@ \thechapter-\fi \@arabic \c@table% 163 | } 164 | \renewcommand\theequation{% 165 | \ifnum \c@chapter >\z@ \thechapter-\fi \@arabic \c@equation% 166 | } 167 | \captionsetup[longtable]{labelsep=quad} 168 | 169 | \newcommand{\thesis}{thesis} 170 | \newcommand{\Master}{Master} 171 | 172 | \ifxjtu@pdflinks 173 | \RequirePackage{hyperref} 174 | \ifxjtu@colorlinks 175 | \hypersetup{ 176 | bookmarksnumbered=true, 177 | bookmarksopen=true, 178 | bookmarksopenlevel=1, 179 | breaklinks=true, 180 | colorlinks=true, 181 | linkcolor=blue, 182 | anchorcolor=blue, 183 | citecolor=green, 184 | plainpages=false, 185 | % pdfpagelabels, % comment this to reduce warning 186 | pdfborder=0 0 0, 187 | } 188 | \else 189 | \hypersetup{ 190 | bookmarksnumbered=true, 191 | bookmarksopen=true, 192 | bookmarksopenlevel=1, 193 | breaklinks=true, 194 | colorlinks=false, 195 | plainpages=false, 196 | % pdfpagelabels, % comment this to reduce warning 197 | pdfborder=0 0 0, 198 | } 199 | \fi 200 | \urlstyle{same} 201 | \fi 202 | 203 | % Font-size 204 | \RequirePackage{calc} 205 | % Used code from THUthesis. Many thanks! 206 | \newlength\thu@linespace 207 | \newcommand{\thu@choosefont}[2]{% 208 | \setlength{\thu@linespace}{#2*\real{#1}}% 209 | \fontsize{#2}{\thu@linespace}\selectfont} 210 | \def\thu@define@fontsize#1#2{% 211 | \expandafter\newcommand\csname #1\endcsname[1][\baselinestretch]{% 212 | \thu@choosefont{##1}{#2}}} 213 | \thu@define@fontsize{chuhao}{42bp} 214 | \thu@define@fontsize{xiaochu}{36bp} 215 | \thu@define@fontsize{yihao}{26bp} 216 | \thu@define@fontsize{xiaoyi}{24bp} 217 | \thu@define@fontsize{erhao}{22bp} 218 | \thu@define@fontsize{xiaoer}{18bp} 219 | \thu@define@fontsize{sanhao}{16bp} 220 | \thu@define@fontsize{xiaosan}{15bp} 221 | \thu@define@fontsize{sihao}{14bp} 222 | \thu@define@fontsize{banxiaosi}{13bp} 223 | \thu@define@fontsize{xiaosi}{12bp} 224 | \thu@define@fontsize{dawu}{11bp} 225 | \thu@define@fontsize{wuhao}{10.5bp} 226 | \thu@define@fontsize{xiaowu}{9bp} 227 | \thu@define@fontsize{liuhao}{7.5bp} 228 | \thu@define@fontsize{xiaoliu}{6.5bp} 229 | \thu@define@fontsize{qihao}{5.5bp} 230 | \thu@define@fontsize{bahao}{5bp} 231 | \renewcommand\normalsize{% 232 | %下面这一行必须以百分号结尾,否则header会有一个向右的微小偏移。 233 | \@setfontsize\normalsize{12bp}{15.6bp}% 234 | \abovedisplayskip=10bp \@plus 2bp \@minus 2bp 235 | \abovedisplayshortskip=10bp \@plus 2bp \@minus 2bp 236 | \belowdisplayskip=\abovedisplayskip 237 | \belowdisplayshortskip=\abovedisplayshortskip} 238 | \DeclareCaptionFont{wuhaostretch}{\setstretch{1.2}\wuhao}\captionsetup{font=wuhaostretch,labelsep=quad} % thanks to @wanderxjtu 239 | \DeclareCaptionFont{xiaowustretch}{\setstretch{1.2}\xiaowu}\captionsetup[subfloat]{font=xiaowustretch} % issue 4 240 | 241 | % Subfloat 242 | \captionsetup[subfloat]{labelformat=simple,captionskip=6bp,nearskip=6bp,farskip=0bp,topadjust=0bp} 243 | \renewcommand{\thesubfigure}{(\alph{subfigure})} % referencing 244 | \setlength{\floatsep}{5bp \@plus4pt \@minus1pt} 245 | \setlength{\intextsep}{5bp \@plus4pt \@minus2pt} 246 | \setlength{\textfloatsep}{5bp \@plus4pt \@minus2pt} 247 | 248 | % Header & footer styles 249 | \def\ps@thu@empty{% 250 | \let\@oddhead\@empty% 251 | \let\@evenhead\@empty% 252 | \let\@oddfoot\@empty% 253 | \let\@evenfoot\@empty} 254 | \def\ps@thu@plain{% 255 | \let\@oddhead\@empty% 256 | \let\@evenhead\@empty% 257 | \def\@oddfoot{\hfil\wuhao\thepage\hfil}% 258 | \let\@evenfoot=\@oddfoot} 259 | 260 | % Font-family 261 | \ifxjtu@nofont\else 262 | \ifxjtu@propfont 263 | \setmainfont[Ligatures=TeX]{Times New Roman} 264 | 265 | %make /textbf more Microsoft Word like 266 | %set EmboldenFactor to 2.3 as Microsoft Word exported pdf using "save as" 267 | %set to 1 as Microsoft Word interface & pdf generate by Windows virtual printer "Microsoft Print to PDF" 268 | \xeCJKsetup{EmboldenFactor=2.3} 269 | \setCJKmainfont[AutoFakeBold]{SimSun} 270 | \setCJKfamilyfont{vert}[AutoFakeBold,RawFeature={script=hani:language=CHN:vertical:+valt}]{SimSun} 271 | \def\CJKmovesymbol#1{\raise.35em\hbox{#1}} 272 | \def\CJKmove{\let\CJKsymbol\CJKmovesymbol \let\CJKpunctsymbol\CJKsymbol} 273 | \setCJKfamilyfont{hei}{SimHei} 274 | 275 | % 对于 Mac 用户: 276 | % \setCJKmainfont[ 277 | % % AutoFakeBold, % 非常不明显 278 | % % BoldFont = Songti SC Black, % 相比 Bold 更大的字重,可根据个人喜好选择 279 | % BoldFont = Songti SC Bold, % 适中的加粗效果,可以更换为 Black 达到更突出的效果 280 | % ItalicFont = Kaiti SC, 281 | % ]{Songti SC} 282 | % \setCJKfamilyfont{vert}[AutoFakeBold,RawFeature={script=hani:language=CHN:vertical:+valt}]{Songti SC} 283 | % \def\CJKmovesymbol#1{\raise.35em\hbox{#1}} 284 | % \def\CJKmove{\let\CJKsymbol\CJKmovesymbol \let\CJKpunctsymbol\CJKsymbol} 285 | % \setCJKfamilyfont{hei}{Heiti SC} 286 | \else 287 | \setmainfont[Ligatures=TeX]{FreeSerif} 288 | \setCJKmainfont{Source Han Serif CN} 289 | \setCJKfamilyfont{vert}[RawFeature={script=hani:language=CHN:vertical:+valt}]{Source Han Serif CN} 290 | \def\CJKmovesymbol#1{\raise.35em\hbox{#1}} 291 | \def\CJKmove{\let\CJKsymbol\CJKmovesymbol \let\CJKpunctsymbol\CJKsymbol} 292 | \setCJKfamilyfont{hei}{Source Han Sans CN} 293 | \fi 294 | \fi 295 | %auto lineskip or strictly follow the set line skip. 296 | \ifxjtu@autolineskip\else 297 | \raggedbottom 298 | \fi 299 | 300 | \def\thu@define@term#1{ 301 | \long\expandafter\gdef\csname #1\endcsname##1{% defines a macro like \ctitle#1: \def\xjtu@ctitle{#1} 302 | \long\expandafter\gdef\csname xjtu@#1\endcsname{##1}} 303 | \csname #1\endcsname{}} % the initial value is NULLSTR 304 | 305 | % Table of contents, in English 306 | \newcommand\engcontentsname{CONTENTS} 307 | \newcommand\tableofengcontents{% 308 | \if@twocolumn 309 | \@restonecoltrue\onecolumn 310 | \else 311 | \@restonecolfalse 312 | \fi 313 | \chapter*{\engcontentsname 314 | \@mkboth{% 315 | \MakeUppercase\engcontentsname}{\MakeUppercase\engcontentsname}}% 316 | \@starttoc{toe}% 317 | \if@restonecol\twocolumn\fi 318 | } 319 | \newcommand\addengcontents[2]{% 320 | \addcontentsline{toe}{#1}{\protect\numberline{\csname the#1\endcsname}#2}} 321 | \newcommand\addengappendice[2]{% 322 | \addcontentsline{toe}{#1}{theappendix}#2} 323 | 324 | \newcommand\echapter[1]{\addengcontents{chapter}{#1}} 325 | \newcommand\esection[1]{\addengcontents{section}{#1}} 326 | \newcommand\esubsection[1]{\addengcontents{subsection}{#1}} 327 | \newcommand\esubsubsection[1]{} % do nothing 328 | \newcommand\eappendix[1]{\addengappendice{#1}} 329 | 330 | % Circled footnote number 331 | % http://tex.stackexchange.com/questions/133264/circled-footnote-symbols-with-pifont-showing-arrows-instead-of-circled-numbers 332 | \newcommand*\circled[1]{ 333 | \tikz[baseline=(char.base)] 334 | \node[shape=circle,draw,inner sep=0.2pt,minimum size=4pt] (char) {\tiny #1}; 335 | } 336 | \renewcommand\thefootnote{\protect\circled{\arabic{footnote}}} 337 | \renewcommand\@makefntext[1]{ 338 | \noindent\raisebox{2ex-\height}{\@thefnmark}\onehalfspacing #1 \vspace*{1ex} 339 | } 340 | 341 | \thu@define@term{type} 342 | 343 | \ifxjtu@master 344 | \type{硕士} 345 | \else 346 | \type{博士} 347 | \renewcommand{\thesis}{dissertation} 348 | \renewcommand{\Master}{Doctor} 349 | \fi 350 | 351 | % Interfaces, or commands 352 | \newcommand\xjtucover{} 353 | \newcommand\xjtuchead{} 354 | \newcommand\xjtuehead{} 355 | \newcommand\xjtucinfopage{} 356 | \newcommand\xjtueinfopage{} 357 | \newcommand\xjtucontent{} 358 | \newcommand\xjtuendcontent{} 359 | \newcommand\xjtutoc{ 360 | \tableofcontents 361 | \ifxjtu@bachelor\else 362 | \noindent 声明 363 | \fi 364 | \chaptermark{目\quad 录} 365 | } 366 | \newcommand\xjtutoe{ 367 | \tableofengcontents 368 | \noindent Declaration 369 | } 370 | \newcommand\xjtuspchapter[2]{ 371 | \chapter*{#2} 372 | \chaptermark{#1} 373 | \addcontentsline{toc}{chapter}{#1} 374 | } 375 | \newcommand\xjtuincite[1]{ {% 376 | \citestyle{plain}% 377 | \cite{#1}% 378 | }% 379 | } 380 | 381 | % Interfaces, or terms 382 | \thu@define@term{cauthor} 383 | \thu@define@term{ctitle} 384 | \thu@define@term{csupervisor} 385 | \thu@define@term{cabstract} 386 | \thu@define@term{ckeywords} 387 | \thu@define@term{csubject} 388 | \thu@define@term{cproddate} 389 | \thu@define@term{ctype} 390 | \thu@define@term{ccollege} 391 | \thu@define@term{cmajor} 392 | \thu@define@term{cclass} 393 | \thu@define@term{corgnization} 394 | 395 | \thu@define@term{eauthor} 396 | \thu@define@term{etitle} 397 | \thu@define@term{ecate} 398 | \thu@define@term{esupervisor} 399 | \thu@define@term{eabstract} 400 | \thu@define@term{ekeywords} 401 | \thu@define@term{esubject} 402 | \thu@define@term{eproddate} 403 | \thu@define@term{etype} 404 | 405 | \thu@define@term{zhongtufenlei} 406 | \thu@define@term{UDC} 407 | \thu@define@term{secrettype} 408 | \thu@define@term{stunum} 409 | \thu@define@term{degreetype} 410 | 411 | \newcommand\xjtutype{\xjtu@type} 412 | 413 | % Geometry specifications 414 | \topmargin=-1in % 消除页眉-边界距离初始值 415 | \headheight=5.5mm % 该设定使得效果与官方doc模板相似 416 | \textheight=242mm % 297-30-25 417 | \footskip=7.5mm 418 | \setlength\voffset{2cm} % 规范:页眉距边界2.0cm, one inch + \voffset + \topmargin = 2cm. 419 | % 规范:上装订线边距3cm,即上边距到正文3cm。 420 | % 需要 1 inch + \voffset + \topmargin + \headheight + \headsep = 3.0cm 421 | \headsep= 4.5mm 422 | \pagenumbering{Roman} 423 | \xiaosi 424 | \setlength{\parindent}{2em} 425 | 426 | % Table of contents, style 427 | \setcounter{secnumdepth}{3} 428 | 429 | % Section titles, style 430 | \titleformat{\chapter}[block]{\sanhao}{}{1em}{\begin{center}}[\end{center}] 431 | \titlespacing{\chapter}{0em}{-1\baselineskip}{0.1\baselineskip} 432 | \titleformat{\section}[hang]{\xiaosan}{\thesection}{0.8em}{} 433 | \titlespacing{\section}{0em}{1\baselineskip}{0.5\baselineskip} 434 | \titleformat{\subsection}{\sihao}{\ \ \thesubsection}{0.8em}{} 435 | \titlespacing{\subsection}{2em}{0.5\baselineskip}{0\baselineskip} 436 | \titleformat{\subsubsection}{}{\qquad\qquad\arabic{subsubsection})~}{0.8em}{} 437 | \titlespacing{\subsubsection}{2em}{0.2\baselineskip}{0\baselineskip} 438 | \renewcommand{\l@chapter}{\@dottedtocline{1}{0em}{1.5em}} 439 | 440 | \titlecontents{chapter}[0em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 441 | \titlecontents{section}[1.5em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 442 | \titlecontents{subsection}[3.8em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 443 | 444 | \let\oldfigure=\figure 445 | \renewcommand\figure[1][]{ 446 | \oldfigure[#1] 447 | \wuhao 448 | } 449 | 450 | \let\oldtable=\table 451 | \renewcommand\table[1][]{ 452 | \oldtable[#1] 453 | \wuhao 454 | } 455 | 456 | \newcommand{\monthname}[1]{% 457 | \ifcase#1 458 | \or January% 459 | \or February% 460 | \or March% 461 | \or April% 462 | \or May% 463 | \or June% 464 | \or July% 465 | \or August% 466 | \or September% 467 | \or October% 468 | \or November% 469 | \or December% 470 | \fi} 471 | 472 | 473 | % The denotation environment 474 | \newenvironment{denotation}[1][2.5cm]{ % many thanks to THUthesis! 475 | \chapter*{主要符号表} 476 | \addcontentsline{toc}{chapter}{主要符号表} 477 | \chaptermark{主要符号表} 478 | \noindent\begin{list}{}% 479 | {\vskip-30bp %\xiaosi[1.6] 480 | \renewcommand\makelabel[1]{##1\hfil} 481 | \setlength{\labelwidth}{#1} % 标签盒子宽度 482 | \setlength{\labelsep}{0.5cm} % 标签与列表文本距离 483 | \setlength{\itemindent}{1em} % 标签缩进量 484 | \setlength{\leftmargin}{\labelwidth+\labelsep} % 左边界 485 | \setlength{\rightmargin}{0cm} 486 | \setlength{\parsep}{0cm} % 段落间距 487 | \setlength{\itemsep}{0cm} % 标签间距 488 | \setlength{\listparindent}{0cm} % 段落缩进量 489 | \setlength{\topsep}{0pt} % 标签与上文的间距 490 | }}{\end{list}} 491 | 492 | \newcommand{\xjtuappendix}{ 493 | \begin{appendix} 494 | \renewcommand{\thechapter}{附录\Alph{chapter}} 495 | \chaptermark{附录} 496 | } 497 | \newcommand{\xjtuendappendix}{\end{appendix}} 498 | \newcommand{\xjtuappendixchapter}[1]{ 499 | \stepcounter{chapter} 500 | \chapter*{\thechapter\quad#1} 501 | \addcontentsline{toc}{chapter}{\thechapter\quad #1} 502 | } 503 | \newcommand{\xjtuappendixsection}[1]{ 504 | \stepcounter{section} 505 | \section*{#1} 506 | \addcontentsline{toc}{section}{\thesection\quad #1} 507 | } 508 | \newcommand{\xjtuappendixsubsection}[1]{ 509 | \stepcounter{subsection} 510 | \subsection*{#1} 511 | \addcontentsline{toc}{subsection}{\thesubsection\quad #1} 512 | } 513 | \newcommand{\xjtuappendixsubsubsection}[1]{ 514 | \stepcounter{subsubsection} 515 | \subsubsection*{#1} 516 | \addcontentsline{toc}{subsubsection}{\thesubsubsection\quad #1} 517 | } 518 | \newcommand{\xjtuappendixechapter}[1]{ 519 | \echapter*{\thechapter\quad#1} 520 | \addcontentsline{toe}{chapter}{\thechapter\quad #1} 521 | } 522 | \newcommand{\xjtuappendixesection}[1]{ 523 | \esection*{#1} 524 | \addcontentsline{toe}{section}{\thesection\quad #1} 525 | } 526 | \newcommand{\xjtuappendixesubsection}[1]{ 527 | \esubsection*{#1} 528 | \addcontentsline{toe}{subsection}{\thesubsection\quad #1} 529 | } 530 | \newcommand{\xjtuappendixesubsubsection}[1]{ 531 | } 532 | 533 | \let\oldtableofcontents=\tableofcontents 534 | \def\tableofcontents{ 535 | \oldtableofcontents 536 | } 537 | 538 | % The ``compact'' option eliminates the empty pages 539 | \ifxjtu@compact 540 | \let\oldcleardoublepage=\cleardoublepage 541 | \def\cleardoublepage{ 542 | \clearpage 543 | } 544 | \fi 545 | 546 | \ifxjtu@bachelor 547 | %根据本科模板重写节标题格式且不影响硕博格式 548 | \titlespacing{\chapter}{0em}{-1.3\baselineskip}{0.3\baselineskip} 549 | \titleformat{\section}[hang]{\xiaosan}{\thesection}{0.3em}{} 550 | \titlespacing{\section}{0em}{0.5\baselineskip}{0.5\baselineskip} 551 | \titleformat{\subsection}{\sihao}{\thesubsection}{0.3em}{} 552 | \titlespacing{\subsection}{2em}{0.4\baselineskip}{0\baselineskip} 553 | \titleformat{\subsubsection}{}{\arabic{subsubsection})}{0.1em}{} 554 | \titlespacing{\subsubsection}{2em}{0.1\baselineskip}{0\baselineskip} 555 | \ifxjtu@bigskip 556 | \linespread{1.5} \selectfont 557 | \else 558 | \linespread{1.2} \selectfont 559 | \fi 560 | 561 | \renewcommand\footnoterule{\vspace*{2ex}% eggache! 562 | \rule{0.25\paperwidth}{0.4pt} 563 | \vspace*{1ex}} 564 | 565 | \fancypagestyle{plain}{% 566 | \fancyhf{} 567 | \fancyhead[CO]{\if@mainmatter\wuhao \ifxjtu@inmainbody\thechapter\quad\fi \leftmark\fi} 568 | \fancyhead[CE]{\wuhao \ifxjtu@bachelor 569 | 西安交通大学本科毕业设计(论文) 570 | \fi} 571 | \fancyfoot[OR,EL]{\xiaowu ~\thepage~} 572 | \renewcommand{\headrulewidth}{\if@mainmatter 0.5pt\else 0pt \fi} 573 | \renewcommand{\headrule}{\vskip 3.5pt \hrule \@height \headrulewidth \@width \headwidth \vskip .5pt 574 | \hrule \@height \headrulewidth \@width \headwidth \vskip -\headrulewidth} 575 | 576 | } 577 | \pagestyle{plain} 578 | 579 | \fancypagestyle{extrapdf}{% 关闭页眉以使用任务书文件自带页眉 580 | \fancyhf{} 581 | \fancyfoot[OR,EL]{\xiaowu ~\thepage~} 582 | \renewcommand{\headrulewidth}{0pt} 583 | } 584 | \def\importsheet#1{ 585 | \cleardoublepage 586 | \includepdf[pages=-,noautoscale=true,offset=0 \voffset, scale=1,pagecommand={\thispagestyle{extrapdf}}]{#1} 587 | } 588 | \DeclareCaptionLabelFormat{tablelabel}{#1#2} 589 | \DeclareCaptionLabelFormat{figurelabel}{#1\enspace#2} 590 | \DeclareCaptionFormat{tablecaption}{#1\enspace#3} 591 | \DeclareCaptionFormat{figurecaption}{#1\quad#3} 592 | \captionsetup[table]{format=tablecaption,labelformat=tablelabel} 593 | \captionsetup[figure]{format=figurecaption,labelformat=figurelabel} 594 | 595 | \renewcommand{\xjtuappendix}{ 596 | \begin{appendix} 597 | \renewcommand{\thechapter}{附录\Alph{chapter}} 598 | } 599 | \renewcommand{\xjtuappendixchapter}[1]{ 600 | \stepcounter{chapter} 601 | \chapter*{\thechapter\quad#1} 602 | \chaptermark{#1} 603 | \addcontentsline{toc}{chapter}{\thechapter\quad #1} 604 | } 605 | 606 | \type{本科} 607 | \renewcommand\xjtuchead{ 608 | \thispagestyle{empty} 609 | \begin{center} 610 | \vspace*{0.8cm} 611 | \includegraphics[width=9cm]{XJTU_2024.png} \\ 612 | \vskip 0.8cm 613 | { \erhao \textbf{本科毕业设计(论文)}} 614 | \end{center} 615 | 616 | \begin{center} 617 | \vskip 3cm 618 | {\sanhao 619 | \hangpara{4em}{1} 620 | \textbf{ \hfill \xjtu@ctitle \hfill} 621 | } 622 | \vskip 5.2cm 623 | \begin{center}{{\sanhao 624 | \begin{tabular}{r@{: }l}%设置信息表格按冒号左右对齐 625 | %加入长空行保证表格按分隔符居中 626 | \multicolumn{1}{r}{\qquad\qquad\qquad\qquad\qquad\qquad\qquad} 627 | &\multicolumn{1}{l}{\qquad\qquad\qquad\qquad\qquad\qquad\qquad} \\ 628 | 学院(部、中心)& {\xjtu@ccollege} \\ [0.5em] 629 | 专\qquad 业& {\xjtu@cmajor} \\ [0.5em] 630 | 班\qquad 级& {\xjtu@cclass} \\ [0.5em] 631 | 学生姓名& {\xjtu@cauthor} \\ [0.5em] 632 | 学\qquad 号& {\xjtu@stunum} \\ [0.5em] 633 | 指导教师& {\xjtu@csupervisor} \\ [0.5em] 634 | \end{tabular} 635 | }} 636 | \end{center} 637 | \sanhao \center {\xjtu@cproddate} 638 | 639 | 640 | \end{center} 641 | 642 | \ifxjtu@compact\else 643 | \clearpage 644 | \phantom{x} 645 | \thispagestyle{empty} 646 | \fi 647 | \clearpage 648 | } 649 | \renewcommand\xjtucinfopage{ 650 | \addcontentsline{toc}{chapter}{摘\quad 要}%尽管摘要存在于目录之前,但2024年模板要求摘要包含在目录中 651 | \chaptermark{摘\quad 要} 652 | \makebox{} 653 | \begin{spacing}{1.2}%段落行距设置 654 | \begin{center} 655 | \sanhao 656 | 摘\quad 要 657 | \end{center} 658 | 659 | \xjtu@cabstract 660 | \end{spacing} 661 | 662 | \mbox{} 663 | \begin{spacing}{1.2}%段落行距设置 664 | {\xiaosi \noindent 665 | {\bf 关\ \ 键\ \ 词}: 666 | \xjtu@ckeywords} 667 | \end{spacing} 668 | \clearpage 669 | } 670 | \renewcommand\xjtueinfopage{ 671 | \addcontentsline{toc}{chapter}{ABSTRACT} 672 | \chaptermark{ABSTRACT} 673 | \makebox{} 674 | \begin{spacing}{1.2}%段落行距设置 675 | \begin{center} 676 | \sanhao 677 | ABSTRACT 678 | \end{center} 679 | 680 | 681 | { 682 | \setlength{\parindent}{0em} 683 | \setlength{\parskip}{1em} 684 | \xjtu@eabstract 685 | } 686 | \end{spacing} 687 | 688 | \mbox{ } 689 | \begin{spacing}{1.2}%段落行距设置 690 | {\xiaosi \noindent 691 | {\bf KEY WORDS}: 692 | \xjtu@ekeywords 693 | } 694 | \end{spacing} 695 | \clearpage 696 | } 697 | 698 | % booktabs parameters 699 | \setlength\cmidrulewidth {1.0pt} 700 | \setlength\lightrulewidth{1.0pt} 701 | \setlength\heavyrulewidth{1.5pt} 702 | 703 | \renewcommand\xjtucontent{ 704 | \cleardoublepage 705 | \ifodd\arabic{page}\else 706 | \fancypagestyle{plain}{% 707 | \fancyhf{} 708 | \fancyhead[CE]{\if@mainmatter\wuhao \thechapter\quad\leftmark\fi} 709 | \fancyhead[CO]{\wuhao \ifxjtu@bachelor 710 | 西安交通大学本科毕业设计(论文) 711 | \fi} 712 | \fancyfoot[ER,OL]{\small ~\thepage~} 713 | \renewcommand{\headrulewidth}{\if@mainmatter 0.5pt\else 0pt \fi} 714 | \renewcommand{\headrule}{\hrule \@height \headrulewidth \@width \headwidth \vskip .5pt 715 | \hrule \@height \headrulewidth \@width \headwidth \vskip -\headrulewidth} 716 | } 717 | \pagestyle{plain} 718 | \fi 719 | \pagenumbering{arabic} 720 | \titleformat{\chapter}[block]{\sanhao}{}{0em}{\begin{center}\thechapter\quad }[\end{center}] 721 | \xjtu@inmainbodytrue 722 | } 723 | \renewcommand\xjtuendcontent{ 724 | \newpage 725 | \titleformat{\chapter}[block]{\sanhao}{}{0em}{\begin{center}}[\end{center}] 726 | \titleformat{\section}[hang]{\xiaosan}{}{0em}{\thesection\quad }[\vskip -0.5em] 727 | \titleformat{\subsection}{\sihao}{}{0em}{\vskip -1.5em \thesubsection\quad{}} 728 | \titleformat{\subsubsection}{}{}{0em}{\thesubsubsection\quad}[] 729 | \titlecontents{chapter}[0em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 730 | \titlecontents{section}[1.5em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 731 | \titlecontents{subsection}[3.8em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 732 | \titlespacing{\subsection}{0em}{0.5\baselineskip}{0\baselineskip} 733 | \titlespacing{\subsubsection}{0em}{0.2\baselineskip}{0\baselineskip} 734 | \xjtu@inmainbodyfalse 735 | } 736 | 737 | \newcommand{\xjtubib}[1]{ { 738 | \clearpage 739 | \phantomsection % http://www.tex.ac.uk/cgi-bin/texfaq2html?label=tocbibind 740 | \addcontentsline{toc}{chapter}{参考文献} 741 | \setlength{\bibsep}{0.0pt} 742 | \begin{spacing}{1.2} 743 | \wuhao 744 | \bibliographystyle{gbt7714-numerical} 745 | \bibliography{#1} 746 | \end{spacing} 747 | \clearpage 748 | } } 749 | 750 | \let\oldfootnote\footnote 751 | \renewcommand \footnote[1]{\oldfootnote{\xiaowu #1}} 752 | 753 | \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 754 | \renewcommand{\sectionmark}[1]{\markright{#1}{}} 755 | 756 | \else % postgraduate 757 | % booktabs parameters 758 | \setlength\cmidrulewidth {1.0pt} 759 | \setlength\lightrulewidth{1.0pt} 760 | \setlength\heavyrulewidth{2.0pt} % or 2.25pt 761 | 762 | \fancypagestyle{plain}{% 763 | \setlength{\voffset}{1.8cm} 764 | \setlength{\headsep}{1.2cm-\headheight} 765 | \fancyhf{} 766 | \fancyhead[CO]{\if@mainmatter\wuhao \ifxjtu@inmainbody\thechapter\quad\fi \leftmark\fi} 767 | \fancyhead[CE]{\wuhao 西安交通大学\xjtu@type 学位论文} 768 | \fancyfoot[OR,EL]{\xiaowu ~\thepage~} 769 | \renewcommand{\headrulewidth}{\if@mainmatter .4pt \else 0pt \fi} 770 | \renewcommand{\headrule}{\vskip 3pt \hrule \@height \headrulewidth \@width \headwidth \vskip .6pt 771 | \hrule \@height \headrulewidth \@width \headwidth 772 | } 773 | } 774 | \pagestyle{plain} 775 | 776 | \renewcommand\xjtucover{ 777 | \thispagestyle{empty} 778 | \setlength\hoffset{0.8cm} 779 | \hspace*{-3.8cm} 780 | \rotatebox{-90}{ 781 | \makebox[\textheight][c]{ 782 | \bf \CJKmove \xiaowu \CJKfamily{vert} 783 | 西安交通大学\xjtu@type 学位论文 784 | \hspace{2cm} 785 | \xjtu@ctitle 786 | \hspace{2cm} 787 | \xjtu@cauthor 788 | \hspace{2cm} 789 | \xjtu@cproddate 790 | } 791 | } 792 | \vspace*{-\textheight}\vspace*{-1.4cm} 793 | \begin{center} 794 | { 795 | \sihao 分类号\underline{\makebox[5.2cm][c]{\xjtu@zhongtufenlei}} 796 | \quad 密级\underline{\makebox[5.2cm][c]{\xjtu@secrettype}} \\ 797 | \vskip 0.4cm U~D~C\underline{\makebox[5.4cm][c]{\xjtu@UDC}} 798 | \quad 学号\underline{\makebox[5.2cm][c]{\xjtu@stunum}} 799 | } 800 | \vskip 9cm 801 | {\xiaoyi {\bf \xjtu@ctitle}} 802 | 803 | \vskip 4cm 804 | \begin{spacing}{1.5} 805 | \sihao 806 | {\CJKfamily{hei}学位申请人:} \underline{\makebox[6.2cm][c]{\xjtu@cauthor}}\\ 807 | {\CJKfamily{hei}指~导~教~师~:} \underline{\makebox[6.2cm][c]{\xjtu@csupervisor}}\\ 808 | {\CJKfamily{hei}学~科~专~业~:} \underline{\makebox[6.2cm][c]{\xjtu@csubject}}\\ 809 | {\CJKfamily{hei}学~位~类~别~:} \underline{\makebox[6.2cm][c]{\xjtu@degreetype}} 810 | \vskip 2cm 811 | {\CJKfamily{hei}\xjtu@cproddate} 812 | \end{spacing} 813 | \end{center} 814 | 815 | \ifxjtu@compact\else 816 | \clearpage 817 | \phantom{x} 818 | \thispagestyle{empty} 819 | \fi 820 | \clearpage 821 | \setlength\hoffset{0cm} 822 | } 823 | 824 | \renewcommand\xjtuchead{ 825 | \thispagestyle{empty} 826 | \begin{center} 827 | \vspace*{1.5cm} 828 | \includegraphics[width=8cm]{XJTU.pdf} \\ 829 | \vskip 1.2cm 830 | {\erhao \xjtu@type 学位论文} 831 | 832 | \vskip 3.5cm 833 | {\bf \sanhao {\bf \xjtu@ctitle}} 834 | 835 | \vskip 6cm 836 | \begin{spacing}{1.5}\sanhao 837 | 申请人: \xjtu@cauthor\\ 838 | 学科专业: \xjtu@csubject\\ 839 | 指导教师: \xjtu@csupervisor\\ 840 | \xjtu@cproddate 841 | \end{spacing} 842 | 843 | \end{center} 844 | \ifxjtu@compact\else 845 | \clearpage 846 | \phantom{x} 847 | \thispagestyle{empty} 848 | \fi 849 | \clearpage 850 | } 851 | 852 | \renewcommand\xjtuehead{ 853 | \thispagestyle{empty} 854 | \begin{center} 855 | \vspace*{1.5cm} 856 | {\bf \sanhao \xjtu@etitle} 857 | 858 | \vskip 4.2cm 859 | \begin{spacing}{1.3}\sanhao 860 | A \thesis\ submitted to \\ 861 | Xi'an Jiaotong University\\ 862 | in partial fulfillment of the requirement\\ 863 | for the degree of\\ 864 | \Master\ of \xjtu@ecate 865 | 866 | \vskip 3cm 867 | By\\ \xjtu@eauthor\\ 868 | (\xjtu@esubject)\\ 869 | Supervisor: \xjtu@esupervisor\\ 870 | \xjtu@eproddate 871 | \end{spacing} 872 | 873 | \end{center} 874 | \ifxjtu@compact\else 875 | \clearpage 876 | \phantom{x} 877 | \thispagestyle{empty} 878 | \fi 879 | \clearpage 880 | 881 | } 882 | 883 | \renewcommand\xjtucinfopage{ 884 | \chaptermark{摘\quad 要} 885 | \pagestyle{plain} 886 | \pagenumbering{Roman} 887 | \noindent {\bf \xiaosi 888 | 论文题目: \xjtu@ctitle\\ 889 | 学科专业: \xjtu@csubject\\ 890 | 申\:\;请\:\;人: \xjtu@cauthor\\ 891 | 指导教师: \xjtu@csupervisor\\ 892 | } 893 | 894 | \vskip 0\baselineskip 895 | \begin{center} 896 | \sanhao 897 | 摘\quad 要 898 | \end{center} 899 | \vskip 1.1\baselineskip 900 | 901 | \xjtu@cabstract 902 | 903 | \mbox{} 904 | 905 | {\wuhao \noindent 906 | {\bf 关\:\;键\:\;词}: 907 | \xjtu@ckeywords 908 | 909 | \noindent {\bf 论文类型}: 910 | \xjtu@ctype 911 | } 912 | \clearpage 913 | } 914 | \renewcommand\xjtueinfopage{ 915 | \chaptermark{ABSTRACT} 916 | \noindent {\bf 917 | Title: \xjtu@etitle\\ 918 | Speciality: \xjtu@esubject\\ 919 | Applicant: \xjtu@eauthor\\ 920 | Supervisor: \xjtu@esupervisor\\ 921 | } 922 | 923 | \vskip 1.1\baselineskip 924 | \begin{center} 925 | \sanhao 926 | ABSTRACT 927 | \end{center} 928 | \vskip 0.5\baselineskip 929 | 930 | 931 | { 932 | \begin{spacing}{0.9} 933 | \setlength{\parindent}{0em} 934 | \setlength{\parskip}{1em} 935 | \xjtu@eabstract 936 | \end{spacing} 937 | } 938 | 939 | \vskip 1em 940 | 941 | {\wuhao\noindent 942 | {\bf KEY WORDS: } 943 | \xjtu@ekeywords 944 | 945 | \noindent {\bf TYPE OF \MakeUppercase{\thesis}} : 946 | \xjtu@etype 947 | } 948 | 949 | \clearpage 950 | } 951 | \let\oldxjtutoc=\xjtutoc 952 | \def\xjtutoc{ 953 | \cleardoublepage 954 | \oldxjtutoc 955 | } 956 | 957 | \renewcommand\xjtucontent{ 958 | \cleardoublepage 959 | \pagenumbering{arabic} 960 | \titleformat{\chapter}[block]{\sanhao}{}{0em}{\begin{center}\thechapter\quad}[\end{center}] 961 | \xjtu@inmainbodytrue 962 | } 963 | \renewcommand\xjtuendcontent{ 964 | \newpage 965 | \titleformat{\chapter}[block]{\sanhao}{}{0em}{\begin{center}}[\end{center}] 966 | \titleformat{\section}[hang]{\xiaosan}{}{0em}{\thesection\quad }[\vskip -0.5em] 967 | \titleformat{\subsection}{\sihao}{}{0em}{\vskip -1.5em \thesubsection\quad{}} 968 | \titleformat{\subsubsection}{}{}{0em}{\thesubsubsection\quad}[] 969 | \titlecontents{chapter}[0em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 970 | \titlecontents{section}[1.5em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 971 | \titlecontents{subsection}[3.8em]{}{\thecontentslabel\quad}{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 972 | \titlespacing{\subsection}{0em}{0.5\baselineskip}{0\baselineskip} 973 | \titlespacing{\subsubsection}{0em}{0.2\baselineskip}{0\baselineskip} 974 | \xjtu@inmainbodyfalse 975 | } 976 | 977 | \newcommand{\xjtubib}[1]{ { 978 | \clearpage 979 | \phantomsection 980 | \addcontentsline{toc}{chapter}{参考文献} 981 | \addcontentsline{toe}{chapter}{References} 982 | \setlength{\bibsep}{0pt} 983 | \begin{spacing}{1.2} 984 | \wuhao 985 | \bibliographystyle{gbt7714-numerical} 986 | \bibliography{#1} 987 | \end{spacing} 988 | \clearpage 989 | } } 990 | 991 | \let\oldfootnote\footnote 992 | \renewcommand \footnote[1]{\oldfootnote{\xiaowu #1}} 993 | 994 | \renewcommand{\chaptermark}[1]{\markboth{#1}{}} 995 | \renewcommand{\sectionmark}[1]{\markright{#1}{}} 996 | 997 | \renewcommand\xjtuspchapter[3]{ 998 | \chapter*{#2} 999 | \chaptermark{#1} 1000 | \addcontentsline{toc}{chapter}{#1} 1001 | \addcontentsline{toe}{chapter}{#3} 1002 | } 1003 | 1004 | \newcommand{\xjtuacademicintegrity}{\thispagestyle{fancy}\fancyfoot{}{ % 仅供参考 1005 | \cleardoublepage 1006 | \chaptermark{声明} 1007 | \begin{center} 1008 | \sanhao 学位论文独创性声明(1) 1009 | \end{center} 1010 | 本人声明:所呈交的学位论文系在导师指导下本人独立完成的研究成果。文中依法引用他人的成果,均已做出明确标注或得到许可。论文内容未包含法律意义上已属于他人的任何形式的研究成果,也不包含本人已用于其他学位申请的论文或成果。 1011 | 1012 | 本人如违反上述声明,愿意承担以下责任和后果: 1013 | \begin{enumerate}[1] \itemsep1pt \parskip0pt \parsep0pt 1014 | \item 交回学校授予的学位证书; 1015 | \item 学校可在相关媒体上对作者本人的行为进行通报; 1016 | \item 本人按照学校规定的方式,对因不当取得学位给学校造成的名誉损害,进行公开道歉。 1017 | \item 本人负责因论文成果不实产生的法律纠纷。 1018 | \end{enumerate} 1019 | 1020 | 论文作者(签名):\hskip 5cm 日期:\hskip 2cm 年\hskip 1cm 月\hskip 1cm日 \vskip 1cm 1021 | 1022 | \begin{center} 1023 | \sanhao 学位论文独创性声明(2) 1024 | \end{center} 1025 | 本人声明:研究生\hskip 2cm 所提交的本篇学位论文已经本人审阅,确系在本人指导下由该生独立完成的研究成果。 1026 | 1027 | 本人如违反上述声明,愿意承担以下责任和后果: 1028 | \begin{enumerate}[1] \itemsep1pt \parskip0pt \parsep0pt 1029 | \item 学校可在相关媒体上对本人的失察行为进行通报; 1030 | \item 本人按照学校规定的方式,对因失察给学校造成的名誉损害,进行公开道歉。 1031 | \item 本人接受学校按照有关规定做出的任何处理。 1032 | \end{enumerate} 1033 | 1034 | 指导教师(签名):\hskip 5cm 日期:\hskip 2cm 年\hskip 1cm 月\hskip 1cm日 \vskip 1cm 1035 | 1036 | 1037 | \begin{center} 1038 | \sanhao 学位论文知识产权权属声明 1039 | \end{center} 1040 | 我们声明,我们提交的学位论文及相关的职务作品,知识产权归属学校。学校享有以任何方式发表、复制、公开阅览、借阅以及申请专利等权利。学位论文作者离校后,或学位论文导师因故离校后,发表或使用学位论文或与该论文直接相关的学术论文或成果时,署名单位仍然为西安交通大学。 1041 | 1042 | 论文作者(签名):\hskip 5cm 日期:\hskip 2cm 年\hskip 1cm 月\hskip 1cm日 1043 | 1044 | 指导教师(签名):\hskip 5cm 日期:\hskip 2cm 年\hskip 1cm 月\hskip 1cm日 1045 | 1046 | \noindent (本声明的版权归西安交通大学所有,未经许可,任何单位及任何个人不得擅自使用) 1047 | } } 1048 | \fi 1049 | 1050 | % borrowed from nenuthesis 1051 | \newtheorem{assumption}{假设}[chapter] 1052 | \newtheorem{definition}{定义}[chapter] 1053 | \newtheorem{proposition}{命题}[chapter] 1054 | \newtheorem{lemma}{引理}[chapter] 1055 | \newtheorem{theorem}{定理}[chapter] 1056 | \newtheorem{axiom}{公理}[chapter] 1057 | \newtheorem{corollary}{推论}[chapter] 1058 | \newtheorem{exercise}{练习}[chapter] 1059 | \newtheorem{example}{例}[chapter] 1060 | \newtheorem{remark}{注释}[chapter] 1061 | \newtheorem{problem}{问题}[chapter] 1062 | \newtheorem{conjecture}{猜想}[chapter] 1063 | \renewenvironment{proof}{\noindent\textbf{证明}:}{\hfill$\blacksquare$} 1064 | 1065 | \RequirePackage[shortlabels]{enumitem} 1066 | \setenumerate[1]{1),fullwidth,itemindent=\parindent,listparindent=\parindent,itemsep=0.05\baselineskip,partopsep=0pt,parsep=0ex,topsep=0.1\baselineskip} 1067 | \setenumerate[2]{\qquad(1),itemindent=\parindent,listparindent=\parindent,itemsep=0ex,partopsep=0pt,parsep=0ex,topsep=0\baselineskip} 1068 | 1069 | %\makeatletter 1070 | %\renewcommand{\l@chapter}{\@dottedtocline{1}{0em}{1.5em}} 1071 | %\makeatother 1072 | 1073 | \titlecontents{chapter}[0em]{}{\thecontentslabel\ \ }{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 1074 | \titlecontents{section}[1em]{}{\thecontentslabel\ \ }{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 1075 | \titlecontents{subsection}[2em]{}{\thecontentslabel\ \ }{}{\dotfill\contentspage[{\makebox[0pt][r]{\thecontentspage}}]} 1076 | 1077 | \newcommand\twodigits[1]{% 1078 | \ifnum#1<10 0#1\else #1\fi 1079 | } 1080 | -------------------------------------------------------------------------------- /doc/README.old: -------------------------------------------------------------------------------- 1 | Documentations for XJTUthesis 2 | ================================= 3 | 4 | HTML files here are fetched when the archive was made, and may be outdated. Moreover, the internal links could be broken. 5 | 6 | Always refer to our online documentation if possible: 7 | 8 | http://code.google.com/p/xjtuthesis/wiki/Landing?tm=6 9 | 10 | The homepage of this project is 11 | 12 | https://code.google.com/p/xjtuthesis/ 13 | 14 | If your failed to view the URL above, try 15 | 16 | http://code.google.com/p/xjtuthesis/ 17 | 18 | 19 | 20 | Copyright 2011~2012, multiple1902 (Weisi Dai) 21 | -------------------------------------------------------------------------------- /doc/examples/Makefile: -------------------------------------------------------------------------------- 1 | LIBPATH := ../../base 2 | BUILDPATH := build 3 | FIGURES := $(wildcard figures/*) 4 | PAGES := $(wildcard pages/*.tex) 5 | LIBS := $(wildcard $(LIBPATH)/*) 6 | 7 | TEX = xelatex 8 | BIB = bibtex 9 | MKDIR_P = mkdir -p 10 | 11 | all: bachelor master doctor 12 | 13 | bachelor: directories $(BUILDPATH)/bachelor.pdf 14 | master: directories $(BUILDPATH)/master.pdf 15 | doctor: directories $(BUILDPATH)/doctor.pdf 16 | 17 | $(BUILDPATH)/%.pdf: export TEXINPUTS=$(LIBPATH): 18 | $(BUILDPATH)/%.pdf: export BSTINPUTS=$(LIBPATH): 19 | $(BUILDPATH)/%.pdf: %.tex $(PAGES) $(FIGURES) $(LIBS) directories 20 | $(TEX) -output-directory $(BUILDPATH) --no-pdf --interaction=nonstopmode $< 21 | $(BIB) $(BUILDPATH)/$*.aux || true 22 | $(TEX) -output-directory $(BUILDPATH) --no-pdf --interaction=nonstopmode $< 23 | $(TEX) -output-directory $(BUILDPATH) --interaction=nonstopmode $< 24 | 25 | directories: ${BUILDPATH} 26 | ${BUILDPATH}: 27 | ${MKDIR_P} ${BUILDPATH} 28 | 29 | clean: 30 | rm -rf $(BUILDPATH) *.log *.out *.blg *.bbl *.aux *.synctex.gz 31 | 32 | .PHONY: clean directories bachelor master doctor 33 | -------------------------------------------------------------------------------- /doc/examples/bachelor.tex: -------------------------------------------------------------------------------- 1 | % bachelor.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \documentclass[ 28 | bachelor, 29 | %bigskip, % sets linespread factor to 1.5 30 | %propfont, % whether to use property fonts 31 | %nofont, % remember to manally set the fonts 32 | pdflinks, 33 | %colorlinks, 34 | %compact, 35 | ]{xjtuthesis} 36 | 37 | \graphicspath{{figures/}} 38 | 39 | \begin{document} 40 | 41 | \input{pages/meta.tex} 42 | 43 | \xjtucinfopage 44 | \xjtueinfopage 45 | \xjtutoc 46 | \clearpage 47 | 48 | \input{pages/denotation.tex} 49 | 50 | \xjtucontent 51 | 52 | \input{pages/intro.tex} 53 | 54 | \input{pages/float.tex} 55 | 56 | \input{pages/formulae.tex} 57 | 58 | \input{pages/monet.tex} 59 | 60 | \input{pages/jiang-hk.tex} 61 | 62 | \input{pages/conclusion.tex} 63 | 64 | \xjtuendcontent 65 | 66 | \xjtubib{sample} 67 | 68 | \xjtuappendix 69 | 70 | \input{pages/appendice.tex} 71 | 72 | \xjtuendappendix 73 | 74 | \xjtuspchapter{致\quad 谢}{致\quad 谢} 75 | 76 | \input{pages/anthem.tex} 77 | 78 | \input{pages/extrapdfs.tex} 79 | 80 | \end{document} 81 | 82 | -------------------------------------------------------------------------------- /doc/examples/doctor.tex: -------------------------------------------------------------------------------- 1 | % doctor.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \documentclass[ 28 | doctor, 29 | %propfont, % whether to use property fonts 30 | %nofont, % remember to manally set the fonts 31 | pdflinks, 32 | %colorlinks, 33 | %compact, 34 | ]{xjtuthesis} 35 | 36 | \graphicspath{{figures/}} 37 | 38 | \begin{document} 39 | 40 | \input{pages/meta.tex} 41 | 42 | \xjtuchead 43 | \xjtuehead 44 | \xjtucinfopage 45 | \xjtueinfopage 46 | \xjtutoc 47 | \xjtutoe 48 | \clearpage 49 | 50 | \input{pages/denotation.tex} 51 | 52 | \xjtucontent 53 | 54 | \input{pages/intro.tex} 55 | 56 | \input{pages/float.tex} 57 | 58 | \input{pages/formulae.tex} 59 | 60 | \input{pages/monet.tex} 61 | 62 | \input{pages/jiang-hk.tex} 63 | 64 | \input{pages/conclusion.tex} 65 | 66 | \xjtuendcontent 67 | 68 | \xjtubib{sample} 69 | 70 | \xjtuappendix 71 | 72 | \input{pages/appendice.tex} 73 | 74 | \xjtuendappendix 75 | 76 | \xjtuspchapter{致谢}{致\qquad 谢}{Acknowledgements} 77 | 78 | \input{pages/anthem.tex} 79 | 80 | \xjtuspchapter{攻读博士期间取得的研究成果}{攻读博士期间取得的研究成果}{Achievements} 81 | 82 | \begin{enumerate} 83 | \item 已发表或已录用的学术论文、已出版的专著/译著、已获授权的专利按参考文献格式列出。 84 | \item 科研获奖,列出格式为:\\ 85 | 获奖人(排名情况).项目名称.奖项名称及等级,发奖机构,获奖时间. 86 | \item 与学位论文相关的其它成果参照参考文献格式列出。 87 | \item 全部研究成果连续编号编排。 88 | \end{enumerate} 89 | 90 | \xjtuacademicintegrity 91 | 92 | 93 | \end{document} 94 | 95 | -------------------------------------------------------------------------------- /doc/examples/figures/437px-Monet_in_Garden_New_York_Times_1922.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/437px-Monet_in_Garden_New_York_Times_1922.jpg -------------------------------------------------------------------------------- /doc/examples/figures/450px-Claude_Monet_1899_Nadar_crop.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/450px-Claude_Monet_1899_Nadar_crop.jpg -------------------------------------------------------------------------------- /doc/examples/figures/738px-Charing_Cross_Bridge_Monet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/738px-Charing_Cross_Bridge_Monet.jpg -------------------------------------------------------------------------------- /doc/examples/figures/780px-Claude_Monet_Impression_soleil_levant_1872.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/780px-Claude_Monet_Impression_soleil_levant_1872.jpg -------------------------------------------------------------------------------- /doc/examples/figures/800px-Claude_Monet_038.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/800px-Claude_Monet_038.jpg -------------------------------------------------------------------------------- /doc/examples/figures/Claude_Monet_River_Scene_at_Bennecourt_Seine.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/Claude_Monet_River_Scene_at_Bennecourt_Seine.jpg -------------------------------------------------------------------------------- /doc/examples/figures/Monet-Claude_-_View_At_Rouelles_Le_Havre_1858.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/Monet-Claude_-_View_At_Rouelles_Le_Havre_1858.jpg -------------------------------------------------------------------------------- /doc/examples/figures/XJTU.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/doc/examples/figures/XJTU.pdf -------------------------------------------------------------------------------- /doc/examples/master.tex: -------------------------------------------------------------------------------- 1 | % master.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \documentclass[ 28 | master, 29 | %propfont, % whether to use property fonts 30 | %nofont, % remember to manally set the fonts 31 | pdflinks, 32 | %colorlinks, 33 | %compact, 34 | ]{xjtuthesis} 35 | 36 | \graphicspath{{figures/}} 37 | 38 | \begin{document} 39 | 40 | \input{pages/meta.tex} 41 | 42 | \xjtuchead 43 | \xjtuehead 44 | \xjtucinfopage 45 | \xjtueinfopage 46 | \xjtutoc 47 | \xjtutoe 48 | \clearpage 49 | 50 | \input{pages/denotation.tex} 51 | 52 | \xjtucontent 53 | 54 | \input{pages/intro.tex} 55 | 56 | \input{pages/float.tex} 57 | 58 | \input{pages/formulae.tex} 59 | 60 | \input{pages/monet.tex} 61 | 62 | \input{pages/jiang-hk.tex} 63 | 64 | \input{pages/conclusion.tex} 65 | 66 | \xjtuendcontent 67 | 68 | \xjtubib{sample} 69 | 70 | \xjtuappendix 71 | 72 | \input{pages/appendice.tex} 73 | 74 | \xjtuendappendix 75 | 76 | \xjtuspchapter{致谢}{致\qquad 谢}{Acknowledgements} 77 | 78 | \input{pages/anthem.tex} 79 | 80 | \xjtuspchapter{攻读硕士期间取得的研究成果}{攻读硕士期间取得的研究成果}{Achievements} 81 | 82 | \begin{enumerate} 83 | \item 已发表或已录用的学术论文、已出版的专著/译著、已获授权的专利按参考文献格式列出。 84 | \item 科研获奖,列出格式为:\\ 85 | 获奖人(排名情况).项目名称.奖项名称及等级,发奖机构,获奖时间. 86 | \item 与学位论文相关的其它成果参照参考文献格式列出。 87 | \item 全部研究成果连续编号编排。 88 | \end{enumerate} 89 | 90 | \xjtuacademicintegrity 91 | 92 | 93 | \end{document} 94 | 95 | -------------------------------------------------------------------------------- /doc/examples/pages/anthem.tex: -------------------------------------------------------------------------------- 1 | 美哉吾校, 真理之花, 青年之模楷, 邦国之荣华, 2 | 3 | 校旗飘扬, 与日俱长, 为世界之光, 为世界之光. 4 | 5 | 美哉吾校, 鼓舞群伦, 启发我睿智, 激励我热忱, 6 | 7 | 英俊济跄, 经营四方, 为世界之光, 为世界之光. 8 | 9 | 美哉吾校, 性灵泉源, 科学之奥府, 艺术之林园, 10 | 11 | 实业扩张, 进步无疆, 为世界之光, 为世界之光. 12 | 13 | 美哉吾校, 灿烂文明, 实学培国本, 民族得中兴, 14 | 15 | 宇土茫茫, 山高水长, 为世界之光, 为世界之光. 16 | -------------------------------------------------------------------------------- /doc/examples/pages/appendice.tex: -------------------------------------------------------------------------------- 1 | % appendice.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \xjtuappendixchapter{附录} 28 | 29 | \xjtuappendixsection{测试标题} 30 | 31 | The quick brown fox jumps over the lazy dog. 32 | 33 | \begin{figure}[h!] 34 | \centering 35 | \includegraphics[width=6.67cm]{XJTU.pdf} 36 | \caption{西安交通大学} 37 | \label{fig:in-appendix} 38 | \end{figure} 39 | 40 | \xjtuappendixsubsection{三级标题} 41 | 42 | 测试 43 | 44 | \xjtuappendixsubsubsection{四级标题} 45 | 46 | 测试 47 | 48 | \xjtuappendixchapter{还是附录} 49 | 50 | \xjtuappendixsection{测试} 51 | 52 | The quick brown fox jumps over the lazy dog. 53 | -------------------------------------------------------------------------------- /doc/examples/pages/conclusion.tex: -------------------------------------------------------------------------------- 1 | % conclusion.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \chapter{结论与展望} 28 | 29 | \xjtuthesis 是一个开源项目,旨在提供符合西安交通大学有关部门要求的学位论文\LaTeX 模板。 30 | 31 | 您当前看到的文件是 \xjtuthesis{} \metaversion 的示例排版文档。 32 | 33 | \xjtuthesis 项目目前托管在Google Code: \verb|http://xjtuthesis.googlecode.com/| 34 | 35 | \xjtuthesis 采用Mercurial管理源代码。访问项目的网站,了解更多信息。 36 | 37 | \section{使用\xjtuthesis} 38 | 39 | 如果你是本科生,请和系里联系以确定可以使用\xjtuthesis 完成论文。 40 | 41 | 研究生请和西安交大研究生院学位办(周主任)联系: 42 | 43 | \begin{description} 44 | \item[电话] 82668899 45 | \item[办公地址] 教学主楼1311室 46 | \item[电子邮件] \url{xwb@mail.xjtu.edu.cn} (从来不回) 47 | \end{description} 48 | -------------------------------------------------------------------------------- /doc/examples/pages/denotation.tex: -------------------------------------------------------------------------------- 1 | % denotation.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \begin{denotation} 28 | 29 | \item[\xjtuthesis] 我能吞下玻璃而不伤身体噢 30 | \item[Linux] 李氏操作系统 31 | \item[Windows] 温氏操作系统 32 | 33 | \end{denotation} 34 | -------------------------------------------------------------------------------- /doc/examples/pages/extrapdfs.tex: -------------------------------------------------------------------------------- 1 | \iffalse 2 | \includepdf[pages=1-,pagecommand={\thispagestyle{extrapdf}},scale=1.0,offset=0cm \voffset]{pdfs/任务书.pdf} 3 | % 使用以下行插入空白页以满足奇数页起排的要求 4 | % \newpage \ \newpage 5 | \includepdf[pages=1-,pagecommand={\thispagestyle{extrapdf}},scale=1.0,offset=0cm \voffset]{pdfs/考核评议书.pdf} 6 | \includepdf[pages=1-,pagecommand={\thispagestyle{extrapdf}},scale=1.0,offset=0cm \voffset]{pdfs/答辩结果.pdf} 7 | \fi 8 | -------------------------------------------------------------------------------- /doc/examples/pages/float.tex: -------------------------------------------------------------------------------- 1 | % float.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \chapter{浮动格式} 28 | 29 | 金溪民方仲永,世隶耕。仲永生五年,未尝识书具,忽啼求之。父异焉,借旁近与之,即书诗四句,并自为其名。其诗以养父母、收族为意,传一乡秀才观之。自是指物作诗立就,其文理皆有可观者。邑人奇之,稍稍宾客其父,或以钱币乞之。父利其然也,日扳仲永环谒于邑人,不使学。 30 | 31 | 余闻之也久。明道中,从先人还家,于舅家见之,十二三矣。令作诗,不能称前时之闻。又七年,还自扬州,复到舅家问焉。曰:“泯然众人矣。” 32 | 33 | 王子曰:仲永之通悟,受之天也。其受之天也,贤于才人远矣。卒之为众人,则其受于人者不至也。彼其受之天也,如此其贤也,不受之人,且为众人;今夫不受之天,固众人,又不受之人,得为众人而已耶? 34 | 35 | \section{图片} 36 | 37 | \begin{figure}[h!] 38 | \centering 39 | \includegraphics[width=6.67cm]{XJTU.pdf} 40 | \caption{西安交通大学} 41 | \label{fig:xjtu} 42 | \end{figure} 43 | 44 | \begin{figure}[h!] 45 | \begin{minipage}{0.45\textwidth} 46 | \centering 47 | \includegraphics[width=6.67cm]{XJTU.pdf} 48 | \caption{西安交通大学} 49 | \label{fig:xjtu-left} 50 | \end{minipage} 51 | \begin{minipage}{0.45\textwidth} 52 | \centering 53 | \includegraphics[width=6.67cm]{XJTU.pdf} 54 | \caption{西安交通大学} 55 | \label{fig:xjtu-right} 56 | \end{minipage} 57 | \end{figure} 58 | 59 | \begin{figure}[h!] 60 | \centering 61 | \subfloat[果毅力行]{ 62 | \includegraphics[width=6.67cm]{XJTU.pdf} 63 | \label{fig:xjtu-sub-left}} 64 | \subfloat[忠恕任事]{ 65 | \includegraphics[width=6.67cm]{XJTU.pdf} 66 | \label{fig:xjtu-sub-right}} 67 | \caption{子图} 68 | \end{figure} 69 | 70 | 71 | \section{表格} 72 | 73 | \begin{table}[h!] 74 | \centering 75 | \caption{一个简单的表格} 76 | \label{tab:simple} 77 | \wuhao 78 | \begin{tabularx}{\linewidth}{XXXXX} \toprule 79 | & 一月 & 二月 & 三月 & 合计 \\ \midrule 80 | 东部 & 7 & 7 & 5 & 19 \\ 81 | 西部 & 6 & 4 & 7 & 17 \\ 82 | 南部 & 8 & 7 & 9 & 24 \\ 83 | \bf 合计 & 21 & 18 & 21 & 60 \\ \bottomrule 84 | \end{tabularx} 85 | \end{table} 86 | 87 | 88 | \begin{table}[h!] 89 | %\begin{minipage}{\textwidth} 90 | \begin{threeparttable}[h] 91 | \centering 92 | \caption{包含脚注的表格} 93 | \label{tab:with-footnote} 94 | \wuhao 95 | \begin{tabularx}{\linewidth}{XXXXX} \toprule 96 | & 一月 & 二月 & 三月 & 合计 \\ \midrule 97 | 东部 & 7\tnote{1} 98 | & 7 & 5 & 19 \\ 99 | 西部 & 6 & 4 & 7 & 17 \\ 100 | 南部 & 8 & 7 & 9 & 24 \\ 101 | \bf 合计\tnote{2} 102 | & 21 & 18 & 21 & 60 \\ \bottomrule 103 | \end{tabularx} 104 | %\end{minipage} 105 | \begin{tablenotes} 106 | \item[1] 数据来自Word 97. 107 | \item[2] Computed by \textsl{Mathematica} 8. 108 | \end{tablenotes} 109 | \end{threeparttable} 110 | \end{table} 111 | 112 | \begin{table}[h!] 113 | \centering 114 | \caption{稍微复杂一点的表格} 115 | \label{tab:complex} 116 | \wuhao 117 | \begin{tabularx}{\linewidth}{XXXXX} \toprule 118 | & \multicolumn{3}{c}{这是一句废话} & \\ \cmidrule{2-4} 119 | & 一月 & 二月 & 三月 & 合计 \\ \midrule 120 | 东部 & 7 & 7 & 5 & 19 \\ 121 | 西部 & 6 & 4 & 7 & 17 \\ 122 | 南部 & 8 & 7 & 9 & 24 \\ 123 | \bf 合计 & 21 & 18 & 21 & 60 \\ \bottomrule 124 | \end{tabularx} 125 | \end{table} 126 | 127 | 我制作了一个简单的表格(表\ref{tab:simple})。 128 | 129 | -------------------------------------------------------------------------------- /doc/examples/pages/formulae.tex: -------------------------------------------------------------------------------- 1 | % formulae.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \chapter{公式环境} 28 | 29 | \begin{axiom} 30 | \rm 两点间直线段距离最短。 31 | \begin{align} 32 | x&\equiv y+1\pmod{m^2}\\ 33 | x&\equiv y+1\mod{m^2}\\ 34 | x&\equiv y+1\pod{m^2} 35 | \end{align} 36 | \end{axiom} 37 | 38 | \begin{remark} 39 | \rm 对齐的公式示例,它还同时演示了标号。 40 | \begin{align} 41 | \begin{split} 42 | \varphi(x,z) 43 | &=z-\gamma_{10}x-\gamma_{mn}x^mz^n\\ 44 | &=z-Mr^{-1}x-Mr^{-(m+n)}x^mz^n 45 | \end{split} \notag \\ 46 | \noindent\zeta^1&=(\xi^1)^2,\\ 47 | \zeta^1 &=\xi^0\xi^1,\\ 48 | \zeta^2 &=(\xi^1)^2, 49 | \end{align} 50 | \end{remark} 51 | 52 | \begin{theorem} 53 | \rm 对于直角三角形$ABC$, 若$a 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \chapter{绪论} 28 | \echapter{Preface} 29 | 30 | 正文\footnote{测试一个脚注}是学位论文的主体,第一章为绪论,最后一章为结论与展望\xjtuincite{niubi-paper}。我们来测试一个上标引用\cite{niubi-paper}。 31 | 32 | \section{标题} 33 | \esection{Biao Ti} 34 | 35 | 每章标题按一级标题编排,每节标题按二级标题编排,每小节标题按三级标题编排。 36 | 37 | “章”、“节”、“小节”的编号统一为:1、1.1、1.1.1。 38 | 39 | 四级以后的标题和编号的编排原则为:下级标题的显目程度不超过上一级,不重复或混淆。 40 | 41 | 编号与题目之间空一格。 42 | 43 | \section{二级标题} 44 | \esection{Another Biao Ti} 45 | 46 | 积土成山,风雨兴焉;积水成渊,蛟龙生焉;积善成德,而神明自得,圣心备焉。故不积跬步,无以至千里;不积小流,无以成江海。骐骥一跃,不能十步;驽马十驾,功在不舍。锲而舍之,朽木不折;锲而不舍,金石可镂。蚓无爪牙之利,筋骨之强,上食埃土,下饮黄泉,用心一也。蟹六跪而二螯,非蛇鳝之穴无可寄托者,用心躁也。 47 | 48 | \subsection{三级标题} 49 | 50 | 平林漠漠烟如织,寒山一带伤心碧。暝色入高楼,有人楼上愁。王阶空伫立,宿鸟归飞急。何处是归程,长亭更短亭。 51 | 52 | \subsubsection{四级标题} 53 | 54 | 君不见,黄河之水天上来,奔流到海不复回。君不见,高堂明镜悲白发,朝如青丝暮成雪。人生得意须尽欢,莫使金樽空对月。天生我材必有用,千金散尽还复来。烹羊宰牛且为乐,会须一饮三百杯。岑夫子,丹丘生,将进酒,君莫停。与君歌一曲,请君为我侧耳听。钟鼓馔玉不足贵,但愿长醉不复醒。古来圣贤皆寂寞,惟有饮者留其名。陈王昔时宴平乐,斗酒十千恣欢谑。主人何为言少钱,径须沽取对君酌。五花马,千金裘,呼儿将出换美酒,与尔同销万古愁。 55 | 56 | \subsubsection{四级标题} 57 | 58 | 一屠晚归,担中肉尽,止有剩骨。途中两狼,缀行甚远。 59 | 60 | 屠惧,投以骨。一狼得骨止,一狼仍从。复投之,后狼止而前狼又至。骨已尽矣,而两狼之并驱如故。 61 | 62 | 屠大窘,恐前后受其敌。顾野有麦场,场主积薪其中,苫蔽成丘。屠乃奔倚其下,弛担持刀。狼不敢前,眈眈相向。 63 | 64 | 少时,一狼径去,其一犬坐于前。久之,目似瞑,意暇甚。屠暴起,以刀劈狼首,又数刀毙之。方欲行,转视积薪后,一狼洞其中,意将隧入以攻其后也。身已半入,止露尻尾。屠自后断其股,亦毙之。乃悟前狼假寐,盖以诱敌。 65 | 66 | 狼亦黠矣,而顷刻两毙,禽兽之变诈几何哉?止增笑耳。 67 | 68 | \subsubsection{又是一个四级标题} 69 | 70 | 孔子东游,见两小儿辩斗。问其故。 71 | 72 | 一儿曰:“我以日始出时去人近,而日中时远也。” 73 | 74 | 一儿以日初出远,而日中时近也。 75 | 76 | 一儿曰:“日初出大如车盖,及日中则如盘盂,此不为远者小而近者大乎?” 77 | 78 | 一儿曰:“日初出沧沧凉凉,及其日中如探汤,此不为近者热而远者凉乎?” 79 | 80 | 孔子不能决也。 81 | 82 | 两小儿笑曰:“孰为汝多知乎?” 83 | 84 | -------------------------------------------------------------------------------- /doc/examples/pages/jiang-hk.tex: -------------------------------------------------------------------------------- 1 | % jiang-hk.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \chapter{江学长怒斥香港记者} 28 | 29 | (2000年10月27日,北京中南海) 30 | 31 | 港女记:江主席,你觉得董先生连任,好不好啊? 32 | 33 | 江学长:好喔! 34 | 35 | 港女记:中央也支持他哈? 36 | 37 | 江学长:当然啦! 38 | 39 | 港女记:那为什么这么早就决定了,而不考虑别的人选了? 40 | 41 | 港女记:欧盟呢,最近发表了一个报告说呢,北京会透过一些渠道去影响、干预香港的法治。你对这个看法有什么回应呢? 42 | 43 | 江学长:没听到过! 44 | 45 | 港女记:这是彭定康说的。 46 | 47 | 江学长:彭定康说的就是真的了?你们媒体千万要注意了,不要见着风是得雨,接到这些消息,媒体本身也要判断,明白这意思吗?假使这些完全无中生有的东西,你再帮他说一遍,你等于……你也有责任吧? 48 | 49 | 港女记:现在那么早,你们就说支持董先生,会不会给人一种感觉,就是内定呀、是钦点呀董先生呀? 50 | 51 | 江学长:没有,没有任何的意思!还是按照香港的、按照基本法、按照选举的法,去产生…… 52 | 53 | 港女记:但是你们能不能…… 54 | 55 | 江学长:刚才你们问我呀,我可回答你一句「无可奉告」。但是你们又不高兴,那怎么办?! 56 | 57 | 港女记:可…… 58 | 59 | 江学长:我讲的意思,不是钦点他当下一任。你问我支持不支持,我说支持。我就明确给你、告诉你。 60 | 61 | 港女记:江主席…… 62 | 63 | 江学长:但是你们吧,你们……我感觉你们新闻界,还要学习一个……你们非常熟悉西方的那一套的理论,你们毕竟还too young!明白这意思吗?!我告诉你们,我是身经百战了,见得多了。西方的哪个国家我没去过?你们要知道,美国的华莱士,那比你们不知要高到哪里去了!嗯,我跟他谈笑风生。就是说媒体呀,还是要提高自己的知识水平。识得不识得啊? 64 | 65 | 江学长:唉,我也替你们着急呀,真的。你们就……你们有一个好,全世界跑到什么地方,你们比其他的西方记者,跑得还快!但是问来问去的问题呀,都too simple,sometimes na\"ive。懂了没啊? 66 | 67 | 港女记:可江主席……哦…… 68 | 69 | 港女记:能不能说一下,为什么要支持董先生? 70 | 71 | 江学长:我很抱歉,我今天是作为一个长者,跟你们讲的。我不是新闻工作者,但是我见得太多了……我……有这个必要告诉你们一点,人生的经验。 72 | 73 | 江学长:刚才我很想啊,就我每次碰到你们,我就想到中国有句话叫「闷声发大财」。 74 | 75 | 港男记:那叫什么话?一句…… 76 | 77 | 江学长:这是最好的!但是我想我见到你们这样热情呀,一句话不说也不好。所以刚才你一定要……在宣传上将来如果你们报道上敢有偏差,你们要负责!我没有说要钦定,没有任何这个意思。但是你问,一定要问我,对董先生支持不支持。我们不支持他?他现在当特首,我们怎么能不支持特首?!对不对? 78 | 79 | 港女记:但是如果说连任呢? 80 | 81 | 江学长:哎,连任也按照香港的法律呀,对不对?要、要按着香港的……当然我们的决定权,也是很重要的!香港特区、特别行政区是属于中国、中华人民共和国中央人民政{}府,啊!到那个时候,我们会表态的! 82 | 83 | 港女记:但是呢…… 84 | 85 | 江学长:明白这个意思吗?你们呀,不要想喜欢,啊,弄那么个大新闻,说现在已经钦定了,就把我批判一番! 86 | 87 | 问:但是…… 88 | 89 | 江:你们啊,Na\"ive ……I'm angry,我跟你们讲,你们这样子不行的。我今天算得罪了你们一下。 90 | -------------------------------------------------------------------------------- /doc/examples/pages/meta.tex: -------------------------------------------------------------------------------- 1 | % meta.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \ctitle{\xjtuthesis{} \metaversion 排版示例} 28 | \cauthor{许佳} 29 | \csubject{永动机学} 30 | \csupervisor{陈亚洁} 31 | \ckeywords{健康生活;远离蒙牛} 32 | \cproddate{\the\year 年\the\month 月} 33 | \ctype{理论研究} 34 | 35 | \etitle{Sample Typesetting for \xjtuthesis} 36 | \eauthor{Plues Xu} 37 | \esupervisor{Carol Chen} 38 | \ekeywords{Supplement; Supplicate; Supposition; Suppress} 39 | \ecate{Philosophy} 40 | \esubject{Mechanical Engineering} 41 | \eproddate{\monthname{\month}\ \the\year} 42 | \etype{Theoretical Research} 43 | 44 | \cabstract{ 45 | 向那些疯狂的家伙们致敬, 46 | 他们特立独行, 47 | 他们桀骜不训, 48 | 他们惹是生非, 49 | 他们格格不入. 50 | 51 | 他们用与众不同的眼光看待事物, 52 | 他们不喜欢墨守成规, 53 | 他们也不愿安于现状. 54 | 55 | 你可以赞美他们, 引用他们, 反对他们, 56 | 质疑他们, 颂扬或是诋毁他们, 57 | 但唯独不能漠视他们. 58 | 59 | 因为他们改变了事物. 60 | 他们推动人类向前发展. 61 | 62 | 或许他们是别人眼里的疯子, 63 | 但却是我们眼中的天才. 64 | 65 | 因为只有那些疯狂到以为自己能够改变世界的人, 66 | 才能真正地改变世界. 67 | 68 | } 69 | 70 | \eabstract{ 71 | 72 | Here's to the crazy ones. The misfits. The rebels. The troublemakers. The round pegs in the square holes. 73 | 74 | The ones who see things differently. They're not fond of rules. And they have no respect for the status quo. You can quote them, disagree with them, glorify or vilify them. 75 | 76 | About the only thing you can't do is ignore them. Because they change things. They push the human race forward. 77 | 78 | While some may see them as the crazy ones, we see genius. Because the people who are crazy enough to think they can change the world, are the ones who do. 79 | 80 | (Apple Inc.) 81 | 82 | } 83 | -------------------------------------------------------------------------------- /doc/examples/pages/monet.tex: -------------------------------------------------------------------------------- 1 | % monet.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | % Almost all text in this file are taken from Chinese Wikipedia at 28 | % https://zh.wikipedia.org/zh/克洛德·莫奈 29 | % or 30 | % https://zh.wikipedia.org/wiki/%E5%85%8B%E6%B4%9B%E5%BE%B7%C2%B7%E8%8E%AB%E5%A5%88 31 | % and are released under Creative Commons Attribution-Share Alike License 3.0 32 | % which can be found at 33 | % https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License 34 | % 35 | \chapter{克洛德·莫奈} 36 | \echapter{Claude Monet} 37 | 38 | \begin{quotation} 39 | 编者注:本章内容取自「维基百科,自由的百科全书」,并以创作共用「署名-相同方式共享」授权重新发布。\xjtuthesis 第一版的开发代号为~Monet。 40 | \end{quotation} 41 | 42 | 克洛德·莫奈\footnote{法语:Claude Monet,1840年11月14日 --- 1926年12月5日}(图\ref{fig:claude-monet}),法国画家,印象派代表人物和创始人之一。印象出自其代表作《印象·日出》的标题。 43 | 44 | \begin{figure}[h!] 45 | \centering 46 | \includegraphics[width=6.67cm]{450px-Claude_Monet_1899_Nadar_crop.jpg} 47 | \caption{Claude Monet (公有领域)} 48 | \label{fig:claude-monet} 49 | \end{figure} 50 | 51 | 莫奈是法国最重要的画家之一,印象派的理论和实践大部份都有他的推广。莫奈擅长光与影的实验与表现技法。他最重要的风格是改变了阴影和轮廓线的画法,在莫奈的画作中看不到非常明确的阴影,也看不到突显或平涂式的轮廓线。除此之外,莫奈对于色彩的运用相当细腻,他用许多相同主题的画作来实验色彩与光完美的表达。莫奈曾长期探索光色与空气的表现效果,常常在不同的时间和光线下,对同一对象作多幅的描绘,从自然的光色变幻中抒发瞬间的感觉。 52 | 53 | \section{早年生涯} 54 | \esection{Early Years} 55 | 56 | 莫奈1840年11月14日出生于法国巴黎45街拉菲特第九郡,是阿道夫和路易斯的第二个儿子。他的父母都是第二代的巴黎人。1841年5月20日,他在当地的巴黎圣母院教区教堂受洗。在全家搬到了在诺曼底、位于塞纳河口北岸的勒阿弗尔\footnote{Le Havre}。他的父亲希望他继承家里的杂货店,但莫奈则想成为一个艺术家。他的母亲是一名歌手。 57 | 58 | 1851年4月1日起,莫奈进入勒阿弗尔艺术中学。他的木炭漫画开价十到二十法郎,因此为当地人熟知。莫奈跟从雅克-弗兰柯伊斯·奥查德学习了最初的绘画课程,而后者是雅克-路易·大卫。在诺曼底的海滩上,他遇到了艺术家欧仁·布丹\footnote{Eugene Boudin},他后来成了莫奈的良师益友并教授他学会画油画。布丹教了莫奈绘画上的「空气」技法。 59 | 60 | 1857年1月28日,他的母亲去世了。因此他从16岁起,离开学校,和丧偶无子女的姨妈玛丽-让娜·列卡德\footnote{Marie-Jeanne Lecadre}居住。 61 | 62 | \section{在巴黎} 63 | \esection{In Paris} 64 | 65 | 当莫奈来到巴黎卢浮宫,他亲眼看到许多画家在模仿著名艺术家的作品。于是,随身携带着颜料和工具的他便坐在一扇窗户旁开始画他所看到的东西。莫奈在法国居住了数年,并与其他年轻画家会面。其中爱德华·马奈成为了他的好朋友,并且也是印象派画家。 66 | 67 | \begin{figure}[h!] 68 | \centering 69 | \includegraphics[width=6.67cm]{Claude_Monet_River_Scene_at_Bennecourt_Seine.jpg} 70 | \caption{\textit{On the Bank of the Seine, Bennecourt} (公有领域)} 71 | \label{fig:on-the-bank-of-the-seine} 72 | \end{figure} 73 | 74 | 莫奈在阿尔及利亚当了两年兵\footnote{1860年 --- 1862年},在他服役七年的合同到期之前,因为伤寒,莫奈的姑妈Lecadre夫人将他从部队解脱出来,让他去完成大学的艺术课程。这可能是在他认识的荷兰画家Johan~Barthold~Jongkind的干预下完成的。 75 | 76 | 因为大学的传统艺术教育让他觉醒,1862年莫奈在巴黎加入了夏尔·格莱尔\footnote{Charles Gleyre}画室。在那里他结认了皮耶-奥古斯特·雷诺阿、弗雷德里克·巴齐耶\footnote{Frederic Bazille}以及阿尔弗雷德·西斯莉\footnote{Alfred Sisley}。他们共同创造了一种新的艺术手法,即在户外和自然光线下用浓厚的油彩作画,后来被称为印象派。 77 | 78 | 1866年,他以卡米耶·东西厄\footnote{Camille Doncieux}为模特创作了《绿衣女人》\footnote{\textit{The Woman in the Green Dress}}。这件作品使他受到承认。卡米耶也是他次年作品《花园中的女人》中的模特,还出现在他1868年在塞纳河岸上绘制的《塞纳河岸》中。不久之后,卡米耶即怀孕并生下了他们的第一个孩子让\footnote{Jean}。 79 | 80 | \section{普法战争,印象派,阿尔} 81 | \esection{Franco-Prussian War, Impressionism, and Argenteuil} 82 | 83 | 在普法战争\footnote{Franco-Prussian War,1870年 --- 1871年}期间,莫奈于1870年9月来到英国避难。在那里他学习约翰·康斯太布尔和J·M·W·透纳\footnote{J.M.W.Turner}的作品。他们的作品激发了莫奈对色彩研究方面的创新。1871年春天,皇家艺术学院拒绝将莫奈的作品列入展览。 84 | 85 | 1871年,他离开伦敦来到荷兰赞丹。在那里他创作了25幅作品,并且导致警察怀疑他在进行革命活动。他还首次游览了附近的阿姆斯特丹。1871年的10月或11月,他回到了法国。直到1878年,他基本都居住在法国阿尔,巴黎附近塞纳河右岸上的一个小村庄,那里也是受到巴黎人欢迎的郊游目的地。1874年,他短暂地返回了荷兰。 86 | 87 | \begin{figure}[h!] 88 | \centering 89 | \includegraphics[width=6.67cm]{780px-Claude_Monet_Impression_soleil_levant_1872.jpg} 90 | \caption{印象·日出(公有领域)} 91 | \label{fig:impression-soleil-levant} 92 | \end{figure} 93 | 94 | 1872年,莫奈以勒阿弗尔的一处风景为背景创作了《印象·日出》\footnote{\textit{Impression, soleil levant}}(图\ref{fig:impression-soleil-levant})。它在1874年第一次印象派画家展上亮相,如今它陈列在巴黎马蒙丹·莫奈美术馆\footnote{Muse Marmottan-Monet}。从这幅画的题目中,艺术评论家路易·勒鲁瓦提出了「印象派」的说法。莫奈有两幅关于林荫大道的画作,一副现在在莫斯科的普希金博物馆中,另一幅在堪萨斯城的纳尔逊-阿特金斯艺术博物馆中。人们从来都不清楚到底哪幅才是1874年展览中展出的,尽管近来人们倾向于认为是在莫斯科的那幅。 95 | 1870年,莫奈与东西厄结婚。1871年,他们搬进了塞纳河\footnote{Seine River}边阿让特伊\footnote{Argenteuil}的一幢房子。正是在这个时期,莫奈创作了大量的作品。1876年,莫奈夫人生病了。1878年3月17日,他们有了另一个儿子,米歇尔\footnote{Michael}。1879年,莫奈夫人死于肺结核。 96 | 97 | \section{后来的日子} 98 | \esection{Later life} 99 | 100 | 卡米尔去世后的数个月,伤心欲绝的莫奈为了不再陷入贫困而认真创作了一些19世纪最棒的绘画。19世纪80年代初,他绘制了几组风景和海景作为他在法国乡村生活的记录。这些记录演变成了他的系列画作。 101 | 102 | 1878年莫奈一家暂时搬到Ernest~Hosched\footnote{1837年 --- 1891年}的房子中居住。他是一个富裕的百货商店老板,并且也是艺术赞助人。那个夏天,这两个家庭分享了在Vtheuil的这套房子。在那之后Ernest~Hosched破产了,并于1878年前往比利时。1879年,东西厄逝世后,莫奈依然居住在那里。Alice~Hoschede决定帮助莫奈抚养他的两个孩子,并带去巴黎,和她自己的六个孩子在一起。1880年他们从巴黎回来了。1881年,他们搬到了普瓦西\footnote{Poissy},但莫奈不喜欢那里。1883年4月,他们搬到了上诺曼底大区厄尔省的Giverny。他种植了一个大花园并在那里完成了他余生的绘画创作。莫奈和Alice~Hoschede在1892年结婚。 103 | 104 | \section{在吉维尼} 105 | \esection{Giverny} 106 | 107 | 1883年5月初,莫奈和他的家族从本地的一个田主手中租下了一个房子。这个房子座落在Vernon和吉维尼的Gasny。房子中有一个谷仓被用作画室,但也是果园和小花园。房子离本地的学校很近,周围的景观给莫奈的作品提供了很多灵感。随着一家在此劳作,修耆院子,莫奈的作品也被经销商保罗·杜兰德-鲁埃尔越卖越多,他的命运得到了改变。直到1890年11月,莫奈已经买得起他的房子和周边建筑了。十九世纪90年代,莫奈创建了一个温室和他的第二个工作室,那是一个包含天窗的宽敞的建筑。 108 | 109 | 在十九世纪八十年代和九十年代,莫奈开始了系列绘画创作,即在不同的光线和角度连续画同一个物体。他的第一个系列作品《鲁昂主教座堂》就是在不同的角度和一天中不同的时间来画。1895年,从20个不同角度对大教堂所作的画在迪朗德 --- 吕埃尔\footnote{Gurand-Ruel}画廊展出。此外,他的作品还有稻草堆系列、白杨系列、伦敦议会、塞纳河的早晨、睡莲系列。 110 | 111 | \begin{figure}[h!] 112 | \begin{minipage}{0.5\textwidth} 113 | \centering 114 | \includegraphics[width=6.67cm]{Monet-Claude_-_View_At_Rouelles_Le_Havre_1858.jpg} 115 | \caption{\textit{View At Rouelles, Le Havre} (公有领域)} 116 | \label{fig:view-at-rouelles-le-havre} 117 | \end{minipage} 118 | \begin{minipage}{0.5\textwidth} 119 | \centering 120 | \includegraphics[width=6.67cm]{738px-Charing_Cross_Bridge_Monet.jpg} 121 | \caption{\textit{Charing Cross Bridge} (公有领域)} 122 | \label{fig:charing-cross-bridge} 123 | \end{minipage} 124 | \end{figure} 125 | 126 | 莫奈喜欢绘制受控状态下的自然:他在吉维尼的院子和里面的睡莲,还有桥。他还画了塞纳河的上上下下,产生了如塞纳河上的冰破裂了的画作。他每天给他的园丁写的指示中包含了精确的设计和种植布局,以及购买花卉和植物学书籍。与莫奈的财富增长伴随着的是他的花园的进化。甚至在他雇佣了7名园丁的时候,他依然保留了花园的建筑师。 127 | 128 | 1883年至1908年间,莫奈在地中海画了许多风景画和海景画。在意大利威尼斯,他画了一系列重要的画作,在伦敦他绘制了两个重要的系列——议会系列和查林十字街大桥系列。他的第二个妻子,Alice,在1911年逝世。他特别喜欢的、娶了Alice的女儿布兰奇的大儿子,于1914年去世。妻子逝世后,布兰奇照顾和关心他。这段时间,莫奈身上出现了白内障的最初迹象。 129 | 130 | 第一次世界大战期间,他年轻的儿子米歇尔参军,他的朋友、崇拜者乔治·克列孟梭领导法国。莫奈绘制了一系列垂柳树以表达对法国阵亡将士的敬意。1923年,莫奈接受了两次白内障手术,以减小他的画作受到白内障症状的影响:因为白内障影响了他的视力,画作整体偏红。也可能是这样:他在手术后可以看到某些正常人看不见的紫外线,这会影响到他观察到的颜色。在手术后,他甚至重新绘制了他的作品,其中的睡莲(图\ref{fig:water-lilies})更蓝了。 131 | 132 | 133 | \begin{figure}[h!] 134 | \centering 135 | \includegraphics[width=12cm]{800px-Claude_Monet_038.jpg} 136 | \caption{睡莲(原作属于公有领域,编译版权归Zenodot Verlagsgesellschaft mbH,依GFDL协议使用)} 137 | \label{fig:water-lilies} 138 | \end{figure} 139 | 140 | \section{逝世} 141 | \esection{Death} 142 | 143 | 他于1926年12月5日死于肺癌,享年86岁,下葬于吉维尼教堂的墓地。莫奈坚持葬礼的仪式要简单,因此大约只有五十人出席了他的葬礼。 144 | 145 | 他的家,他的花园和睡莲由唯一继承人也就是他的儿子米歇尔继承,并于1966年捐赠给法国美术学院。通过莫奈基金会,他的房子和花园在1980年复原后开放参观。除了莫奈的纪念品和他一生中的其他事物,房子中还包含了他收集的日本木刻版画他的房子也是吉维尼两个主要景点之一。 146 | 147 | \begin{figure}[h!] 148 | \centering 149 | \includegraphics[width=6.67cm]{437px-Monet_in_Garden_New_York_Times_1922.jpg} 150 | \caption{莫奈在他的花园中。右为莫奈(公有领域)} 151 | \label{fig:monet-in-gardon} 152 | \end{figure} 153 | 154 | \section{作品的销售} 155 | \esection{Posthumous sales} 156 | 157 | 2004年,莫奈的\textit{the Parliament}和\textit{Effects of Sun in the Fog}在伦敦卖出了超过2000万美元。2006年,英国皇家学报发表文章指出这两幅画作是在泰晤士河上的圣托马斯医院创作的。 158 | 159 | 他的作品《迪耶普附近的悬崖》被盗两次。一次是在1998年,博物馆的馆长被裁定与两名同伙一起盗窃,因此被判入狱五年零两个月;另一次是在2007年8月,并于2008年找回。他在1873年创作的作品\textit{Le Pont du chemin de fer \`a Argenteuil},描绘了巴黎附近塞纳河上的一座铁路桥。这幅作品2008年5月6日被一个匿名电话竞标者在纽约克里斯蒂拍卖行以4140万美元竞得。在此之前,他的单幅作品售价的最高记录是3650万美元。仅仅几周之后的2008年6月24日,睡莲系列中的\textit{Le bassin aux nymphas}在伦敦佳士得拍出。落锤价是36,500,000英镑\footnote{71,892,376.34美元},算上竞拍费用高达40,921,250英镑\footnote{80,451,178美元},是当时最贵的20幅画作之一。 160 | -------------------------------------------------------------------------------- /doc/examples/sample.bib: -------------------------------------------------------------------------------- 1 | @Article{ niubi-paper, 2 | title = "既发散又收敛的无穷级数", 3 | author = "张慧", 4 | journal = "陕西师范大学学报", 5 | year = "2004" 6 | } 7 | 8 | -------------------------------------------------------------------------------- /solutions/Makefile: -------------------------------------------------------------------------------- 1 | LIBPATH := ../base 2 | BUILDPATH := build 3 | FIGURES := $(wildcard figures/*) 4 | PAGES := $(wildcard pages/*.tex) 5 | LIBS := $(wildcard $(LIBPATH)/*) 6 | 7 | TEX = xelatex 8 | BIB = bibtex 9 | MKDIR_P = mkdir -p 10 | 11 | all: bachelor master doctor 12 | 13 | bachelor: directories $(BUILDPATH)/bachelor.pdf 14 | master: directories $(BUILDPATH)/master.pdf 15 | doctor: directories $(BUILDPATH)/doctor.pdf 16 | 17 | $(BUILDPATH)/%.pdf: export TEXINPUTS=$(LIBPATH): 18 | $(BUILDPATH)/%.pdf: export BSTINPUTS=$(LIBPATH): 19 | $(BUILDPATH)/%.pdf: %.tex $(PAGES) $(FIGURES) $(LIBS) directories 20 | $(TEX) -output-directory $(BUILDPATH) --no-pdf --interaction=nonstopmode $< 21 | $(BIB) $(BUILDPATH)/$*.aux || true 22 | $(TEX) -output-directory $(BUILDPATH) --no-pdf --interaction=nonstopmode $< 23 | $(TEX) -output-directory $(BUILDPATH) --interaction=nonstopmode $< 24 | 25 | directories: ${BUILDPATH} 26 | ${BUILDPATH}: 27 | ${MKDIR_P} ${BUILDPATH} 28 | 29 | clean: 30 | rm -rf $(BUILDPATH) *.log *.out *.blg *.bbl *.aux *.synctex.gz 31 | 32 | .PHONY: clean directories bachelor master doctor 33 | -------------------------------------------------------------------------------- /solutions/bachelor.tex: -------------------------------------------------------------------------------- 1 | % bachelor.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \documentclass[ 28 | bachelor, 29 | %bigskip, % sets linespread factor to 1.5 30 | %propfont, % whether to use property fonts 31 | %nofont, % remember to manally set the fonts 32 | pdflinks, 33 | %colorlinks, 34 | %compact, 35 | %autolineskip, % if set, latex will change lineskip to fill the page or it will strictly follow the set lineskip by default which is more like what Word does 36 | ]{xjtuthesis} 37 | 38 | \graphicspath{{figures/}} 39 | 40 | \begin{document} 41 | 42 | % 请修改 meta.tex 中的论文元信息 43 | \input{pages/meta.tex} 44 | 45 | \xjtuchead 46 | \setcounter{page}{1} % 2024年其他内容装订在末尾 47 | \xjtucinfopage 48 | \xjtueinfopage 49 | \xjtutoc 50 | \clearpage 51 | 52 | % 主要符号表,可以没有 53 | \input{pages/denotation.tex} 54 | 55 | \xjtucontent 56 | 57 | % 绪论 58 | \input{pages/intro.tex} 59 | 60 | % 以同样方法添加更多章节 61 | 62 | % 结论与展望 63 | \input{pages/conclusion.tex} 64 | 65 | \xjtuendcontent 66 | 67 | \xjtuspchapter{致\quad 谢}{致\quad 谢} 68 | 69 | \input{pages/acknowledgements.tex} 70 | 71 | % 将你要引用的文献的 BibTeX 放入 bibliography.bib 72 | \xjtubib{bibliography} 73 | 74 | \xjtuappendix 75 | 76 | \input{pages/appendice.tex} 77 | 78 | \xjtuendappendix 79 | 80 | \input{pages/extrapdfs.tex} 81 | 82 | \end{document} 83 | 84 | -------------------------------------------------------------------------------- /solutions/bibliography.bib: -------------------------------------------------------------------------------- 1 | @Article{ niubi-paper, 2 | title = "既发散又收敛的无穷级数", 3 | author = "张慧", 4 | journal = "陕西师范大学学报", 5 | year = "2004" 6 | } 7 | 8 | -------------------------------------------------------------------------------- /solutions/doctor.tex: -------------------------------------------------------------------------------- 1 | % doctor.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \documentclass[ 28 | doctor, 29 | %propfont, % whether to use property fonts 30 | %nofont, % remember to manally set the fonts 31 | pdflinks, 32 | %colorlinks, 33 | %compact, 34 | %autolineskip, % if set, latex will change lineskip to fill the page or it will strictly follow the set lineskip by default which is more like what Word does 35 | ]{xjtuthesis} 36 | 37 | \graphicspath{{figures/}} 38 | 39 | \begin{document} 40 | 41 | % 请修改 meta.tex 中的论文元信息 42 | \input{pages/meta.tex} 43 | 44 | \xjtuchead 45 | \xjtuehead 46 | \xjtucinfopage 47 | \xjtueinfopage 48 | \xjtutoc 49 | \xjtutoe 50 | \clearpage 51 | 52 | % 主要符号表,可以没有 53 | \input{pages/denotation.tex} 54 | 55 | \xjtucontent 56 | 57 | % 绪论 58 | \input{pages/intro.tex} 59 | 60 | % 以同样方法添加更多章节 61 | 62 | % 结论与展望 63 | \input{pages/conclusion.tex} 64 | 65 | \xjtuendcontent 66 | 67 | % 将你要引用的文献的 BibTeX 放入 bibliography.bib 68 | \xjtubib{bibliography} 69 | 70 | \xjtuappendix 71 | 72 | \input{pages/appendice.tex} 73 | 74 | \xjtuendappendix 75 | 76 | \xjtuspchapter{致谢}{致\qquad 谢}{Acknowledgements} 77 | 78 | \input{pages/acknowledgements.tex} 79 | 80 | \xjtuspchapter{攻读博士期间取得的研究成果}{攻读博士期间取得的研究成果}{Achievements} 81 | 82 | % 已发表或已录用的学术论文、已出版的专著/译著、已获授权的专利按参考文献格式列出。 83 | % 科研获奖,列出格式为: 84 | 获奖人(排名情况).项目名称.奖项名称及等级,发奖机构,获奖时间. 85 | % 与学位论文相关的其它成果参照参考文献格式列出。 86 | % 全部研究成果连续编号编排。 87 | \begin{enumerate} 88 | \item AAA 89 | \item BBB 90 | \end{enumerate} 91 | 92 | \xjtuacademicintegrity 93 | 94 | 95 | \end{document} 96 | 97 | -------------------------------------------------------------------------------- /solutions/figures/XJTU.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/solutions/figures/XJTU.pdf -------------------------------------------------------------------------------- /solutions/figures/XJTU_2024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/solutions/figures/XJTU_2024.png -------------------------------------------------------------------------------- /solutions/figures/XJTU_RED.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Aetf/xjtuthesis/d1be375ed201ff128ee00fa1d772ad3c6d370925/solutions/figures/XJTU_RED.png -------------------------------------------------------------------------------- /solutions/master.tex: -------------------------------------------------------------------------------- 1 | % master.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \documentclass[ 28 | master, 29 | %propfont, % whether to use property fonts 30 | %nofont, % remember to manally set the fonts 31 | pdflinks, 32 | %colorlinks, 33 | %compact, 34 | %autolineskip, % if set, latex will change lineskip to fill the page or it will strictly follow the set lineskip by default which is more like what Word does 35 | ]{xjtuthesis} 36 | 37 | \graphicspath{{figures/}} 38 | 39 | \begin{document} 40 | 41 | % 请修改 meta.tex 中的论文元信息 42 | \input{pages/meta.tex} 43 | 44 | \xjtuchead 45 | \xjtuehead 46 | \xjtucinfopage 47 | \xjtueinfopage 48 | \xjtutoc 49 | \xjtutoe 50 | \clearpage 51 | 52 | % 主要符号表,可以没有 53 | \input{pages/denotation.tex} 54 | 55 | \xjtucontent 56 | 57 | % 绪论 58 | \input{pages/intro.tex} 59 | 60 | % 以同样方法添加更多章节 61 | 62 | % 结论与展望 63 | \input{pages/conclusion.tex} 64 | 65 | \xjtuendcontent 66 | 67 | % 将你要引用的文献的 BibTeX 放入 bibliography.bib 68 | \xjtubib{bibliography} 69 | 70 | \xjtuappendix 71 | 72 | \input{pages/appendice.tex} 73 | 74 | \xjtuendappendix 75 | 76 | \xjtuspchapter{致谢}{致\qquad 谢}{Acknowledgements} 77 | 78 | \input{pages/acknowledgements.tex} 79 | 80 | \xjtuspchapter{攻读硕士期间取得的研究成果}{攻读硕士期间取得的研究成果}{Achievements} 81 | 82 | % 已发表或已录用的学术论文、已出版的专著/译著、已获授权的专利按参考文献格式列出。 83 | % 科研获奖,列出格式为: 84 | 获奖人(排名情况).项目名称.奖项名称及等级,发奖机构,获奖时间. 85 | % 与学位论文相关的其它成果参照参考文献格式列出。 86 | % 全部研究成果连续编号编排。 87 | \begin{enumerate} 88 | \item AAA 89 | \item BBB 90 | \end{enumerate} 91 | 92 | \xjtuacademicintegrity 93 | 94 | 95 | \end{document} 96 | 97 | -------------------------------------------------------------------------------- /solutions/pages/acknowledgements.tex: -------------------------------------------------------------------------------- 1 | % acknowledgements.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | 28 | \iffalse 29 | 感谢国家 30 | \fi 31 | -------------------------------------------------------------------------------- /solutions/pages/appendice.tex: -------------------------------------------------------------------------------- 1 | % appendice.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | 28 | \iffalse 29 | \xjtuappendixchapter{附录} 30 | \xjtuappendixechapter{Appendices} 31 | % 超过一个 section 时用 Appendices, 否则用 Appendix 32 | 33 | \xjtuappendixsection{二级标题} 34 | 35 | \xjtuappendixsubsection{三级标题} 36 | 37 | \xjtuappendixsubsubsection{四级标题} 38 | 39 | \xjtuappendixchapter{还是附录} 40 | 41 | \xjtuappendixsection{测试} 42 | 43 | \xjtuappendixchapter{关键计算机源程序} 44 | \xjtuappendixsection{代码示例} 45 | \begin{lstlisting}[language=Python] 46 | def hello world(): 47 | print("Hello, world!") 48 | \end{lstlisting} 49 | \xjtuappendixsection{外部导入代码示例) 50 | \lstinputlisting[language=Python]{statics.py} 51 | \fi 52 | -------------------------------------------------------------------------------- /solutions/pages/conclusion.tex: -------------------------------------------------------------------------------- 1 | % conclusion.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \chapter{结论与展望} 28 | \echapter{Conclusions} 29 | -------------------------------------------------------------------------------- /solutions/pages/denotation.tex: -------------------------------------------------------------------------------- 1 | % denotation.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | \begin{denotation} 28 | \item[符号1] 解释1 29 | \item[符号2] 解释2 30 | \end{denotation} 31 | -------------------------------------------------------------------------------- /solutions/pages/extrapdfs.tex: -------------------------------------------------------------------------------- 1 | \iffalse 2 | \importsheet{pdfs/任务书.pdf} 3 | \importsheet{pdfs/考核评议书.pdf} 4 | \importsheet{pdfs/答辩结果.pdf} 5 | \fi 6 | -------------------------------------------------------------------------------- /solutions/pages/intro.tex: -------------------------------------------------------------------------------- 1 | % intro.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | 28 | \chapter{绪论} 29 | \echapter{Preface} 30 | 31 | \section{第一个二级标题} 32 | \esection{The first section in the Preface} 33 | 34 | \subsection{三级标题} 35 | \esubsection{Subsection in the Preface} 36 | 37 | \subsubsection{四级标题} 38 | \section{第二个二级标题} 39 | \esection{Another section in the Preface} 40 | 41 | -------------------------------------------------------------------------------- /solutions/pages/meta.tex: -------------------------------------------------------------------------------- 1 | % meta.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | 28 | % 标题,中文 29 | \ctitle{这是一个标题} 30 | 31 | % 作者,中文 32 | \cauthor{张三} 33 | 34 | % 学科,中文,本科生不需要 35 | \csubject{} 36 | 37 | % 学院,专业,班级,中文,本科毕业论文需要 38 | \ccollege{能源与动力工程} 39 | \cmajor{能源与动力工程A} 40 | \cclass{能动A71} 41 | 42 | % 设计所在单位,中文,本科毕业论文需要 43 | \corgnization{西安交通大学} 44 | 45 | % 学号 46 | \stunum{1234567890} 47 | 48 | % 导师姓名,中文 49 | \csupervisor{李四} 50 | 51 | % 关键词,中文。用全角分号「;」分割 52 | % 研究生的应首先从《汉语主题词表》中摘选 53 | \ckeywords{} 54 | 55 | % 提交日期 56 | \cproddate{{\color{black}\the\year} 年\ {\color{black}\twodigits{\the\month}} 月} 57 | 58 | % 论文类型,中文,本科生不需要 59 | % 从理论研究、应用基础、应用研究、研究报告、软件开发、设计报告、案例分析、调研报告、其它中选择 60 | \ctype{} 61 | 62 | % 论文标题,英文 63 | \etitle{An Awesome Paper Title} 64 | 65 | % 作者姓名,英文 66 | \eauthor{Author Name} 67 | 68 | % 学科,英文,本科生不需要 69 | \esubject{} 70 | 71 | % 导师姓名,英文 72 | \esupervisor{} 73 | 74 | % 关键词,英文。用半角分号和一个半角空格「; 」分割 75 | \ekeywords{Wikipedia; Free encyclopedia; Winner; Good morning} 76 | 77 | % 学科门类,英文 78 | % 从Philosophy(哲学)、Economics(经济学)、Law(法学)、Education(教育学)、Arts(文学)、 79 | % Science(理学)、Engineering Science(工学)、Medicine(医学)、Management Science(管理学)中选择 80 | \ecate{} 81 | 82 | % 提交日期,英文,本科生不需要 83 | % 应当和 cproddate 保持一致 84 | \eproddate{\monthname{\month}\ \the\year} 85 | 86 | % 论文类型,英文,本科生不需要 87 | % 从Theoretical Research(理论研究)、Application Fundamentals(应用基础)、Applied Research(应用研究)、 88 | % Research Report(研究报告)、Software Development(软件开发)、Design Report(设计报告)、 89 | % Case Study(案例分析)、Investigation Report(调研报告)、其它(Other)中选择 90 | \etype{} 91 | 92 | % 摘要,中文。段间空行 93 | \cabstract{ 94 | } 95 | 96 | % 摘要,英文。段间空行 97 | \eabstract{ 98 | } 99 | -------------------------------------------------------------------------------- /tools/fetchDoc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # download all wiki pages to the `doc` directory. need network access. 3 | # multiple1902 4 | # Licensed under GPL v3 5 | 6 | echo "cleaning destination ..." 7 | rm ../doc/*.html 2>/dev/null 8 | 9 | echo "fetching the list ..." 10 | for pagename in `curl "http://code.google.com/p/xjtuthesis/w/list" 2>/dev/null|grep "/p/xjtuthesis/wiki/"|sed -n -e 's/.*\/p\/xjtuthesis\/wiki\/\([^\?'\''"]*\).*/\1/p'|uniq`; do 11 | echo "downloading wiki page $pagename ..." 12 | curl "http://code.google.com/p/xjtuthesis/wiki/$pagename?show=content" 2>/dev/null | sed 's///' > ../doc/$pagename.html 13 | done 14 | 15 | echo "done :)" 16 | -------------------------------------------------------------------------------- /tools/release.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # make a release zip archive 3 | # multiple1902 4 | # Licensed under GPL v3 5 | 6 | # Derivation of mk-chrome-app.sh from Hotot. Thanks! 7 | 8 | DESTROOT=release/ 9 | RELEASE=xjtuthesis 10 | 11 | echo "Checking Version ..." 12 | VER=$(sed -n -e 's/\\def\\meta@version{\([0-9.]*\)}/\1/p' base/xjtuthesis.cls) 13 | DEST=$RELEASE-$VER 14 | echo "Version is $VER ... Sync ..." 15 | rm -rf $DESTROOT$DEST/ 16 | mkdir -p $DESTROOT$DEST/ 17 | rsync -ar . $DESTROOT$DEST/ --exclude-from=.hgignore --exclude=".hg*" --copy-links 18 | 19 | echo "Zip ..." 20 | cd $DESTROOT 21 | rm -f $DEST.zip 22 | rm -f $DEST.zip.asc 23 | zip -rq $DEST.zip $DEST 24 | rm -rf $DEST 25 | gpg -ab --sign $DEST.zip 26 | cd - > /dev/null 27 | echo "$DEST is ready" 28 | -------------------------------------------------------------------------------- /unittests/packages.tex: -------------------------------------------------------------------------------- 1 | % packages.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | % This is a unit test to determine if you have all the packages 28 | % required by xjtuthesis installed. 29 | % 30 | % Compile with the following command: 31 | % xelatex packages.tex 32 | % 33 | \documentclass{book} 34 | \usepackage{fontspec,xltxtra,xunicode} 35 | \usepackage[slantfont,boldfont,CJKnumber]{xeCJK} 36 | \usepackage[fleqn]{amsmath} 37 | \usepackage{indentfirst} 38 | \usepackage{tabularx} 39 | \usepackage{threeparttable} 40 | \usepackage{array} 41 | \usepackage{longtable} 42 | \usepackage{booktabs} 43 | \usepackage{subfig} 44 | \usepackage[numbers,super,square,sort&compress]{natbib} 45 | \usepackage[left=2.6cm, right=2.6cm,top=3.0cm,bottom=2.5cm]{geometry} 46 | \usepackage{fancyhdr} 47 | \usepackage{titlesec,titletoc} 48 | \usepackage{hyperref} 49 | 50 | \begin{document} 51 | Package Test Succeeded! 52 | \end{document} 53 | -------------------------------------------------------------------------------- /unittests/xecjk-propfont.tex: -------------------------------------------------------------------------------- 1 | % xecjk-propfont.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | % This is a unit test to determine if xeCJK with SimSun fonts works. 28 | % On Windows, you would prefer this. Enabling the `truefont' option 29 | % in xjtuthesis causes it use the following fonts. 30 | % 31 | % Compile with the following command: 32 | % xelatex xecjk-truefont.tex 33 | % 34 | \documentclass{article} 35 | \usepackage{fontspec,xltxtra,xunicode} 36 | \usepackage[slantfont,boldfont,CJKnumber]{xeCJK} 37 | \punctstyle{kaiming} 38 | \setmainfont{Times New Roman} 39 | \setCJKmainfont{SimSun} 40 | \setCJKsansfont{SimHei} 41 | \setsansfont{Arial} 42 | \setmonofont{Courier New} 43 | 44 | \begin{document} 45 | 你好, 世界. 如果你在输出文档里看到这行文字, 证明字体测试已经通过. 46 | \end{document} 47 | -------------------------------------------------------------------------------- /unittests/xecjk.tex: -------------------------------------------------------------------------------- 1 | % xecjk.tex 2 | % 3 | % Aetf 4 | % Copyright 2016 Aetf 5 | % 6 | % multiple1902 7 | % Copyright 2011~2012, multiple1902 (Weisi Dai) 8 | % 9 | % Project Home: https://github.com/Aetf/xjtuthesis 10 | % 11 | % It is strongly recommended that you read documentations located at 12 | % https://github.com/Aetf/xjtuthesis/wiki 13 | % in advance of your compilation if you have not read them before. 14 | % 15 | % This work may be distributed and/or modified under the 16 | % conditions of the LaTeX Project Public License, either version 1.3 17 | % of this license or (at your option) any later version. 18 | % The latest version of this license is in 19 | % http://www.latex-project.org/lppl.txt 20 | % and version 1.3 or later is part of all distributions of LaTeX 21 | % version 2005/12/01 or later. 22 | % 23 | % This work has the LPPL maintenance status `maintained'. 24 | % 25 | % The Current Maintainer of this work is Aetf. 26 | % 27 | % This is a unit test to determine if xeCJK with SimSun fonts works. 28 | % On Windows, you would prefer this. Enabling the `truefont' option 29 | % in xjtuthesis causes it use the following fonts. 30 | % 31 | % Compile with the following command: 32 | % xelatex xecjk-truefont.tex 33 | % 34 | \documentclass{article} 35 | \usepackage{fontspec,xltxtra,xunicode} 36 | \usepackage[slantfont,boldfont,CJKnumber]{xeCJK} 37 | \punctstyle{kaiming} 38 | \setmainfont{FreeSerif} 39 | \setCJKmainfont{Source Han Serif CN} 40 | \setCJKsansfont{Source Han Sans CN} 41 | \setsansfont{Arial} 42 | \setmonofont{Courier New} 43 | 44 | \begin{document} 45 | 你好, 世界. 如果你在输出文档里看到这行文字, 证明字体测试已经通过. 46 | \end{document} 47 | --------------------------------------------------------------------------------