├── HDU-Logo ├── opaque.png └── transparent.png ├── example-thesis.pdf ├── example-proposal.pdf ├── HDU-Bachelor-Thesis-Proposal.cwl ├── HDU-Bachelor-Thesis.cwl ├── LICENSE ├── ref.bib ├── README.md ├── .gitignore ├── example-proposal.tex ├── example-thesis.tex ├── HDU-Bachelor-Thesis-Proposal.cls └── HDU-Bachelor-Thesis.cls /HDU-Logo/opaque.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeoAlex0/LaTeX-HDU-Bachelor-Thesis/HEAD/HDU-Logo/opaque.png -------------------------------------------------------------------------------- /example-thesis.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeoAlex0/LaTeX-HDU-Bachelor-Thesis/HEAD/example-thesis.pdf -------------------------------------------------------------------------------- /example-proposal.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeoAlex0/LaTeX-HDU-Bachelor-Thesis/HEAD/example-proposal.pdf -------------------------------------------------------------------------------- /HDU-Logo/transparent.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LeoAlex0/LaTeX-HDU-Bachelor-Thesis/HEAD/HDU-Logo/transparent.png -------------------------------------------------------------------------------- /HDU-Bachelor-Thesis-Proposal.cwl: -------------------------------------------------------------------------------- 1 | # HDU-Bachelor-Thesis-Proposal.cls 2 | 3 | \makeassessment 4 | 5 | \unnumberedsection{title} 6 | 7 | \HDUyear{year} 8 | \HDUschool{school} 9 | \HDUmajor{major} 10 | \HDUclassid{classid} 11 | \HDUstudentid{studentid} 12 | \HDUadviser{adviser} 13 | -------------------------------------------------------------------------------- /HDU-Bachelor-Thesis.cwl: -------------------------------------------------------------------------------- 1 | # HDU-Bachelor-Thesis.cls 2 | 3 | \HDUheader{header} 4 | 5 | \unnumberedsection{title} 6 | 7 | \HDUyear{year} 8 | \HDUschool{school} 9 | \HDUmajor{major} 10 | \HDUclassid{classid} 11 | \HDUstudentid{studentid} 12 | \HDUadviser{adviser} 13 | \HDUsubmitdate{submitdate} 14 | \HDUsigndate{signdate} 15 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019 Star Brilliant 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /ref.bib: -------------------------------------------------------------------------------- 1 | @book{lamport1994latex, 2 | title={{\LaTeX}: A document preparation system: User's guide and reference manual}, 3 | author={Lamport, Leslie}, 4 | year={1994}, 5 | address={Massachusetts}, 6 | publisher={Addison-Wesley} 7 | } 8 | 9 | @book{putong-wenkejuan, 10 | title={普通高等学校本科毕业设计 (论文) 指导: 文科卷}, 11 | author={吴寅华 and 陈德泉}, 12 | isbn={9787806864517}, 13 | year={2006}, 14 | address={浙江}, 15 | publisher={浙江摄影出版社} 16 | } 17 | 18 | @book{putong-ligongkejuan, 19 | title={普通高等学校本科毕业设计 (论文) 指导: 理工科卷}, 20 | author={吴寅华 and 王薇}, 21 | isbn={9787806864548}, 22 | year={2006}, 23 | address={浙江}, 24 | publisher={浙江摄影出版社} 25 | } 26 | 27 | @standard{gb3100-1993, 28 | title={{GB} 3100-1993, 国际单位制及其应用}, 29 | year={1993}, 30 | address={北京}, 31 | publisher={中国标准出版社} 32 | } 33 | 34 | @standard{gbt7714-1987, 35 | title={{GB/T} 7714-1987, 文后参考文献著录规则}, 36 | year={1987}, 37 | address={北京}, 38 | publisher={中国标准出版社} 39 | } 40 | 41 | @standard{gbt15834-1995, 42 | title={{GB/T} 15834-1995, 标点符号用法}, 43 | year={1995}, 44 | address={北京}, 45 | publisher={中国标准出版社} 46 | } 47 | 48 | @book{ali-quotes, 49 | title={阿里巴巴土话102句}, 50 | year={2021}, 51 | address={奋斗逼之都}, 52 | publisher={赋能出版社} 53 | } -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # LaTeX-HDU-Bachelor-Thesis 2 | 3 | LaTeX template for bachelor thesis of Hangzhou Dianzi University (unofficial) 4 | 5 | 杭州电子科技大学本科毕业设计的 LaTeX 模板 (非官方) 6 | 7 | --- 8 | 9 | 这是一个适用于杭州电子科技大学本科毕业设计的 LaTeX 模版。 10 | 11 | 使用了 Fandol 系列字体取代原有的中易系列字体,可以在 Linux 一类地方愉快的使用了。 12 | 13 | 这个模板目前只支持 XeLaTeX 引擎,不支持 pdfLaTeX 和 LuaLaTeX 引擎。 14 | 15 | 本仓库包含开题报告和毕设论文两份模板: 16 | 17 | - `HDU-Bachelor-Thesis-Proposal` (开题报告)模板包含下述快捷指令: 18 | - 开题报告封面:`\maketitle` 19 | - 开题小组评审意见表:`\makeassessment` 20 | - `HDU-Bachelor-Thesis` (毕设论文)模板包含下述快捷指令: 21 | - 开题报告封面:`\maketitle` 22 | 23 | 若实际封面版式存在细微差别。这种情况下,可将学院提供的 Microsoft Word 文档模板封面导出 PDF ,然后使用: 24 | 25 | ```tex 26 | \includepdf[pages={-}]{封面.pdf} 27 | ``` 28 | 命令来插入封面。 29 | 30 | 欲使用这个模板,请将 [HDU-Bachelor-Thesis.cls](HDU-Bachelor-Thesis.cls)、[HDU-Bachelor-Thesis-Proposal.cls](HDU-Bachelor-Thesis-Proposal.cls) 和 `HDU-Logo` 文件夹复制到你的工程目录下。 31 | 32 | 若需使用开题报告模板请指定: 33 | 34 | ```tex 35 | \documentclass{HDU-Bachelor-Thesis-Proposal} 36 | ``` 37 | 38 | 若需使用毕设论文模板请指定: 39 | 40 | ```tex 41 | \documentclass{HDU-Bachelor-Thesis} 42 | ``` 43 | 44 | 具体使用细节可参考仓库内附带的例子: 45 | 46 | - 开题报告样例: [example-proposal.pdf](example-proposal.pdf) | 源码:[example-proposal.tex](example.tex) 47 | - 毕设论文样例: [example-thesis.pdf](example-proposal.pdf) | 源码:[example-thesis.tex](example.tex) 48 | 49 | 如果需要输出 Microsoft Word 格式以进行论文查重,可以尝试 [Foxit PDF 转 Word](http://pdf2word.pdf365.cn/)(付费软件)。本模板的排版效果可被其识别。 50 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | ## Core latex/pdflatex auxiliary files: 2 | *.aux 3 | *.lof 4 | *.log 5 | *.lot 6 | *.fls 7 | *.out 8 | *.toc 9 | *.fmt 10 | *.fot 11 | *.cb 12 | *.cb2 13 | .*.lb 14 | 15 | ## Intermediate documents: 16 | *.dvi 17 | *.xdv 18 | *-converted-to.* 19 | # these rules might exclude image files for figures etc. 20 | # *.ps 21 | # *.eps 22 | # *.pdf 23 | 24 | ## Generated if empty string is given at "Please type another file name for output:" 25 | .pdf 26 | 27 | ## Bibliography auxiliary files (bibtex/biblatex/biber): 28 | *.bbl 29 | *.bcf 30 | *.blg 31 | *-blx.aux 32 | *-blx.bib 33 | *.run.xml 34 | 35 | ## Build tool auxiliary files: 36 | *.fdb_latexmk 37 | *.synctex 38 | *.synctex(busy) 39 | *.synctex.gz 40 | *.synctex.gz(busy) 41 | *.pdfsync 42 | 43 | ## Auxiliary and intermediate files from other packages: 44 | # algorithms 45 | *.alg 46 | *.loa 47 | 48 | # achemso 49 | acs-*.bib 50 | 51 | # amsthm 52 | *.thm 53 | 54 | # beamer 55 | *.nav 56 | *.pre 57 | *.snm 58 | *.vrb 59 | 60 | # changes 61 | *.soc 62 | 63 | # cprotect 64 | *.cpt 65 | 66 | # elsarticle (documentclass of Elsevier journals) 67 | *.spl 68 | 69 | # endnotes 70 | *.ent 71 | 72 | # fixme 73 | *.lox 74 | 75 | # feynmf/feynmp 76 | *.mf 77 | *.mp 78 | *.t[1-9] 79 | *.t[1-9][0-9] 80 | *.tfm 81 | 82 | #(r)(e)ledmac/(r)(e)ledpar 83 | *.end 84 | *.?end 85 | *.[1-9] 86 | *.[1-9][0-9] 87 | *.[1-9][0-9][0-9] 88 | *.[1-9]R 89 | *.[1-9][0-9]R 90 | *.[1-9][0-9][0-9]R 91 | *.eledsec[1-9] 92 | *.eledsec[1-9]R 93 | *.eledsec[1-9][0-9] 94 | *.eledsec[1-9][0-9]R 95 | *.eledsec[1-9][0-9][0-9] 96 | *.eledsec[1-9][0-9][0-9]R 97 | 98 | # glossaries 99 | *.acn 100 | *.acr 101 | *.glg 102 | *.glo 103 | *.gls 104 | *.glsdefs 105 | 106 | # gnuplottex 107 | *-gnuplottex-* 108 | 109 | # gregoriotex 110 | *.gaux 111 | *.gtex 112 | 113 | # htlatex 114 | *.4ct 115 | *.4tc 116 | *.idv 117 | *.lg 118 | *.trc 119 | *.xref 120 | 121 | # hyperref 122 | *.brf 123 | 124 | # knitr 125 | *-concordance.tex 126 | # TODO Comment the next line if you want to keep your tikz graphics files 127 | *.tikz 128 | *-tikzDictionary 129 | 130 | # listings 131 | *.lol 132 | 133 | # makeidx 134 | *.idx 135 | *.ilg 136 | *.ind 137 | *.ist 138 | 139 | # minitoc 140 | *.maf 141 | *.mlf 142 | *.mlt 143 | *.mtc[0-9]* 144 | *.slf[0-9]* 145 | *.slt[0-9]* 146 | *.stc[0-9]* 147 | 148 | # minted 149 | _minted* 150 | *.pyg 151 | 152 | # morewrites 153 | *.mw 154 | 155 | # nomencl 156 | *.nlg 157 | *.nlo 158 | *.nls 159 | 160 | # pax 161 | *.pax 162 | 163 | # pdfpcnotes 164 | *.pdfpc 165 | 166 | # sagetex 167 | *.sagetex.sage 168 | *.sagetex.py 169 | *.sagetex.scmd 170 | 171 | # scrwfile 172 | *.wrt 173 | 174 | # sympy 175 | *.sout 176 | *.sympy 177 | sympy-plots-for-*.tex/ 178 | 179 | # pdfcomment 180 | *.upa 181 | *.upb 182 | 183 | # pythontex 184 | *.pytxcode 185 | pythontex-files-*/ 186 | 187 | # thmtools 188 | *.loe 189 | 190 | # TikZ & PGF 191 | *.dpth 192 | *.md5 193 | *.auxlock 194 | 195 | # todonotes 196 | *.tdo 197 | 198 | # easy-todo 199 | *.lod 200 | 201 | # xmpincl 202 | *.xmpi 203 | 204 | # xindy 205 | *.xdy 206 | 207 | # xypic precompiled matrices 208 | *.xyc 209 | 210 | # endfloat 211 | *.ttt 212 | *.fff 213 | 214 | # Latexian 215 | TSWLatexianTemp* 216 | 217 | ## Editors: 218 | # WinEdt 219 | *.bak 220 | *.sav 221 | 222 | # Texpad 223 | .texpadtmp 224 | 225 | # Kile 226 | *.backup 227 | 228 | # KBibTeX 229 | *~[0-9]* 230 | 231 | # auto folder when using emacs and auctex 232 | ./auto/* 233 | *.el 234 | 235 | # expex forward references with \gathertags 236 | *-tags.tex 237 | 238 | # standalone packages 239 | *.sta 240 | 241 | # generated if using elsarticle.cls 242 | *.spl 243 | -------------------------------------------------------------------------------- /example-proposal.tex: -------------------------------------------------------------------------------- 1 | % !TEX encoding = UTF-8 Unicode 2 | % !TEX TS-program = xelatex 3 | % !BIB program = biber 4 | 5 | % MIT License 6 | % 7 | % Copyright (c) 2019 Star Brilliant 8 | % 9 | % Permission is hereby granted, free of charge, to any person obtaining a copy 10 | % of this software and associated documentation files (the "Software"), to deal 11 | % in the Software without restriction, including without limitation the rights 12 | % to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | % copies of the Software, and to permit persons to whom the Software is 14 | % furnished to do so, subject to the following conditions: 15 | % 16 | % The above copyright notice and this permission notice shall be included in 17 | % all copies or substantial portions of the Software. 18 | % 19 | % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | % IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | % FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | % AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | % LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | % OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | % SOFTWARE. 26 | 27 | \documentclass{HDU-Bachelor-Thesis-Proposal} 28 | 29 | % 导入 \addbibresource \printbibliography 30 | \usepackage{biblatex} 31 | % 导入 \includepdf 32 | \usepackage{pdfpages} 33 | % 导入 \sout 34 | \usepackage{ulem} 35 | % 导入 \setmathfont 36 | \usepackage{unicode-math} 37 | % 导入 \textcolor 38 | \usepackage{xcolor} 39 | 40 | \title{杭州电子科技大学本科开题报告 \LaTeX{} 模版样例文档} 41 | \author{张三} 42 | \date{2021 年 3 月 19 日} 43 | \HDUschool{计算机学院} 44 | \HDUmajor{计算机科学与技术} 45 | \HDUclassid{1234567890} 46 | \HDUstudentid{1234567890} 47 | \HDUadviser{李四} 48 | 49 | % 从 ref.bib 中读入参考文献 50 | \addbibresource{ref.bib} 51 | 52 | % 设置公式字体(其它字体在模板中已设置好) 53 | \setmathfont{texgyretermes-math.otf} 54 | 55 | \begin{document} 56 | % 页码在 PDF 阅读器中显示为罗马数字 57 | \pagenumbering{roman} 58 | % 关闭页眉、页脚 59 | \pagestyle{empty} 60 | 61 | % 生成封面 62 | \maketitle 63 | % 或者使用 Microsoft Word 制作封面后导入 64 | %\includepdf[pages={-}]{封面.pdf} 65 | 66 | \clearpage 67 | % 将页码重置为 1 68 | \pagenumbering{arabic} 69 | 70 | \section{综述本课题国内外研究动态,说明选题的依据和意义} 71 | 72 | \subsection{研究动态} 73 | 74 | 1999年11月11日,阿里巴巴高调发布人才招聘信息。当天阿里巴巴在《钱江晚报》第八版发布招聘广告,虽然这并不是第一次刊登招聘广告,却是第一次发出“If not now,when? If not me,who?”(此时此刻,非我莫属)的英雄帖,这句豪言壮语响当当地说出了“舍我其谁”的使命感和责任感,至今听来依旧热血沸腾,成为阿里人的经典土话\cite{ali-quotes},直至今天。 75 | 76 | \subsection{研究意义} 77 | 78 | “不是卖命,是一群有情有义的人在一起干一件有意义的事,为客户为这个社会贡献我们的一份力量”,这句话非常到位,外人难以体会到其中的良苦用心,即使许多阿里人也难以领会。于是,他们选择了泼脏水。你以为脏水泼向了谁?只是泼向了你自己的内心而已,如果你一直看向深渊,深渊也会看着你,希望大家都能心向光明,共勉。 79 | 80 | 希望价值观考核有一天真的可以取消,不是说到那一天价值观不存在了,而是已经渗透到每一个阿里人血脉之中,那是一种大音希声、大象无形、大道无言的愿景。 81 | 82 | \section{研究的基本内容,拟解决的主要问题} 83 | 84 | \subsection{基本内容} 85 | 86 | 复盘,赋能,抓手,对标,沉淀,对齐,拉通,倒逼,颗粒度,落地,中台,方法论,漏斗,组合拳,闭环,生命周期,打法,履约,引爆点,串联,价值转化,纽带,矩阵,协同,反哺,点线面,认知,强化认知,强化心智,交互,兼容,包装,响应,刺激,规模,重组,量化,宽松,资源倾斜,完善逻辑,抽离透传、抽象,复用打法,发力,精细化,布局,商业模式,联动,场景,聚焦,快速响应,影响力,价值,细分,垂直领域,维度,定性定量,聚焦,去中心化,关键路径,接地气,梳理,输出,格局,生态。 87 | 88 | \subsection{主要问题} 89 | 90 | 你写这篇文章体现阿里哪条价值观?你的思维闭环是什么?你的抓手是什么?你的方法论是什么?帖子能容是否还能再更精进些?你写和别人写有什么区别?你写这篇文章产生的意义是什么?你的言论是否和你的P级相符合?你梳理的逻辑价值点又是什么? 91 | 92 | \section{研究步骤、方法及措施} 93 | 94 | \subsection{研究步骤} 95 | 96 | \subsubsection{核心思想} 97 | 98 | \paragraph{为过程鼓掌,为结果买单} 99 | 100 | 这要求我们做事要以结果为导向,要清楚我们的目标和方向,然后努力去达到那个目标。 101 | 102 | \paragraph{合理的要求叫做锻炼,不合理的要求叫做磨炼} 103 | 104 | 假如上级很难搞,我就当成锻炼,反正今天不过这个关,明天还得过,周围的生活,社会的压力,这个东西大得多的还有,他骂就当锻炼,合理的要求叫做锻炼,不合理的要求叫做磨炼,我一直这样想,自己心里面很好的去释放这种所谓的压力,第二个在这个过程中,不断把我自己能够承受的压力再扩展、放大,今天其实没有什么压力过不去的,但是需要有时间安静。 105 | 106 | \paragraph{你感觉不舒服的时候,就是成长的时候} 107 | 108 | 感觉不舒服的时候,人都希望通过某些途径和方法让自己舒服,于是不舒服成了是驱动人进步和成长的良药!有了不舒服,关键是要学会寻找合适的对症下药的方法。 109 | 110 | \paragraph{你自己觉得有,别人感觉不到你有,你就是没有} 111 | 112 | Review中的对话语。人要经常跳出来看自己,要从别人那里学会照镜子。并且要做到所思所言所行一致,则别人所见才将趋于一致。 113 | 114 | \subsubsection{具体措施} 115 | 116 | \paragraph{很傻很天真,又猛又持久} 117 | 118 | 对于梦想、目标和愿景我们傻傻地坚持,对于业绩我们迅速猛烈并且持久,“Double-digit growth every month”。 119 | 120 | \paragraph{加班是应该的,不加班也是应该的,只有完不成工作是不应该的} 121 | 122 | 有同学提出“是否应该加班”的疑惑,马总给出了最好的答案。做好时间管理,积极改进工作方法,提高工作效率,完成工作,做好工作,至于是否加班,它只是一个表现。 123 | 124 | \paragraph{今天最好的表现是明天最低的要求} 125 | 126 | 时常用这句话鼓励自己和团队,既是进取的表现,也是自信的表现。相信我们能做到,相信明天会更好! 127 | 128 | 129 | 130 | \clearpage 131 | \section{研究工作进度} 132 | 133 | \begin{table}[h]% 134 | \centering 135 | \begin{tabular}{| c | c | c |}% 136 | \hline 137 | \bfseries 序号 & \bfseries 时间 & \bfseries 内容 \\ \hline 138 | \bfseries 1 & 2020.12.2--2020.12.25 & 选好毕业设计题目并准备相关资料 \\ \hline 139 | \bfseries 2 & 2020.12.26--2021.1.10 & 接受任务书 \\ \hline 140 | \bfseries 3 & 2021.1.11--2021.3.14 & 搜集资料,准备开题报告 \\ \hline 141 | \bfseries 4 & 2021.3.15--2021.3.19 & 开题报告会 \\ \hline 142 | \bfseries 5 & 2021.3.20--? & 找到抓手,思考毕设的方法论 \\ \hline 143 | \bfseries 6 & ?--? & 精细化业务颗粒度,重塑设计细节 \\ \hline 144 | \bfseries 7 & ?--? & 打出一套从编码到调试的组合拳 \\ \hline 145 | \bfseries 8 & ?--2021.5.20 & 复盘实际实现,赋能毕设论文 \\ \hline 146 | \bfseries 9 & 2021.5.21--2021.5.31 & 论文评审及查重 \\ \hline 147 | \bfseries 10 & 2021.6.1--2021.6.6 & 答辩报告会 \\ \hline 148 | \end{tabular} 149 | \end{table} 150 | 151 | % 列出参考文献 152 | \section{主要参考文献} 153 | % 修正目录超链接问题 154 | \phantomsection{} 155 | \printbibliography[heading=none] 156 | 157 | % 生成小组评审意见表 158 | \makeassessment 159 | \end{document} 160 | -------------------------------------------------------------------------------- /example-thesis.tex: -------------------------------------------------------------------------------- 1 | % !TEX encoding = UTF-8 Unicode 2 | % !TEX TS-program = xelatex 3 | % !BIB program = biber 4 | 5 | % MIT License 6 | % 7 | % Copyright (c) 2019 Star Brilliant 8 | % 9 | % Permission is hereby granted, free of charge, to any person obtaining a copy 10 | % of this software and associated documentation files (the "Software"), to deal 11 | % in the Software without restriction, including without limitation the rights 12 | % to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | % copies of the Software, and to permit persons to whom the Software is 14 | % furnished to do so, subject to the following conditions: 15 | % 16 | % The above copyright notice and this permission notice shall be included in 17 | % all copies or substantial portions of the Software. 18 | % 19 | % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | % IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | % FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | % AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | % LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | % OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | % SOFTWARE. 26 | 27 | \documentclass{HDU-Bachelor-Thesis} 28 | 29 | % 导入 \addbibresource \printbibliography 30 | \usepackage{biblatex} 31 | % 导入 \includepdf 32 | \usepackage{pdfpages} 33 | % 导入 \sout 34 | \usepackage{ulem} 35 | % 导入 \setmathfont 36 | \usepackage{unicode-math} 37 | % 导入 \textcolor 38 | \usepackage{xcolor} 39 | 40 | \title{杭州电子科技大学本科毕业设计 \LaTeX{} 模版样例文档} 41 | \author{张三} 42 | \date{2021 年 6 月 5 日} 43 | \HDUyear{2021} 44 | \HDUschool{计算机学院} 45 | \HDUmajor{计算机科学与技术} 46 | \HDUclassid{1234567890} 47 | \HDUstudentid{1234567890} 48 | \HDUadviser{李四} 49 | \HDUfinishdate{2021 年 6 月} 50 | \HDUsigndate{2021 年 6 月 5 日} 51 | 52 | % 从 ref.bib 中读入参考文献 53 | \addbibresource{ref.bib} 54 | 55 | % 设置公式字体(其它字体在模板中已设置好) 56 | \setmathfont{texgyretermes-math.otf} 57 | 58 | \begin{document} 59 | % 页码在 PDF 阅读器中显示为罗马数字 60 | \pagenumbering{roman} 61 | % 关闭页眉、页脚 62 | \pagestyle{empty} 63 | 64 | % 生成封面 65 | \maketitle 66 | % 或者使用 Microsoft Word 制作封面后导入 67 | %\includepdf[pages={-}]{封面.pdf} 68 | 69 | \clearpage 70 | % 关闭页脚 71 | \pagestyle{HDU-bachelor-empty} 72 | 73 | \section*{摘\hspace{2em}要} 74 | 75 | 这是一个适用于杭州电子科技大学本科毕业设计的\LaTeX{}模版的样例文档。 76 | 77 | \vspace{\baselineskip}\noindent 78 | \textsf{关键词:}杭州电子科技大学;毕业设计;\LaTeX;模版 79 | 80 | \clearpage 81 | \section*{\textbf{ABSTRACT}} 82 | 83 | This is a sample document of a \LaTeX{} template for bachelor thesis of Hangzhou Dianzi University. 84 | 85 | \vspace{\baselineskip}\noindent 86 | \textbf{Key words:} Hangzhou Dianzi University; bachelor thesis; \LaTeX; template 87 | 88 | \clearpage 89 | % 生成目录 90 | \tableofcontents 91 | 92 | \clearpage 93 | % 将页码重置为 1 94 | \pagenumbering{arabic} 95 | % 开启页脚 96 | \pagestyle{HDU-bachelor} 97 | 98 | \section{引言} 99 | 100 | 这是一个适用于杭州电子科技大学本科毕业设计的\LaTeX\cite{lamport1994latex}模版的样例文档。 101 | 102 | \clearpage 103 | \section{正文} 104 | 105 | 以下为测试样例文本,来自于《杭州电子科技大学毕业设计(论文)的写作规范和参考格式》。 106 | 107 | \subsection{毕业设计(论文)写作规范} 108 | 109 | 论文或设计说明书内容一般应由八个主要部分组成,依次为:\textcolor{red}{题目,中、英文摘要,关键词,目录,文本主体,致谢,参考文献,附录(必要时)}。各部分的具体要求如下: 110 | 111 | \subsubsection{题目} 112 | 113 | 题目应该用极为精炼的文字把论文的主题或总体内容表达出来。题目字数一般不宜超过20个汉字。有特殊要求的,如为了给题目加以补充说明,或为了强调论文所研究的某一个侧面等,则可加注副标题。 114 | 115 | \subsubsection{中、英文摘要} 116 | 117 | 本科毕业设计(论文)摘要包含中文摘要与英文摘要两种。论文摘要以简要文字介绍研究课题的目的、方法、内容及主要结果。在论文摘要中,要突出本课题的创造性成果或创新见解。中文摘要一般不超过400个汉字,英文摘要的内容则要与中文摘要相一致。 118 | 119 | \subsubsection{关键词} 120 | 121 | 本科毕业设计(论文)关键词包括中文与英文两种。关键词是表述论文主题内容信息的单词或术语,其数量一般为3–6个。每一个英文关键词必须与中文关键词相对应。 122 | 123 | \subsubsection{目录} 124 | 125 | 目录是论文各组成部分的小标题,文字应简明扼要。一般的说,本科毕业设计(论文)目录按三级标题编写,应标明页数,以便阅读。目录中的标题应与正文中的标题一致。目前通用的标题序次结构有以下二种,文科类一般采用第一种,理工科类一般采用第二种。 126 | 127 | 第一种序次:一、(一)、1…… 128 | 129 | 第二种序次:1.、1.1、1.1.1…… 130 | 131 | \subsubsection{文本主体} 132 | 133 | 本科毕业设计(论文)正文要符合一般学术论文的写作规范,要求文字流畅、语言准确、层次清晰、论点清楚、论据准确、论证完整严密,有独立的观点和见解,应具备学术性,科学性和一定的创造性。 134 | 135 | 文本主体一般包括引言(或称前言、序言等)、正文和结论三部分。 136 | 137 | 引言宣示课题的“来龙”,说明本课题的意义、目的、主要研究内容、范围及应解决的问题。也有的本科毕业设计(论文)正文不用引言,而是直接从第一章写起,则第一章就相当于引言。 138 | 139 | 正文是毕业设计(论文)的核心。在正文里,作者要对课题的内容和成果做详细的表述、深入的分析和周密的论证。毕业论文的正文一般包括前人对课题研究的进展综述、理论分析、本课题进行的研究工作的内容、研究成果、总结和讨论等内容;毕业设计说明书的正文一般包括方案论证与比较、理论分析及计算、结构设计及软件设计、系统测试、方案校验等。对于不同学科的毕业设计(论文),其正文论述的方式和内容也有所不同,这里不作具体说明,详见《普通高等学校本科毕业设计(论文)指导》\cite{putong-wenkejuan,putong-ligongkejuan}。 140 | 141 | 结论是全文的思想精髓和文章价值的体现。应概括说明所进行工作的情况和研究成果,分析其优点和特色,指出创新所在,并应指出其中存在的问题和今后的改进方向,特别是对工作中遇到的重要问题要着重指出,并提出自己的见解。它集中反映作者的研究成果和总体观点,阐明课题的“去脉”。结论要简单、明确,措词严密,篇幅不宜过长。结论部分可以用“结语”、“结束语”等标题来表明,也可以不用标题表明。 142 | 143 | 文本主体一般由标题、文字、图、表格和公式等部分组成,其书写的规范和标准如下: 144 | 145 | \begin{enumerate} 146 | 147 | \item 标题\\ 148 | 正文中的标题也称小标题,其目的在于使文章的层次清晰。有的小标题用文字概括出本层次的中心内容,有的小标题直接使用数字,仅仅表明顺序,起到承上启下的作用。 149 | 150 | \item 注释\\ 151 | 正文中引述他人的观点、统计数据或计算公式等必须注明出处,有需要解释的内容也可以加注说明,这就是注释。注释用页末注,即在引用的地方写一个脚注标号,把注文放在加注处那一页稿纸的下端。也可以使用篇末注,即把全部的注文集中在论文末。注释的序号要用①、②、③等数码表示,而不能用[1]、[2]、[3]等数码表示,以免与参考文献的序码相混淆。 152 | 153 | \item 标点符号\\ 154 | 毕业论文中的标点符合应符合国家标准GB/T 15834--1995《标点符号用法》\cite{gbt15834-1995}的规定。一些需要注意的地方列举如下: 155 | \begin{enumerate} 156 | \item 连接号中的半字线即“-”,占半个字宽,书写时不占格,写在两格之间,用于结合各种并列和从属关系。例如并列词组(温度\char"2013{}时间曲线),合金系统(Fe-Cr-Al),产品型号(SZB-4真空泵),化合物(甲烷-d),币制(卢布\char"2013{}戈比),图、表、公式的序号(图3-1,表2-5)。 157 | \item 连接号中的一字线“\char"2014{}”占一个字宽,书写时应比汉字“一”略宽,书写时占一格位置。它用在化学键(如C\char"2014{}H\char"2014{}C)、标准代号(如137\char"2014{}64)、图注(如1\char"2014{}低碳钢)、机械图中的剖面(如A\char"2014{}A)等标注符号中。 158 | \item 省略号在正文中占两格“……”,在公式中占一格“…”。 159 | \item 括号一般用圆括号。有双重括号时,可以圆括号外面再加方括号。数学式中的括号分三层,即\{[()]\},层次不得改变。 160 | \item 在并列的词组和短句之中又包含并列词的较复杂情况下,为避免并列的范围混淆不清起见,外层的并列词组或短句可用逗号或分号分开,其中的并列词用顿号分开。例如:“须解决邻位效应,饱和链中的中性质交递,有机物中氢分子、卤分子的活动性,瓦耳登转化等问题。” 161 | \end{enumerate} 162 | 163 | \item 名词、名称 164 | \begin{enumerate} 165 | \item 毕业论文中的科学技术名词术语尽量采用全国自然科学名词审定委员会审定公布的科技名词或国家标准等标准中编写的名词,尚未编定和叫法有争议的,可采用惯用的名称。 166 | \item 使用外文缩写代替某一名词术语时,首次出现应在括号内注明其含义,如CPU(Central Processing Unit,计算机中央处理器)。 167 | \item 除一般很熟知的外国人名(如牛顿、爱因斯坦、门捷列夫、达尔文、马克思等)只须按通常标准译法写译名外,其余采用英文原名,不译成中文。其他语种的人名可译可不译。英文人名按名在前姓在后的原则书写,如P. Cray。 168 | \item 国内工厂、机关、单位的名称应使用全称,不得简化。 169 | \end{enumerate} 170 | 171 | \item 量和单位 172 | \begin{enumerate} 173 | \item 毕业论文中量的单位必须符合我国法定计量单位。它以国际单位制(SI)为基础。请参看有关文件。如GB 3100-3102-93等\cite{gb3100-1993}。 174 | \item 有些单位的名称既可用全称,也可用简称表示(如“伏特”和“伏”等等),但在全文中用法要一致,不要两者并用。 175 | \item 非物理量的单位,如件、台、人、周、月、元等,可用汉字与单位符号构成组合形式的单位,如:件/台$\!\cdot$h,元/km。 176 | \item 在文中不要用物理量符号、计量单位符号和数学符号代替相应的名称。在表示一个物理量的量值时,应在阿拉伯数字之后用计量单位符号。例如:“试样高度h为25mm”不要写出“试样h为25mm”。 177 | \end{enumerate} 178 | 179 | \item 数字 180 | \begin{enumerate} 181 | \item 毕业论文中的测量、统计的数据一律用阿拉伯数字。 182 | \item 公历的年、月、日一律用阿拉伯数字,如“1949年10月1日”;夏历的年、月、日一律用汉字。历史上的朝代和年号须加注公元纪年。 183 | \item 普通叙述中不很大的数目,一般不宜用阿拉伯数字。例如:“他发现两颗小行星”,不宜写成“他发现2颗小行星”。 184 | \item 大约的数目可用中文数字,也可用阿拉伯数字。例如:“约一百五十人”,也可写成“约150人”。 185 | \item 分数可用阿拉伯数字表示,亦可用中文数字表示,但两者写法不同,前者要写成“5/8”或“八分之五”。 186 | \end{enumerate} 187 | 188 | \item 公式 189 | \begin{enumerate} 190 | \item 公式应另起一行书写。 191 | \item 公式的编号用圆括号括起放在公式右边行末,在公式和编号之间不加虚线。公式可按全文统编序号,也可按章单独立序号,如:(49)、(7.11),采用哪一种序号应和稿中的图序、表序编法一致。子公式可不编序号,需要引用时可加编a、b、c、…等,重复引用的公式不得另编新序号。公式序号必须连续,不得重复或跳缺。 192 | \item 文中引用某一公式时,写成“由式(16.20)可见”。 193 | \end{enumerate} 194 | 195 | \item 表格\\ 196 | 表是以行和列组合的形式来表达数据和统计结果的一种方式。表格的种类也很多,如示意表、统计表、说明对照表等。表中的参数应标明量和单位的符号,每个表格应有自己的表题和表序,表题应写在表格上方正中,表序写在表题左方不加标点,空一格接写表题,表题末尾不加标点。全文的表格统一编序,也可以逐章编序,不管采用哪种方式,表序必须连续。表格允许下页接写,接写时表题省略,表头应重复书写,并在右上方写“续表××”。此外,表格应写在离正文首次出现处的近处,不应过分超前或拖后。 197 | 198 | \item 插图\\ 199 | 图能直观地表示出各种事物因素之间的关系,科学研究的结果,以及事物的发展变化与趋势,起到文字难于起到的作用。图的种类很多,如条形图、线形图、流程图、示意图等。图具有自明性的特征,因此内容上不能与文字表达的东西重复。图中的术语、符号、单位等应同文字表述所使用的一致。每幅插图应有图序和图题,全文插图可以统一编序,也可以逐章单独编序,不管采用哪种方式,图序必须连续,不得重复或跳缺。由若干分图组成的插图,分图用a,b,c…标序,分图的图名以及图中各种代号的意义,以图注形式写在图题下方,先写分图名,另起行后写代号的意义。电气图、机械图等还应符合相应的国家标准。 200 | 201 | \end{enumerate} 202 | 203 | \subsubsection{致谢} 204 | 205 | 简述自己通过做毕业设计(论文)所获得的体会,并对指导教师以及相关人员致谢。致谢的文字虽不多,却是论文不可缺少的内容。 206 | 207 | \subsubsection{参考文献} 208 | 209 | 参考文献是毕业设计(论文)不可缺少的组成部分,也是作者对他人知识成果的承认和尊重。参考文献的引用和著录应符合规范,引用的资料具有权威性,并对毕业设计(论文)有直接的参考价值。所列出的参考文献不得少于10篇,其中外文文献不得少于2篇,发表在期刊上的学术论文不得少于4篇。参考文献应按文中引用出现的顺序来编序,附于文未。 210 | 211 | 参考文献书写格式应符合GB/T 7714-1987《文后参考文献著录规则》\cite{gbt7714-1987}。 212 | 213 | \subsubsection{附录} 214 | 215 | 附录包括不宜放在正文中但又直接反映工作成果的资料,如调查问卷、公式推演、编写程序、实验数据等内容。附录的篇幅不宜过大,若附录部分内容较多,可单独装订成册。 216 | 217 | \subsection{毕业设计(论文)的参考格式} 218 | 219 | \begin{enumerate} 220 | \item 论文采用A4纸打印。页边距:上3厘米,下2厘米,左3厘米,右2厘米;装订线1厘米;页眉距边界2厘米,页脚距边界1厘米。全文除封面、封底无页眉外,均采用页眉“杭州电子科技大学本科毕业论文”或“杭州电子科技大学本科毕业设计”,宋体五号字,居中。 221 | 222 | \item 封面、封底、中文摘要、ABSTRACT、目录无需页码,论文其余部分均采用阿拉伯数字页码,Times New Roman五号字,居中。 223 | 224 | \item “摘要”、“目录”、 “致谢”、“参考文献”、“附录”等为黑体三号字,“ABSTRACT”为Times New Roman加黑三号字,均居中,单倍行距,段前2行,段后2行。 225 | 226 | \item 封面由学校统一制作,分为毕业设计和毕业论文两类,填写的内容均为楷体小三号字。 227 | 228 | \item 中文摘要内容为宋体小四号字,摘要内容后下空一行打印“关键词”为黑体小四号字,其后关键词为宋体小四号字;英文摘要内容为Times New Roman小四号字,英文摘要内容后下空一行打印“Keywords”为Times New Roman加黑小四号字,其后关键词为小写Times New Roman小四号字。行距均为20磅,每一关键词之间用分号分开,最后一个关键词后不打标点符号。 229 | 230 | \item 目录内容中文为宋体小四号字,英文为Times New Roman小四号字,依次排列各章节、致谢、参考文献、附录等。目录内容至少列出第一和第二级标题,每一级标题后应标明起始页码。目录可使用Word系统自带的“插入目录功能”自动生成 231 | 232 | \item 正文第一级标题为黑体三号字,居中,单倍行距,段前2行,段后2行。第二级标题为黑体四号字,第三级标题为黑体小四号字,若采用第一种序次(一、(一)、1……)为靠左空两格,采用第二种序次(1.、1.1、1.1.1……)为靠左顶格。 233 | 234 | \item 正文内容中文为宋体小四号字,英文为Times New Roman小四号字,行距20磅,标准字符间距。每一章内容均另起一页。 235 | 236 | \item 图应有图名、图号,均为宋体五号字,居中,列在图的下方。 237 | 238 | \item 表格应有表名、表号,均为宋体五号字,居中,列在表的上方。 239 | 240 | \item 公式书写应另起一行,公式内容居中,公式后应注明序号,均为宋体五号字。 241 | 242 | \item 参考文献的内容中文为宋体小四号字,英文为Times New Roman小四号字居左顶格打印,行距均为20磅。 243 | \end{enumerate} 244 | 245 | \clearpage 246 | \section{结论} 247 | 248 | \clearpage 249 | \unnumberedsection{致谢}{致\hspace{2em}谢} 250 | 251 | 感谢TV。感谢所有TV,MTV。感谢广播。 252 | 253 | 今天,这里蓬荜生辉,人山人海,海枯石烂。我做梦都没想到我能成为这个作者。其实,我不是火命,\sout{我是水货},我是水命。 254 | 255 | 我呢,在这里,我感谢我的老伴。没有我的老伴就没有我的今天,因为我是陪她练的,把她练下去了,把我练上来了。俗话说,一个成功的男人,\sout{后背背一个多事的女人},背后必须有一个管事的女的,来管我。 256 | 257 | 我在这里,今天,感谢政府,\sout{能给我重新做人的机会},给我当作者的机会。我一定要\sout{坦白},坦率做人,坦诚做事。 258 | 259 | \clearpage 260 | % 修正目录超链接问题 261 | \phantomsection{} 262 | % 列出参考文献 263 | \printbibliography[heading=bibintoc] 264 | 265 | \clearpage 266 | \unnumberedsection{附录}{附\hspace{2em}录} 267 | 268 | \end{document} 269 | -------------------------------------------------------------------------------- /HDU-Bachelor-Thesis-Proposal.cls: -------------------------------------------------------------------------------- 1 | % !TEX encoding = UTF-8 Unicode 2 | % !TEX TS-program = xelatex 3 | % !BIB program = biber 4 | 5 | % MIT License 6 | % 7 | % Copyright (c) 2019 Star Brilliant 8 | % 9 | % Permission is hereby granted, free of charge, to any person obtaining a copy 10 | % of this software and associated documentation files (the "Software"), to deal 11 | % in the Software without restriction, including without limitation the rights 12 | % to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | % copies of the Software, and to permit persons to whom the Software is 14 | % furnished to do so, subject to the following conditions: 15 | % 16 | % The above copyright notice and this permission notice shall be included in 17 | % all copies or substantial portions of the Software. 18 | % 19 | % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | % IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | % FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | % AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | % LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | % OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | % SOFTWARE. 26 | 27 | \NeedsTeXFormat{LaTeX2e} 28 | 29 | \ProvidesClass{HDU-Bachelor-Thesis-Proposal}[2019/05/17 Bachelor thesis template for Hangzhou Dianzi University] 30 | 31 | % 防止 fontspec 与 mathspec 冲突 32 | \PassOptionsToPackage{no-math}{fontspec} 33 | % 启用 GB/T 7714-2015 参考文献格式 34 | % 需要安装 biblatex-gb7714-2015 35 | \PassOptionsToPackage{backend=biber,style=gb7714-2015}{biblatex} 36 | 37 | % 调用基类 CTeX Article 38 | % 设置 fandol 字体集以便 MikTeX 自动安装依赖 39 | \LoadClass[UTF8,fontset=fandol,zihao=-4]{ctexart} 40 | 41 | % 尺寸运算功能 42 | \RequirePackage{calc} 43 | % 设置题注格式 44 | \RequirePackage{caption} 45 | % 使用 T1 字体编码 46 | \RequirePackage[T1]{fontenc} 47 | % 设置字体 48 | \RequirePackage[no-math]{fontspec} 49 | % 设置带圈角标 50 | \RequirePackage[stable,perpage,symbol*]{footmisc} 51 | % 页边距设置 52 | \RequirePackage{geometry} 53 | % 启用 PDF 超链接 54 | \RequirePackage{hyperref} 55 | % 小标题排版 56 | \RequirePackage[pagestyles]{titlesec} 57 | % 目录排版 58 | \RequirePackage{titletoc} 59 | % xeCJK 中文支持包 60 | \RequirePackage{xeCJK} 61 | % 表格支持多行单元格 62 | \RequirePackage{makecell} 63 | % 支持中文标题编号 64 | \RequirePackage{zhnumber} 65 | % 引入 xpatch 66 | \RequirePackage{xpatch} 67 | 68 | % 禁用 XeCJK 相关 warning 69 | \ExplSyntaxOn 70 | \xpatchcmd\__xeCJK_check_family:n{\__xeCJK_warning:nxx}{\__xeCJK_info:nxx}{}{} 71 | \ExplSyntaxOff 72 | 73 | % 超链接格式设置 74 | \hypersetup{unicode=true,hidelinks,linktoc=all} 75 | 76 | % 页边距设置 77 | \geometry{a4paper,top=2.5cm,bottom=2.5cm,left=3cm,right=2.5cm} 78 | 79 | % 设置英文字体为 TeX Gyre 系列字体为 TeX Gyre Termes / Heros / Cursor,它们兼容 Times / Helvetica / Courier 80 | \setromanfont{texgyretermes-regular.otf}[BoldFont=texgyretermes-bold.otf,BoldItalicFont=texgyretermes-bolditalic.otf,ItalicFont=texgyretermes-italic.otf] 81 | \setsansfont{texgyreheros-regular.otf}[BoldFont=texgyreheros-bold.otf,BoldItalicFont=texgyreheros-bolditalic.otf,ItalicFont=texgyreheros-italic.otf] 82 | \setmonofont{texgyrecursor-regular.otf}[BoldFont=texgyrecursor-bold.otf,BoldItalicFont=texgyrecursor-bolditalic.otf,ItalicFont=texgyrecursor-italic.otf,Ligatures=NoCommon] 83 | 84 | %% 设置中文字体为中易系列字体,如果在非 Microsoft Windows 环境下使用,可能需要安装这些字体 85 | % 字体换成了Fandol套,有TexLive的应该都可以直接用了 86 | \newfontfamily{\HDU@SimSun}{FandolSong}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 87 | \newfontfamily{\HDU@SimHei}{FandolHei}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 88 | \newfontfamily{\HDU@SimKai}{FandolKai}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 89 | \setCJKfamilyfont{zhsong}{FandolSong}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 90 | \setCJKfamilyfont{zhhei}{FandolHei}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 91 | \setCJKfamilyfont{zhfang}{FandolFang}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 92 | \setCJKfamilyfont{zhkai}{FandolKai}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 93 | \setCJKromanfont{FandolSong}[AutoFakeBold=2.5,ItalicFont={FandolFang}] 94 | \setCJKsansfont{FandolHei}[AutoFakeBold=2.5,ItalicFont={FandolKai}] 95 | \setCJKmonofont{FandolFang}[AutoFakeBold=2.5,ItalicFont={FandolFang}] 96 | 97 | % 关掉 CTeX 的 1.3 倍行距 98 | \linespread{1} 99 | % 关掉 0pt-1pt 的弹性段间距 100 | \setlength{\parskip}{0pt} 101 | 102 | % 设置各种字号 103 | \renewcommand{\tiny}{\fontsize{6.5bp}{8.328125bp}\selectfont} 104 | \renewcommand{\scriptsize}{\fontsize{7.5bp}{9.609375bp}\selectfont} 105 | \renewcommand{\footnotesize}{\fontsize{9bp}{11.53125bp}\selectfont} 106 | \renewcommand{\small}{\fontsize{10.5bp}{13.453125bp}\selectfont} 107 | \renewcommand{\normalsize}{\fontsize{12bp}{20bp}\selectfont} 108 | \renewcommand{\large}{\fontsize{15bp}{20bp}\selectfont} 109 | \renewcommand{\Large}{\fontsize{18bp}{23.0625bp}\selectfont} 110 | \renewcommand{\LARGE}{\fontsize{22bp}{28.1875bp}\selectfont} 111 | \renewcommand{\huge}{\fontsize{24bp}{30.75bp}\selectfont} 112 | \renewcommand{\Huge}{\fontsize{26bp}{33.3125bp}\selectfont} 113 | 114 | % 设置题注格式 115 | \captionsetup{font=small} 116 | 117 | % 定义 \unnumberedsection 命令,用以方便地加入一个无标号的小标题 118 | \newcommand{\unnumberedsection}[1]{\phantomsection\addcontentsline{toc}{section}{#1}\section*} 119 | 120 | % 设置一、二、三级小标题格式 121 | \titleformat{\section}{\filright\bfseries\CJKfamily{zhsong}\fontsize{14bp}{20.5bp}\selectfont\vspace{\topskip}\vspace*{-\topskip}\vspace*{25bp}}{\zhnum{section}、}{0em}{} 122 | \titlespacing{\section}{0bp}{0bp}{10bp} 123 | \titleformat{\subsection}{\bfseries\CJKfamily{zhsong}\fontsize{12bp}{20bp}\selectfont}{\thesubsection}{0.5em}{} 124 | \titlespacing{\subsection}{0bp}{0bp}{0bp} 125 | \titleformat{\subsubsection}{\sffamily\CJKfamily{zhsong}\fontsize{12bp}{20bp}\selectfont}{\thesubsubsection}{0.5em}{} 126 | \titlespacing{\subsubsection}{0bp}{0bp}{0bp} 127 | 128 | % 设置目录格式 129 | \renewcommand{\contentsname}{目\hspace{2em}录} 130 | \contentsmargin{0bp} 131 | \titlecontents{section}[0em]{}{\thecontentslabel\hspace{1em}}{}{\titlerule*[0.25em]{.}\thecontentspage} 132 | \titlecontents{subsection}[2em]{}{\thecontentslabel\hspace{1em}}{}{\titlerule*[0.25em]{.}\thecontentspage} 133 | \titlecontents{subsubsection}[4em]{}{\thecontentslabel\hspace{1em}}{}{\titlerule*[0.25em]{.}\thecontentspage} 134 | 135 | % 设置参考文献格式 136 | \newlength{\bibitemsep} 137 | \AtBeginDocument{\setlength{\bibitemsep}{0pt}} 138 | 139 | % 设置 \autoref 格式 140 | \def\figureautorefname{图}% 141 | \def\tableautorefname{表}% 142 | \def\partautorefname{篇}% 143 | \def\appendixautorefname{附录}% 144 | \def\equationautorefname{公式}% 145 | \def\Itemautorefname{项目}% 146 | \def\chapterautorefname{章}% 147 | \def\sectionautorefname{节}% 148 | \def\subsectionautorefname{小节}% 149 | \def\subsubsectionautorefname{子小节}% 150 | \def\paragraphautorefname{段落}% 151 | \def\subparagraphautorefname{子段落}% 152 | \def\Hfootnoteautorefname{脚注}% 153 | \def\AMSautorefname{公式}% 154 | \def\theoremautorefname{定理}% 155 | \def\pageautorefname{页面}% 156 | 157 | % 设置带圈角标 158 | % 感谢南京大学计算机科学与技术系胡海星编写的《NJU-Thesis:南京大学学位论文 XeLaTeX 模板》 159 | \DefineFNsymbols*{circlednumber}[text]{{①}{②}{③}{④}{⑤}{⑥}{⑦}{⑧}{⑨}{⑩}{⑪}{⑫}{⑬}{⑭}{⑮}{⑯}{⑰}{⑱}{⑲}{⑳}{㉑}{㉒}{㉓}{㉔}{㉕}{㉖}{㉗}{㉘}{㉙}{㉚}{㉛}{㉜}{㉝}{㉞}{㉟}{㊱}{㊲}{㊳}{㊴}{㊵}{㊶}{㊷}{㊸}{㊹}{㊺}{㊻}{㊼}{㊽}{㊾}{㊿}} 160 | \setfnsymbol{circlednumber} 161 | % 修复带圈数字可能无法正确显示的问题 162 | \xeCJKDeclareCharClass{CJK}{`⓪,`①->`⑳,`㉑->`㉟,`㊱->`㊿,`⓿,`❶->`❿,`⓫->`⓴} 163 | 164 | % PDF 元数据设置 165 | \AtBeginDocument{\hypersetup{pdfinfo={ 166 | Author={\@author}, 167 | Title={\@title}, 168 | CreationDate={D:20000101000000} % 随手抹除文件创建时间 169 | }}} 170 | 171 | % 生成封面,可以配置的参数包括: 172 | % \title{题目} 173 | % \author{学生姓名} 174 | % \HDUschool{学院} 175 | % \HDUmajor{专业} 176 | % \HDUclassid{班级号码} 177 | % \HDUstudentid{学号} 178 | % \HDUadviser{指导教师} 179 | \newcommand{\HDU@year}{\the\year{}} 180 | \newcommand{\HDU@school}{} 181 | \newcommand{\HDU@major}{} 182 | \newcommand{\HDU@classid}{} 183 | \newcommand{\HDU@studentid}{} 184 | \newcommand{\HDU@adviser}{} 185 | \newcommand{\HDUschool}[1]{\renewcommand{\HDU@school}{#1}} 186 | \newcommand{\HDUmajor}[1]{\renewcommand{\HDU@major}{#1}} 187 | \newcommand{\HDUclassid}[1]{\renewcommand{\HDU@classid}{#1}} 188 | \newcommand{\HDUstudentid}[1]{\renewcommand{\HDU@studentid}{#1}} 189 | \newcommand{\HDUadviser}[1]{\renewcommand{\HDU@adviser}{#1}} 190 | \renewcommand{\maketitle}{% 191 | \clearpage\thispagestyle{empty}% 192 | \par\noindent\parbox[t]{15cm}{% 193 | \vspace{\topskip}\vspace*{-\topskip}% 194 | \HDU@SimSun\CJKfamily{zhsong}\fontsize{12bp}{0bp}\selectfont% 195 | 196 | \vspace*{66bp}\centering\parbox[t][30bp][t]{10cm}{\fontsize{30bp}{\baselineskip}\selectfont\bfseries 杭\hspace{\fill}州\hspace{\fill}电\hspace{\fill}子\hspace{\fill}科\hspace{\fill}技\hspace{\fill}大\hspace{\fill}学}% 197 | 198 | \vspace{22bp}\centering\parbox[t][24bp][t]{355bp}{\fontsize{24bp}{\baselineskip}\selectfont\bfseries 毕\hspace{\fill}业\hspace{\fill}设\hspace{\fill}计\hspace{\fill}(\hspace{\fill}论\hspace{\fill}文\hspace{\fill})开\hspace{\fill}题\hspace{\fill}报\hspace{\fill}告}% 199 | 200 | \vspace{90.5bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 题\hspace{\fill}目}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{15bp}{18bp}\selectfont{\@title}}% 201 | 202 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 203 | 204 | \vspace{40.25bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 学\hspace{\fill}院}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{14bp}{18bp}\selectfont{\HDU@school}}% 205 | 206 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 207 | 208 | \vspace{40.25bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 专\hspace{\fill}业}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{14bp}{18bp}\selectfont{\HDU@major}}% 209 | 210 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 211 | 212 | \vspace{40.25bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 姓\hspace{\fill}名}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{14bp}{18bp}\selectfont{\@author}}% 213 | 214 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 215 | 216 | \vspace{40.25bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 班\hspace{\fill}级}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{14bp}{18bp}\selectfont{\HDU@classid}}% 217 | 218 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 219 | 220 | \vspace{40.25bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 学\hspace{\fill}号}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{14bp}{18bp}\selectfont{\HDU@studentid}}% 221 | 222 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 223 | 224 | \vspace{40.25bp}\hspace*{23bp}\parbox[t][14bp][t]{56bp}{\fontsize{14bp}{18bp}\selectfont\bfseries 指\hspace{\fill}导\hspace{\fill}教\hspace{\fill}师}\hspace{12bp}\parbox[b][14bp][b]{235bp}{\centering\bfseries\fontsize{14bp}{18bp}\selectfont{\HDU@adviser}}% 225 | 226 | \vspace{2bp}\hspace*{102.5bp}\rule[0pt]{235bp}{0.5bp}% 227 | 228 | \vspace{\fill}% 229 | }% 230 | \clearpage% 231 | } 232 | 233 | \newcommand{\makeassessment}{% 234 | \clearpage\thispagestyle{empty}% 235 | 236 | \section{开题小组评审意见} 237 | 238 | \begin{table}[h]% 239 | \HDU@SimSun\CJKfamily{zhsong}\selectfont% 240 | \centering\bfseries 241 | \begin{tabular}{| c | c | c | c | c | c | c |}% 242 | \hline 243 | 考核点 & \makecell{背景及意义 \\ 阐述情况} & \makecell{研究内容与任务 \\ 书的匹配程度} & \makecell{研究方案 \\ 合理性} & \makecell{进度安 \\ 排情况} & \makecell{答辩 \\ 情况} & \hspace{20bp} 总分 \hspace{20bp} \\ \hline 244 | 满分 & 20 & 30 & 30 & 10 & 10 & 100 \\ \hline 245 | 评分 & & & & & & \\ \hline 246 | \end{tabular} 247 | \end{table} 248 | 249 | \vspace{45bp} 250 | 251 | \begin{flushright} 252 | 开题小组负责人签字:\vspace{12bp}\rule[-1.5pt]{90bp}{0.5bp} \\ 253 | \@date 254 | \end{flushright} 255 | 256 | }% 257 | -------------------------------------------------------------------------------- /HDU-Bachelor-Thesis.cls: -------------------------------------------------------------------------------- 1 | % !TEX encoding = UTF-8 Unicode 2 | % !TEX TS-program = xelatex 3 | % !BIB program = biber 4 | 5 | % MIT License 6 | % 7 | % Copyright (c) 2019 Star Brilliant 8 | % 9 | % Permission is hereby granted, free of charge, to any person obtaining a copy 10 | % of this software and associated documentation files (the "Software"), to deal 11 | % in the Software without restriction, including without limitation the rights 12 | % to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 13 | % copies of the Software, and to permit persons to whom the Software is 14 | % furnished to do so, subject to the following conditions: 15 | % 16 | % The above copyright notice and this permission notice shall be included in 17 | % all copies or substantial portions of the Software. 18 | % 19 | % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 20 | % IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 21 | % FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 22 | % AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 23 | % LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 24 | % OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 25 | % SOFTWARE. 26 | 27 | \NeedsTeXFormat{LaTeX2e} 28 | 29 | \ProvidesClass{HDU-Bachelor-Thesis}[2019/05/17 Bachelor thesis template for Hangzhou Dianzi University] 30 | 31 | % 防止 fontspec 与 mathspec 冲突 32 | \PassOptionsToPackage{no-math}{fontspec} 33 | % 启用 GB/T 7714-2015 参考文献格式 34 | % 需要安装 biblatex-gb7714-2015 35 | \PassOptionsToPackage{backend=biber,style=gb7714-2015}{biblatex} 36 | 37 | % 调用基类 CTeX Article 38 | % 设置 fandol 字体集以便 MikTeX 自动安装依赖 39 | \LoadClass[UTF8,fontset=fandol,zihao=-4]{ctexart} 40 | 41 | % 尺寸运算功能 42 | \RequirePackage{calc} 43 | % 设置题注格式 44 | \RequirePackage{caption} 45 | % 使用 T1 字体编码 46 | \RequirePackage[T1]{fontenc} 47 | % 设置字体 48 | \RequirePackage[no-math]{fontspec} 49 | % 设置带圈角标 50 | \RequirePackage[stable,perpage,symbol*]{footmisc} 51 | % 页边距设置 52 | \RequirePackage{geometry} 53 | % 启用 PDF 超链接 54 | \RequirePackage{hyperref} 55 | % 小标题排版 56 | \RequirePackage[pagestyles]{titlesec} 57 | % 目录排版 58 | \RequirePackage{titletoc} 59 | % xeCJK 中文支持包 60 | \RequirePackage{xeCJK} 61 | % 引入 xpatch 62 | \RequirePackage{xpatch} 63 | 64 | % 禁用 XeCJK 相关 warning 65 | \ExplSyntaxOn 66 | \xpatchcmd\__xeCJK_check_family:n{\__xeCJK_warning:nxx}{\__xeCJK_info:nxx}{}{} 67 | \ExplSyntaxOff 68 | 69 | % 超链接格式设置 70 | \hypersetup{unicode=true,hidelinks,linktoc=all} 71 | 72 | % 页边距设置 73 | \geometry{a4paper,top=3cm,bottom=2cm,left=4cm,right=2cm,headheight=10.5bp,headsep=1cm-10.5bp,footskip=1cm-2.953125bp} 74 | 75 | % 设置英文字体为 TeX Gyre 系列字体为 TeX Gyre Termes / Heros / Cursor,它们兼容 Times / Helvetica / Courier 76 | \setromanfont{texgyretermes-regular.otf}[BoldFont=texgyretermes-bold.otf,BoldItalicFont=texgyretermes-bolditalic.otf,ItalicFont=texgyretermes-italic.otf] 77 | \setsansfont{texgyreheros-regular.otf}[BoldFont=texgyreheros-bold.otf,BoldItalicFont=texgyreheros-bolditalic.otf,ItalicFont=texgyreheros-italic.otf] 78 | \setmonofont{texgyrecursor-regular.otf}[BoldFont=texgyrecursor-bold.otf,BoldItalicFont=texgyrecursor-bolditalic.otf,ItalicFont=texgyrecursor-italic.otf,Ligatures=NoCommon] 79 | 80 | %% 设置中文字体为中易系列字体,如果在非 Microsoft Windows 环境下使用,可能需要安装这些字体 81 | % 字体换成了Fandol套,有TexLive的应该都可以直接用了 82 | \newfontfamily{\HDU@SimSun}{FandolSong}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 83 | \newfontfamily{\HDU@SimHei}{FandolHei}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 84 | \newfontfamily{\HDU@SimKai}{FandolKai}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 85 | \setCJKfamilyfont{zhsong}{FandolSong}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 86 | \setCJKfamilyfont{zhhei}{FandolHei}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 87 | \setCJKfamilyfont{zhfang}{FandolFang}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 88 | \setCJKfamilyfont{zhkai}{FandolKai}[AutoFakeBold=2.5,AutoFakeSlant=0.25] 89 | \setCJKromanfont{FandolSong}[AutoFakeBold=2.5,ItalicFont={FandolFang}] 90 | \setCJKsansfont{FandolHei}[AutoFakeBold=2.5,ItalicFont={FandolKai}] 91 | \setCJKmonofont{FandolFang}[AutoFakeBold=2.5,ItalicFont={FandolFang}] 92 | 93 | % 关掉 CTeX 的 1.3 倍行距 94 | \linespread{1} 95 | % 关掉 0pt-1pt 的弹性段间距 96 | \setlength{\parskip}{0pt} 97 | 98 | % 设置各种字号 99 | \renewcommand{\tiny}{\fontsize{6.5bp}{8.328125bp}\selectfont} 100 | \renewcommand{\scriptsize}{\fontsize{7.5bp}{9.609375bp}\selectfont} 101 | \renewcommand{\footnotesize}{\fontsize{9bp}{11.53125bp}\selectfont} 102 | \renewcommand{\small}{\fontsize{10.5bp}{13.453125bp}\selectfont} 103 | \renewcommand{\normalsize}{\fontsize{12bp}{20bp}\selectfont} 104 | \renewcommand{\large}{\fontsize{15bp}{20bp}\selectfont} 105 | \renewcommand{\Large}{\fontsize{18bp}{23.0625bp}\selectfont} 106 | \renewcommand{\LARGE}{\fontsize{22bp}{28.1875bp}\selectfont} 107 | \renewcommand{\huge}{\fontsize{24bp}{30.75bp}\selectfont} 108 | \renewcommand{\Huge}{\fontsize{26bp}{33.3125bp}\selectfont} 109 | 110 | % 设置题注格式 111 | \captionsetup{font=small} 112 | 113 | % 设置页眉页脚 114 | % 可以 \HDUheader{文字} 来改变页眉内容 115 | \newcommand{\HDU@header}{杭州电子科技大学本科毕业设计} 116 | \newcommand{\HDUheader}[1]{\renewcommand{\HDU@header}{#1}} 117 | % 使用 \pagestyle{HDU-Bachelor} 来调用这个格式 118 | \newpagestyle{HDU-bachelor}[\fontsize{10.5bp}{13.453125bp}\selectfont]{% 119 | \sethead{}{\HDU@header{}}{}% 120 | \renewcommand{\makeheadrule}{\rule[-4.75bp]{\linewidth}{.75bp}}% 121 | \setfoot{}{\thepage}{}% 122 | } 123 | % 使用 \pagestyle{HDU-bachelor-empty} 来关闭页码 124 | \newpagestyle{HDU-bachelor-empty}[\fontsize{10.5bp}{13.453125bp}\selectfont]{% 125 | \sethead{}{\HDU@header{}}{}% 126 | \renewcommand{\makeheadrule}{\rule[-4.75bp]{\linewidth}{.75bp}}% 127 | \setfoot{}{}{}% 128 | } 129 | 130 | % 定义 \unnumberedsection 命令,用以方便地加入一个无标号的小标题 131 | \newcommand{\unnumberedsection}[1]{\phantomsection\addcontentsline{toc}{section}{#1}\section*} 132 | 133 | % 设置一、二、三级小标题格式 134 | \titleformat{\section}{\filcenter\rmfamily\CJKfamily{zhhei}\fontsize{16bp}{20.5bp}\selectfont\vspace{\topskip}\vspace*{-\topskip}\vspace*{25bp}}{\thesection}{1em}{} 135 | \titlespacing{\section}{0bp}{0bp}{25bp} 136 | \titleformat{\subsection}{\sffamily\fontsize{14bp}{20bp}\selectfont}{\thesubsection}{1em}{} 137 | \titlespacing{\subsection}{0bp}{0bp}{0bp} 138 | \titleformat{\subsubsection}{\sffamily\fontsize{12bp}{20bp}\selectfont}{\thesubsubsection}{1em}{} 139 | \titlespacing{\subsubsection}{0bp}{0bp}{0bp} 140 | 141 | % 设置目录格式 142 | \renewcommand{\contentsname}{目\hspace{2em}录} 143 | \contentsmargin{0bp} 144 | \titlecontents{section}[0em]{}{\thecontentslabel\hspace{1em}}{}{\titlerule*[0.25em]{.}\thecontentspage} 145 | \titlecontents{subsection}[2em]{}{\thecontentslabel\hspace{1em}}{}{\titlerule*[0.25em]{.}\thecontentspage} 146 | \titlecontents{subsubsection}[4em]{}{\thecontentslabel\hspace{1em}}{}{\titlerule*[0.25em]{.}\thecontentspage} 147 | 148 | % 设置参考文献格式 149 | \newlength{\bibitemsep} 150 | \AtBeginDocument{\setlength{\bibitemsep}{0pt}} 151 | 152 | % 设置 \autoref 格式 153 | \def\figureautorefname{图}% 154 | \def\tableautorefname{表}% 155 | \def\partautorefname{篇}% 156 | \def\appendixautorefname{附录}% 157 | \def\equationautorefname{公式}% 158 | \def\Itemautorefname{项目}% 159 | \def\chapterautorefname{章}% 160 | \def\sectionautorefname{节}% 161 | \def\subsectionautorefname{小节}% 162 | \def\subsubsectionautorefname{子小节}% 163 | \def\paragraphautorefname{段落}% 164 | \def\subparagraphautorefname{子段落}% 165 | \def\Hfootnoteautorefname{脚注}% 166 | \def\AMSautorefname{公式}% 167 | \def\theoremautorefname{定理}% 168 | \def\pageautorefname{页面}% 169 | 170 | % 设置带圈角标 171 | % 感谢南京大学计算机科学与技术系胡海星编写的《NJU-Thesis:南京大学学位论文 XeLaTeX 模板》 172 | \DefineFNsymbols*{circlednumber}[text]{{①}{②}{③}{④}{⑤}{⑥}{⑦}{⑧}{⑨}{⑩}{⑪}{⑫}{⑬}{⑭}{⑮}{⑯}{⑰}{⑱}{⑲}{⑳}{㉑}{㉒}{㉓}{㉔}{㉕}{㉖}{㉗}{㉘}{㉙}{㉚}{㉛}{㉜}{㉝}{㉞}{㉟}{㊱}{㊲}{㊳}{㊴}{㊵}{㊶}{㊷}{㊸}{㊹}{㊺}{㊻}{㊼}{㊽}{㊾}{㊿}} 173 | \setfnsymbol{circlednumber} 174 | % 修复带圈数字可能无法正确显示的问题 175 | \xeCJKDeclareCharClass{CJK}{`⓪,`①->`⑳,`㉑->`㉟,`㊱->`㊿,`⓿,`❶->`❿,`⓫->`⓴} 176 | 177 | % PDF 元数据设置 178 | \AtBeginDocument{\hypersetup{pdfinfo={ 179 | Author={\@author}, 180 | Title={\@title}, 181 | CreationDate={D:20000101000000} % 随手抹除文件创建时间 182 | }}} 183 | 184 | % 生成封面,可以配置的参数包括: 185 | % \title{题目} 186 | % \author{学生姓名} 187 | % \HDUyear{届次(年)} 188 | % \HDUschool{学院} 189 | % \HDUmajor{专业} 190 | % \HDUclassid{班级号码} 191 | % \HDUstudentid{学号} 192 | % \HDUadviser{指导教师} 193 | % \HDUfinishdate{完成日期(年月)} 194 | % \HDUsigndate{诚信承诺签署日期(年月日)} 195 | \newcommand{\HDU@year}{\the\year{}} 196 | \newcommand{\HDU@school}{} 197 | \newcommand{\HDU@major}{} 198 | \newcommand{\HDU@classid}{} 199 | \newcommand{\HDU@studentid}{} 200 | \newcommand{\HDU@adviser}{} 201 | \newcommand{\HDU@finishdate}{\the\year{} 年 \the\month{} 月} 202 | \newcommand{\HDU@signdate}{\the\year{} 年 \the\month{} 月 \the\day{} 日} 203 | \newcommand{\HDUyear}[1]{\renewcommand{\HDU@year}{#1}} 204 | \newcommand{\HDUschool}[1]{\renewcommand{\HDU@school}{#1}} 205 | \newcommand{\HDUmajor}[1]{\renewcommand{\HDU@major}{#1}} 206 | \newcommand{\HDUclassid}[1]{\renewcommand{\HDU@classid}{#1}} 207 | \newcommand{\HDUstudentid}[1]{\renewcommand{\HDU@studentid}{#1}} 208 | \newcommand{\HDUadviser}[1]{\renewcommand{\HDU@adviser}{#1}} 209 | \newcommand{\HDUfinishdate}[1]{\renewcommand{\HDU@finishdate}{#1}} 210 | \newcommand{\HDUsigndate}[1]{\renewcommand{\HDU@signdate}{#1}} 211 | \renewcommand{\maketitle}{% 212 | \clearpage\thispagestyle{empty}% 213 | \par\noindent\parbox[t]{15cm}{% 214 | \vspace{\topskip}\vspace*{-\topskip}% 215 | \HDU@SimSun\CJKfamily{zhsong}\fontsize{12bp}{0bp}\selectfont% 216 | 217 | \vspace*{23.5bp}\parbox[t][39.75bp][t]{13cm}{\centering\includegraphics[width=278.25bp,height=39.75bp]{HDU-Logo/transparent.png}}% 218 | 219 | \vspace{27.875bp}\hspace*{1.75bp}\parbox[t][40bp][t]{360.5bp}{\fontsize{40bp}{51.25bp}\selectfont\bfseries 本\hspace{\fill}科\hspace{\fill}毕\hspace{\fill}业\hspace{\fill}设\hspace{\fill}计}% 220 | 221 | \vspace{25.25bp}\parbox[t][22bp][t]{13cm}{\centering\fontsize{22bp}{28.1875bp}\bfseries ({\HDU@year}\hspace{0.25em}届)}% 222 | 223 | \vspace{60.625bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 题\hspace{\fill}目}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\@title}}% 224 | 225 | \vspace{5.25bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 226 | 227 | \vspace{25.75bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 学\hspace{\fill}院}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\HDU@school}}% 228 | 229 | \vspace{5.5bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 230 | 231 | \vspace{25.75bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 专\hspace{\fill}业}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\HDU@major}}% 232 | 233 | \vspace{5.625bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 234 | 235 | \vspace{25.75bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 班\hspace{\fill}级}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\HDU@classid}}% 236 | 237 | \vspace{5.5bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 238 | 239 | \vspace{25.625bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 学\hspace{\fill}号}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\HDU@studentid}}% 240 | 241 | \vspace{5.5bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 242 | 243 | \vspace{25.75bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 学\hspace{\fill}生\hspace{\fill}姓\hspace{\fill}名}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\@author}}% 244 | 245 | \vspace{5.75bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 246 | 247 | \vspace{25.75bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 指\hspace{\fill}导\hspace{\fill}教\hspace{\fill}师}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\HDU@adviser}}% 248 | 249 | \vspace{5.5bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 250 | 251 | \vspace{25.75bp}\hspace*{23bp}\parbox[t][15bp][t]{60bp}{\fontsize{15bp}{19.21875bp}\selectfont\bfseries 完\hspace{\fill}成\hspace{\fill}日\hspace{\fill}期}\hspace{12bp}\parbox[b][15bp][b]{262.5bp}{\centering\sffamily\CJKfamily{zhkai}\fontsize{15bp}{19.21875bp}\selectfont{\HDU@finishdate}}% 252 | 253 | \vspace{5.5bp}\hspace*{95bp}\rule[0pt]{262.5bp}{0.5bp}% 254 | 255 | \vspace{\fill}% 256 | }% 257 | \clearpage\thispagestyle{empty}% 258 | \par\noindent\parbox[t]{15cm}{ 259 | \vspace{\topskip}\vspace*{-\topskip}% 260 | \HDU@SimSun\CJKfamily{zhsong}\fontsize{12bp}{0bp}\selectfont% 261 | 262 | \vspace*{85.25bp}\parbox[t][18bp][t]{13cm}{\centering\sffamily\CJKfamily{zhhei}\fontsize{18bp}{23.0625bp}\selectfont\bfseries 诚\hspace{0.5em}信\hspace{0.5em}承\hspace{0.5em}诺}% 263 | 264 | \vspace{40.625bp}\hspace{-1cm}\parbox[t]{15cm}{\rmfamily\fontsize{14bp}{35bp}\selectfont\leavevmode{\parindent=2em\indent}我谨在此承诺:本人所写的毕业论文《{\@title}》均系本人独立完成,没有抄袭行为,凡涉及其他作者的观点和材料,均作了注释,若有不实,后果由本人承担。}% 265 | 266 | \vspace{55.375bp} 267 | \parbox[t][15bp][t]{\textwidth}{\sffamily\CJKfamily{zhhei}\fontsize{15bp}{35bp}\selectfont\hspace*{182.5bp}\bfseries 承诺人(签名):}% 268 | 269 | \vspace{18.875bp} 270 | \parbox[t][15bp][t]{\textwidth}{\HDU@SimHei\CJKfamily{zhhei}\fontsize{15bp}{35bp}\selectfont\hspace*{194.75bp}\bfseries{\HDU@signdate}}% 271 | 272 | \vspace{\fill}% 273 | }% 274 | \clearpage% 275 | } 276 | 277 | % 启用页眉页脚 278 | \AtBeginDocument{\pagestyle{HDU-bachelor}} 279 | --------------------------------------------------------------------------------