Debian Codegraph @

texmf-dist/doc/latex/uestcthesis/source/uestcthesis.dtx

raw
1 % ^^A !Mode:: "TeX:UTF-8:DTX"
2
3 % \iffalse meta-comment
4 %
5 % Copyright 2012-2015 Shi Fujun <[email protected]>
6 %
7 % This work may be distributed and/or modified under the
8 % conditions of the LaTeX Project Public License, either version 1.3
9 % of this license or (at your option) any later version.
10 % The latest version of this license is in
11 % http://www.latex-project.org/lppl.txt
12 % and version 1.3 or later is part of all distributions of LaTeX
13 % version 2005/12/01 or later.
14 %
15 % This work has the LPPL maintenance status `maintained'.
16 %
17 % The Current Maintainer of this work is Shi Fujun <[email protected]>.
18 %
19 % This work consists of the files uestcthesis.dtx, uestcthesis.ins and
20 % uestcthesis.bst.
21 % and the derived file uestcthesis.cls.
22 % Other files in this work's package are belongs to the respective owners.
23 %
24 % \fi
25 %
26 % \iffalse
27 %<*driver>
28 \ProvidesFile{uestcthesis.dtx}
29 %</driver>
30 %<class>\NeedsTeXFormat{LaTeX2e}[2011/06/27]
31 %<class>\ProvidesClass{uestcthesis}
32 %<*class>
33 [2015/02/13 v1.1.0 UESTC thesis class]
34 %</class>
35 %<*driver>
36 \documentclass{ltxdoc}
37 \usepackage[hyperref,UTF8]{ctex}
38 \usepackage{cmap}
39 \EnableCrossrefs
40 \CodelineIndex
41 \RecordChanges
42 \usepackage{rvdtx}
43 \begin{document}
44 \DocInput{uestcthesis.dtx}
45 \end{document}
46 %</driver>
47 % \fi
48 %
49 % \CheckSum{0}
50 %
51 % \CharacterTable
52 % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
53 % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
54 % Digits \0\1\2\3\4\5\6\7\8\9
55 % Exclamation \! Double quote \" Hash (number) \#
56 % Dollar \$ Percent \% Ampersand \&
57 % Acute accent \' Left paren \( Right paren \)
58 % Asterisk \* Plus \+ Comma \,
59 % Minus \- Point \. Solidus \/
60 % Colon \: Semicolon \; Less than \<
61 % Equals \= Greater than \> Question mark \?
62 % Commercial at \@ Left bracket \[ Backslash \\
63 % Right bracket \] Circumflex \^ Underscore \_
64 % Grave accent \` Left brace \{ Vertical bar \|
65 % Right brace \} Tilde \~}
66 %
67 %
68 % \GetFileInfo{uestcthesis.dtx}
69 %
70 % \DoNotIndex{\newcommand,\newenvironment}
71 %
72 %
73 % \title{The \textsf{uestcthesis} class\thanks{This document
74 % corresponds to \textsf{uestcthesis}~\fileversion, dated \filedate.}}
75 % \author{时富军 \\ \texttt{[email protected]}}
76 %
77 % \maketitle
78 % \iffalse
79 %<*class>
80 % \fi
81 % \section{文类版本号说明}
82 % \changes{v1.0.0}{2014/03/12}{因学校正式推荐使用本模板,版本号改为1.0.0。}
83 % 本模板的版本号由3段组成。在v1.0.0之前,第一段是0,表示模板处于测试期。从2014年3月12日起,
84 % 学校正式推荐使用本模板,故将版本号第一段改为1,表示转为正式版。第二段每次增加1点,表示模板功能上有所增加。
85 % 第三段每次增加1点,表示功能没有增加,只修复了Bug。
86 % \section{文类源代码}
87 % \changes{v0.21}{2013/01/22}{将模板重构为DocStrip格式}
88 % \subsection{中文支持}
89 %继承ctexbook文类,并调用了如下功能的选项:\par
90 %cs4size:使用小四字号为缺省字体大小。\par
91 %UTF8:使用UTF-8 编码。\par
92 %fancyhdr:保持和fancyhdr 宏包的兼容性。该选项将使得fancyhdr 宏包被自动调用。
93 %fancyhdr是版式设置宏包,即页眉页脚设置。\par
94 %hyperref:自动判断hyperref 宏包的正确参数以避免产生乱码。
95 %如果在导言区用户没有自己调用hyperref,则该选项将使得hyperref 宏包在导言区末尾被
96 %自动调用;如果需要对hyperref 宏包做进一步的设置,则用户可以自己在ctex 宏包后调用
97 %hyperref,并使用适当的选项或设置。hyperref是超链接宏包,为pdf文件中的交叉引用提供超链接。\par
98 %fntef:为CJKfntef 宏包和CCTfntef 宏包提供统一接口。
99 %该选项将使得CJKfntef 宏包或者CCTfntef 宏包被自动调用。这两个宏包是下划线宏包。
100 % \begin{macrocode}
101 \LoadClass[cs4size,UTF8,fancyhdr,hyperref,fntef,openany]{ctexbook}[2011/03/11]
102 % \end{macrocode}
103 %\changes{v0.6.1}{2014/01/20}{修正所有正文的英文为Times字体。抄录环境中的英文使用打印机字体,并不能用Times字体。}
104 % \begin{macrocode}
105 \RequirePackage{mathptmx}
106 % \end{macrocode}
107 %\changes{v0.6.8}{2014/03/06}{将公式中的字体改回v0.6.1之前的CM字体。}
108 %\changes{v1.0.1}{2014/03/13}{再次修正公式中的所有符号回到CM字体,在v0.6.8中的修正不完整。}
109 % mathptmx宏包同时将公式中的字体也改为了Times字体。因为公式中还是用默认CM字体较多,所以这里还需要修改回来。
110 % 参照source2e中42.1.1 Symbolfont and Alphabet declarations的内容修正。
111 % \begin{macrocode}
112 \DeclareSymbolFont{symbols} {OMS}{cmsy}{m}{n}
113 \DeclareSymbolFont{largesymbols}{OMX}{cmex}{m}{n}
114 \DeclareSymbolFont{operators} {OT1}{cmr} {m}{n}
115 \DeclareSymbolFont{letters} {OML}{cmm} {m}{it}
116 \SetSymbolFont{operators}{bold}{OT1}{cmr} {bx}{n}
117 \SetSymbolFont{letters} {bold}{OML}{cmm} {b}{it}
118 \SetSymbolFont{symbols} {bold}{OMS}{cmsy}{b}{n}
119 % \end{macrocode}
120 %\changes{v0.6}{2014/01/16}{修正ttfamily为宋体,而不是默认的仿宋。}
121 %修正ttfamily为宋体,而不是默认的仿宋。
122 % \begin{macrocode}
123 \renewcommand{\ttfamily}{\CTEX@save@ttfamily \CJKfamily {\CTEX@rm@family }}
124 % \end{macrocode}
125 %调用etoolbox宏包,为了使用其提供的|\ifblank|命令。
126 % \begin{macrocode}
127 \RequirePackage{etoolbox}[2011/01/03]
128 % \end{macrocode}
129 %
130 %调用ifthen宏包,为了使用其提供的|\ifthenelse|命令。
131 % \begin{macrocode}
132 \RequirePackage{ifthen}
133 % \end{macrocode}
134 % \subsection{学位选项}
135 %设置有关学士学位论文的选项值。变量的命名方式采用:|%\<name>@degree|,其中|<name>|
136 %是可变的变量名。此形式用于在其他排版设置中取代原有的常量值。
137 % \begin{macro}{\bachelor@uestcthesis}
138 %本科学位论文相关设置:
139 % \begin{macrocode}
140 \newcommand{\bachelor@uestcthesis}{
141 \newcommand{\degree@uestcthesis}{bachelor}
142 \newcommand{\multibibflag@uestcthesis}{}
143 %设置不使用multibib宏包
144
145 \newcommand{\thesisname@degree}{电子科技大学学士学位论文}
146 %论文全名
147
148 \newcommand{\chapternumberformat@uestcthesis}{\arabic{chapter}}
149 %为了根据学位不同而设置不同的章标题序号方式而定义的命令。此处设置为本科论文章标题用阿拉伯数字序号。
150 }
151 % \end{macrocode}
152 % \end{macro}
153 % \begin{macro}{\master@uestcthesis}
154 %硕士学位论文相关设置:
155 % \begin{macrocode}
156 \newcommand{\master@uestcthesis}{
157 \newcommand{\degree@uestcthesis}{master}
158
159 \newcommand{\multibibflag@uestcthesis}{TRUE}
160 %设置使用multibib宏包
161
162 \newcommand{\thesisname@degree}{电子科技大学硕士学位论文}
163 %论文全名
164
165 \newcommand{\publicationsname@degree}{攻硕期间取得的研究成果}
166
167 \newcommand{\@degree}{硕士}
168 %定义申请学位级别
169
170 \newcommand{\publicationsname@english}{Research Results Obtained During the Study for Master Degree}
171 \newcommand{\thesisname@english}{Master Thesis of University of Electronic Science and Technology of China}
172
173 \newcommand{\chapternumberformat@uestcthesis}{\chinese{chapter}}
174 %为了根据学位不同而设置不同的章标题序号方式而定义的命令。此处设置为本科论文章标题用汉字数字序号。
175 }
176 % \end{macrocode}
177 % \end{macro}
178 % \begin{macro}{\doctor@uestcthesis}
179 %博士学位论文相关设置:
180 % \begin{macrocode}
181 \newcommand{\doctor@uestcthesis}{
182 \newcommand{\degree@uestcthesis}{doctor}
183 \newcommand{\doctortitlepage@uestcthesis}{}%先声明宏,稍后定义。
184 \newcommand{\titlepage@degree}{\doctortitlepage@uestcthesis}
185 %定义封面的排版设置
186
187 \newcommand{\multibibflag@uestcthesis}{TRUE}
188 %设置使用multibib宏包
189
190 \newcommand{\thesisname@degree}{电子科技大学博士学位论文}
191 %论文全名
192
193 \newcommand{\publicationsname@degree}{攻博期间取得的研究成果}
194
195 \newcommand{\@degree}{博士}
196 %定义申请学位级别
197
198 \newcommand{\publicationsname@english}{Research Results Obtained During the Study for Doctor Degree}
199 \newcommand{\thesisname@english}{Doctor Thesis of University of Electronic Science and Technology of China}
200
201 \newcommand{\chapternumberformat@uestcthesis}{\chinese{chapter}}
202 %为了根据学位不同而设置不同的章标题序号方式而定义的命令。此处设置为本科论文章标题用汉字数字序号。
203 }
204 % \end{macrocode}
205 % \end{macro}
206 %\changes{v0.4}{2013/04/04}{添加english选项以便将预定名修改为英文}
207 %\changes{v0.4.4}{2013/05/25}{由于2013年本科管理规范中未将章标题改为和硕博一致的汉字序号,所以在此将本科论文中的章标题单独改为阿拉伯数字序号。}
208 %一些名称的定义统一在这里,以便在英文选项中替换成英文。同时还有设置章标题序号的显示方式。
209 % \begin{macrocode}
210 \newcommand{\tocname@uestcthesis}{目录}
211 \newcommand{\contentsname@uestcthesis}{目\enspace 录}
212 \newcommand{\chaptername@uestcthesis}{
213 \CTEXsetup[ name={第,章},
214 number={\chapternumberformat@uestcthesis}
215 ]{chapter}
216 }
217 \newcommand{\chaptermarkfix@uestcthesis}{
218 \renewcommand{\chaptermark}[1]{\markboth{第\chapternumberformat@uestcthesis章~##1 }{}}
219 }
220 \newcommand{\acknowledgementsname@uestcthesis}{致\enspace 谢}
221 \newcommand{\glossaryname@uestcthesis}{主要符号表}
222 \newcommand{\acronymname@uestcthesis}{缩略词表}
223 \newcommand{\entryname@uestcthesis}{符号}
224 \newcommand{\descriptionname@uestcthesis}{说明}
225 \newcommand{\pagelistname@uestcthesis}{页码}
226 \newcommand{\acronymheader@uestcthesis}{缩略词}
227 \newcommand{\acronymfull@uestcthesis}{英文全称}
228 \newcommand{\acronymtranslation@uestcthesis}{中文全称}
229 \renewcommand{\listfigurename}{图目录}
230 \renewcommand{\listtablename}{表目录}
231 % \end{macrocode}
232 % \begin{macro}{\english@uestcthesis}
233 %英文选项相关设置:
234 % \begin{macrocode}
235 \newcommand{\english@uestcthesis}{
236 \renewcommand{\tocname@uestcthesis}{Contents}
237 \renewcommand{\contentsname@uestcthesis}{{\bf Contents}}
238 \renewcommand{\chaptername@uestcthesis}{
239 \CTEXsetup[ name={Chapter\space,},
240 number={\arabic{chapter}}
241 ]{chapter}
242 }
243 \renewcommand{\chaptermarkfix@uestcthesis}{}
244 \renewcommand{\chaptermark}[1]{\markboth{Chapter\space\arabic{chapter}~##1 }{}}
245
246 \renewcommand{\acknowledgementsname@uestcthesis}{Acknowledgements}
247 \renewcommand{\CTEX@bibname}{References}
248 \renewcommand{\publicationsname@degree}{\publicationsname@english}
249 \renewcommand{\thesisname@degree}{\thesisname@english}
250 \renewcommand{\CTEX@figurename}{Figure}
251 \renewcommand{\CTEX@tablename}{Table}
252 \renewcommand{\glossaryname@uestcthesis}{Glossary}
253 \renewcommand{\acronymname@uestcthesis}{Acronyms}
254 \renewcommand{\entryname@uestcthesis}{Notation}
255 \renewcommand{\descriptionname@uestcthesis}{Description}
256 \renewcommand{\pagelistname@uestcthesis}{Page List}
257 \renewcommand{\acronymheader@uestcthesis}{Acronym}
258 \renewcommand{\acronymfull@uestcthesis}{Full Name}
259 \renewcommand{\acronymtranslation@uestcthesis}{Chinese}
260 \renewcommand{\CTEX@appendixname}{Appendix~}
261 \renewcommand{\listfigurename}{List of Figures}
262 \renewcommand{\listtablename}{List of Tables}
263 \renewcommand{\CTEX@contentsname}{\zihao{-3}Contents}
264 }
265 % \end{macrocode}
266 % \end{macro}
267 % 声明7个选项分别代表7种论文类型,会有不同的封面或扉页。由于其中的定义包含中文,所以声明必须放在ctexbook文类后面。
268 % \changes{v0.6.4}{2014/02/25}{新增3个选项。用以支持新增的3种中文扉页。}
269 % \changes{v1.0.2}{2015/02/01}{删除封面,因而删去决定中文扉页的各种学位选项。}
270 % bachelor代表学士学位;master代表硕士学位;doctor代表博士学位;
271 % english选项表示替换所有预定名为英文。
272 % \begin{macrocode}
273 \DeclareOption{bachelor}{\bachelor@uestcthesis}
274 \DeclareOption{master}{\master@uestcthesis}
275 \DeclareOption{doctor}{\doctor@uestcthesis}
276 \DeclareOption{english}{\english@uestcthesis}
277 % \end{macrocode}
278 % \changes{v0.6.4}{2014/02/25}{新增2个选项withoutforepages和onlychapters。}
279 % \changes{v1.0.2}{2015/02/01}{删除withoutforepages选项。在onlychapters选项中去除学校信息}
280 % 设置一个选项。启用后只编译正文部分。
281 % \begin{macrocode}
282 \DeclareOption{onlychapters}{
283 \newcommand{\onlychapters@uestcthesis}{}
284 }
285 % \end{macrocode}
286 % \changes{v0.6}{2014/01/11}{添加个人简历的选项:cv}
287 % 添加一个cv选项。启用后用contents目录中的cv.tex(人简历及攻读硕士学位期间取得的研究成果)
288 % 代替publications.bib(攻博/硕期间发表的论文)显示在论文的最后。
289 % \begin{macrocode}
290 \DeclareOption{cv}{
291 \newcommand{\usecv@uestcthesis}{\input{contents/cv.tex}}
292 }
293 % \end{macrocode}
294 % 声明选项用以决定是否添加图表目录。
295 % \changes{v0.6}{2014/01/11}{添加图表目录的选项:listoffigures和listoftables}
296 % 在Document环境开始处重新定义|\Hy@org@chapter|命令。这个命令中包含控制图表目录中按章插入空白的命令。
297 % 此处将原有的空白注释掉,按需要可取消注释。
298 % \begin{macrocode}
299 \AtBeginDocument{\def\Hy@org@chapter [#1]#2{\ifnum \c@secnumdepth >\m@ne \if@mainmatter \refstepcounter {chapter}\typeout {\CTEXthechapter }\addcontentsline {toc}{chapter} {\protect \numberline {\CTEXthechapter \hspace {0.3em}}#1}\else \addcontentsline {toc}{chapter}{#1}\fi \else \addcontentsline {toc}{chapter}{#1}\fi \chaptermark {#1}%
300 %\addtocontents {lof}{\protect \addvspace {10\p@ }}\addtocontents {lot}{\protect \addvspace {10\p@ }}%
301 \if@twocolumn \@topnewpage [\@makechapterhead {#2}]\else \@makechapterhead {#2}\@afterheading \fi }}
302 % \end{macrocode}
303 % 定义插入图表目录的命令,用于在自动插入必选结构处调用。
304 % \begin{macrocode}
305 \newcommand{\insertlof}{}
306 \newcommand{\insertlot}{}
307 \DeclareOption{listoffigures}{\renewcommand{\insertlof}{%
308 \clearpage{\pagestyle{empty}\cleardoublepage}
309 \figureslistmatter
310 %默认的图表目录中不显示“图”或“表”字,只有1-1等标号,故重定义以下命令。下方表目录同此。
311 \def\l@figure##1##2{\ifnum 0>\c@tocdepth \else \vskip \z@ \@plus .2\p@ {\leftskip
312 0em\relax \rightskip \@tocrmarg \parfillskip -\rightskip \parindent 0em\relax
313 \@afterindenttrue \interlinepenalty \@M \leavevmode \@tempdima 1em\relax \advance
314 \leftskip \@tempdima \null \nobreak \hskip -\leftskip {\CTEX@figurename~##1}\nobreak \leaders
315 \hbox {$\m@th \mkern \@dotsep mu\hbox {.}\mkern \@dotsep mu$}\hfill \nobreak
316 \hb@xt@ \@pnumwidth {\hfil \normalfont \normalcolor ##2}\par }\fi}
317 \listoffigures
318 }}
319
320 \DeclareOption{listoftables}{\renewcommand{\insertlot}{%
321 \clearpage{\pagestyle{empty}\cleardoublepage}
322 \tableslistmatter
323 \def\l@table##1##2{\ifnum 0>\c@tocdepth \else \vskip \z@ \@plus .2\p@ {\leftskip
324 0em\relax \rightskip \@tocrmarg \parfillskip -\rightskip \parindent 0em\relax
325 \@afterindenttrue \interlinepenalty \@M \leavevmode \@tempdima 1em\relax \advance
326 \leftskip \@tempdima \null \nobreak \hskip -\leftskip {\CTEX@tablename~##1}\nobreak \leaders
327 \hbox {$\m@th \mkern \@dotsep mu\hbox {.}\mkern \@dotsep mu$}\hfill \nobreak
328 \hb@xt@ \@pnumwidth {\hfil \normalfont \normalcolor ##2}\par }\fi}
329 \listoftables
330 }}
331 \ProcessOptions\relax
332 % \end{macrocode}
333 % \subsection{版面设置}
334 %调用版面设置宏包geometry。这些选项的值是参照MS WORD打印出来的PDF文件对比得到的。
335 %选项说明:\\
336 %a4paper:设置版面纸张为A4纸。\\
337 %headheight:设置页眉高度。\\
338 %headsep:页眉与版心的距离。\\
339 %includeheadfoot:将页眉页脚高度算进版心中。\\
340 %centering:设置版心居中。\\
341 %top:页面顶边与版心之间的距离。\\
342 %left:双页排版的内侧边距。
343 %
344 % \changes{v0.5.2}{2013/08/07}{针对本科规范还没有修订,单独设置硕博的新规范要求的版面设置}
345 % \begin{macrocode}
346 \ifdefstring{\degree@uestcthesis}{bachelor}{
347 \RequirePackage[a4paper,headheight=12.65pt,headsep=4mm,includeheadfoot,centering,
348 top=2.75cm,left=3cm]{geometry}
349 }{
350 \RequirePackage[a4paper,headheight=12.65pt,headsep=4mm,includeheadfoot,centering,
351 top=2.08cm,left=3cm]{geometry}
352 }
353 % \end{macrocode}
354 %
355 %按照学校要求需要设置默认行距为20磅。参数是倍数值,没有单位。这个值是通过
356 %|\showthe\baselineskip|命令查看当前的行距,然后计算得到的。
357 %\changes{v0.4.4}{2013/05/25}{修正可能会出现的超大段距问题,这是由于默认设置要求每页底部文字对齐,所以拉抻所有弹性间距。现取消这个设置,并加大一个不太明显的弹性段距。}
358 % \begin{macrocode}
359 \linespread{1.391}
360 % \end{macrocode}
361 %设置不要求每页底部文字对齐,并设置一个管理规范中没有的弹性额外段距。这使得换页位置会更美观,而段距不明显。段距为最大10磅,仅为行距一半,最小可以压缩1磅。
362 % \begin{macrocode}
363 \parskip=0bp plus 10bp minus 1bp
364 \raggedbottom
365 % \end{macrocode}
366 % \subsection{图表设置}
367 %\changes{v1.1.0}{2015/02/13}{为所有图表命令新增一个带B的版本,都在标题参数前加一个参数:图表目录标题。}
368 %调用宏包:
369 %graphicx插图宏包\\
370 %calc计算宏包,用于在插图等尺寸指定时可以指定用四则运算表示尺寸。
371 %例如|0.6\textwidth|表示0.6倍的行宽。\\
372 %float宏包,为浮动环境增加一个H选项,命令系统就地放置浮动体。但这个选项必须单独
373 %使用,例如|\begin{figure}[H]|。 如果中括号内有其他选项,则H会失去强制作用。\\
374 %texnames宏包提供了|\LaTeX|等\TeX 专有Logo打印命令。这个宏包可能只在编写说明文档
375 %时有用,在编写毕业设计论文时应该不会用到。
376 %
377 % \begin{macrocode}
378 \RequirePackage{graphicx,calc,float,texnames}
379 % \end{macrocode}
380 %
381 %调用图表标题宏包caption。选项说明:\\
382 %format=hang:将标题从第二行起悬挂缩进排版,缩进宽度等于标题标志加分隔符的宽度。\\
383 %labelsep=space:分隔符样式为一个空格。
384 %
385 % \begin{macrocode}
386 \RequirePackage[format=hang,labelsep=space]{caption}
387 % \end{macrocode}
388 %
389 %设置浮动体在文本中间的前后间距为6磅,按照硕博标准标题前后其余的6磅另行设置。
390 %
391 % \begin{macrocode}
392 \intextsep=6bp
393 % \end{macrocode}
394 %
395 %设置浮动体在页面顶端或底端时与文本之间的距离。
396 % \begin{macrocode}
397 \textfloatsep=6bp
398 % \end{macrocode}
399 %设置浮动体在页面顶端或底端时多个之间的距离。
400 % \begin{macrocode}
401 \floatsep=6bp
402 % \end{macrocode}
403 %
404 %分别设置表和图的标题与正文的距离。\\
405 %aboveskip:标题与图表之间的距离。\\
406 %belowskip:标题与下文之间的距离。\\
407 %图的前后距离都设置为0是因为有子图标题可能在图题之后,故而不在此设置。
408 % \changes{v0.5.2}{2013/08/07}{根据新的硕博规范单独设置硕博论文的图表标题前后段距}
409 % \begin{macrocode}
410 \captionsetup[figure]{aboveskip=0bp,belowskip=0bp}
411 \captionsetup[table]{aboveskip=0bp,belowskip=6bp}
412 % \end{macrocode}
413 %
414 %调用宏包:\\
415 %booktabs表格线宏包。用于绘制三线表。\\
416 %tabularx可调列宽表格宏包。可自动换行。\\
417 %threeparttable可加脚注的表格宏包。\\
418 %longtable跨页表格宏包。
419 % \begin{macrocode}
420 \RequirePackage{booktabs,tabularx,threeparttable,longtable}
421 % \end{macrocode}
422 %
423 %先声明一个图表标题字体。
424 % \begin{macrocode}
425 \DeclareCaptionFont{capfont}{\zihao{5}}
426 % \end{macrocode}
427 %
428 %再设置图表标题字体为上一行声明的。
429 % \begin{macrocode}
430 \captionsetup{font=capfont}
431 % \end{macrocode}
432 %
433 %使图编号数字间加一个短横线。即设置成图1-1的样式。
434 % \begin{macrocode}
435 \renewcommand{\thefigure}{\arabic{chapter}\textendash\arabic{figure}}
436 % \end{macrocode}
437 %
438 %使表编号数字间加一个短横线。即设置成表1-1的样式。
439 % \begin{macrocode}
440 \renewcommand{\thetable}{\arabic{chapter}\textendash\arabic{table}}
441 % \end{macrocode}
442 %
443 %设置图片的根目录。
444 % \begin{macrocode}
445 \graphicspath{{pics/}}
446 % \end{macrocode}
447 %
448 %调用宏包placeins。允许上一个section的浮动图形出现在下一个section的开始部分,还提供|\FloatBarrier|命令,使所有未处理的浮动图形立即被处理。
449 % \begin{macrocode}
450 \RequirePackage[below]{placeins}
451 % \end{macrocode}
452 %
453 %调用宏包flafter。使得所有浮动体不能被放置在其浮动环境之前,以免浮动体在引述它的文本之前出现.
454 % \begin{macrocode}
455 \RequirePackage{flafter}
456 % \end{macrocode}
457 % \begin{macro}{\newcmds@uestcthesis}
458 %定义一些插入图表的包装命令
459 % \begin{macrocode}
460 \newcommand{\newcmds@uestcthesis}{
461 % \end{macrocode}
462 % \begin{macro}{\pic}
463 %|\pic|命令生成一个独占一行、居中的图片。标题前后间距符合科大毕设标准
464 % \begin{macrocode}
465 \newcommand{\pic}[4][htbp]{
466 \begin{figure}[##1]%
467 \centering%
468 \includegraphics[##3]{##4}%
469 \caption{##2}%
470 \label{##4}%
471 \vspace{6bp}%
472 \end{figure}%
473 }
474 % \end{macrocode}
475 %|\picB|命令同|\pic|命令功能,但多一个图目录标题参数。
476 % \begin{macrocode}
477 \newcommand{\picB}[5][htbp]{
478 \begin{figure}[##1]%
479 \centering%
480 \includegraphics[##4]{##5}%
481 \caption[##2]{##3}%
482 \label{##5}%
483 \vspace{6bp}%
484 \end{figure}%
485 }
486 % \end{macrocode}
487 % \end{macro}
488 % \subsubsection{子图环境设置}
489 %\changes{v0.5.0}{2013/08/01}{改变子图的标题位置,使之符合学校标准}
490 %由于子图中包含了中文,所以使用|\edef|等嵌套定义方式不能使用。故而定义了20个子图
491 %名宏。
492 % \begin{macro}{\clearallsubfigcaptions}
493 % 既做初始化又做清空使用。
494 % \begin{macrocode}
495 \newcommand{\clearallsubfigcaptions}{
496 \gdef\subfigcaptionA{}\gdef\subfigcaptionB{}\gdef\subfigcaptionC{}%
497 \gdef\subfigcaptionD{}\gdef\subfigcaptionE{}\gdef\subfigcaptionF{}%
498 \gdef\subfigcaptionG{}\gdef\subfigcaptionH{}\gdef\subfigcaptionI{}%
499 \gdef\subfigcaptionJ{}\gdef\subfigcaptionK{}\gdef\subfigcaptionL{}%
500 \gdef\subfigcaptionM{}\gdef\subfigcaptionN{}\gdef\subfigcaptionO{}%
501 \gdef\subfigcaptionP{}\gdef\subfigcaptionQ{}\gdef\subfigcaptionR{}%
502 \gdef\subfigcaptionS{}\gdef\subfigcaptionT{}%
503 }
504 \clearallsubfigcaptions
505 % \end{macrocode}
506 % \end{macro}
507 %重定义|\@makesubfigurecaption|命令,将传入|\@makesubfigurecaption|命令中的子图
508 %标题存入前面自定义的20个子图标题宏中,而不直接打印在原来的位置。
509 %\changes{v0.6.5}{2014/03/01}{修复BUG:子图有不居中的情况。}
510 % \begin{macrocode}
511 \def\@makesubfigurecaption ##1##2{\setbox \@tempboxa \hbox {\subcapsize {
512 \subcaplabelfont ##1}{\subcapfont \ignorespaces }}\@tempdimb =-\subfigcapmargin
513 \multiply \@tempdimb \tw@ \advance \@tempdimb \@tempdima \hbox to\@tempdima
514 {\hss \ifdim \wd \@tempboxa >\@tempdimb \subfig@caption {##1}{}\else
515 \ifsubcapnooneline \subfig@caption {##1}{}\else \box \@tempboxa \fi \fi \hss }
516 \ifthenelse{\equal{\subfigcaptionA}{}}{\gdef\subfigcaptionA{{(a)}{\ignorespaces ##2}}}
517 {\ifthenelse{\equal{\subfigcaptionB}{}}{\gdef\subfigcaptionB{;{(b)}{\ignorespaces ##2}}}
518 {\ifthenelse{\equal{\subfigcaptionC}{}}{\gdef\subfigcaptionC{;{(c)}{\ignorespaces ##2}}}
519 {\ifthenelse{\equal{\subfigcaptionD}{}}{\gdef\subfigcaptionD{;{(d)}{\ignorespaces ##2}}}
520 {\ifthenelse{\equal{\subfigcaptionE}{}}{\gdef\subfigcaptionE{;{(e)}{\ignorespaces ##2}}}
521 {\ifthenelse{\equal{\subfigcaptionF}{}}{\gdef\subfigcaptionF{;{(f)}{\ignorespaces ##2}}}
522 {\ifthenelse{\equal{\subfigcaptionG}{}}{\gdef\subfigcaptionG{;{(g)}{\ignorespaces ##2}}}
523 {\ifthenelse{\equal{\subfigcaptionH}{}}{\gdef\subfigcaptionH{;{(h)}{\ignorespaces ##2}}}
524 {\ifthenelse{\equal{\subfigcaptionI}{}}{\gdef\subfigcaptionI{;{(i)}{\ignorespaces ##2}}}
525 {\ifthenelse{\equal{\subfigcaptionJ}{}}{\gdef\subfigcaptionJ{;{(j)}{\ignorespaces ##2}}}
526 {\ifthenelse{\equal{\subfigcaptionK}{}}{\gdef\subfigcaptionK{;{(k)}{\ignorespaces ##2}}}
527 {\ifthenelse{\equal{\subfigcaptionL}{}}{\gdef\subfigcaptionL{;{(l)}{\ignorespaces ##2}}}
528 {\ifthenelse{\equal{\subfigcaptionM}{}}{\gdef\subfigcaptionM{;{(m)}{\ignorespaces ##2}}}
529 {\ifthenelse{\equal{\subfigcaptionN}{}}{\gdef\subfigcaptionN{;{(n)}{\ignorespaces ##2}}}
530 {\ifthenelse{\equal{\subfigcaptionO}{}}{\gdef\subfigcaptionO{;{(o)}{\ignorespaces ##2}}}
531 {\ifthenelse{\equal{\subfigcaptionP}{}}{\gdef\subfigcaptionP{;{(p)}{\ignorespaces ##2}}}
532 {\ifthenelse{\equal{\subfigcaptionQ}{}}{\gdef\subfigcaptionQ{;{(q)}{\ignorespaces ##2}}}
533 {\ifthenelse{\equal{\subfigcaptionR}{}}{\gdef\subfigcaptionR{;{(r)}{\ignorespaces ##2}}}
534 {\ifthenelse{\equal{\subfigcaptionS}{}}{\gdef\subfigcaptionS{;{(s)}{\ignorespaces ##2}}}
535 {\ifthenelse{\equal{\subfigcaptionT}{}}{\gdef\subfigcaptionT{;{(t)}{\ignorespaces ##2}}}
536 {\gdef\subfigcaptionA{子图不能超过20个!!!}}}}}}}}}}}}}}}}}}}}}}
537 % \end{macrocode}
538 % \begin{macro}{\allsubpiccaptions}
539 % 该命令只是连续打印所有的子图名。
540 % \begin{macrocode}
541 \newcommand{\allsubpiccaptions}{%
542 \subfigcaptionA\subfigcaptionB\subfigcaptionC\subfigcaptionD\subfigcaptionE%
543 \subfigcaptionF\subfigcaptionG\subfigcaptionH\subfigcaptionI\subfigcaptionJ%
544 \subfigcaptionK\subfigcaptionL\subfigcaptionM\subfigcaptionN\subfigcaptionO%
545 \subfigcaptionP\subfigcaptionQ\subfigcaptionR\subfigcaptionS\subfigcaptionT}
546 % \end{macrocode}
547 % \end{macro}
548 % 定义6个变量,分别是:多图环境整体的标签变量、多图环境整体的标题变量、
549 % 临时存储子图标题的盒子(用于测量子图标题长度)、子图标题缩进量、子图标题序号
550 % 缩进量(就是序号的宽度)、子图标题宽度。
551 % \begin{macrocode}
552 \newcommand{\subpiclabel}{}
553 \newcommand{\subpiccaption}{}
554 \newsavebox{\tempsubpiccaptionbox}
555 \newlength{\tempsubpiccaptionindent}
556 \newlength{\tempsubpiccaptionheadindent}
557 \newlength{\tempsubpiccaptionwidth}
558 % \end{macrocode}
559 % \begin{environment}{pics}%
560 %定义子图环境和插入子图命令
561 % \begin{macrocode}
562 \newenvironment{pics}[3][htbp]{%定义多图环境
563 \renewcommand{\subpiclabel}{##3}%设置多图环境整体的标签
564 \renewcommand{\subpiccaption}{##2}%设置多图环境整体的标题。这里先定义两个空变量,又设置值,是因为在定义一个环境时,环境结尾中不能调用##2,##3等传入的值。所以要在环境结尾中插入标题和标签就只能这么做了。
565 \begin{figure}[##1]%
566 \begin{center}%
567 }%
568 {%
569 \end{center}%
570 \raggedright%
571 \sbox{\tempsubpiccaptionbox}{\parbox{\textwidth}%
572 {\zihao{5}图~\thefigure~\subpiccaption}}%
573 \settowidth{\tempsubpiccaptionheadindent}{\zihao{5}图~\thefigure~}%
574 % \end{macrocode}
575 %这里用一个判断语句来根据主图题是否超过一行而分别处理。按照规范,不超过一行才居中,
576 %超过一行则左对齐。
577 %\changes{v0.5.5}{2013/11/26}{修复BUG:无法引用子图的总标签问题。}
578 %\changes{v0.6.5}{2014/03/01}{修复BUG:当子图环境整体标题和子图标题都超过一行时,子图标题没有悬挂缩进的问题。}
579 %\changes{v0.6.9}{2014/03/08}{修复BUG:当子图环境整体标题中存在下标时错误判断为标题超出一行。}
580 % \begin{macrocode}
581 \ifthenelse{\lengthtest{\ht\tempsubpiccaptionbox > 16pt}}{%THEN
582 \noindent\caption{\subpiccaption}\label{\subpiclabel}\par%
583 \noindent\hspace*{\tempsubpiccaptionheadindent}%
584 \parbox{\textwidth-\tempsubpiccaptionheadindent}{\zihao{5}\allsubpiccaptions}%
585 }{%ELSE
586 {\centering\caption{\subpiccaption}\label{\subpiclabel}}\par
587 \sbox{\tempsubpiccaptionbox}{\zihao{5}\CTEX@figurename~\thefigure~\subpiccaption}%
588 \setlength{\tempsubpiccaptionindent}{\textwidth}%
589 \addtolength{\tempsubpiccaptionindent}{-\wd\tempsubpiccaptionbox}%
590 \setlength{\tempsubpiccaptionindent}{.5\tempsubpiccaptionindent}%
591 \setlength{\tempsubpiccaptionwidth}{\textwidth}%
592 \addtolength{\tempsubpiccaptionwidth}{-\tempsubpiccaptionindent}%
593 \addtolength{\tempsubpiccaptionwidth}{-\tempsubpiccaptionheadindent}%
594 \hspace*{\tempsubpiccaptionindent}\hspace*{\tempsubpiccaptionheadindent}%
595 \parbox{\tempsubpiccaptionwidth}{\zihao{5}\allsubpiccaptions}%
596 }%
597 \vspace{6bp}%
598 \end{figure}%
599 \clearallsubfigcaptions%
600 }
601 % \end{macrocode}
602 % \end{environment}
603 % \begin{environment}{picsB}%
604 %定义picsB环境,功能同pics环境。但主标题前多一个图目录标题参数。
605 % \begin{macrocode}
606 \newcommand{\subpiclofcaption}{}%定义图目录中的整体标题。
607 \newenvironment{picsB}[4][htbp]{%定义多图环境
608 \renewcommand{\subpiclabel}{##4}%设置多图环境整体的标签
609 \renewcommand{\subpiccaption}{##3}%设置多图环境整体的标题。这里先定义两个空变量,又设置值,是因为在定义一个环境时,环境结尾中不能调用##2,##3等传入的值。所以要在环境结尾中插入标题和标签就只能这么做了。
610 \renewcommand{\subpiclofcaption}{##2}%
611 \begin{figure}[##1]%
612 \begin{center}%
613 }%
614 {%
615 \end{center}%
616 \raggedright%
617 \sbox{\tempsubpiccaptionbox}{\parbox{\textwidth}%
618 {\zihao{5}图~\thefigure~\subpiccaption}}%
619 \settowidth{\tempsubpiccaptionheadindent}{\zihao{5}图~\thefigure~}%
620 % \end{macrocode}
621 %这里用一个判断语句来根据主图题是否超过一行而分别处理。按照规范,不超过一行才居中,
622 %超过一行则左对齐。
623 %\changes{v0.5.5}{2013/11/26}{修复BUG:无法引用子图的总标签问题。}
624 %\changes{v0.6.5}{2014/03/01}{修复BUG:当子图环境整体标题和子图标题都超过一行时,子图标题没有悬挂缩进的问题。}
625 %\changes{v0.6.9}{2014/03/08}{修复BUG:当子图环境整体标题中存在下标时错误判断为标题超出一行。}
626 % \begin{macrocode}
627 \ifthenelse{\lengthtest{\ht\tempsubpiccaptionbox > 16pt}}{%THEN
628 \noindent\caption[\subpiclofcaption]{\subpiccaption}\label{\subpiclabel}\par%
629 \noindent\hspace*{\tempsubpiccaptionheadindent}%
630 \parbox{\textwidth-\tempsubpiccaptionheadindent}{\zihao{5}\allsubpiccaptions}%
631 }{%ELSE
632 {\centering\caption[\subpiclofcaption]{\subpiccaption}\label{\subpiclabel}}\par
633 \sbox{\tempsubpiccaptionbox}{\zihao{5}\CTEX@figurename~\thefigure~\subpiccaption}%
634 \setlength{\tempsubpiccaptionindent}{\textwidth}%
635 \addtolength{\tempsubpiccaptionindent}{-\wd\tempsubpiccaptionbox}%
636 \setlength{\tempsubpiccaptionindent}{.5\tempsubpiccaptionindent}%
637 \setlength{\tempsubpiccaptionwidth}{\textwidth}%
638 \addtolength{\tempsubpiccaptionwidth}{-\tempsubpiccaptionindent}%
639 \addtolength{\tempsubpiccaptionwidth}{-\tempsubpiccaptionheadindent}%
640 \hspace*{\tempsubpiccaptionindent}\hspace*{\tempsubpiccaptionheadindent}%
641 \parbox{\tempsubpiccaptionwidth}{\zihao{5}\allsubpiccaptions}%
642 }%
643 \vspace{6bp}%
644 \end{figure}%
645 \clearallsubfigcaptions%
646 }
647 % \end{macrocode}
648 % \end{environment}
649 % \begin{macro}{\addsubpic}
650 %定义插入子图命令
651 % \begin{macrocode}
652 \newcommand{\addsubpic}[3]{
653 \subfigure[##1]{\label{##3}\includegraphics[##2]{##3}}
654 }
655 % \end{macrocode}
656 % \end{macro}
657 % \begin{macro}{\addsubpic}
658 % \changes{v1.1.0}{2015/02/04}{新增子图组分页命令。}
659 % 定义子图组分页命令。在pics环境中使用此命令,并将pics环境位置参数设置为b。
660 % \begin{macrocode}
661 \newcommand{\subpicnewpage}{%
662 \end{center}%
663 \end{figure}%
664 \addtocounter{figure}{-1}%
665 \begin{figure}[t]%
666 \addtocounter{figure}{1}%
667 \begin{center}%
668 }%
669 % \end{macrocode}
670 % \end{macro}
671 % \begin{macro}{\threelinetable}
672 %|\threelinetable|命令生成一个独占一行、居中的三线表格。标题前后间距符合科大毕设标准。
673 %\changes{v0.4.4}{2013/05/24}{修正表格字号为五号字。}
674 % \begin{macrocode}
675 \newcommand{\threelinetable}[8][htbp]{
676 \begin{table}[##1]
677 \zihao{5}%管理规范中要求表格中文字为五号字。
678 \centering
679 \begin{threeparttable}
680 \caption{##5}
681 \label{##2}
682 \begin{tabularx}{##3}{##4}
683 \toprule[0.1em]
684 ##6
685 \midrule[0.05em]
686 ##7
687 \bottomrule[0.1em]
688 \end{tabularx}
689 \ifblank{##8}{}{
690 \begin{tablenotes}
691 ##8
692 \end{tablenotes}
693 }
694 \end{threeparttable}
695 \end{table}
696 }
697 % \end{macrocode}
698 % \end{macro}
699 % \begin{macro}{\threelinetable*}
700 %|\threelinetableB|命令比|\threelinetable|在标题参数前多一个参数:表目录标题。
701 % \begin{macrocode}
702 \newcommand{\threelinetableB}[9][htbp]{
703 \begin{table}[##1]
704 \zihao{5}%管理规范中要求表格中文字为五号字。
705 \centering
706 \begin{threeparttable}
707 \caption[##5]{##6}
708 \label{##2}
709 \begin{tabularx}{##3}{##4}
710 \toprule[0.1em]
711 ##7
712 \midrule[0.05em]
713 ##8
714 \bottomrule[0.1em]
715 \end{tabularx}
716 \ifblank{##9}{}{
717 \begin{tablenotes}
718 ##9
719 \end{tablenotes}
720 }
721 \end{threeparttable}
722 \end{table}
723 }
724 % \end{macrocode}
725 % \end{macro}
726 % \begin{macro}{\longthreelinetable}
727 %|\longthreelinetable|命令生成一个居中的、可自动换页的三线表格。标题前后间距符合科大毕设标准。
728 % \begin{macrocode}
729 \newcommand{\longthreelinetable}[6]{
730 {
731 \zihao{5}%管理规范中要求表格中文字为五号字。
732 \centering
733 \begin{longtable}{##4}
734 \caption{##2}\label{##1}\\
735 \toprule[0.1em]
736 ##5
737 \midrule[0.05em]
738 \endfirsthead
739 \multicolumn{##3}{r}{\footnotesize 接上页}\\
740 \toprule[0.1em]
741 ##5
742 \midrule[0.05em]
743 \endhead
744 \bottomrule[0.1em]
745 \multicolumn{##3}{r}{\footnotesize 接下页}\\
746 \endfoot
747 \bottomrule[0.1em]
748 \endlastfoot
749 ##6
750 \end{longtable}
751 }
752 }
753 % \end{macrocode}
754 % \end{macro}
755 % \begin{macro}{\longthreelinetableB}
756 %|\longthreelinetableB|命令比|\longthreelinetable|在标题参数前多一个参数:表目录标题。
757 % \begin{macrocode}
758 \newcommand{\longthreelinetableB}[7]{
759 {
760 \zihao{5}%管理规范中要求表格中文字为五号字。
761 \centering
762 \begin{longtable}{##5}
763 \caption[##2]{##3}\label{##1}\\
764 \toprule[0.1em]
765 ##6
766 \midrule[0.05em]
767 \endfirsthead
768 \multicolumn{##4}{r}{\footnotesize 接上页}\\
769 \toprule[0.1em]
770 ##6
771 \midrule[0.05em]
772 \endhead
773 \bottomrule[0.1em]
774 \multicolumn{##4}{r}{\footnotesize 接下页}\\
775 \endfoot
776 \bottomrule[0.1em]
777 \endlastfoot
778 ##7
779 \end{longtable}
780 }
781 }
782 % \end{macrocode}
783 % \end{macro}
784 % \begin{macro}{\pictable}
785 %插入图片形式的表格
786 % \begin{macrocode}
787 \newcommand{\pictable}[4][htbp]{
788 \begin{table}[##1]
789 \centering
790 \caption{##2}
791 \label{##4}
792 \includegraphics[##3]{##4}
793 \end{table}
794 }
795 % \end{macrocode}
796 % \end{macro}
797 % \begin{macro}{\pictableB}
798 %|\pictableB|命令比|\pictable|命令在标题参数前多一个参数:图目录标题。
799 % \begin{macrocode}
800 \newcommand{\pictableB}[5][htbp]{
801 \begin{table}[##1]
802 \centering
803 \caption[##2]{##3}
804 \label{##5}
805 \includegraphics[##4]{##5}
806 \end{table}
807 }
808 % \end{macrocode}
809 % \end{macro}
810 % \begin{macrocode}
811 }%\newcmds@uestcthesis定义完毕
812 % \end{macrocode}
813 % \end{macro}
814 % \subsection{页眉页脚设置}
815 % \changes{v0.4.6}{2013/06/02}{修正bug:页脚字号改为小五}
816 % \changes{v0.6.7}{2014/03/04}{修正bug:缩略词表和主要符号表各自的第二页页眉不正确的问题。}
817 % \begin{macro}{\mainmatterfancy}
818 %定义正文版式设置
819 % \begin{macrocode}
820 \newcommand{\mainmatterfancy}{
821 \fancyhf{}
822 \fancyhead[OC]{\zihao{5}\leftmark}%奇数页居中打印章标题
823 \ifdef{\onlychapters@uestcthesis}{}{%onlychapters选项效果,在pdf元信息中去除学校信息。
824 \fancyhead[EC]{\zihao{5}\thesisname@degree}%偶数页居中打印论文全名
825 }%onlychapters选项效果END
826 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。
827 }
828 % \end{macrocode}
829 % \end{macro}
830 %
831 % \begin{macro}{\Cabstractfancy}
832 %定义中文摘要版式设置
833 % \begin{macrocode}
834 \newcommand{\Cabstractfancy}{%
835 \fancyhf{}%
836 \fancyhead[C]{\zihao{5}摘要}%页眉居中打印“摘要”
837 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。
838 }
839 % \end{macrocode}
840 % \end{macro}
841 %
842 % \begin{macro}{\Eabstractfancy}
843 %定义英文摘要版式设置
844 % \begin{macrocode}
845 \newcommand{\Eabstractfancy}{
846 \fancyhf{}%
847 \fancyhead[C]{\zihao{5}ABSTRACT}%页眉居中打印“ABSTRACT”
848 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。
849 }
850 % \end{macrocode}
851 % \end{macro}
852 %
853 % \begin{macro}{\tocmatterfancy}
854 %定义目录区版式设置
855 % \begin{macrocode}
856 \newcommand{\tocmatterfancy}{
857 \fancyhf{}
858 \fancyhead[C]{\zihao{5}\tocname@uestcthesis}%页眉居中打印“目 录”
859 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。
860 }
861 % \end{macrocode}
862 % \end{macro}
863 %
864 % \begin{macro}{\glossarymatterfancy}
865 %定义主要符号表版式设置
866 % \begin{macrocode}
867 \newcommand{\glossarymatterfancy}{%定义主要符号表版式设置
868 \fancyhf{}
869 \fancyhead[C]{\zihao{5}\glossaryname@uestcthesis}%
870 \fancyfoot[C]{\zihao{-5}\thepage}%
871 }
872 % \end{macrocode}
873 % \end{macro}
874 % \begin{macro}{\acronymnamematterfancy}
875 %定义缩略词表版式设置
876 % \begin{macrocode}
877 \newcommand{\acronymnamematterfancy}{%定义缩略词表版式设置
878 \fancyhf{}
879 \fancyhead[C]{\zihao{5}\acronymname@uestcthesis}%
880 \fancyfoot[C]{\zihao{-5}\thepage}%
881 }
882 % \end{macrocode}
883 % \end{macro}
884 % \begin{macro}{\Cabstractmatter}
885 %设置中文摘要版式
886 % \begin{macrocode}
887 \newcommand{\Cabstractmatter}{
888 \setcounter{page}{1}%页码重置为1
889 \pagenumbering{Roman}%页码使用大写罗马数字
890 \pagestyle{fancy}
891 \Cabstractfancy
892 \fancypagestyle{plain}{\Cabstractfancy}
893 %中文摘要页也是章标题页面,也使用plain版式。所以单独重新定义。这个定义会在英文摘要版式设置中被覆盖掉。
894 }
895 % \end{macrocode}
896 % \end{macro}
897 % \begin{macro}{\Eabstractmatter}
898 %设置英文摘要版式。英文摘要页也是章标题页面,也使用plain版式。所以单独重新定义。这个定义会在目录版式设置中被覆盖掉。
899 % \begin{macrocode}
900 \newcommand{\Eabstractmatter}{
901 \pagestyle{fancy}
902 \Eabstractfancy
903 \fancypagestyle{plain}{\Eabstractfancy}
904 }
905 % \end{macrocode}
906 % \end{macro}
907 % \begin{macro}{\tocmatter}
908 %定义目录版式
909 % \begin{macrocode}
910 \newcommand{\tocmatter}{
911 \pagestyle{fancy}
912 \tocmatterfancy
913 %使章标题页页眉页脚与其他页一致
914 \fancypagestyle{plain}{\tocmatterfancy}
915 %目录页也是章标题页面,也使用plain版式。但目录的右页和摘要或正文的其他章标题页不一样,所以单独重新定义。这个定义会在正文区命令中被覆盖掉。
916 }
917 % \end{macrocode}
918 % \end{macro}
919 % \begin{macro}{\mainmatter}
920 %重定义正文区版式
921 % \begin{macrocode}
922 \renewcommand{\mainmatter}{
923 \newpage
924 \setcounter{page}{1}
925 \pagenumbering{arabic}
926 \pagestyle{fancy}
927 \chaptermarkfix@uestcthesis %修正页眉章号显示不正确
928 \mainmatterfancy%设置正文的版式
929 \fancypagestyle{plain}{\mainmatterfancy}
930 %使章标题页使用plain版式,需要单独定义它。使它的页眉页脚与其他页一致。
931 }
932 % \end{macrocode}
933 %定义图目录表目录版式
934 % \begin{macrocode}
935 \newcommand{\figureslistmatterfancy}{
936 \fancyhf{}
937 \fancyhead[C]{\listfigurename}%
938 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。
939 }
940 \newcommand{\tableslistmatterfancy}{
941 \fancyhf{}
942 \fancyhead[C]{\listtablename}
943 \fancyfoot[C]{\zihao{-5}\thepage}%页码位于页面底端,居中打印。
944 }
945 \newcommand{\figureslistmatter}{
946 \pagestyle{fancy}
947 \figureslistmatterfancy
948 \fancypagestyle{plain}{\figureslistmatterfancy}
949 }
950 \newcommand{\tableslistmatter}{
951 \pagestyle{fancy}
952 \tableslistmatterfancy
953 \fancypagestyle{plain}{\tableslistmatterfancy}
954 }
955 \newcommand{\glossarymatter}{
956 \pagestyle{fancy}
957 \glossarymatterfancy
958 \fancypagestyle{plain}{\glossarymatterfancy}
959 }
960 \newcommand{\acronymnamematter}{
961 \pagestyle{fancy}
962 \acronymnamematterfancy
963 \fancypagestyle{plain}{\acronymnamematterfancy}
964 }
965 % \end{macrocode}
966 % \end{macro}
967 % \changes{v1.0.2}{2015/02/01}{从模板中删除封面和LOGO。}
968 % \changes{v0.4.1}{2013/05/04}{将学校的LOGO集成在cls文件里。}
969 % \changes{v0.5.6}{2013/12/25}{按照学校识别视觉系统修正了LOGO的颜色。}
970 % \changes{v0.4.2}{2013/05/14}{针对默认编译器不能使用write18命令的情况,在不能正常显示logo时显示一段说明文字。}
971 % \changes{v0.6.4}{2014/02/25}{用withoutforepages选项控制是否编译LOGO}
972 % \changes{v1.0.2}{2015/02/01}{删除封面}
973 % \changes{v0.6.4}{2014/02/25}{将封面、中文扉页、英文扉页都独立出来。}
974 % \changes{v0.6.3}{2014/02/24}{修订硕博封面第2页,使之和学校范例尽量一样。}
975 % \subsection{各级标题设置}
976 %设置标题排序深度到3级节标题subsubsection,例如1.1.1.1
977 % \begin{macrocode}
978 \setcounter{secnumdepth}{3}
979 % \end{macrocode}
980 % \changes{v0.5.2}{2013/08/07}{由于本科论文规范还未修改,单独设置硕博标题前后段距。}
981 %设置章标题格式。弹性长度的距离为行距的20\%。排版规则中说明可以适当调整各级标题段后间距。
982 % \begin{macrocode}
983 \chaptername@uestcthesis
984 \ifdefstring{\degree@uestcthesis}{bachelor}{
985 \CTEXsetup[ nameformat={},
986 numberformat={},
987 titleformat={},
988 aftername={~},
989 beforeskip={2mm},%章标题段前30磅,这里2mm是由于实际效果与MS WORD有差异而微调出的。具体测量的是页眉线到章标题文字上边的距离。
990 afterskip={30bp plus 6bp minus 6bp},%章标题段后30磅。
991 format={\heiti\zihao{-3}\centering},
992 ]{chapter}
993 }{
994 \CTEXsetup[ nameformat={},
995 numberformat={},
996 titleformat={},
997 aftername={~},
998 beforeskip={1.8mm},%章标题段前30磅,这里2mm是由于实际效果与MS WORD有差异而微调出的。具体测量的是页眉线到章标题文字上边的距离。
999 afterskip={18bp plus 3.6bp minus 3.6bp},%章标题段后30磅。
1000 format={\heiti\zihao{-3}\centering},
1001 ]{chapter}
1002 }
1003 % \end{macrocode}
1004 %
1005 %设置1级节标题格式
1006 % \begin{macrocode}
1007 \ifdefstring{\degree@uestcthesis}{bachelor}{
1008 \CTEXsetup[ aftername={~},
1009 beforeskip={18bp},
1010 afterskip={18bp plus 3.6bp minus 3.6bp},
1011 format={\heiti\zihao{4}\flushleft}]{section}
1012 }{
1013 \CTEXsetup[ aftername={~},
1014 beforeskip={18bp},
1015 afterskip={6bp plus 1.2bp minus 1.2bp},
1016 format={\heiti\zihao{4}\flushleft}]{section}
1017 }
1018 % \end{macrocode}
1019 %
1020 %设置2级节标题格式
1021 % \begin{macrocode}
1022 \ifdefstring{\degree@uestcthesis}{bachelor}{
1023 \CTEXsetup[ aftername={~},
1024 beforeskip={12bp},
1025 afterskip={12bp plus 2.4bp minus 2.4bp},
1026 format={\heiti\zihao{4}\flushleft}]{subsection}
1027 }{
1028 \CTEXsetup[ aftername={~},
1029 beforeskip={12bp},
1030 afterskip={6bp plus 1.2bp minus 1.2bp},
1031 format={\heiti\zihao{4}\flushleft}]{subsection}
1032 }
1033 % \end{macrocode}
1034 %
1035 %设置3级节标题格式
1036 % \begin{macrocode}
1037 \ifdefstring{\degree@uestcthesis}{bachelor}{
1038 \CTEXsetup[ aftername={~},
1039 beforeskip={6bp},
1040 afterskip={6bp plus 1.2bp minus 1.2bp},
1041 format={\heiti\zihao{-4}\flushleft}]{subsubsection}
1042 }{
1043 \CTEXsetup[ aftername={~},
1044 beforeskip={12bp},
1045 afterskip={6bp plus 1.2bp minus 1.2bp},
1046 format={\heiti\zihao{-4}\flushleft}]{subsubsection}
1047 }
1048 % \end{macrocode}
1049 % \subsection{摘要设置}
1050 %调用ifthen宏包,可提供|\ifthenelse|判断命令。
1051 % \begin{environment}{Cabstract}
1052 %定义中文摘要环境
1053 % \begin{macrocode}
1054 \newenvironment{Cabstract}[5]{
1055 % \end{macrocode}
1056 % \begin{macro}{\@ckeywords}
1057 %定义生成中文关键词的命令。如果关键词少于3个则用“必选关键词”五个字补上,以提示作者关键词不够。同时自动加入正确的中文逗号。
1058 %\changes{v0.4.4}{2013/05/23}{修正bug:\@ckeywords命令和\@ekeywords命令中的每行结束应加一个\%符号,否则直接换行相当于加入了一个不该有的空格。}
1059 % \begin{macrocode}
1060 \newcommand{\@ckeywords}{
1061 \ifthenelse{\equal{#1}{}}{必选关键词}{#1}%
1062 \ifthenelse{\equal{#2}{}}{必选关键词}{,#2}%
1063 \ifthenelse{\equal{#3}{}}{必选关键词}{,#3}%
1064 \ifthenelse{\equal{#4}{}}{}{,#4}%
1065 \ifthenelse{\equal{#5}{}}{}{,#5}%
1066 }
1067 \ifthenelse{\equal{#5}{}}{
1068 \ifthenelse{\equal{#4}{}}{
1069 \ifthenelse{\equal{#3}{}}{
1070 \def\@pdfckeywords{#1, #2, 关键字应3-5个}
1071 }{\def\@pdfckeywords{#1, #2, #3}}
1072 }{\def\@pdfckeywords{#1, #2, #3, #4}}
1073 }{\def\@pdfckeywords{#1, #2, #3, #4, #5}}
1074 \hypersetup{%
1075 pdfkeywords={\@pdfckeywords}%在pdf元信息中加入关键字
1076 }
1077 % \end{macrocode}
1078 % \end{macro}
1079 %\changes{v0.5.4}{2013/10/29}{修改中英文摘要标题和关键词的字体,改为加粗形式。并按照范例,在“摘要”二字中间加空格。}
1080 %\changes{v0.6.1}{2014/01/20}{修改中英文关键词换行缩进。}
1081 % \begin{macrocode}
1082 \chapter*{摘\enspace 要}%插入不带章号的摘要
1083 }
1084 {\\[3mm]%摘要后换行空出3mm
1085 {\textbf{关键词:}}\parbox[t]{378.59134pt}{\@ckeywords}%插入关键词
1086 }
1087 % \end{macrocode}
1088 % \end{environment}
1089 % \begin{environment}{Eabstract}
1090 %定义英文摘要环境
1091 % \begin{macrocode}
1092 \newenvironment{Eabstract}[5]{
1093 % \end{macrocode}
1094 % \begin{macro}{\@ckeywords}
1095 %定义生成英文关键词的命令。如果关键词少于3个则用“必选关键词”五个字补上,以提示作者关键词不够。同时自动加入正确的英文逗号。
1096 % \begin{macrocode}
1097 \newcommand{\@ekeywords}{
1098 \ifthenelse{\equal{#1}{}}{必选关键词}{#1}%
1099 \ifthenelse{\equal{#2}{}}{必选关键词}{, #2}%
1100 \ifthenelse{\equal{#3}{}}{必选关键词}{, #3}%
1101 \ifthenelse{\equal{#4}{}}{}{, #4}%
1102 \ifthenelse{\equal{#5}{}}{}{, #5}%
1103 }
1104 % \end{macrocode}
1105 % \end{macro}
1106 % \begin{macrocode}
1107 \Eabstractmatter%设置英文摘要版式
1108 \chapter*{\bf ABSTRACT}%插入不带章号的ABSTRACT
1109 }
1110 {\\[3mm]%摘要后换行空出3mm
1111 {\bf Keywords:\nbs}\parbox[t]{367.97586pt}{\@ekeywords}%插入关键词
1112 }
1113 % \end{macrocode}
1114 % \end{environment}
1115 % \subsection{目录设置}
1116 % \changes{v0.4.8}{2013/06/07}{目录字体修改为黑体小三,和章标题字体一致。之前错误的设置是2008年本科规范。}
1117 %设置目录标题
1118 % \begin{macrocode}
1119 \CTEXoptions[contentsname={\protect\heiti\protect\zihao{-3}\contentsname@uestcthesis}]
1120 % \end{macrocode}
1121 %
1122 %设置目录的显示深度到3级节标题。
1123 % \begin{macrocode}
1124 \setcounter{tocdepth}{3}
1125 % \end{macrocode}
1126 %
1127 %目录中连接页码的点的密度
1128 % \begin{macrocode}
1129 \def\@dotsep{2}
1130 % \end{macrocode}
1131 %
1132 %目录中的章标题改为黑体
1133 % \begin{macrocode}
1134 \def\l@chapter#1#2{\ifnum 0>\c@tocdepth \else \vskip \z@ \@plus .2\p@ {\leftskip
1135 0em\relax \rightskip \@tocrmarg \parfillskip -\rightskip \parindent 0em\relax
1136 \@afterindenttrue \interlinepenalty \@M \leavevmode \@tempdima 1em\relax \advance
1137 \leftskip \@tempdima \null \nobreak \hskip -\leftskip {\heiti #1}\nobreak \leaders
1138 \hbox {$\m@th \mkern \@dotsep mu\hbox {.}\mkern \@dotsep mu$}\hfill \nobreak
1139 \hb@xt@ \@pnumwidth {\hfil \normalfont \normalcolor #2}\par }\fi}
1140 % \end{macrocode}
1141 %
1142 %设置四级标题在目录中的左缩进分别为0、2、4、6个英文字符宽。序号到题目间隔1个英文字符宽。
1143 %\changes{v0.4.3}{2013/05/20}{由于我的疏忽,本来应将本科规范改为和硕博一致分别缩进0,2,4,6个全角字符,但2013年的规范中写成了半角字符。这里只好先针对本科论文修改过来。}
1144 % \begin{macrocode}
1145 \ifdefstring{\degree@uestcthesis}{bachelor}{
1146 \renewcommand*\l@section{\@dottedtocline{1}{1em}{1em}}
1147 \renewcommand*\l@subsection{\@dottedtocline{2}{2em}{1em}}
1148 \renewcommand*\l@subsubsection{\@dottedtocline{3}{3em}{1em}}
1149 }{
1150 \renewcommand*\l@section{\@dottedtocline{1}{2em}{1em}}
1151 \renewcommand*\l@subsection{\@dottedtocline{2}{4em}{1em}}
1152 \renewcommand*\l@subsubsection{\@dottedtocline{3}{6em}{1em}}
1153 }
1154 % \end{macrocode}
1155 % \subsection{数学式设置}
1156 %amsmath数学宏包。
1157 % \changes{v0.5.2}{2013/08/07}{去除kmath宏包。}
1158 % \changes{v0.6.7}{2014/03/04}{添加希腊字母等粗体的bm宏包}
1159 % \begin{macrocode}
1160 \RequirePackage{amsmath,amsfonts,amssymb,bm}
1161 % \end{macrocode}
1162 %
1163 %使公式编号数字间加一个短横线。例如(1-1)。
1164 % \begin{macrocode}
1165 \renewcommand{\theequation}{\arabic{chapter}\textendash\arabic{equation}}
1166 % \end{macrocode}
1167 %
1168 %调用定理设置宏包
1169 %\changes{v0.33}{2013/02/25}{设置定理环境的缩进}
1170 %\changes{v0.4}{2013/04/04}{添加设置各定理环境结束符的语句,但暂时还设置为空。}
1171 % \begin{macrocode}
1172 \RequirePackage[amsmath,thmmarks]{ntheorem}
1173 \theorembodyfont{\normalfont}%字体
1174 \theoremheaderfont{\normalfont \bfseries \hspace*{2em}}%设置缩进
1175 \theoremseparator{\enskip}%分隔符是一个空格
1176 % \end{macrocode}
1177 %
1178 %定义四种带标号的定理环境
1179 % \begin{macrocode}
1180 \theoremsymbol{}%定义环境结束符,下同
1181 \newtheorem{dingyi}{定义}[section]
1182 \def\enddingyi{\quad\@endtheorem}%修正环境中最后一个字符不是英文字符时,不显示结束符的BUG。下同。
1183 \theoremsymbol{}
1184 \newtheorem{gongli}{公理}[section]
1185 \def\endgongli{\quad\@endtheorem}
1186 \theoremsymbol{■}
1187 \newtheorem{dingli}{定理}[section]
1188 \def\enddingli{\quad\@endtheorem}
1189 \theoremsymbol{■}
1190 \newtheorem{yinli}{引理}[section]
1191 \def\endyinli{\quad\@endtheorem}
1192 % \end{macrocode}
1193 %
1194 %定义一种不带标号的证明环境。
1195 % \begin{macrocode}
1196 \theoremstyle{nonumberplain}
1197 \theoremsymbol{■}
1198 \newtheorem{zhengming}{证明}
1199 \def\endzhengming{\quad\@endtheorem}
1200 % \end{macrocode}
1201 % \subsection{参考文献设置}
1202 % 根据是否为研究生学位,选择是否载入multibib宏包。
1203 % \begin{macrocode}
1204 \RequirePackage[numbers,sort&compress]{natbib}
1205 %参考文献宏包。调用natbib,选项是GBT7714-2005NLang.bst的说明中指定的。
1206 %hypernat宏包已经不用了。
1207
1208 \newcommand{\citeup}[1]{\textsuperscript{\cite{#1}}}
1209 %自定义命令:插入右上角角标形式的参考文献引用。
1210 % \end{macrocode}
1211 %为了在硕士和博士论文加入攻读期间发表的论文一章,必须使用multibib宏包。
1212 % \begin{macrocode}
1213 \ifblank{\multibibflag@uestcthesis}{}{
1214 \RequirePackage[resetlabels]{multibib}
1215 \newcites{publications}{NULL}
1216 \bibliographystylepublications{uestcthesis}
1217 \nocitepublications{*}
1218 % \end{macrocode}
1219 %重定义|\bibliographypublications|,去掉|\bibliographypublications|命令中原有的
1220 %修改章名的设置,因为|\newcites|命令设置章名时不支持中文。这个设置改由
1221 %|\CTEXoptions[ bibname={\publicationsname@degree}]|代替。
1222 % \begin{macrocode}
1223 \def\bibliographypublications#1{\let \temp@auxout \@auxout \let \addtocontents
1224 \mb@addtocontents \let \@auxout \@auxoutpublications \let \jobname
1225 \@auxoutpublicationsname \bibliography {#1}}
1226 }
1227 % \end{macrocode}
1228 %\subsection{注脚格式排版设置}
1229 % \changes{v0.5.0}{2013/08/01}{添加注脚格式的排版设置}
1230 % \changes{v0.6.5}{2014/03/01}{修复BUG:注脚在pdf中超级链接跳转失效的问题。}
1231 % \changes{v0.6.6}{2014/03/03}{修复BUG:按照学校规范,注脚应该每页重新编号。}
1232 %修正footmisc宏包的hang选项与CTeX宏包的冲突。修正来源:\\
1233 %\url{http://bbs.ctex.org/forum.php?mod=viewthread&tid=76571}
1234 % \begin{macrocode}
1235 \renewcommand*\CTEXsetfont{%
1236 \begingroup
1237 \settowidth\ccwd{\CTEX@spaceChar\CJKglue}%
1238 \edef\x{\noexpand\ccwd\the\ccwd}%
1239 \expandafter\endgroup\x
1240 \ifdim\parindent=0pt\else\parindent2\ccwd\fi}
1241 % \end{macrocode}
1242 %加载注脚宏包footmisc,使用悬挂选项hang
1243 %
1244 % \begin{macrocode}
1245 \RequirePackage[hang,perpage]{footmisc}
1246 % \end{macrocode}
1247 %设置注脚内容缩进,5.2mm是对比word中悬挂缩进1.5字符的结果测量得出的。
1248 % \begin{macrocode}
1249 \setlength{\footnotemargin}{5.2mm}
1250 % \end{macrocode}
1251 %重绘注脚线,其中7.4mm、5.05cm和0.02cm都是对比范文在word中的效果测量出的。
1252 %其中|\vfill|用于将注脚置于页面底部。因为模板禁止了底部对齐,以保证不会出现过大的段距。
1253 % \changes{v0.6.6}{2014/03/03}{修正注脚线和内容的距离。}
1254 % \begin{macrocode}
1255 \renewcommand{\footnoterule}{\vfill\noindent
1256 \vspace*{0.9mm}\hspace{7.4mm}\rule{5.05cm}{0.02cm}\vspace*{2.6pt}}
1257 % \end{macrocode}
1258 %定义注脚所用的带圆圈的序号样式
1259 % \begin{macrocode}
1260 \RequirePackage{pifont}
1261 \def\@circlednumber#1{\ifcase#1\or \ding{192}\or \ding{193}\or \ding{194}\or
1262 \ding{195}\or \ding{196}\or \ding{197}\or \ding{198}\or \ding{199}
1263 \or \ding{200} \or \ding{201} \else\@ctrerr\fi}
1264 \def\circlednumber#1{\expandafter\@circlednumber\csname c@#1\endcsname}
1265 \renewcommand{\thefootnote}{\circlednumber{footnote}}
1266 % \end{macrocode}
1267 %重定义注脚的格式,将序号的字体取消默认的上标样式。
1268 % \begin{macrocode}
1269 \def\@makefntext #1{\ifFN@hangfoot \bgroup \setbox \@tempboxa \hbox {\ifdim
1270 \footnotemargin >0pt \hb@xt@ \footnotemargin {\hbox { \normalfont \@thefnmark}
1271 \hss }\else \hbox { \normalfont \@thefnmark} \fi }\leftmargin \wd \@tempboxa
1272 \rightmargin \z@ \linewidth \columnwidth \advance \linewidth -\leftmargin
1273 \parshape \@ne \leftmargin \linewidth \footnotesize \@setpar {{\@@par }}
1274 \leavevmode \llap {\box \@tempboxa }\parskip \hangfootparskip \relax \parindent
1275 \hangfootparindent \relax \else \parindent 1em \noindent \ifdim \footnotemargin
1276 >\z@ \hb@xt@ \footnotemargin {\hss \hbox { \normalfont \@thefnmark} }\else
1277 \ifdim \footnotemargin =\z@ \llap {\hbox { \normalfont \@thefnmark} }\else
1278 \llap {\hb@xt@ -\footnotemargin {\hbox { \normalfont \@thefnmark} \hss }}
1279 \fi \fi \fi \footnotelayout #1\ifFN@hangfoot \par \egroup \fi}
1280 % \end{macrocode}
1281 % \subsection{PDF文件相关设置}
1282 % \begin{macro}{\date}
1283 %设置论文提交日期命令
1284 % \begin{macrocode}
1285 \renewcommand{\date}[3]{
1286 \renewcommand{\@date}{#1年#2月#3日}
1287 \def\@year{#1}%用于pdf元信息
1288 }
1289 \date{}{}{}%设置默认空置,避免v1.0.1版本前编写的源代码无法直接编译。
1290 % \end{macrocode}
1291 % \end{macro}
1292 % 设置pdf文件中的超链接和书签
1293 % \changes{v0.6}{2014/01/11}{去除pdf文件中显示的超级链接有色外框}
1294 % \begin{macrocode}
1295 \RequirePackage{cmap}%pdflatex编译时,可以生成可复制、粘贴的中文PDF文档
1296 \RequirePackage{hyperxmp}%在pdf中加入XMP高级元信息
1297 \RequirePackage[pdftex,unicode,
1298 bookmarksnumbered=true,
1299 bookmarksopen=true,
1300 hidelinks=true,
1301 breaklinks=true,
1302 pdfdisplaydoctitle=true
1303 ]{hyperref}
1304 \ifdef{\onlychapters@uestcthesis}{}{%onlychapters选项效果,在pdf元信息中去除学校信息。
1305 \AtEndDocument{
1306 \hypersetup{%
1307 pdftitle={\@title},
1308 pdfauthor={\@author},
1309 pdfcopyright={Copyright (C) \@year, \@author},
1310 pdfsubject={\thesisname@degree},
1311 pdflicenseurl={},
1312 pdfcreator={PDFLaTeX with uestcthesis class},
1313 pdflang={zh-CN},
1314 pdfpagelayout={TwoPageRight}
1315 }
1316 }
1317 }%onlychapters选项效果END
1318 % \end{macrocode}
1319 % \subsection{其他设置}
1320 % 根据hyperref的文档:应该先调用hyperref,后调用subfigure,以解决兼容性问题。
1321 % \begin{macrocode}
1322 \RequirePackage[small]{subfigure}
1323 % \end{macrocode}
1324 %
1325 %枚举环境宏包,去除所有垂直附加距离。
1326 % \changes{v0.31}{2013/02/21}{去除枚举环境的所有垂直附加距离。}
1327 % \changes{v0.4.3}{2013/05/20}{修复bug:枚举环境与前后文存在额外间距}
1328 % \changes{v0.6}{2014/01/12}{用enumitem宏包代替enumerate宏包。使枚举环境的序号缩进和正文一致。}
1329 % \begin{macrocode}
1330 \RequirePackage{enumitem}
1331 \setlist[1]{topsep=0pt,labelsep=0pt,partopsep=0pt,parsep=0pt,itemsep=0pt,leftmargin=*,align=left,labelindent=\parindent}
1332 \setlist[2]{topsep=0pt,labelsep=0pt,partopsep=0pt,parsep=0pt,itemsep=0pt,leftmargin=*,align=left,labelindent=0pt}
1333 \setlist[3]{topsep=0pt,labelsep=0pt,partopsep=0pt,parsep=0pt,itemsep=0pt,leftmargin=*,align=left,labelindent=0pt}
1334 \setlist[4]{topsep=0pt,labelsep=0pt,partopsep=0pt,parsep=0pt,itemsep=0pt,leftmargin=*,align=left,labelindent=0pt}
1335 % \end{macrocode}
1336 % \subsection{排版源代码相关设置}
1337 %排版源代码所需宏包
1338 % \begin{macrocode}
1339 \RequirePackage{color,marvosym}
1340 % \end{macrocode}
1341 %\changes{v0.4.7}{2013/06/03}{为了使用等宽字体排版源代码,将highlight.sty内容内置进来。}
1342 %将Highlight程序生成的highlight.sty内容内置进来。将原本的粗体命令|\bf|改为一个
1343 %自定义的粗体命令,为了使用等宽的粗体。但是这里未解决数学环境内设置等宽字体。
1344 % \begin{macrocode}
1345 \DeclareOldFontCommand{\txttbf}{\ttfamily\bfseries}{\mathbf}
1346 \providecommand{\hlstd}[1]{\textcolor[rgb]{0,0,0}{#1}}
1347 \providecommand{\hlnum}[1]{\textcolor[rgb]{0,0,0}{#1}}
1348 \providecommand{\hlesc}[1]{\textcolor[rgb]{0,0,0}{#1}}
1349 \providecommand{\hlstr}[1]{\textcolor[rgb]{0,0,0}{#1}}
1350 \providecommand{\hlpps}[1]{\textcolor[rgb]{0,0,0}{#1}}
1351 \providecommand{\hlslc}[1]{\textcolor[rgb]{0.4,0.4,0.4}{{#1}}}
1352 \providecommand{\hlcom}[1]{\textcolor[rgb]{0.4,0.4,0.4}{{#1}}}
1353 \providecommand{\hlppc}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}}
1354 \providecommand{\hlopt}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}}
1355 \providecommand{\hlipl}[1]{\textcolor[rgb]{0,0,0}{#1}}
1356 \providecommand{\hllin}[1]{\textcolor[rgb]{0.53,0.53,0.53}{#1}}
1357 \providecommand{\hlkwa}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}}
1358 \providecommand{\hlkwb}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}}
1359 \providecommand{\hlkwc}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}}
1360 \providecommand{\hlkwd}[1]{\textcolor[rgb]{0,0,0}{\txttbf{#1}}}
1361 \definecolor{bgcolor}{rgb}{1,1,1}
1362 % \end{macrocode}
1363 % \subsection{主要符号表设置}
1364 %\changes{v0.6}{2014/01/11}{将glossary宏包替换为新版的glossaries宏包。可同时提供缩略词表和主要符号表 。}
1365 %\changes{v1.1.0}{2015/02/12}{以显式方式定义主要符号表、缩略词表的风格,还重定义了缩略词引用风格。方便用户修改。}
1366 %设置术语表宏包供主要符号表使用
1367 % \begin{macrocode}
1368 \RequirePackage[description,acronym]{glossaries}
1369 \makeglossaries
1370 \renewcommand{\glossaryname}{\glossaryname@uestcthesis}
1371 \renewcommand{\entryname}{\entryname@uestcthesis}
1372 \renewcommand{\descriptionname}{\descriptionname@uestcthesis}
1373 \renewcommand{\acronymname}{\acronymname@uestcthesis}
1374 \renewcommand{\pagelistname}{\pagelistname@uestcthesis}
1375 % \end{macrocode}
1376 % \begin{macro}{\fuhao}
1377 %包装向主要符号表中插入条目的命令
1378 % \begin{macrocode}
1379 \newcommand{\fuhao}[3]{%
1380 \newglossaryentry{#3}{name={#1},description={#2},sort=#3}%
1381 }
1382 % \end{macrocode}
1383 % \end{macro}
1384 % 定义custom-long3colheader风格,用于主要符号表。设置同long3colheader,方便用户修改。
1385 % \begin{macrocode}
1386 \newglossarystyle{custom-long3colheader}{%
1387 \renewenvironment{theglossary}%
1388 %主要符号表就是一个longtable,各列的宽度和对齐方式在下面这行设置:
1389 {\begin{longtable}{lp{\glsdescwidth}p{\glspagelistwidth}}}%
1390 {\end{longtable}}%
1391 %设置说明列宽度:
1392 \setlength{\glsdescwidth}{82mm}
1393 %设置页码列宽度:
1394 \setlength{\glspagelistwidth}{14mm}
1395 %设置没有表头:
1396 \renewcommand*{\glossaryheader}{}%
1397 %设置分组间没有表头:
1398 \renewcommand*{\glsgroupheading}[1]{}%
1399 %主条目第一列名称,第二列说明,第三列页码:
1400 \renewcommand{\glossentry}[2]{%
1401 \glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}} &
1402 \glossentrydesc{##1} & ##2\tabularnewline
1403 }%
1404 %子条目第一列空置,第二列说明,第三列页码:
1405 \renewcommand{\subglossentry}[3]{%
1406 &
1407 \glssubentryitem{##2}%
1408 \glstarget{##2}{\strut}\glossentrydesc{##2} &
1409 ##3\tabularnewline
1410 }%
1411 %定义分组间空白:
1412 \renewcommand*{\glsgroupskip}{%
1413 \ifglsnogroupskip\else & &\tabularnewline\fi}%
1414 %定义表头:
1415 \renewcommand*{\glossaryheader}{%
1416 \bfseries\entryname&\bfseries\descriptionname&
1417 \bfseries\pagelistname\tabularnewline\endhead}%
1418 }
1419 % \end{macrocode}
1420 % 定义acronymwithtranslation风格,用于缩略词表。
1421 % \begin{macrocode}
1422 \newglossarystyle{acronymwithtranslation}{%
1423 \renewenvironment{theglossary}%
1424 %缩略词表也是一个longtable,各列的宽度和对齐方式在下面这行设置:
1425 {\begin{longtable}{lp{\glsdescwidth}p{\glspagelistwidth}}}%
1426 {\end{longtable}}%
1427 %设置英文全称列宽度:
1428 \setlength{\glsdescwidth}{85mm}
1429 %设置中文全称列宽度:
1430 \setlength{\glspagelistwidth}{7em}
1431 %设置没有表头:
1432 \renewcommand*{\glossaryheader}{}%
1433 %设置分组间没有表头:
1434 \renewcommand*{\glsgroupheading}[1]{}%
1435 %主条目第一列缩略词,第二列说明,第三列中文全称:
1436 \renewcommand{\glossentry}[2]{%
1437 \glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}} &
1438 \csname glo@##1@first\endcsname & \glossentrydesc{##1}\tabularnewline
1439 }%
1440 %子条目第一列空置,第二列说明,第三列中文全称:
1441 \renewcommand{\subglossentry}[3]{%
1442 &
1443 \csname glo@##1@first\endcsname & \glossentrydesc{##1}\tabularnewline
1444 }%
1445 %定义分组间空白:
1446 \renewcommand*{\glsgroupskip}{%
1447 \ifglsnogroupskip\else & &\tabularnewline\fi}%
1448 %定义表头:
1449 \renewcommand*{\glossaryheader}{%
1450 \bfseries\acronymheader@uestcthesis&\bfseries\acronymfull@uestcthesis&
1451 \bfseries\acronymtranslation@uestcthesis\tabularnewline\endhead}%
1452 }
1453 % \end{macrocode}
1454 %重定义缩略词引用风格long-short。long-short是默认的风格,下方代码也没有更改long-short的任何设置。
1455 %此处重定义long-short风格只是为了用户方便修改。
1456 % \begin{macrocode}
1457 \renewacronymstyle{long-short}%
1458 {%
1459 % \end{macrocode}
1460 % Check for long formin case this is a mixed glossary.
1461 % 这里的|\glsgenacfmt|或|\glsgenentryfmt|是管理|\gls-like|命令的。
1462 % \begin{macrocode}
1463 \ifglshaslong{\glslabel}{\glsgenacfmt}{\glsgenentryfmt}%
1464 }%
1465 {%
1466 \renewcommand*{\GenericAcronymFields}{description={\the\glslongtok}}%
1467 % No case change, singular first use(既用\gls第一次引用):
1468 \renewcommand*{\genacrfullformat}[2]{%
1469 \glsentrylong{##1}##2\space
1470 (\protect\firstacronymfont{\glsentryshort{##1}})%
1471 }%
1472 % First letter upper case, singular first use(既用\Gls第一次引用):
1473 \renewcommand*{\Genacrfullformat}[2]{%
1474 \Glsentrylong{##1}##2\space
1475 (\protect\firstacronymfont{\glsentryshort{##1}})%
1476 }%
1477 % No case change, plural first use(既用\glspl第一次引用):
1478 \renewcommand*{\genplacrfullformat}[2]{%
1479 \glsentrylongpl{##1}##2\space
1480 (\protect\firstacronymfont{\glsentryshortpl{##1}})%
1481 }%
1482 % First letter upper case, plural first use(既用\Glspl第一次引用):
1483 \renewcommand*{\Genplacrfullformat}[2]{%
1484 \Glsentrylongpl{##1}##2\space
1485 (\protect\firstacronymfont{\glsentryshortpl{##1}})%
1486 }%
1487 \renewcommand*{\acronymentry}[1]{\acronymfont{\glsentryshort{##1}}}
1488 \renewcommand*{\acronymsort}[2]{##1}%
1489 \renewcommand*{\acronymfont}[1]{##1}%
1490 \renewcommand*{\firstacronymfont}[1]{\acronymfont{##1}}%
1491 \renewcommand*{\acrpluralsuffix}{\glspluralsuffix}%
1492 }
1493 % 重定义后需要重新设置使用它:
1494 \setacronymstyle{long-short}
1495 % \end{macrocode}
1496 % \subsection{自动添加论文的必选结构}
1497 %\changes{v0.4.3}{2013/05/20}{由于目前(2013年)本科和硕博关于参考文献与致谢顺序的规定不一样,所以在这里区分设置}
1498 %\changes{v0.4.2}{2013/05/14}{修复只有单页目录时页眉显示主要符号表的问题。}
1499 %\changes{v0.4.3}{2013/05/20}{修复bug:摘要应从右页开始。前置部分都需要章起右页。}
1500 %\changes{v0.4.4}{2013/05/23}{本科论文中将外文资料和翻译加入目录中。}
1501 %\changes{v0.5.4}{2013/10/29}{修改封面到摘要之前的部分实际的页码,避免pdf阅读器中页码冲突。}
1502 %\changes{v0.6.1}{2014/01/20}{添加摘要和目录到pdf书签中。}
1503 %\changes{v0.6.4}{2014/02/25}{用withoutforepages选项和onlychapters选项控制忽略必选结构中的一部分。}
1504 % \begin{macrocode}
1505 % !Mode:: "TeX:UTF-8"
1506
1507 \AtBeginDocument{%插入到论文内容的最前面。
1508 \begin{CJK}{UTF8}{rm}%中文支持环境,此处内容不受ctexbook文类影响,所以必须手动加这个环境。
1509 \ifdef{\onlychapters@uestcthesis}{}{%onlychapters选项效果
1510 \Cabstractmatter%设置中文摘要版式
1511 \pdfbookmark[1]{摘要}{Cabstract}%添加中文摘要的PDF书签
1512 \include{contents/Cabstract}%插入中文摘要
1513 \clearpage{\pagestyle{empty}\cleardoublepage}
1514 \Eabstractmatter%设置英文摘要版式
1515 \pdfbookmark[1]{Abstract}{Eabstract}%添加英文摘要的PDF书签
1516 \include{contents/Eabstract}%插入英文摘要
1517 \clearpage{\pagestyle{empty}\cleardoublepage}
1518 \tocmatter%目录版式
1519 \pdfbookmark[1]{\tocname@uestcthesis}{tableofcontents}%添加目录的PDF书签
1520 \tableofcontents%插入目录
1521 \insertlof%插入图目录
1522 \insertlot%插入表目录
1523 \clearpage{\pagestyle{empty}\cleardoublepage}%目录之后另起一页,这样无论目录后有没有主要符号表,主要符号表的页眉设置命令都会应用到下一页。
1524 %此处遇到问题:目录之后到正文之前如果加入章节,这些章节的版式不受传统版式设置控制。估计是BUG。此处耗时6小时20分钟,终于找到了修正方案。
1525 \acronymnamematter%设置缩略词表版式
1526 \printacronyms[nogroupskip,style=acronymwithtranslation]
1527 \clearpage{\pagestyle{empty}\cleardoublepage}
1528 \glossarymatter%设置主要符号表版式。
1529 \printglossary[nogroupskip,style=custom-long3colheader]%插入主要符号表
1530 \clearpage{\pagestyle{empty}\cleardoublepage}
1531 \mainmatter%修正主要符号表版式,这里是受目录版式的影响,必须在此加入\mainmatter。
1532 }%
1533 \end{CJK}
1534 \mainmatter%正文区版式
1535 \makeatletter
1536 \newcmds@uestcthesis%自定义图表命令,这些命令必须在document环境里声明才能在正文中使用,所以只能放在这里了。
1537 % \end{macrocode}
1538 %设置公式与上下文之间的间距。
1539 % \begin{macrocode}
1540 \abovedisplayskip=6bp
1541 \abovedisplayshortskip=6bp
1542 \belowdisplayskip=6bp
1543 \belowdisplayshortskip=6bp
1544 \makeatother
1545 }
1546 \ifdef{\onlychapters@uestcthesis}{}{%onlychapters选项效果
1547 \newcommand{\insertacknowledgement}{
1548 \chapter*{\acknowledgementsname@uestcthesis}%用带星号的章命令插入不带章号的致谢。
1549 \markboth{\acknowledgementsname@uestcthesis}{}%页眉设置
1550 \phantomsection%手动添加目录项之前需要这个命令,用以更新目录超链接的跳转页码。
1551 \addcontentsline{toc}{chapter}{\acknowledgementsname@uestcthesis}%将致谢编入目录
1552 \input{contents/acknowledgements.tex}%插入致谢内容
1553 }
1554 \newcommand{\insertreference}{
1555 \bibliographystyle{uestcthesis}
1556 %载入参考文献样式文件uestcthesis.bst。此参考文献样式只在GBT7714-2005NLang.bst的基础上改变了参考文献条目的行距,以符合电子科技大学的要求。修改处位于uestcthesis.bst文件的3542行。另外将英文作者名由全大写改为首字母大写。
1557 \phantomsection%手动添加目录项之前需要这个命令,用以更新目录超链接的跳转页码。
1558 \addcontentsline{toc}{chapter}{\CTEX@bibname}%将参考文献编入目录
1559 \nocite{*}%若将此命令屏蔽掉,则未引用的文献不会出现在文后的参考文献列表中。
1560 {\zihao{5}
1561 \bibliography{contents/reference}%插入参考文献
1562 }
1563 }
1564 \AtEndDocument{%插入到论文内容最后面。
1565 \begin{CJK}{UTF8}{rm}
1566 \ifdefstring{\degree@uestcthesis}{bachelor}{%检测是否为本科论文,调换参考文献与致谢的顺序
1567 \insertreference
1568 \newpage
1569 \insertacknowledgement
1570 }{
1571 \insertacknowledgement
1572 \newpage
1573 \insertreference
1574 }
1575 % \end{macrocode}
1576 % \changes{v0.6.1}{2014/01/20}{修正附录中图表公式的标号格式。}
1577 % \begin{macrocode}
1578 \appendix%附录版式
1579 \renewcommand{\thefigure}{\Alph{chapter}\textendash\arabic{figure}}
1580 \renewcommand{\thetable}{\Alph{chapter}\textendash\arabic{table}}
1581 \renewcommand{\theequation}{\Alph{chapter}\textendash\arabic{equation}}
1582 \renewcommand{\chaptermark}[1]{\markboth{\CTEX@appendixname\Alph{chapter}~ #1 }{}}%附录页眉设置
1583 \input{contents/appendix.tex}%插入附录内容
1584 \clearpage
1585 % \end{macrocode}
1586 % \subsubsection{本科外文资料翻译章节特殊设置}
1587 % \changes{v0.4.5}{2013/06/01}{设置外文资料章节的特殊格式。改写标准章节命令,让它们不向目录中加入条目。并重置章节号。}
1588 % 下面第一行先判断是否为本科论文。由于有的同学需要在外文翻译这两部分中使用章节标题命令。而又不希望它们按照正文的形式显示在目录中,所以需要如下设置。
1589 % \begin{macrocode}
1590 \ifdefstring{\degree@uestcthesis}{bachelor}{
1591
1592 \gdef\thechapter{\@arabic \c@chapter}
1593 %将章号由附录的ABC形式改回123形式.
1594
1595 \CTEXsetup[ name={,},
1596 number={}
1597 ]{chapter}
1598 %去掉|\chapter|命令生成的章标题章号。
1599
1600 \setcounter{chapter}{0}
1601 %让节标题使用的章号重新从1开始。形成1.1,1.2的节标题结构。
1602
1603 \def\Hy@org@chapter[#1]#2{%
1604 \ifnum \c@secnumdepth >\m@ne \if@mainmatter \refstepcounter {chapter}
1605 \typeout {\CTEXthechapter }\else \fi \else \fi \chaptermark {#1}\addtocontents{lof}
1606 {\protect \addvspace {10\p@ }}\addtocontents {lot}{\protect \addvspace {10\p@ }}
1607 \if@twocolumn \@topnewpage [\@makechapterhead {#2}]
1608 \else
1609 \@makechapterhead {#2}
1610 \@afterheading \fi
1611 }
1612 %去掉|\chapter|命令中的自动向目录中加入条目的功能。之后再使用|\chapter|命令,目录中不会产生新条目了。
1613
1614 \def\H@old@sect #1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth \let \@svsec \@empty
1615 \else \refstepcounter {#1}\protected@edef \@svsec {\@seccntformat {#1}\relax }\fi
1616 \@tempskipa #5\relax \ifdim \@tempskipa >\z@ \begingroup #6{\@hangfrom {\hskip #3
1617 \relax \@svsec }\interlinepenalty \@M \csname CTEX@#1@titleformat\endcsname #8
1618 \@@par }\endgroup \csname #1mark\endcsname {#7}\else \def \@svsechd
1619 {#6{\hskip #3\relax \@svsec \csname CTEX@#1@titleformat\endcsname #8}\csname #1mark
1620 \endcsname {#7}}\fi \@xsect {#5}}
1621 %去掉所有节标题命令自动向目录中加入条目的功能。之后使用|\section\subsection|等命令不会向目录中加入新条目了。
1622
1623
1624
1625 \renewcommand{\chaptermark}[1]{\markboth{外文资料原文}{}}
1626 \def\leftmark{外文资料原文}
1627 \newpage
1628 \phantomsection
1629 \addcontentsline{toc}{chapter}{外文资料原文}
1630
1631 \renewcommand{\CTEX@figurename}{Figure}
1632 \renewcommand{\CTEX@tablename}{Table}
1633 %在外文资料中图表题注使用英文显示。
1634
1635 \include{contents/original}
1636 \newpage
1637 \phantomsection
1638 \addcontentsline{toc}{chapter}{外文资料译文}
1639 \renewcommand{\chaptermark}[1]{\markboth{外文资料译文}{}}
1640 \def\leftmark{外文资料译文}
1641
1642 \renewcommand{\CTEX@figurename}{图}
1643 \renewcommand{\CTEX@tablename}{表}
1644 %将图表题注由英文改回中文。
1645
1646 \setcounter{chapter}{0}
1647 %由于译文和原文是对照翻译的形式,所以章号依然重置为1。
1648
1649 \include{contents/translation}
1650 }
1651 % \end{macrocode}
1652 % \subsubsection{硕博攻读期间发表论文章节特殊设置}
1653 % 下面的大括号实际上是上一节判断是否为本科论文的|\ifdefstring|命令的else部分。也就是只有硕博论文才执行的命令。
1654 % \begin{macrocode}
1655 {
1656 \ifdef{\usecv@uestcthesis}{\usecv@uestcthesis}{
1657 \IfFileExists{contents/publications.bib}{%如果删除了publications.bib,则不显示这一章
1658 \CTEXoptions[ bibname={\publicationsname@degree}]%设置攻博/硕期间发表的论文章题目
1659 \phantomsection%手动添加目录项之前需要这个命令,用以更新目录超链接的跳转页码。
1660 \addcontentsline{toc}{chapter}{\publicationsname@degree}%将攻博/硕期间发表的论文编入目录
1661 {\zihao{5}%
1662 % \end{macrocode}
1663 % footmisc宏包的perpage选项会向每个aux文件中写入一个命令。由于publications没有tex文件,只有aux文件。所以出现了错误。这里将要写入aux文件的内容清空。
1664 % \begin{macrocode}
1665 \def\footnotehint{}%
1666 \bibliographypublications{contents/publications}%插入攻博/硕期间发表的论文
1667 }}{}
1668 }
1669 }
1670 \clearpage\end{CJK}}
1671 }%这是大括号是前面onlychapters选项的ifdef命令的一部分。
1672 % \end{macrocode}
1673 % \iffalse
1674 %</class>
1675 % \fi
1676 % \iffalse
1677 %<*bst>
1678 % \fi
1679 % \section{参考文献样式}
1680 % \changes{v0.3}{2013/2/12}{修复了参考文献模板bst文件中原有的问题,
1681 % 不再需要其他工具替换bbl中的错误。即参考文献中的“|\\.|”修正为“|\\|”。}
1682 % \changes{v0.4.4}{2013/05/23}{增加一个参考文献类型,主要用于在攻读期间取得成果
1683 % 内录入获奖等不符合参考文献规范的内容。}
1684 %%本文件基于吴凯制作的GBT7714-2005NLang.bst(1 Beta 2 测试版2012年9月20日)修改而成。
1685 %%修改内容包括将英文作者的名放前姓放后,设置行距。可与原始文件对比修改位置。
1686 %%根据GBT7714-2005NLang.bst中copyright的要求,将文件名修改成uestcthesis.bst。
1687 %%对吴凯的杰出工作表示感谢!
1688 %bst文件内容不在文档中显示。
1689 % \iffalse
1690 ENTRY
1691 { address
1692 author
1693 booktitle
1694 chapter
1695 edition
1696 editor
1697 howpublished
1698 institution
1699 journal
1700 key
1701 month
1702 note
1703 number
1704 organization
1705 pages
1706 publisher
1707 school
1708 series
1709 title
1710 type
1711 volume
1712 year
1713 url
1714 TypeofLit %新加入:文献类型和标志代码
1715 normalauthor %不改变大小写的作者
1716 normaleditor %不改变大小写的编者
1717 translator %新加入:翻译者
1718 date %日期,公告日期,公开日期
1719 modifydate %修改日期
1720 citedate %引用日期
1721 patentid %专利号
1722 country %国家(主要用于专利中)
1723 miscyear %其它类中用于输出年份
1724 startyear %起始年
1725 startvolume %起始卷
1726 startnumber %起始期
1727 endyear %终止年
1728 endvolume %终止卷
1729 endnumber %终止期
1730 language %默认是英文文献,非空则表明是中文文献
1731 }
1732 {}
1733 { label extra.label sort.label short.list }
1734
1735 INTEGERS { output.state before.all mid.sentence after.sentence after.block }
1736 FUNCTION {format.url}
1737 { url empty$
1738 { "" }
1739 { new.block
1740 "\url{" url * "}" * }
1741 if$
1742 }
1743 FUNCTION {init.state.consts}
1744 { #0 'before.all :=
1745 #1 'mid.sentence :=
1746 #2 'after.sentence :=
1747 #3 'after.block :=
1748 }
1749
1750 STRINGS { s t }
1751
1752
1753
1754 FUNCTION {output.nonnull}
1755 { 's :=
1756 output.state mid.sentence =
1757 { ", " * write$ }
1758 { output.state after.block =
1759 { add.period$ write$
1760 newline$
1761 "\newblock " write$
1762 }
1763 { output.state before.all =
1764 'write$
1765 { add.period$ " " * write$ }
1766 if$
1767 }
1768 if$
1769 mid.sentence 'output.state :=
1770 }
1771 if$
1772 s
1773 }
1774
1775
1776 FUNCTION {coutput.nonnull} %wk
1777 { 's :=
1778 output.state mid.sentence =
1779 { "," * write$ } %
1780 { output.state after.block =
1781 { add.period$ write$
1782 newline$
1783 "\newblock " write$
1784 }
1785 { output.state before.all =
1786 'write$
1787 { add.period$ " " * write$ }
1788 if$
1789 }
1790 if$
1791 mid.sentence 'output.state :=
1792 }
1793 if$
1794 s
1795 }
1796
1797 FUNCTION {output}
1798 { duplicate$ empty$
1799 'pop$
1800 'output.nonnull
1801 if$
1802 }
1803
1804 FUNCTION {coutput} %wk
1805 { duplicate$ empty$
1806 'pop$
1807 'coutput.nonnull
1808 if$
1809 }
1810
1811 FUNCTION {output.check}
1812 { 't :=
1813 duplicate$ empty$
1814 { pop$ "empty " t * " in " * cite$ * warning$ }
1815 'output.nonnull
1816 if$
1817 }
1818
1819 FUNCTION {coutput.check} %wk
1820 { 't :=
1821 duplicate$ empty$
1822 { pop$ "empty " t * " in " * cite$ * warning$ }
1823 'coutput.nonnull
1824 if$
1825 }
1826
1827 FUNCTION {output.year.month.check}
1828 { year empty$
1829 { "empty year in " cite$ * warning$ }
1830 { add.period$ write$
1831 month empty$
1832 { " " year * extra.label * "." *
1833 after.sentence 'output.state :=
1834 }
1835 { " " year * extra.label * " (" * month * ")." *
1836 after.sentence 'output.state :=
1837 }
1838 if$
1839 }
1840 if$
1841 }
1842
1843 FUNCTION {output.cyear.month.check} %wk
1844 { year empty$
1845 { "empty year in " cite$ * warning$ }
1846 {write$
1847 month empty$
1848 {year %wk
1849 after.sentence 'output.state :=
1850 }
1851 { "" year * extra.label * "(" * month * ")" * %wk
1852 after.sentence 'output.state :=
1853 }
1854 if$
1855 }
1856 if$
1857 }
1858
1859
1860 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1861 FUNCTION {output.modifydate.check}
1862 {modifydate
1863 }
1864
1865 FUNCTION {output.citedate.check}
1866 { year empty$
1867 { "" }
1868 { write$
1869 "[" citedate * extra.label * "]" *
1870 after.sentence 'output.state :=
1871 }
1872 if$
1873 }
1874
1875
1876 FUNCTION {output.year.check}
1877 { year empty$
1878 { "empty year in " cite$ * warning$ }
1879 {miscyear empty$
1880 {year}
1881 {miscyear}
1882 if$ %wk
1883 }
1884 if$
1885 extra.label *
1886 }
1887
1888 FUNCTION {output.cyear.check} %wk
1889 { year empty$
1890 { "empty year in " cite$ * warning$ }
1891 {miscyear empty$
1892 {year}
1893 {miscyear}
1894 if$ %wk
1895 }
1896 if$
1897 extra.label *
1898 }
1899 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1900
1901 FUNCTION {output.continue.year.check} %wk
1902 {
1903 endyear empty$
1904 {startyear empty$
1905 {year empty$
1906 { "empty year in " cite$ * warning$ }
1907 {"" year * "" * }
1908 if$
1909 }
1910 {"" startyear * "-" * }
1911 if$
1912 }
1913 {startyear empty$
1914 {year empty$
1915 { "empty year in " cite$ * warning$ }
1916 {"" year * "" * }
1917 if$
1918 }
1919 {"" startyear * "-" *
1920 "" endyear * "" * *
1921 }
1922 if$
1923 }
1924 if$
1925 }
1926
1927
1928 FUNCTION {output.continue.cyear.check} %wk
1929 {
1930 endyear empty$
1931 {startyear empty$
1932 {year empty$
1933 { "empty year in " cite$ * warning$ }
1934 {"" year * "" * }
1935 if$
1936 }
1937 {"" startyear * "-" * }
1938 if$
1939 }
1940 {startyear empty$
1941 {year empty$
1942 { "empty year in " cite$ * warning$ }
1943 {"" year * "" * }
1944 if$
1945 }
1946 {"" startyear * "-" *
1947 "" endyear * "" * *
1948 }
1949 if$
1950 }
1951 if$
1952 }
1953
1954 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
1955 FUNCTION {output.article.year.check}
1956 {month empty$
1957 {
1958 year empty$
1959 { "empty year in " cite$ * warning$ }
1960 {year %wk
1961 }
1962 if$
1963 }
1964 {
1965 TypeofLit empty$
1966 {year empty$
1967 { "empty year in " cite$ * warning$ }
1968 {year %wk
1969 }
1970 if$}
1971
1972 {year empty$
1973 { "empty year in " cite$ * warning$ }
1974 {year %wk
1975 "-" month * "" * *
1976 }
1977 if$
1978 }
1979 if$
1980 }
1981 if$
1982 }
1983
1984 FUNCTION {output.carticle.year.check} %wk
1985 {month empty$
1986 {
1987 year empty$
1988 { "empty year in " cite$ * warning$ }
1989 {year %wk
1990 }
1991 if$
1992 }
1993 {
1994 TypeofLit empty$
1995 {year empty$
1996 { "empty year in " cite$ * warning$ }
1997 {year %wk
1998 }
1999 if$}
2000
2001 {year empty$
2002 { "empty year in " cite$ * warning$ }
2003 {year %wk
2004 "-" month * "" * *
2005 }
2006 if$
2007 }
2008 if$
2009 }
2010 if$
2011 }
2012 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2013
2014 FUNCTION {output.bibitem}
2015 { newline$
2016 "\bibitem[" write$
2017 label write$
2018 "]{" write$
2019 cite$ write$
2020 "}" write$
2021 newline$
2022 ""
2023 before.all 'output.state :=
2024 }
2025
2026 FUNCTION {fin.entry}
2027 { add.period$ %这行控制参考文献条目最后的句号。by sfj
2028 write$
2029 newline$
2030 }
2031
2032 FUNCTION {new.block}
2033 { output.state before.all =
2034 'skip$
2035 { after.block 'output.state := }
2036 if$
2037 }
2038
2039 FUNCTION {new.sentence}
2040 { output.state after.block =
2041 'skip$
2042 { output.state before.all =
2043 'skip$
2044 { after.sentence 'output.state := }
2045 if$
2046 }
2047 if$
2048 }
2049
2050 FUNCTION {not}
2051 { { #0 }
2052 { #1 }
2053 if$
2054 }
2055
2056 FUNCTION {and}
2057 { 'skip$
2058 { pop$ #0 }
2059 if$
2060 }
2061
2062 FUNCTION {or}
2063 { { pop$ #1 }
2064 'skip$
2065 if$
2066 }
2067
2068 FUNCTION {new.block.checkb}
2069 { empty$
2070 swap$ empty$
2071 and
2072 'skip$
2073 'new.block
2074 if$
2075 }
2076
2077 FUNCTION {field.or.null}
2078 { duplicate$ empty$
2079 { pop$ "" }
2080 'skip$
2081 if$
2082 }
2083
2084 FUNCTION {boldface}
2085 { duplicate$ empty$
2086 { pop$ "" }
2087 { "{\bf " swap$ * "}" * }
2088 if$
2089 }
2090
2091 %FUNCTION {emphasize}
2092 %{ duplicate$ empty$
2093 % { pop$ "" }
2094 % { "{\em " swap$ * "}" * }
2095 % if$
2096 %}
2097
2098
2099 %%%%%%%%%%%%%%%%%%%
2100 Function{upcase}
2101 { duplicate$ empty$
2102 { pop$ "" }
2103 { "u" change.case$ }
2104 if$
2105 }
2106 %FUNCTION {bib.name.font}
2107 %{ upcase }
2108 %FUNCTION {bib.fname.font}
2109 %{ bib.name.font }
2110 %%%%%%%%%%%%%%%%%%%%
2111
2112 %%%%%%%%%%%%%%%%%%%%%%%
2113
2114 INTEGERS { nameptr namesleft numnames }
2115
2116 FUNCTION {capitalize}
2117 { "u" change.case$ "t" change.case$ }
2118
2119 FUNCTION {format.names}
2120 { 's :=
2121 #1 'nameptr :=
2122 s num.names$ 'numnames :=
2123 numnames 'namesleft :=
2124 { namesleft #0 > }
2125 { s nameptr "{f.~}{vv~}{ll}{, jj}"
2126 format.name$
2127 remove.dots
2128 't :=
2129 nameptr #1 >
2130 {
2131 nameptr #3
2132 #1 + =
2133 numnames #3
2134 > and
2135 { "others" 't :=
2136 #1 'namesleft := }
2137 'skip$
2138 if$
2139 namesleft #1 >
2140 { ", " * t * }
2141 { numnames #2 >
2142 { "" * }
2143 'skip$
2144 if$
2145 s nameptr "{ll}" format.name$ duplicate$ "others" =
2146 { 't := }
2147 { pop$ }
2148 if$
2149 t "others" =
2150 {%bib.name.font %改为大写
2151 ", et al" *
2152 }
2153 {", " * t * }
2154 if$
2155 }
2156 if$
2157 }
2158 't
2159 if$
2160 nameptr #1 + 'nameptr :=
2161 namesleft #1 - 'namesleft :=
2162 }
2163 while$
2164 %%%%%%%%%%%
2165 % t "others" = %改为大写
2166 % 'skip$ %改为大写
2167 % { bib.name.font } %改为大写
2168 % if$ %改为大写
2169 %%%%%%%%%%%
2170 }
2171
2172
2173 FUNCTION {format.cnames} %wk
2174 { 's :=
2175 #1 'nameptr :=
2176 s num.names$ 'numnames :=
2177 numnames 'namesleft :=
2178 { namesleft #0 > }
2179 { s nameptr "{vv~}{ll}{ f{~}}{ jj}" format.name$
2180 remove.dots
2181 't :=
2182 nameptr #1 >
2183 {
2184 nameptr #3
2185 #1 + =
2186 numnames #3
2187 > and
2188 { "others" 't :=
2189 #1 'namesleft := }
2190 'skip$
2191 if$
2192 namesleft #1 >
2193 { ", " * t * }
2194 { numnames #2 >
2195 { "" * }
2196 'skip$
2197 if$
2198 s nameptr "{ll}" format.name$ duplicate$ "others" =
2199 { 't := }
2200 { pop$ }
2201 if$
2202 t "others" =
2203 { ",等" *
2204 % bib.name.font %改为大写
2205 }
2206 {", " * t * }
2207 if$
2208 }
2209 if$
2210 }
2211 't
2212 if$
2213 nameptr #1 + 'nameptr :=
2214 namesleft #1 - 'namesleft :=
2215 }
2216 while$
2217 %%%%%%%%%%%
2218 % t "others" = %改为大写
2219 % 'skip$ %改为大写
2220 % { bib.name.font } %改为大写
2221 % if$ %改为大写
2222 %%%%%%%%%%%
2223 }
2224
2225 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2226 %不加大写的名字
2227 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2228
2229 FUNCTION {format.normal.names}
2230 { 's :=
2231 #1 'nameptr :=
2232 s num.names$ 'numnames :=
2233 numnames 'namesleft :=
2234 { namesleft #0 > }
2235 { s nameptr "{vv~}{ll}{ f{~}}{, jj}"
2236 format.name$
2237 remove.dots
2238 't :=
2239 nameptr #1 >
2240 {
2241 nameptr #3
2242 #1 + =
2243 numnames #3
2244 > and
2245 { "others" 't :=
2246 #1 'namesleft := }
2247 'skip$
2248 if$
2249 namesleft #1 >
2250 { ", " * t * }
2251 { numnames #2 >
2252 { "" * }
2253 'skip$
2254 if$
2255 s nameptr "{ll}" format.name$ duplicate$ "others" =
2256 { 't := }
2257 { pop$ }
2258 if$
2259 t "others" =
2260 { ", et al" * }
2261 {", " * t * }
2262 if$
2263 }
2264 if$
2265 }
2266 't
2267 if$
2268 nameptr #1 + 'nameptr :=
2269 namesleft #1 - 'namesleft :=
2270 }
2271 while$
2272 }
2273
2274
2275 FUNCTION {format.normal.cnames} %wk
2276 { 's :=
2277 #1 'nameptr :=
2278 s num.names$ 'numnames :=
2279 numnames 'namesleft :=
2280 { namesleft #0 > }
2281 { s nameptr "{vv~}{ll}{ f{~}}{ jj}" format.name$
2282 remove.dots
2283 't :=
2284 nameptr #1 >
2285 {
2286 nameptr #3
2287 #1 + =
2288 numnames #3
2289 > and
2290 { "others" 't :=
2291 #1 'namesleft := }
2292 'skip$
2293 if$
2294 namesleft #1 >
2295 { ", " * t * }
2296 { numnames #2 >
2297 { "" * }
2298 'skip$
2299 if$
2300 s nameptr "{ll}" format.name$ duplicate$ "others" =
2301 { 't := }
2302 { pop$ }
2303 if$
2304 t "others" =
2305 { ",等" * }
2306 {", " * t * }
2307 if$
2308 }
2309 if$
2310 }
2311 't
2312 if$
2313 nameptr #1 + 'nameptr :=
2314 namesleft #1 - 'namesleft :=
2315 }
2316 while$
2317 }
2318 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2319
2320 FUNCTION {format.authors}
2321 { author empty$
2322 { "" }
2323 {normalauthor empty$
2324 {author format.names }
2325 {normalauthor format.normal.names}
2326 if$
2327 }
2328 if$
2329 }
2330
2331 FUNCTION {format.cauthors} %wk
2332 { author empty$
2333 { "" }
2334 {normalauthor empty$
2335 {author format.cnames }
2336 {normalauthor format.normal.cnames}
2337 if$
2338 }
2339 if$
2340 }
2341
2342 FUNCTION {format.key}
2343 { empty$
2344 { key field.or.null }
2345 { "" }
2346 if$
2347 }
2348
2349 FUNCTION {format.editors}
2350 { editor empty$
2351 { "" }
2352 {normaleditor empty$
2353 {editor format.names }
2354 {normaleditor format.normal.names}
2355 if$
2356 editor num.names$ #1 > % Use ODWE abbrevs.
2357 { "" * } % to avoid
2358 { "" * } % ambiguity between
2359 if$ % "editor" and
2360 } % "edition".
2361 if$
2362 }
2363
2364 FUNCTION {format.ceditors} %wk 本函数
2365 { editor empty$
2366 { "" }
2367 {
2368 normaleditor empty$
2369 {editor * "" * format.cnames }
2370 {normaleditor * "" * format.normal.cnames}
2371 if$
2372 }
2373 if$
2374 }
2375 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2376 FUNCTION {format.title} % Nothing needs
2377 { title empty$ % doing here in
2378 { "" } % authordate1.bst
2379 { title } % or
2380 if$ % authordate3.bst.
2381 }
2382
2383 FUNCTION {format.ctitle} %wk % Nothing needs
2384 { title empty$ % doing here in
2385 { "" } % authordate1.bst
2386 {title} % or
2387 if$ % authordate3.bst.
2388 }
2389 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2390
2391
2392 FUNCTION {format.article.title} % Nothing needs
2393 {title empty$ % doing here in
2394 { "" } % authordate1.bst
2395 {
2396 typeoflit empty$
2397 {format.title "[J]" * title output.check}
2398 {format.title title output.check}
2399 if$
2400 }
2401 if$
2402 TypeofLit empty$
2403 {""}
2404 { "[" TypeofLit * "]" * * }
2405 if$
2406 % authordate3.bst.
2407 }
2408
2409
2410 FUNCTION {format.carticle.title} % Nothing needs
2411 {title empty$ % doing here in
2412 { "" } % authordate1.bst
2413 {
2414 typeoflit empty$
2415 {format.title "[J]" * title output.check}
2416 {format.title title output.check}
2417 if$
2418 }
2419 if$
2420
2421 TypeofLit empty$
2422 {""}
2423 { "[" TypeofLit * "]" * * }
2424 if$
2425 % authordate3.bst.
2426 }
2427 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2428 FUNCTION {format.book.title} % Nothing needs
2429 {title empty$ % doing here in
2430 { "" } % authordate1.bst
2431 {
2432 typeoflit empty$
2433 {format.title "[M]" * title output.check}
2434 {format.title title output.check}
2435 if$
2436 }
2437 if$
2438 TypeofLit empty$
2439 {""}
2440 { "[" TypeofLit * "]" * * }
2441 if$
2442 % authordate3.bst.
2443 }
2444
2445
2446 FUNCTION {format.cbook.title} %wk % Nothing needs
2447 {title empty$ % doing here in
2448 { "" } % authordate1.bst
2449 {
2450 typeoflit empty$
2451 {format.title "[M]" * title output.check}
2452 {format.title title output.check}
2453 if$
2454 }
2455 if$
2456 TypeofLit empty$
2457 {""}
2458 { "[" TypeofLit * "]" * * }
2459 if$
2460 % authordate3.bst.
2461 }
2462 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2463 FUNCTION {format.misc.title} %wk % Nothing needs
2464 {
2465 patentid empty$
2466 {%没有专利号应该是其它类型文献,直接标准输出
2467 title empty$ % doing here in
2468 { "" } % authordate1.bst
2469 {
2470 typeoflit empty$
2471 {format.title "[缺文献类型标志代码]." * title output.check}
2472 {format.title title output.check}
2473 if$
2474 }
2475 if$
2476 TypeofLit empty$
2477 {""}
2478 { "[" TypeofLit * "]." * * }
2479 if$
2480 }
2481 {%有专利号
2482 country empty$
2483 {
2484 title empty$ % doing here in
2485 { "" } % authordate1.bst
2486 {
2487 typeoflit empty$
2488 {format.title "[缺文献类型标志代码]." * title output.check}
2489 {format.title title output.check}
2490 if$
2491 }
2492 if$
2493 TypeofLit empty$
2494 {""}
2495 { "[" TypeofLit * "]." * * }
2496 if$
2497 "" patentid * "" * *
2498 }
2499 {%有专利号,有国家
2500 title empty$ % doing here in
2501 { "" } % authordate1.bst
2502 {
2503 typeoflit empty$
2504 {format.title "[缺文献类型标志代码]." * title output.check}
2505 {format.title title output.check}
2506 if$
2507 }
2508 if$
2509
2510 ":" country * "," * *
2511 "" patentid * "" * *
2512 TypeofLit empty$
2513 {""}
2514 { "[" TypeofLit * "]." * * }
2515 if$
2516
2517 }
2518 if$
2519 }
2520 if$
2521
2522 }
2523
2524
2525 FUNCTION {format.cmisc.title} %wk % Nothing needs
2526 {
2527 patentid empty$
2528 {%没有专利号应该是其它类型文献,直接标准输出
2529 title empty$ % doing here in
2530 { "" } % authordate1.bst
2531 {
2532 typeoflit empty$
2533 {format.title "[缺文献类型标志代码]." * title output.check}
2534 {format.title title output.check}
2535 if$
2536 }
2537 if$
2538 TypeofLit empty$
2539 {""}
2540 { "[" TypeofLit * "]." * * }
2541 if$
2542 }
2543 {%有专利号
2544 country empty$
2545 {
2546 title empty$ % doing here in
2547 { "" } % authordate1.bst
2548 {
2549 typeoflit empty$
2550 {format.title "[缺文献类型标志代码]." * title output.check}
2551 {format.title title output.check}
2552 if$
2553 }
2554 if$
2555 TypeofLit empty$
2556 {""}
2557 { "[" TypeofLit * "]." * * }
2558 if$
2559 "" patentid * "" * *
2560 }
2561 {%有专利号,有国家
2562 title empty$ % doing here in
2563 { "" } % authordate1.bst
2564 {
2565 typeoflit empty$
2566 {format.title "[缺文献类型标志代码]." * title output.check}
2567 {format.title title output.check}
2568 if$
2569 }
2570 if$
2571
2572 ":" country * "," * *
2573 "" patentid * "" * *
2574 TypeofLit empty$
2575 {""}
2576 { "[" TypeofLit * "]." * * }
2577 if$
2578
2579 }
2580 if$
2581 }
2582 if$
2583
2584 }
2585 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2586
2587 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2588
2589 FUNCTION {format.proceedings.title} % Nothing needs
2590 {title empty$ % doing here in
2591 { "" } % authordate1.bst
2592 {
2593 typeoflit empty$
2594 {format.title "[C]" * title output.check}
2595 {format.title title output.check}
2596 if$
2597 }
2598 if$
2599
2600 TypeofLit empty$
2601 {""}
2602 { "[" TypeofLit * "]" * * }
2603 if$
2604 % authordate3.bst.
2605 }
2606
2607
2608 FUNCTION {format.cproceedings.title} % Nothing needs
2609 {title empty$ % doing here in
2610 { "" } % authordate1.bst
2611 {
2612 typeoflit empty$
2613 {format.title "[C]" * title output.check}
2614 {format.title title output.check}
2615 if$
2616 }
2617 if$
2618
2619 TypeofLit empty$
2620 {""}
2621 { "[" TypeofLit * "]" * * }
2622 if$
2623 % authordate3.bst.
2624 }
2625 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2626 FUNCTION {format.incollection.title} % Nothing needs
2627 {title empty$ % doing here in
2628 { "" } % authordate1.bst
2629 {
2630 typeoflit empty$
2631 {format.title "[M]//" * title output.check}
2632 {format.title "" * title output.check}
2633 if$
2634 }
2635 if$
2636
2637 TypeofLit empty$
2638 {""}
2639 { "[" TypeofLit * "]//" * * }
2640 if$
2641 % authordate3.bst.
2642 }
2643
2644
2645 FUNCTION {format.cincollection.title} % Nothing needs
2646 {title empty$ % doing here in
2647 { "" } % authordate1.bst
2648 {
2649 typeoflit empty$
2650 {format.title "[M]//" * title output.check}
2651 {format.title "" * title output.check}
2652 if$
2653 }
2654 if$
2655
2656 TypeofLit empty$
2657 {""}
2658 { "[" TypeofLit * "]//" * * }
2659 if$
2660 % authordate3.bst.
2661 }
2662 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2663 FUNCTION {format.inproceedings.title} % Nothing needs
2664 {title empty$ % doing here in
2665 { "" } % authordate1.bst
2666 {
2667 typeoflit empty$
2668 {format.title "[C]//" * title output.check}
2669 {format.title "" * title output.check}
2670 if$
2671 }
2672 if$
2673
2674 TypeofLit empty$
2675 {""}
2676 { "[" TypeofLit * "]//" * * }
2677 if$
2678 % authordate3.bst.
2679 }
2680
2681
2682 FUNCTION {format.cinproceedings.title} % Nothing needs
2683 {title empty$ % doing here in
2684 { "" } % authordate1.bst
2685 {
2686 typeoflit empty$
2687 {format.title "[C]//" * title output.check}
2688 {format.title "" * title output.check}
2689 if$
2690 }
2691 if$
2692
2693 TypeofLit empty$
2694 {""}
2695 { "[" TypeofLit * "]//" * * }
2696 if$
2697 % authordate3.bst.
2698 }
2699 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2700
2701 FUNCTION {n.dashify}
2702 { 't :=
2703 ""
2704 { t empty$ not }
2705 { t #1 #1 substring$ "-" =
2706 { t #1 #2 substring$ "--" = not
2707 { "--" *
2708 t #2 global.max$ substring$ 't :=
2709 }
2710 { { t #1 #1 substring$ "-" = }
2711 { "-" *
2712 t #2 global.max$ substring$ 't :=
2713 }
2714 while$
2715 }
2716 if$
2717 }
2718 { t #1 #1 substring$ *
2719 t #2 global.max$ substring$ 't :=
2720 }
2721 if$
2722 }
2723 while$
2724 }
2725
2726 FUNCTION {format.btitle}
2727 { title empty$
2728 { "" } % Don't change case
2729 {booktitle} % in
2730 if$ % authordate1.bst
2731 } % or
2732
2733 FUNCTION {format.cbtitle} %wk % Nothing needs
2734 { title empty$ % doing here in
2735 { "" } % authordate1.bst
2736 {booktitle} % or
2737 if$ % authordate3.bst.
2738 }
2739 % authordate3.bst.
2740 FUNCTION {tie.or.space.connect}
2741 { duplicate$ text.length$ #3 <
2742 { "~" }
2743 { " " }
2744 if$
2745 swap$ * *
2746 }
2747
2748 FUNCTION {either.or.check}
2749 { empty$
2750 'pop$
2751 { "can't use both " swap$ * " fields in " * cite$ * warning$ }
2752 if$
2753 }
2754
2755 INTEGERS { multiresult }
2756
2757 FUNCTION {multi.page.check}
2758 { 't :=
2759 #0 'multiresult :=
2760 { multiresult not
2761 t empty$ not
2762 and
2763 }
2764 { t #1 #1 substring$
2765 duplicate$ "-" =
2766 swap$ duplicate$ "," =
2767 swap$ "+" =
2768 or or
2769 { #1 'multiresult := }
2770 { t #2 global.max$ substring$ 't := }
2771 if$
2772 }
2773 while$
2774 multiresult
2775 }
2776
2777 FUNCTION {format.numberinseries}
2778 { number empty$
2779 { "" }
2780 { number multi.page.check
2781 { ", nos. " number n.dashify tie.or.space.connect }
2782 { ", no. " number tie.or.space.connect }
2783 if$
2784 }
2785 if$
2786 }
2787
2788 FUNCTION {format.cnumberinseries} %wk
2789 { number empty$
2790 { "" }
2791 { number multi.page.check
2792 { ", 第" number n.dashify tie.or.space.connect * "期"} %wk
2793 { ", 第" number tie.or.space.connect * "期"} %wk
2794 if$
2795 }
2796 if$
2797 }
2798 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2799 FUNCTION {booklike.series.volume.number} % Chicago, pages
2800 { series empty$ % 450-451.
2801 { volume empty$
2802 { " " }
2803 { " Vol. " volume * }
2804 if$
2805 }
2806 {
2807 volume empty$
2808 { number empty$
2809 { series }
2810 { series format.numberinseries * }
2811 if$
2812 }
2813 { number empty$
2814 { series ", vol. " volume * * }
2815 { series ", vol. " * volume * format.numberinseries * }
2816 if$
2817 }
2818 if$
2819 }
2820 if$
2821 }
2822
2823 FUNCTION {cbooklike.series.volume.number.pages} %wk加入页码 ??? % Chicago, pages %wk
2824 { series empty$ % 450-451.
2825 { volume empty$
2826 { pages empty$
2827 'skip$
2828 { duplicate$ empty$
2829 { pop$ format.pages }
2830 { ":" * pages n.dashify * "" *} %wk 改为第页
2831 if$
2832 }
2833 if$}
2834 { "卷" volume * }
2835 if$
2836 }
2837 {
2838 volume empty$
2839 { number empty$
2840 { series }
2841 { series format.numberinseries * }
2842 if$
2843 }
2844 { number empty$
2845 { series ",第" volume * "卷" * * }
2846 { series "卷" * volume * format.cnumberinseries * }
2847 if$
2848 }
2849 if$
2850 }
2851 if$
2852 }
2853 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
2854 FUNCTION {incollectionlike.series.volume.number.pages} %wk
2855 { series empty$
2856 { volume empty$
2857 { pages empty$
2858 'skip$
2859 { duplicate$ empty$
2860 { pop$ format.pages }
2861 { ":" * pages n.dashify * "" *} %wk 改为第页
2862 if$
2863 }
2864 if$}
2865 { "," volume * "" * *
2866 pages empty$
2867 'skip$
2868 { duplicate$ empty$
2869 { pop$ format.pages }
2870 { ":" * pages n.dashify * "" *} %wk 改为第页
2871 if$
2872 }
2873 if$}
2874 if$
2875 }
2876 { new.block
2877 volume empty$
2878 { number empty$
2879 { series }
2880 { series format.numberinseries * }
2881 if$
2882 }
2883 { number empty$
2884 { series ", vol. " volume * * }
2885 { series ", vol. " * volume * format.numberinseries * }
2886 if$
2887 }
2888 if$
2889 }
2890 if$
2891 }
2892
2893 FUNCTION {cincollectionlike.series.volume.number.pages} %wk
2894 { series empty$
2895 { volume empty$
2896 { pages empty$
2897 'skip$
2898 { duplicate$ empty$
2899 { pop$ format.pages }
2900 { ":" * pages n.dashify * "" *} %wk 改为第页
2901 if$
2902 }
2903 if$}
2904 { ",第" volume * "卷" * *
2905 pages empty$
2906 'skip$
2907 { duplicate$ empty$
2908 { pop$ format.pages }
2909 { ":" * pages n.dashify * "" *} %wk 改为第页
2910 if$
2911 }
2912 if$}
2913 if$
2914 }
2915 { new.block
2916 volume empty$
2917 { number empty$
2918 { series }
2919 { series format.numberinseries * }
2920 if$
2921 }
2922 { number empty$
2923 { series ", vol. " volume * * }
2924 { series ", vol. " * volume * format.numberinseries * }
2925 if$
2926 }
2927 if$
2928 }
2929 if$
2930 }
2931
2932
2933 FUNCTION {format.TypeofLit} %wk 完全改写
2934 { TypeofLit empty$
2935 { "" }
2936 {"[" TypeofLit * "]" *}
2937 if$
2938 }
2939
2940
2941 FUNCTION {format.edition}
2942 { edition empty$
2943 {
2944 translator empty$
2945 { "" }
2946 {"" translator * ",translation" * }
2947 if$
2948 }
2949 {
2950 translator empty$
2951 {edition}
2952 {translator output
2953 ",translation." edition * "" * *}
2954 if$
2955 }
2956 if$
2957 }
2958
2959
2960 FUNCTION {format.cedition} %wk 完全改写
2961 { edition empty$
2962 {
2963 translator empty$
2964 { "" }
2965 {"" translator format.cnames * ",译" *}
2966 if$
2967 }
2968 {
2969 translator empty$
2970 {edition}
2971 {translator format.cnames output
2972 ",译." edition * "" * *}
2973 if$
2974 }
2975 if$
2976 }
2977
2978
2979
2980
2981 FUNCTION {format.ctranslator} %wk 完全改写
2982 { translator empty$
2983 { "" }
2984 {format.cnames ",译" * "translator" output.check}
2985 if$
2986 }
2987
2988 FUNCTION {format.pages}
2989 { pages empty$
2990 { "" }
2991 { pages multi.page.check
2992 { ":" pages n.dashify tie.or.space.connect * }
2993 { ":" pages tie.or.space.connect * }
2994 if$
2995 }
2996 if$
2997 }
2998
2999 FUNCTION {format.pagesinbook} % By the time the
3000 { pages empty$ % reader has read
3001 { "" } % address, pub'r,
3002 { pages multi.page.check % note (where the
3003 { ":" pages n.dashify tie.or.space.connect } % note may end with
3004 { ":" pages tie.or.space.connect } % numbers), s/he
3005 if$ % may not recognise
3006 } % a number-range as
3007 if$ % meaning pages.
3008 } % Avoid ambiguity
3009 % (Butcher, p.181).
3010
3011 FUNCTION {format.cpagesinbook} % By the time the %wk
3012 { pages empty$ % reader has read
3013 { "" } % address, pub'r,
3014 { pages multi.page.check % note (where the
3015 { ":" * pages n.dashify tie.or.space.connect * "" } % note may end with
3016 { ":" * "Page " pages tie.or.space.connect * ""} % numbers), s/he
3017 if$ % may not recognise
3018 } % a number-range as
3019 if$ % meaning pages.
3020 } % Avoid ambiguity
3021
3022 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3023 FUNCTION {format.vol.num.date.pages} %wk
3024 {volume empty$ %wk 被重新改过
3025 'skip$ %wk 被重新改过
3026 {volume %wk 被重新改过
3027 } %wk 被重新改过
3028 if$ %wk 被重新改过
3029 number empty$ %wk 被重新改过
3030 'skip$ %wk 被重新改过
3031 { "(" number * ")" * * %wk 被重新改过
3032 volume empty$ %wk 被重新改过
3033 { "there's a number but no volume in " cite$ * warning$ } %wk 被重新改过
3034 'skip$ %wk 被重新改过
3035 if$ %wk 被重新改过
3036 } %wk 被重新改过
3037 if$ %wk 被重新改过
3038 pages empty$
3039 'skip$
3040 { duplicate$ empty$
3041 { pop$ format.pages }
3042 { ":" * pages n.dashify * "" *} %wk 改为第页
3043 if$
3044 }
3045 if$
3046 }
3047
3048
3049 FUNCTION {format.cvol.num.date.pages} %wk
3050 {volume empty$ %wk 被重新改过
3051 'skip$ %wk 被重新改过
3052 {volume %wk 被重新改过
3053 } %wk 被重新改过
3054 if$ %wk 被重新改过
3055 number empty$ %wk 被重新改过
3056 'skip$ %wk 被重新改过
3057 { "(" number * ")" * * %wk 被重新改过
3058 volume empty$ %wk 被重新改过
3059 { "there's a number but no volume in " cite$ * warning$ } %wk 被重新改过
3060 'skip$ %wk 被重新改过
3061 if$ %wk 被重新改过
3062 } %wk 被重新改过
3063 if$ %wk 被重新改过
3064 pages empty$
3065 'skip$
3066 { duplicate$ empty$
3067 { pop$ format.pages }
3068 { ":" * pages n.dashify * "" *} %wk 改为第页
3069 if$
3070 }
3071 if$
3072 }
3073
3074 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3075 FUNCTION {format.article.vol.num.date.pages} %wk
3076 {
3077 volume empty$ %wk 被重新改过
3078 'skip$ %wk 被重新改过
3079 {volume %wk 被重新改过
3080 } %wk 被重新改过
3081 if$ %wk 被重新改过
3082 number empty$ %wk 被重新改过
3083 'skip$ %wk 被重新改过
3084 { "(" number * ")" * * %wk 被重新改过
3085 volume empty$ %wk 被重新改过
3086 { "there's a number but no volume in " cite$ * warning$ } %wk 被重新改过
3087 'skip$ %wk 被重新改过
3088 if$ %wk 被重新改过
3089 } %wk 被重新改过
3090 if$ %wk 被重新改过
3091 pages empty$
3092 'skip$
3093 { duplicate$ empty$
3094 { pop$ format.pages }
3095 { ":" * pages n.dashify * "" *} %wk 改为第页
3096 if$
3097 }
3098 if$
3099 }
3100
3101
3102
3103 FUNCTION {format.carticle.vol.num.date.pages} %wk
3104 {
3105 volume empty$ %wk 被重新改过
3106 'skip$ %wk 被重新改过
3107 {volume %wk 被重新改过
3108 } %wk 被重新改过
3109 if$ %wk 被重新改过
3110 number empty$ %wk 被重新改过
3111 'skip$ %wk 被重新改过
3112 { "(" number * ")" * * %wk 被重新改过
3113 volume empty$ %wk 被重新改过
3114 { "there's a number but no volume in " cite$ * warning$ } %wk 被重新改过
3115 'skip$ %wk 被重新改过
3116 if$ %wk 被重新改过
3117 } %wk 被重新改过
3118 if$ %wk 被重新改过
3119 pages empty$
3120 'skip$
3121 { duplicate$ empty$
3122 { pop$ format.pages }
3123 { ":" * pages n.dashify * "" *} %wk 改为第页
3124 if$
3125 }
3126 if$
3127 }
3128
3129
3130 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3131 FUNCTION {format.book.continue.vol.num} %wk
3132 {
3133 startyear empty$
3134 'skip$
3135 {"." startyear * "" * *
3136 startvolume empty$ %wk 被重新改过
3137 'skip$ %wk 被重新改过
3138 {"," startvolume * "" * *} %wk 被重新改过
3139 if$
3140 %wk 被重新改过
3141 startnumber empty$ %wk 被重新改过
3142 'skip$ %wk 被重新改过
3143 { "(" startnumber * ")-" * * } %wk 被重新改过
3144 if$ %wk 被重新改过
3145 } %wk 被重新改过
3146 if$
3147 %wk 被重新改过
3148 endyear empty$
3149 'skip$
3150 {"" endyear * "" * *
3151 endvolume empty$ %wk 被重新改过
3152 'skip$ %wk 被重新改过
3153 {"," endvolume * "" * *} %wk 被重新改过
3154 if$
3155 %wk 被重新改过
3156 endnumber empty$ %wk 被重新改过
3157 'skip$ %wk 被重新改过
3158 { "(" endnumber * ")" * * } %wk 被重新改过
3159 if$ %wk 被重新改过
3160 } %wk 被重新改过
3161 if$
3162 }
3163
3164
3165
3166
3167 FUNCTION {format.cbook.continue.vol.num} %wk
3168 {
3169 startyear empty$
3170 'skip$
3171 {"." startyear * "" * *
3172 startvolume empty$ %wk 被重新改过
3173 'skip$ %wk 被重新改过
3174 {"," startvolume * "" * *} %wk 被重新改过
3175 if$
3176 %wk 被重新改过
3177 startnumber empty$ %wk 被重新改过
3178 'skip$ %wk 被重新改过
3179 { "(" startnumber * ")-" * * } %wk 被重新改过
3180 if$ %wk 被重新改过
3181 } %wk 被重新改过
3182 if$
3183 %wk 被重新改过
3184 endyear empty$
3185 'skip$
3186 {"" endyear * "" * *
3187 endvolume empty$ %wk 被重新改过
3188 'skip$ %wk 被重新改过
3189 {"," endvolume * "" * *} %wk 被重新改过
3190 if$
3191 %wk 被重新改过
3192 endnumber empty$ %wk 被重新改过
3193 'skip$ %wk 被重新改过
3194 { "(" endnumber * ")" * * } %wk 被重新改过
3195 if$ %wk 被重新改过
3196 } %wk 被重新改过
3197 if$
3198 }
3199
3200
3201
3202 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3203 FUNCTION {format.date.modifydate.citedate} %wk
3204 {
3205 date empty$ %wk 被重新改过
3206 'skip$ %wk 被重新改过
3207 {date %wk 被重新改过
3208 } %wk 被重新改过
3209 if$ %wk 被重新改过
3210
3211 modifydate empty$ %wk 被重新改过
3212 'skip$ %wk 被重新改过
3213 { "(" modifydate * ")" * * %wk 被重新改过
3214 date empty$ %wk 被重新改过
3215 { "" cite$ * warning$ } %wk 被重新改过
3216 'skip$ %wk 被重新改过
3217 if$ %wk 被重新改过
3218 } %wk 被重新改过
3219 if$
3220
3221 citedate empty$ %wk 被重新改过
3222 'skip$ %wk 被重新改过
3223 { "[" citedate * "]" * * %wk 被重新改过
3224 date empty$ %wk 被重新改过
3225 { "" cite$ * warning$ } %wk 被重新改过
3226 'skip$ %wk 被重新改过
3227 if$ %wk 被重新改过
3228 } %wk 被重新改过
3229 if$
3230 }
3231
3232
3233 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3234 FUNCTION {format.chapter.pages.inbook}
3235 { chapter empty$
3236 'format.pagesinbook
3237 { type empty$
3238 { "Chap." }
3239 { type }
3240 if$
3241 chapter tie.or.space.connect
3242 pages empty$
3243 'skip$
3244 { ", " * format.pagesinbook "l" change.case$ * }
3245 if$
3246 }
3247 if$
3248 }
3249
3250 FUNCTION {format.cchapter.pages.inbook}
3251 {chapter empty$ %wk 被重新改过
3252 'skip$ %wk 被重新改过
3253 { ",第" chapter * "章" * * %wk 被重新改过
3254 } %wk 被重新改过
3255 if$ %wk 被重新改过
3256 pages empty$
3257 'skip$
3258 { duplicate$ empty$
3259 { pop$ format.pages }
3260 { ":" * pages n.dashify * "" *} %wk 改为第页
3261 if$
3262 }
3263 if$
3264 }
3265
3266
3267
3268 FUNCTION {format.chapter.pages.incoll}
3269 { chapter empty$
3270 { pages empty$
3271 { "In " }
3272 { "{\em " format.pagesinbook " of:} " * * }
3273 if$
3274 }
3275 { type empty$
3276 { "{\em Chap. " chapter * }
3277 { "{\em " type * " " * chapter * }
3278 if$
3279 pages empty$
3280 { " of:} " * }
3281 { ", " * format.pagesinbook "l" change.case$ " of:} " * * }
3282 if$
3283 }
3284 if$
3285 }
3286
3287 FUNCTION {format.cchapter.pages.incoll} %wk
3288 { chapter empty$
3289 { pages empty$
3290 { "" }
3291 { "第" format.pagesinbook "章" * * }
3292 if$
3293 }
3294 { type empty$
3295 { "第" chapter * "章" * * }
3296 { "" type * "" * chapter * }
3297 if$
3298 pages empty$
3299 { "" * }
3300 { ":" * format.pagesinbook "l" change.case$ "" * * }
3301 if$
3302 }
3303 if$
3304 }
3305
3306 FUNCTION {format.in.ed.booktitle} % Achieves effect %wk
3307 { booktitle empty$ % shown in 16.51
3308 { "" } % of Chicago, at
3309 { editor empty$ % expense of not
3310 {"" * booktitle * "" *
3311 new.block
3312 }
3313 {new.block
3314 normalauthor empty$ %用于正常显示
3315 {
3316 normaleditor empty$ %用于正常显示
3317 { format.editors "author and editor" output.check} %用于正常显示,
3318 { format.editors "author and normaleditor" output.check} %用于正常显示
3319 if$ %用于正常显示
3320 } %用于正常显示
3321 {
3322 normaleditor empty$ %用于正常显示
3323 {format.editors "normalauthor and editor" output.check} %用于正常显示
3324 {format.editors "normalauthor and normaleditor" output.check} %用于正常显示
3325 if$ %用于正常显示
3326
3327 } %用于正常显示
3328 if$ %用于正常显示
3329 editor format.key output
3330 new.block
3331 format.btitle "booktitle" output.check
3332 }
3333 if$ % 4.4 of BS 1629.
3334 }
3335 if$ % Don't change
3336 } % case.
3337
3338
3339 FUNCTION {format.in.ced.booktitle} % Achieves effect %wk
3340 { booktitle empty$ % shown in 16.51
3341 { "" } % of Chicago, at
3342 { editor empty$ % expense of not
3343 {"" * booktitle * "" *
3344 new.block
3345 }
3346 {new.block
3347 normalauthor empty$ %用于正常显示
3348 {
3349 normaleditor empty$ %用于正常显示
3350 {format.ceditors "author and editor" output.check} %用于正常显示,
3351 {format.ceditors "author and normaleditor" output.check} %用于正常显示
3352 if$ %用于正常显示
3353 } %用于正常显示
3354 {
3355 normaleditor empty$ %用于正常显示
3356 {format.ceditors "normalauthor and editor" output.check} %用于正常显示
3357 {format.ceditors "normalauthor and normaleditor" output.check} %用于正常显示
3358 if$ %用于正常显示
3359
3360 } %用于正常显示
3361 if$ %用于正常显示
3362 editor format.key output
3363 new.block
3364 format.cbtitle "booktitle" output.check
3365 }
3366 if$ % 4.4 of BS 1629.
3367 }
3368 if$ % Don't change
3369 } % case.
3370 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%55
3371 FUNCTION {format.in.proceedings.booktitle} % Achieves effect %wk
3372 { booktitle empty$ % shown in 16.51
3373 { "" } % of Chicago, at
3374 {format.btitle "booktitle" output.check }
3375 if$ % Don't change
3376 } % case.
3377
3378
3379 FUNCTION {format.in.cproceedings.booktitle} % Achieves effect %wk
3380 { booktitle empty$ % shown in 16.51
3381 { "" } % of Chicago, at
3382 { format.cbtitle "booktitle" output.check }
3383 if$ % 4.4 of BS 1629.
3384 % Don't change
3385 }
3386
3387
3388 FUNCTION {format.thesis.type}
3389 { type empty$
3390 'skip$
3391 { pop$
3392 type % Don't change
3393 } % case.
3394 if$
3395 }
3396
3397 FUNCTION {format.tr.number}
3398 { type empty$
3399 { "Tech. rept." } % ODWE abbrevs.
3400 'type
3401 if$
3402 number empty$
3403 { } % Whatever was
3404 { number tie.or.space.connect } % having its case
3405 if$ % changed, leave
3406 } % it alone.
3407
3408 FUNCTION {format.addr.pub}
3409 { publisher empty$
3410 {address empty$
3411 { ".[S.l.]: [s.n.] " *}
3412 { address ": [s.n.] " * }
3413 if$
3414 }
3415 { address empty$
3416 { ".[S.l.]: " * }
3417 { address ": " * }
3418 if$
3419 publisher *
3420 }
3421
3422 if$
3423 }
3424
3425 FUNCTION {format.caddr.pub}
3426 {publisher empty$
3427 {address empty$
3428 { ".[出版地不详]:[出版者不详]" *}
3429 { address ":[出版者不详]" * }
3430 if$
3431 }
3432 { address empty$
3433 { ".[出版地不详]:" * }
3434 { address ": " * }
3435 if$
3436 publisher *
3437 }
3438
3439 if$
3440 }
3441 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3442 FUNCTION {format.addr.institution}
3443 { institution empty$
3444 {address empty$
3445 { ".[S.l.]: [s.n.] " *}
3446 { address ": [s.n.] " * }
3447 if$
3448 }
3449 { address empty$
3450 { ".[S.l.]: " * }
3451 { address ": " * }
3452 if$
3453 institution *
3454 }
3455
3456 if$
3457 }
3458
3459 FUNCTION {format.caddr.institution}
3460 {institution empty$
3461 {address empty$
3462 { ".[地址不详]:[机构不详]" *}
3463 { address ":[机构不详]" * }
3464 if$
3465 }
3466 { address empty$
3467 { ".[地址不详]:" * }
3468 { address ": " * }
3469 if$
3470 institution *
3471 }
3472
3473 if$
3474 }
3475 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3476 FUNCTION {format.school.pub}
3477 { school empty$
3478 {address empty$
3479 { "[S.l.]: [s.n.] " }
3480 { address ": [s.n.] " * }
3481 if$
3482 }
3483 { address empty$
3484 { ".[S.l.]: " * }
3485 { address ": " * }
3486 if$
3487 school *
3488 }
3489
3490 if$
3491 }
3492
3493 FUNCTION {format.cschool.pub}
3494 {school empty$
3495 {address empty$
3496 { "[地址不详]:[学校不详]" }
3497 { address ":[学校不详]" * }
3498 if$
3499 }
3500 { address empty$
3501 { ".[学校不详]:" * }
3502 { address ": " * }
3503 if$
3504 school *
3505 }
3506
3507 if$
3508 }
3509
3510 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3511 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3512 FUNCTION {format.inproceedings.addr.pub}
3513 {
3514 TypeofLit empty$
3515 {publisher empty$
3516 {address empty$
3517 { ".[S.l.]: [s.n.] " }
3518 { address ": [s.n.] " * }
3519 if$
3520 }
3521 { address empty$
3522 { ".[S.l.]: " * }
3523 { address ": " * }
3524 if$
3525 publisher *
3526 }
3527
3528 if$}
3529 { "" }
3530 if$
3531 }
3532
3533 FUNCTION {format.cinproceedings.addr.pub}
3534 {
3535 TypeofLit empty$
3536 {publisher empty$
3537 {address empty$
3538 { ".[出版地不详]:[出版者不详]" }
3539 { address ":[出版者不详]" * }
3540 if$
3541 }
3542 { address empty$
3543 { ".[出版地不详]:" * }
3544 { address ": " * }
3545 if$
3546 publisher *
3547 }
3548
3549 if$}
3550 { ""}
3551 if$
3552
3553 }
3554 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3555 FUNCTION {format.misc.addr.pub}
3556 { publisher empty$
3557 {address empty$
3558 { "" }
3559 { address ": [s.n.] " * }
3560 if$
3561 }
3562 { address empty$
3563 { "[S.l.]: " * }
3564 { address ": " * }
3565 if$
3566 publisher *
3567 }
3568
3569 if$
3570 }
3571
3572 FUNCTION {format.cmisc.addr.pub}
3573 {publisher empty$
3574 {address empty$
3575 { "" }
3576 { address ":[出版者不详]" * }
3577 if$
3578 }
3579 { address empty$
3580 { "[出版地不详]:" * }
3581 { address ": " * }
3582 if$
3583 publisher *
3584 }
3585
3586 if$
3587 }
3588
3589
3590 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3591
3592
3593 FUNCTION {format.addr.pub.org} % If there's an
3594 { address empty$ % an organization
3595 { "[S.l.]:" *publisher * ", for " * organization * } % and a publisher
3596 { address ": " * publisher * ", for " * organization * } % too.
3597 if$
3598 }
3599
3600 FUNCTION {format.addr.inst}
3601 { address empty$
3602 { institution empty$
3603 { "[S.l.]" }
3604 { "[S.l.]" * institution * *}
3605 if$
3606 }
3607 { institution empty$
3608 { "" }
3609 { institution ", " * }
3610 if$
3611 address *
3612 }
3613 if$
3614 }
3615
3616 FUNCTION {format.addr.org}
3617 { address empty$
3618 { organization empty$
3619 { "" }
3620 { organization }
3621 if$
3622 }
3623 { organization empty$
3624 { "" }
3625 { organization ", " * }
3626 if$
3627 address *
3628 }
3629 if$
3630 }
3631
3632 FUNCTION {format.article.crossref}
3633 { "In "
3634 " \cite{" * crossref * "}" *
3635 }
3636
3637 FUNCTION {format.book.crossref}
3638 { volume empty$
3639 { "empty volume in " cite$ * "'s crossref of " * crossref * warning$
3640 "In "
3641 }
3642 { " Vol." volume tie.or.space.connect
3643 " of " *
3644 }
3645 if$
3646 "\cite{" * crossref * "}" *
3647 }
3648
3649 FUNCTION {format.incoll.inproc.crossref}
3650 { "In "
3651 " \cite{" * crossref * "}" *
3652 }
3653
3654
3655 FUNCTION {article}
3656 {language empty$
3657 { output.bibitem
3658 format.authors "author" output.check
3659 author format.key output
3660 new.block
3661 format.article.title output
3662 new.block
3663 crossref missing$
3664 { journal % Don't change
3665 "journal" output.check % case.
3666 output.article.year.check output
3667 format.article.vol.num.date.pages output
3668 format.date.modifydate.citedate output
3669 }
3670 { format.article.crossref output.nonnull
3671 format.pages output
3672 }
3673 if$
3674 new.block
3675 format.url output
3676 new.block
3677 note output
3678
3679 fin.entry
3680 }
3681
3682 %FUNCTION {carticle} %wk 本函数
3683 { output.bibitem
3684 format.cauthors "author" output.check
3685 author format.key output
3686 new.block
3687 format.carticle.title output
3688 new.block
3689 crossref missing$
3690 {journal % Don't change %wk
3691 "journal" output.check % case.
3692 output.carticle.year.check output %wk
3693 format.carticle.vol.num.date.pages output %wk
3694 format.date.modifydate.citedate output
3695 new.block
3696 }
3697 { format.article.crossref output.nonnull
3698 format.pages output
3699 }
3700 if$
3701 new.block
3702 format.url output
3703 new.block
3704 note output
3705 fin.entry
3706 }
3707 if$
3708 }
3709
3710 FUNCTION {book}
3711 {language empty$
3712 { output.bibitem
3713 author empty$
3714 { format.editors "author and editor" output.check
3715 editor format.key output
3716 }
3717 { format.authors output.nonnull
3718 crossref missing$
3719 { "author and editor" editor either.or.check }
3720 'skip$
3721 if$
3722 }
3723 if$
3724 new.block
3725 format.book.title output
3726 new.block
3727 crossref missing$
3728 { format.edition output
3729 new.block
3730 format.book.continue.vol.num ouput
3731 booklike.series.volume.number output
3732 new.block
3733 format.addr.pub "publisher" output.check
3734 output.continue.year.check ouput
3735 format.date.modifydate.citedate output
3736 format.pages output
3737 }
3738 { format.book.crossref output.nonnull
3739 }
3740 if$
3741 new.block
3742 format.url output
3743 new.block
3744 note output
3745 fin.entry
3746 }
3747
3748 %FUNCTION {cbook} %wk
3749 { output.bibitem
3750 author empty$
3751 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
3752 editor format.key output
3753 }
3754 { format.cauthors output.nonnull
3755 crossref missing$
3756 {"author and editor" editor either.or.check }
3757 'skip$
3758 if$
3759 }
3760 if$
3761 new.block
3762 format.cbook.title output %wk
3763 new.block
3764 crossref missing$
3765 {
3766 format.cedition output %wk edition->cedition
3767 new.block
3768 format.cbook.continue.vol.num ouput
3769 new.block
3770 format.caddr.pub "publisher" output.check
3771 output.continue.cyear.check ouput %wk
3772 cbooklike.series.volume.number.pages output
3773 format.date.modifydate.citedate output
3774 }
3775 { format.book.crossref output.nonnull
3776 }
3777 if$
3778 new.block
3779 format.url output
3780 new.block
3781 note output
3782 fin.entry
3783 }
3784 if$
3785 }
3786 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3787 %未处理
3788 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3789 FUNCTION {booklet}
3790 {language empty$
3791 { output.bibitem
3792 format.authors output
3793 author format.key output
3794 output.year.month.check
3795 new.block
3796 format.btitle "title" output.check
3797 new.block
3798 howpublished output
3799 address output
3800 output.year.check
3801 new.block
3802 format.url output
3803 new.block
3804 note output
3805 fin.entry
3806 }
3807
3808 %FUNCTION {cbooklet} %wk
3809 { output.bibitem
3810 format.cauthors output %wk
3811 author format.key output
3812 format.btitle "title" output.check %wk
3813 new.block
3814 howpublished output
3815 address output
3816 output.cyear.month.check %wk
3817 new.block
3818 format.url output
3819 new.block
3820 note output
3821 fin.entry
3822 }
3823 if$
3824 }
3825
3826 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3827 FUNCTION {inbook}
3828 {language empty$
3829 { output.bibitem
3830 author empty$
3831 { format.editors "author and editor" output.check
3832 editor format.key output
3833 }
3834 { format.authors output.nonnull
3835 crossref missing$
3836 { "author and editor" editor either.or.check }
3837 'skip$
3838 if$
3839 }
3840 if$
3841 new.block
3842 format.book.title output
3843 new.block
3844 crossref missing$
3845 { format.edition output
3846 booklike.series.volume.number output
3847 new.block
3848 format.addr.pub "publisher" output.check
3849 output.year.check output
3850 format.date.modifydate.citedate output
3851 format.pages output
3852 }
3853 { format.book.crossref output.nonnull
3854 }
3855 if$
3856 new.block
3857 format.url output
3858 new.block
3859 note output
3860 fin.entry
3861 }
3862
3863 %FUNCTION {cinbook} %wk
3864 { output.bibitem
3865 author empty$
3866 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
3867 editor format.key output
3868 }
3869 { format.cauthors output.nonnull
3870 crossref missing$
3871 {"author and editor" editor either.or.check }
3872 'skip$
3873 if$
3874 }
3875 if$
3876 new.block
3877 format.cbook.title output %wk
3878 new.block
3879 crossref missing$
3880 {
3881 format.cedition output %wk edition->cedition
3882 new.block
3883 format.caddr.pub "publisher" output.check
3884 output.cyear.check %wk
3885 cbooklike.series.volume.number.pages output
3886 format.date.modifydate.citedate output
3887 }
3888 { format.book.crossref output.nonnull
3889 }
3890 if$
3891 new.block
3892 format.url output
3893 new.block
3894 note output
3895 fin.entry
3896 }
3897 if$
3898 }
3899
3900 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3901 FUNCTION {incollection} %wk
3902 {language empty$
3903 { output.bibitem
3904 author empty$
3905 { format.editors "editor" output.check %wk format.editors->format.ceditors
3906 editor format.key output }
3907 { format.authors "author" output.check %wk
3908 author format.key output }
3909 if$
3910 new.block
3911 format.incollection.title output
3912 crossref missing$ % Chapter and/or
3913 {
3914 before.all 'output.state :=
3915 format.in.ed.booktitle output % page numbers can
3916 format.edition output % come out via this %wk edition->cedition
3917 new.block
3918 format.addr.pub "publisher" output.check
3919 output.year.check
3920 incollectionlike.series.volume.number.pages output % route, too.
3921 format.date.modifydate.citedate output
3922 }
3923 { format.incoll.inproc.crossref output.nonnull
3924 new.block
3925 }
3926 if$
3927
3928 format.url output
3929 new.block
3930 note output
3931 fin.entry
3932 }
3933
3934 %FUNCTION {cincollection} %wk
3935 { output.bibitem
3936 author empty$
3937 { format.ceditors "editor" output.check %wk format.editors->format.ceditors
3938 editor format.key output }
3939 { format.cauthors "author" output.check %wk
3940 author format.key output }
3941 if$
3942 new.block
3943 format.cincollection.title output
3944 crossref missing$ % Chapter and/or
3945 { format.in.ced.booktitle output % page numbers can
3946 format.cedition output % come out via this %wk edition->cedition
3947 new.block
3948 format.caddr.pub "publisher" output.check
3949 output.cyear.check output
3950 cincollectionlike.series.volume.number.pages output % route, too.
3951 format.date.modifydate.citedate output
3952 }
3953 { format.incoll.inproc.crossref output.nonnull
3954 new.block
3955 }
3956 if$
3957 new.block
3958 format.url output
3959 new.block
3960 note output
3961 fin.entry
3962 }
3963 if$
3964 }
3965
3966 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3967 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3968 %图书book和
3969 %会议录inproceedings(会议conference与inproceedings一样),
3970 %文献类型代码[C]
3971 %硕士学位论文mastersthesis,
3972 %文献类型代码[D]
3973 %博士学位论文phdthesis,
3974 %文献类型代码[D]
3975 %技术报告techreport的类型是一样的,
3976 %文献类型代码[R]
3977 %
3978 %因此我们直接拷贝book的相关内容即可。
3979 %原始部分可以参考authordate1.bst。
3980 %
3981 %利用misc作为电子文献[EB/OL]所使用的类型
3982 %存在的问题:无法正常调用url,只能利用note来生成。
3983 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3984 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
3985 FUNCTION {inproceedings} %wk 改自incollection类型
3986 {language empty$
3987 { output.bibitem
3988 author empty$
3989 { format.editors "editor" output.check %wk format.editors->format.ceditors
3990 editor format.key output }
3991 { format.authors "author" output.check %wk
3992 author format.key output }
3993 if$
3994 new.block
3995 format.inproceedings.title output
3996 crossref missing$ % Chapter and/or
3997 {
3998 before.all 'output.state :=
3999 format.in.ed.booktitle output % page numbers can
4000 format.edition output % come out via this %wk edition->cedition
4001 new.block
4002 format.inproceedings.addr.pub "publisher" output.check
4003 output.year.check
4004 incollectionlike.series.volume.number.pages output % route, too.
4005 format.date.modifydate.citedate output
4006 }
4007 { format.incoll.inproc.crossref output.nonnull
4008 new.block
4009 }
4010 if$
4011 format.url output
4012 new.block
4013 note output
4014 fin.entry
4015 }
4016
4017 %FUNCTION {cinproceedings} %wk 改自incollection类型
4018 { output.bibitem
4019 author empty$
4020 { format.ceditors "editor" output.check %wk format.editors->format.ceditors
4021 editor format.key output }
4022 { format.cauthors "author" output.check %wk
4023 author format.key output }
4024 if$
4025 new.block
4026 format.cinproceedings.title output
4027 crossref missing$ % Chapter and/or
4028 { format.in.ced.booktitle output % page numbers can
4029 format.cedition output % come out via this %wk edition->cedition
4030 new.block
4031 format.cinproceedings.addr.pub "publisher" output.check
4032 output.cyear.check
4033 cincollectionlike.series.volume.number.pages output % route, too.
4034 format.date.modifydate.citedate output
4035 }
4036 { format.incoll.inproc.crossref output.nonnull
4037 new.block
4038 }
4039 if$
4040 new.block
4041 format.url output
4042 new.block
4043 note output
4044 fin.entry
4045 }
4046 if$
4047 }
4048
4049 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4050 FUNCTION {conference} { inproceedings }
4051 %FUNCTION {cconference} { cinproceedings }
4052 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4053 FUNCTION {TECHREPORT} %wk 改自book类型
4054 {language empty$
4055 { output.bibitem
4056 author empty$
4057 { format.editors "author and editor" output.check
4058 editor format.key output
4059 }
4060 { format.authors output.nonnull
4061 crossref missing$
4062 { "author and editor" editor either.or.check }
4063 'skip$
4064 if$
4065 }
4066 if$
4067 new.block
4068 format.title "[R]" * "title" output.check
4069 new.block
4070 crossref missing$
4071 { format.edition output
4072 booklike.series.volume.number output
4073 new.block
4074 format.addr.institution "publisher" output.check
4075 output.year.check output
4076 format.pages output
4077 }
4078 { format.book.crossref output.nonnull
4079 }
4080 if$
4081 new.block
4082 format.url output
4083 new.block
4084 note output
4085 fin.entry
4086 }
4087
4088 %FUNCTION {cTECHREPORT} %wk 改自book类型
4089 { output.bibitem
4090 author empty$
4091 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
4092 editor format.key output
4093 }
4094 { format.cauthors output.nonnull
4095 crossref missing$
4096 {"author and editor" editor either.or.check }
4097 'skip$
4098 if$
4099 }
4100 if$
4101 new.block
4102 format.ctitle "[R]" * "title" output.check %wk
4103 new.block
4104 crossref missing$
4105 {
4106 format.cedition output %wk edition->cedition
4107 new.block
4108 format.caddr.institution "publisher" output.check
4109 output.cyear.check %wk
4110 cbooklike.series.volume.number.pages output
4111 }
4112 { format.book.crossref output.nonnull
4113 }
4114 if$
4115 new.block
4116 format.url output
4117 new.block
4118 note output
4119 fin.entry
4120 }
4121 if$
4122 }
4123
4124
4125 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4126 FUNCTION {mastersthesis} %wk 改自book类型
4127 {language empty$
4128 { output.bibitem
4129 author empty$
4130 { format.editors "author and editor" output.check
4131 editor format.key output
4132 }
4133 { format.authors output.nonnull
4134 crossref missing$
4135 { "author and editor" editor either.or.check }
4136 'skip$
4137 if$
4138 }
4139 if$
4140 new.block
4141 format.title "[D]" * "title" output.check
4142 new.block
4143 crossref missing$
4144 { format.edition output
4145 booklike.series.volume.number output
4146 new.block
4147 % format.addr.pub "publisher" output.check
4148 format.school.pub "publisher" output.check
4149 output.year.check output
4150 format.pages output
4151 }
4152 { format.book.crossref output.nonnull
4153 }
4154 if$
4155 new.block
4156 format.url output
4157 new.block
4158 note output
4159 fin.entry
4160 }
4161
4162 %FUNCTION {cmastersthesis} %wk 改自book类型
4163 { output.bibitem
4164 author empty$
4165 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
4166 editor format.key output
4167 }
4168 { format.cauthors output.nonnull
4169 crossref missing$
4170 {"author and editor" editor either.or.check }
4171 'skip$
4172 if$
4173 }
4174 if$
4175 new.block
4176 format.ctitle "[D]" * "title" output.check %wk
4177 new.block
4178 crossref missing$
4179 {
4180 format.cedition output %wk edition->cedition
4181 new.block
4182 % format.caddr.pub "publisher" output.check
4183 format.cschool.pub "publisher" output.check
4184 output.cyear.check %wk
4185 cbooklike.series.volume.number.pages output
4186 }
4187 { format.book.crossref output.nonnull
4188 }
4189 if$
4190 new.block
4191 format.url output
4192 new.block
4193 note output
4194 fin.entry
4195 }
4196 if$
4197 }
4198 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4199 FUNCTION {phdthesis} %wk 改自book类型
4200 {language empty$
4201 { output.bibitem
4202 author empty$
4203 { format.editors "author and editor" output.check
4204 editor format.key output
4205 }
4206 { format.authors output.nonnull
4207 crossref missing$
4208 { "author and editor" editor either.or.check }
4209 'skip$
4210 if$
4211 }
4212 if$
4213 new.block
4214 format.title "[D]" * "title" output.check
4215 new.block
4216 crossref missing$
4217 { format.edition output
4218 booklike.series.volume.number output
4219 new.block
4220 % format.addr.pub "publisher" output.check
4221 format.school.pub "publisher" output.check
4222 output.year.check output
4223 format.pages output
4224 }
4225 { format.book.crossref output.nonnull
4226 }
4227 if$
4228 new.block
4229 format.url output
4230 new.block
4231 note output
4232 fin.entry
4233 }
4234
4235 %FUNCTION {cphdthesis} %wk 改自book类型
4236 { output.bibitem
4237 author empty$
4238 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
4239 editor format.key output
4240 }
4241 { format.cauthors output.nonnull
4242 crossref missing$
4243 {"author and editor" editor either.or.check }
4244 'skip$
4245 if$
4246 }
4247 if$
4248 new.block
4249 format.ctitle "[D]" * "title" output.check %wk
4250 new.block
4251 crossref missing$
4252 {
4253 format.cedition output %wk edition->cedition
4254 new.block
4255 % format.caddr.pub "publisher" output.check
4256 format.cschool.pub "publisher" output.check
4257 output.cyear.check %wk
4258 cbooklike.series.volume.number.pages output
4259 }
4260 { format.book.crossref output.nonnull
4261 }
4262 if$
4263 new.block
4264 format.url output
4265 new.block
4266 note output
4267 fin.entry
4268 }
4269 if$
4270 }
4271
4272
4273
4274 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4275 FUNCTION {proceedings} %改自book类型
4276 {language empty$
4277 { output.bibitem
4278 author empty$
4279 { format.editors "author and editor" output.check
4280 editor format.key output
4281 }
4282 { format.authors output.nonnull
4283 crossref missing$
4284 { "author and editor" editor either.or.check }
4285 'skip$
4286 if$
4287 }
4288 if$
4289 new.block
4290 format.conference.title output
4291 new.block
4292 crossref missing$
4293 { format.edition output
4294 booklike.series.volume.number output
4295 new.block
4296 format.addr.pub "publisher" output.check
4297 output.year.check output
4298 format.date.modifydate.citedate output
4299 format.pages output
4300 }
4301 { format.book.crossref output.nonnull
4302 }
4303 if$
4304 new.block
4305 format.url output
4306 new.block
4307 note output
4308 fin.entry
4309 }
4310
4311 %FUNCTION {cproceedings} %改自book类型
4312 { output.bibitem
4313 author empty$
4314 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
4315 editor format.key output
4316 }
4317 { format.cauthors output.nonnull
4318 crossref missing$
4319 {"author and editor" editor either.or.check }
4320 'skip$
4321 if$
4322 }
4323 if$
4324 new.block
4325 format.cconference.title output %wk
4326 new.block
4327 crossref missing$
4328 {
4329 format.cedition output %wk edition->cedition
4330 new.block
4331 format.caddr.pub "publisher" output.check
4332 output.cyear.check %wk
4333 cbooklike.series.volume.number.pages output
4334 format.date.modifydate.citedate output
4335 }
4336 { format.book.crossref output.nonnull
4337 }
4338 if$
4339 new.block
4340 format.url output
4341 new.block
4342 note output
4343 fin.entry
4344 }
4345 if$
4346 }
4347 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4348
4349 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4350 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4351 FUNCTION {manual} %改自book类型
4352 {language empty$
4353 { output.bibitem
4354 author empty$
4355 { format.editors "author and editor" output.check
4356 editor format.key output
4357 }
4358 { format.authors output.nonnull
4359 crossref missing$
4360 { "author and editor" editor either.or.check }
4361 'skip$
4362 if$
4363 }
4364 if$
4365 new.block
4366 format.btitle "[H]" * "title" output.check
4367 new.block
4368 crossref missing$
4369 { format.edition output
4370 booklike.series.volume.number output
4371 new.block
4372 format.addr.pub "publisher" output.check
4373 output.year.check output
4374 format.pages output
4375 }
4376 { format.book.crossref output.nonnull
4377 }
4378 if$
4379 new.block
4380 format.url output
4381 new.block
4382 note output
4383 fin.entry
4384 }
4385
4386 %FUNCTION {cmanual} %wk
4387 { output.bibitem
4388 author empty$
4389 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
4390 editor format.key output
4391 }
4392 { format.cauthors output.nonnull
4393 crossref missing$
4394 {"author and editor" editor either.or.check }
4395 'skip$
4396 if$
4397 }
4398 if$
4399 new.block
4400 format.ctitle "[H]" * "title" output.check %wk
4401 new.block
4402 crossref missing$
4403 { format.cedition output %wk edition->cedition
4404 new.block
4405 format.caddr.pub "publisher" output.check
4406 output.cyear.check %wk
4407 cbooklike.series.volume.number.pages output
4408 }
4409 { format.book.crossref output.nonnull
4410 }
4411 if$
4412 new.block
4413 note output
4414 fin.entry
4415 }
4416 if$
4417 }
4418
4419
4420
4421 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4422 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4423 FUNCTION {misc} %作为非常规文献的格式,可靠性低,应该仔细检查,改自book类型
4424 {language empty$
4425 { output.bibitem
4426 author empty$
4427 { format.editors "author and editor" output.check
4428 editor format.key output
4429 }
4430 { format.authors output.nonnull
4431 crossref missing$
4432 { "author and editor" editor either.or.check }
4433 'skip$
4434 if$
4435 }
4436 if$
4437 new.block
4438 format.misc.title output
4439 new.block
4440 crossref missing$
4441 { format.edition output
4442 booklike.series.volume.number output
4443 new.block
4444 format.misc.addr.pub "publisher" output.check
4445 % output.year.check output
4446 format.date.modifydate.citedate output
4447 % format.pages output
4448 }
4449 { format.book.crossref output.nonnull
4450 }
4451 if$
4452 new.block
4453 format.url output
4454 new.block
4455 note output
4456 fin.entry
4457 }
4458
4459 %FUNCTION {cmisc} %作为非常规文献的格式,可靠性低,应该仔细检查,改自book类型
4460 { output.bibitem
4461 author empty$
4462 { format.ceditors "author and editor" output.check %wk format.editors->format.ceditors
4463 editor format.key output
4464 }
4465 { format.cauthors output.nonnull
4466 crossref missing$
4467 {"author and editor" editor either.or.check }
4468 'skip$
4469 if$
4470 }
4471 if$
4472 new.block
4473 format.cmisc.title output %wk
4474
4475 new.block
4476 crossref missing$
4477 {
4478 format.cedition output %wk edition->cedition
4479 new.block
4480 format.cmisc.addr.pub "publisher" output.check
4481 % output.cyear.check %wk
4482 % cbooklike.series.volume.number.pages output
4483 format.date.modifydate.citedate output
4484 }
4485 { format.book.crossref output.nonnull
4486 }
4487 if$
4488 new.block
4489 format.url output
4490 new.block
4491 note output
4492 fin.entry
4493 }
4494 if$
4495 }
4496
4497 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4498 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
4499
4500 FUNCTION {unpublished}
4501 {language empty$
4502 { output.bibitem
4503 format.authors "author" output.check
4504 author format.key output
4505 output.year.month.check
4506 new.block
4507 format.btitle "title" output.check
4508 new.block
4509 note "note" output.check
4510 fin.entry
4511 }
4512
4513 %FUNCTION {cunpublished} %wk
4514 { output.bibitem
4515 format.cauthors "author" output.check %wk
4516 author format.key output
4517 output.cyear.month.check %wk
4518 new.block
4519 format.ctitle "title" output.check %wk
4520 new.block
4521 note "note" output.check
4522 fin.entry
4523 }
4524 if$
4525 }
4526 FUNCTION {onlynote} %定义note类型,将note项目单独原文输出,满足自定义任何条目的需求
4527 {
4528 newline$
4529 "\bibitem[" write$
4530 label write$
4531 "]{" write$
4532 cite$ write$
4533 "}" write$
4534 newline$
4535 ""
4536 before.all 'output.state :=
4537 new.block
4538 note output
4539 fin.entry
4540 }
4541
4542 FUNCTION {default.type} { book } %wk 因为主要是基于book类型,因此将缺省类型由misc改为book
4543
4544 MACRO {jan} {"Jan."} % ODWE, "months", &
4545 % Chicago, p. 383.
4546 MACRO {feb} {"Feb."}
4547
4548 MACRO {mar} {"Mar."}
4549
4550 MACRO {apr} {"Apr."}
4551
4552 MACRO {may} {"May"}
4553
4554 MACRO {jun} {"June"}
4555
4556 MACRO {jul} {"July"}
4557
4558 MACRO {aug} {"Aug."}
4559
4560 MACRO {sep} {"Sept."}
4561
4562 MACRO {oct} {"Oct."}
4563
4564 MACRO {nov} {"Nov."}
4565
4566 MACRO {dec} {"Dec."}
4567
4568 MACRO {acmcs} {"ACM Computing Surveys"}
4569
4570 MACRO {acta} {"Acta Informatica"}
4571
4572 MACRO {cacm} {"Communications of the ACM"}
4573
4574 MACRO {ibmjrd} {"IBM Journal of Research and Development"}
4575
4576 MACRO {ibmsj} {"IBM Systems Journal"}
4577
4578 MACRO {ieeese} {"IEEE Transactions on Software Engineering"}
4579
4580 MACRO {ieeetc} {"IEEE Transactions on Computers"}
4581
4582 MACRO {ieeetcad}
4583 {"IEEE Transactions on Computer-Aided Design of Integrated Circuits"}
4584
4585 MACRO {ipl} {"Information Processing Letters"}
4586
4587 MACRO {jacm} {"Journal of the ACM"}
4588
4589 MACRO {jcss} {"Journal of Computer and System Sciences"}
4590
4591 MACRO {scp} {"Science of Computer Programming"}
4592
4593 MACRO {sicomp} {"SIAM Journal on Computing"}
4594
4595 MACRO {tocs} {"ACM Transactions on Computer Systems"}
4596
4597 MACRO {tods} {"ACM Transactions on Database Systems"}
4598
4599 MACRO {tog} {"ACM Transactions on Graphics"}
4600
4601 MACRO {toms} {"ACM Transactions on Mathematical Software"}
4602
4603 MACRO {toois} {"ACM Transactions on Office Information Systems"}
4604
4605 MACRO {toplas} {"ACM Transactions on Programming Languages and Systems"}
4606
4607 MACRO {tcs} {"Theoretical Computer Science"}
4608
4609 READ
4610
4611 FUNCTION {sortify}
4612 { purify$
4613 "l" change.case$
4614 }
4615
4616 INTEGERS { len }
4617
4618 FUNCTION {chop.word}
4619 { 's :=
4620 'len :=
4621 s #1 len substring$ =
4622 { s len #1 + global.max$ substring$ }
4623 's
4624 if$
4625 }
4626
4627
4628
4629
4630 FUNCTION {format.lab.names} %wk
4631 { 's :=
4632 s #1 "{vv~}{ll}" format.name$
4633 s num.names$ duplicate$
4634 #2 >
4635 { pop$ " et al." * }
4636 { #2 <
4637 'skip$
4638 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
4639 { " {\em et~al.}" * }
4640 { " and " * s #2 "{vv~}{ll}" format.name$ * } %wk
4641 if$
4642 }
4643 if$
4644 }
4645 if$
4646 }
4647
4648 FUNCTION {format.lab.cnames} %wk
4649 { 's :=
4650 s #1 "{vv~}{ll}" format.name$
4651 s num.names$ duplicate$
4652 #2 >
4653 { pop$ "~等" * }
4654 { #2 <
4655 'skip$
4656 { s #2 "{ff }{vv }{ll}{ jj}" format.name$ "others" =
4657 { " {\em et~al.}" * }
4658 { "和" * s #2 "{vv~}{ll}" format.name$ * } %wk
4659 if$
4660 }
4661 if$
4662 }
4663 if$
4664 }
4665
4666 FUNCTION {author.key.label}
4667 { author empty$
4668 { key empty$
4669 { cite$ #1 #3 substring$ }
4670 'key
4671 if$
4672 }
4673 % {author format.lab.names }
4674 {language empty$
4675 {author format.lab.names}
4676 {author format.lab.cnames}
4677 if$}
4678
4679 if$
4680 }
4681
4682 FUNCTION {author.editor.key.label}
4683 { author empty$
4684 { editor empty$
4685 { key empty$
4686 { cite$ #1 #3 substring$ }
4687 'key
4688 if$
4689 }
4690 % { editor format.lab.names }
4691 {language empty$
4692 {editor format.lab.names}
4693 {editor format.lab.cnames}
4694 if$}
4695
4696 if$
4697 }
4698 % { author format.lab.names }
4699 {language empty$
4700 {author format.lab.names}
4701 {author format.lab.cnames}
4702 if$}
4703
4704 if$
4705 }
4706
4707 FUNCTION {editor.key.label}
4708 { editor empty$
4709 { key empty$
4710 { cite$ #1 #3 substring$ }
4711 'key
4712 if$
4713 }
4714 % { editor format.lab.names }
4715 {language empty$
4716 {editor format.lab.names}
4717 {editor format.lab.cnames}
4718 if$}
4719
4720 if$
4721 }
4722
4723 FUNCTION {author.key.organization.label}
4724 { author empty$
4725 { key empty$
4726 { organization empty$
4727 { cite$ #1 #3 substring$ }
4728 { "The " #4 organization chop.word #3 text.prefix$ }
4729 if$
4730 }
4731 'key
4732 if$
4733 }
4734 { author format.lab.names }
4735 if$
4736 }
4737
4738 FUNCTION {editor.key.organization.label}
4739 { editor empty$
4740 { key empty$
4741 { organization empty$
4742 { cite$ #1 #3 substring$ }
4743 { "The " #4 organization chop.word #3 text.prefix$ }
4744 if$
4745 }
4746 'key
4747 if$
4748 }
4749 { editor format.lab.names }
4750 if$
4751 }
4752
4753 FUNCTION {calc.short.authors}
4754 { type$ "book" =
4755 type$ "inbook" =
4756 or
4757 'author.editor.key.label
4758 { type$ "proceedings" =
4759 'editor.key.organization.label
4760 { type$ "manual" =
4761 'author.key.organization.label
4762 'author.key.label
4763 if$
4764 }
4765 if$
4766 }
4767 if$
4768 'short.list :=
4769 }
4770
4771 FUNCTION {calc.label}
4772 { calc.short.authors
4773 short.list
4774 "("
4775 *
4776 year duplicate$ empty$
4777 short.list key field.or.null = or
4778 { pop$ ""}
4779 'skip$
4780 if$
4781 * ")" *
4782 'label :=
4783 }
4784
4785 INTEGERS { seq.num }
4786
4787 FUNCTION {init.seq}
4788 { #0 'seq.num :=}
4789
4790 EXECUTE {init.seq}
4791
4792 FUNCTION {int.to.fix}
4793 { "000000000" swap$ int.to.str$ *
4794 #-1 #10 substring$
4795 }
4796
4797
4798 FUNCTION {presort}
4799 { calc.label
4800 label sortify
4801 " "
4802 *
4803 seq.num #1 + 'seq.num :=
4804 seq.num int.to.fix
4805 'sort.label :=
4806 sort.label *
4807 #1 entry.max$ substring$
4808 'sort.key$ :=
4809 }
4810
4811 ITERATE {presort}
4812
4813 SORT
4814
4815 STRINGS { longest.label last.label next.extra }
4816
4817 INTEGERS { longest.label.width last.extra.num number.label }
4818
4819 FUNCTION {initialize.longest.label}
4820 { "" 'longest.label :=
4821 #0 int.to.chr$ 'last.label :=
4822 "" 'next.extra :=
4823 #0 'longest.label.width :=
4824 #0 'last.extra.num :=
4825 #0 'number.label :=
4826 }
4827
4828 FUNCTION {forward.pass}
4829 { last.label label =
4830 { last.extra.num #1 + 'last.extra.num :=
4831 last.extra.num int.to.chr$ 'extra.label :=
4832 }
4833 { "a" chr.to.int$ 'last.extra.num :=
4834 "" 'extra.label :=
4835 label 'last.label :=
4836 }
4837 if$
4838 number.label #1 + 'number.label :=
4839 }
4840
4841 FUNCTION {reverse.pass}
4842 { next.extra "b" =
4843 { "a" 'extra.label := }
4844 'skip$
4845 if$
4846 extra.label 'next.extra :=
4847 extra.label
4848 duplicate$ empty$
4849 'skip$
4850 { "{\natexlab{" swap$ * "}}" * }
4851 if$
4852 'extra.label :=
4853 label extra.label * 'label :=
4854 }
4855
4856 EXECUTE {initialize.longest.label}
4857
4858 ITERATE {forward.pass}
4859
4860 REVERSE {reverse.pass}
4861
4862 FUNCTION {bib.sort.order}
4863 { sort.label 'sort.key$ :=
4864 }
4865
4866 ITERATE {bib.sort.order}
4867
4868 SORT
4869
4870 FUNCTION {begin.bib}
4871 { preamble$ empty$
4872 'skip$
4873 { preamble$ write$ newline$ }
4874 if$
4875 "\begin{thebibliography}{" number.label int.to.str$ *
4876 "}\setlength{\baselineskip}{20bp plus 2bp minus 1bp}\setlength{\itemsep}{0bp}\setlength{\parskip}{0pt}" *
4877 %加入三个setlength以符合电子科技大学关于参考文献行距的要求。
4878 write$ newline$
4879 "\providecommand{\natexlab}[1]{#1}"
4880 write$ newline$
4881 "\providecommand{\url}[1]{\texttt{#1}}"
4882 write$ newline$
4883 "\expandafter\ifx\csname urlstyle\endcsname\relax"
4884 write$ newline$
4885 " \providecommand{\doi}[1]{doi: #1}\else"
4886 write$ newline$
4887 " \providecommand{\doi}{doi: \begingroup \urlstyle{rm}\Url}\fi"
4888 write$ newline$
4889 }
4890
4891 EXECUTE {begin.bib}
4892
4893 EXECUTE {init.state.consts}
4894
4895 ITERATE {call.type$}
4896
4897 FUNCTION {end.bib}
4898 { newline$
4899 "\end{thebibliography}" write$ newline$
4900 }
4901
4902 EXECUTE {end.bib}
4903 % \fi
4904 % \iffalse
4905 %</bst>
4906 % \fi
4907 % \iffalse
4908 %<*packagecheck>
4909 % \fi
4910 % \section{版本检查程序}
4911 % \changes{v0.6.2}{2014/02/11}{增加一个用于检查依赖宏包版本的文件。}
4912 % \begin{macrocode}
4913 % !Mode:: "TeX:UTF-8"
4914
4915 \makeatletter
4916 \def\version@uestcthesis{v1.0.1}
4917 \IfFileExists{ctexbook.cls}{
4918 \documentclass[cs4size,UTF8,fancyhdr,hyperref,fntef,openany]{ctexbook}
4919 }{
4920 \documentclass{article}
4921 }
4922 \def\@parse@version@checkpackage#1/#2/#3#4#5\@nil{#1/#2/#3#4 }
4923 \def\packagelist{}
4924 %检查指定宏包版本是否高于所需版本日期,如果宏包存在则加载后读取版本日期。
4925 \newcommand{\checkpackage}[2]{%
4926 \expandafter\def\csname#1@needversion\endcsname{#2}
4927 \IfFileExists{#1.\@pkgextension}{%
4928 \usepackage{#1}%
4929 \@ifpackagelater{#1}{#2}{%
4930 \expandafter\def\csname#1@checkresult\endcsname{OK!}
4931 }{%
4932 \expandafter\def\csname#1@checkresult\endcsname{too old!}
4933 }
4934 \expandafter\def\csname#1@currentversion\endcsname{%
4935 \xdef\cver@checkpackage{\csname ver@#1.sty\endcsname}
4936 \expandafter\@parse@version@checkpackage\cver@checkpackage\@nil%
4937 }%
4938 }%
4939 {\expandafter\def\csname#1@checkresult\endcsname{not found!}}%
4940
4941 \xdef\packagelist{#1,\packagelist}
4942 }
4943 %个别宏包版本无法读取,鉴于版本较旧,只检查是否存在
4944 \newcommand{\checkpackagespecial}[2]{%
4945 \expandafter\def\csname#1@needversion\endcsname{#2}
4946 \IfFileExists{#1.\@pkgextension}{%
4947 \usepackage{#1}%
4948 \expandafter\def\csname#1@checkresult\endcsname{Maybe OK!}
4949
4950 \expandafter\def\csname#1@currentversion\endcsname{%
4951 unknown!
4952 }%
4953 }%
4954 {\expandafter\def\csname#1@checkresult\endcsname{not found!}}%
4955
4956 \xdef\packagelist{#1,\packagelist}
4957 }
4958 %检查ctexbook文类的版本
4959 \newcommand{\checkctexbookclass}[1]{%
4960 \expandafter\def\csname ctexbook@needversion\endcsname{#1}
4961 \IfFileExists{ctexbook.\@clsextension}{%
4962 \@ifclasslater{ctexbook}{#1}{%
4963 \expandafter\def\csname ctexbook@checkresult\endcsname{OK!}
4964 }{%
4965 \expandafter\def\csname ctexbook@checkresult\endcsname{too old!}
4966 }
4967 \expandafter\def\csname ctexbook@currentversion\endcsname{%
4968 \xdef\cver@checkpackage{\csname [email protected]\endcsname}
4969 \expandafter\@parse@version@checkpackage\cver@checkpackage\@nil%
4970 }%
4971 }%
4972 {\expandafter\def\csname ctexbook@checkresult\endcsname{not found!}}%
4973
4974 \xdef\packagelist{ctexbook,\packagelist}
4975 }
4976 %生成输出行
4977 \def\checkresult#1{%
4978 \makebox[4.5cm][l]{#1}%
4979 \makebox[10em][l]{\csname#1@needversion\endcsname}%
4980 \makebox[10em][l]{\csname#1@currentversion\endcsname}%
4981 \makebox[10em][l]{\csname#1@checkresult\endcsname}\\
4982 }
4983
4984
4985
4986 %这些宏包是模板中主动加载的,测试顺序和模板中的加载顺序一致。
4987 \checkctexbookclass{2011/03/11}
4988 \checkpackage{mathptmx}{2005/04/12}
4989 \checkpackage{etoolbox}{2011/01/03}
4990 \checkpackage{ifthen}{2001/05/26}
4991 \checkpackage{geometry}{2010/09/12}
4992 \checkpackage{graphicx}{1999/02/16}
4993 \checkpackage{calc}{2007/08/22}
4994 \checkpackage{float}{2001/11/08}
4995 \checkpackagespecial{texnames}{}%这个宏包没有版本号
4996 \checkpackage{caption}{2013/05/02}
4997 \checkpackage{booktabs}{2005/04/14}
4998 \checkpackage{tabularx}{1999/01/07}
4999 \checkpackage{threeparttable}{2003/06/13}
5000 \checkpackage{longtable}{2004/02/01}
5001 \checkpackage{placeins}{2005/04/18}
5002 \checkpackage{flafter}{2000/07/23}
5003 \checkpackage{amsmath}{2013/01/14}
5004 \checkpackage{amsfonts}{2013/01/14}
5005 \checkpackage{amssymb}{2013/01/14}
5006 \checkpackage{bm}{2004/02/26}
5007 \checkpackage{ntheorem}{2011/08/15}
5008 \checkpackage{natbib}{2010/09/13}
5009 \checkpackage{multibib}{2008/12/10}
5010 \checkpackage{cmap}{2008/03/06}
5011 \checkpackage{hyperxmp}{2013/07/18}
5012 \checkpackage{hyperref}{2012/11/06}
5013 \checkpackage{subfigure}{2002/07/30}
5014 \checkpackage{enumitem}{2011/09/28}
5015 \checkpackage{color}{2005/11/14}
5016 \checkpackage{marvosym}{2011/07/20}
5017 \checkpackage{glossaries}{2013/12/05}
5018 \checkpackage{footmisc}{2011/06/06}
5019 \checkpackage{pifont}{2005/04/12}
5020
5021 %这些宏包是由前面的宏包自动加载的。它们应该已经加载完毕。
5022 \checkpackagespecial{fontenc}{2005/09/27}
5023 \checkpackage{l3bootstrap}{2014/01/04}
5024 \checkpackage{l3names}{2014/01/04}
5025 \checkpackage{etex}{1998/03/26}
5026 \checkpackage{expl3}{2014/01/07}
5027 \checkpackage{l3basics}{2014/01/04}
5028 \checkpackage{l3expan}{2014/01/04}
5029 \checkpackage{l3tl}{2013/12/27}
5030 \checkpackage{l3seq}{2013/12/14}
5031 \checkpackage{l3int}{2013/08/02}
5032 \checkpackage{l3quark}{2013/12/14}
5033 \checkpackage{l3prg}{2014/01/04}
5034 \checkpackage{l3clist}{2013/07/28}
5035 \checkpackage{l3token}{2013/08/25}
5036 \checkpackage{l3prop}{2013/12/14}
5037 \checkpackage{l3msg}{2013/07/28}
5038 \checkpackage{l3file}{2013/10/13}
5039 \checkpackage{l3skip}{2013/07/28}
5040 \checkpackage{l3keys}{2013/12/08}
5041 \checkpackage{l3fp}{2014/01/04}
5042 \checkpackage{l3box}{2013/07/28}
5043 \checkpackage{l3coffins}{2013/12/14}
5044 \checkpackage{l3color}{2012/08/29}
5045 \checkpackage{l3luatex}{2013/07/28}
5046 \checkpackage{l3candidates}{2014/01/06}
5047 \checkpackage{ifpdf}{2011/01/30}
5048 \checkpackage{ifxetex}{2010/09/12}
5049 \checkpackage{keyval}{1999/03/16}
5050 \checkpackage{indentfirst}{1995/11/23}
5051 \checkpackage{fix-cm}{2006/09/13}
5052 \checkpackage{CJKutf8}{2012/05/07}
5053 \checkpackage{inputenc}{2008/03/30}
5054 \checkpackage{CJK}{2012/05/07}
5055 \checkpackage{MULEenc}{2012/05/07}
5056 \checkpackage{CJKpunct}{2009/05/06}
5057 \checkpackage{CJKfntef}{2012/05/07}
5058 \checkpackage{CJKulem}{2012/05/07}
5059 \checkpackage{ulem}{2012/05/18}
5060 \checkpackage{ifvtex}{2010/03/01}
5061 \checkpackage{graphics}{2009/02/05}
5062 \checkpackage{trig}{1999/03/16}
5063 \checkpackage{infwarerr}{2010/04/08}
5064 \checkpackage{ltxcmds}{2011/11/09}
5065 \checkpackage{caption3}{2013/05/02}
5066 \checkpackage{array}{2008/09/09}
5067 \checkpackage{amstext}{2000/06/29}
5068 \checkpackage{amsbsy}{1999/11/29}
5069 \checkpackage{amsopn}{1999/12/14}
5070 \checkpackage{atenddvi}{2007/04/17}
5071 \checkpackage{zref-abspage}{2012/04/04}
5072 \checkpackage{zref-base}{2012/04/04}
5073 \checkpackage{kvsetkeys}{2012/04/25}
5074 \checkpackage{etexcmds}{2011/02/16}
5075 \checkpackage{ifluatex}{2010/03/01}
5076 \checkpackage{kvdefinekeys}{2011/04/07}
5077 \checkpackage{pdftexcmds}{2011/11/29}
5078 \checkpackage{auxhook}{2011/03/04}
5079 \checkpackage{atbegshi}{2011/10/05}
5080 \checkpackage{zref-lastpage}{2012/04/04}
5081 \checkpackage{atveryend}{2011/06/30}
5082 \checkpackage{kvoptions}{2011/06/30}
5083 \checkpackage{pdfescape}{2011/11/25}
5084 \checkpackage{stringenc}{2011/12/02}
5085 \checkpackage{intcalc}{2007/09/27}
5086 \checkpackage{hobsub-hyperref}{2012/04/25}
5087 \checkpackage{hobsub-generic}{2012/04/25}
5088 \checkpackage{hobsub}{2012/04/25}
5089 \checkpackage{bigintcalc}{2012/04/08}
5090 \checkpackage{bitset}{2011/01/30}
5091 \checkpackage{uniquecounter}{2011/01/30}
5092 \checkpackage{letltxmacro}{2010/09/02}
5093 \checkpackage{hopatch}{2011/06/24}
5094 \checkpackage{xcolor-patch}{2011/01/30}
5095 \checkpackage{refcount}{2011/10/16}
5096 \checkpackage{hycolor}{2011/01/30}
5097 \checkpackage{url}{2006/04/12}
5098 \checkpackage{rerunfilecheck}{2011/04/15}
5099 \checkpackage{xkeyval}{2012/10/14}
5100 \checkpackage{mfirstuc}{2013/11/04}
5101 \checkpackage{textcase}{2004/10/07}
5102 \checkpackage{xfor}{2009/02/05}
5103 \checkpackage{datatool-base}{2013/09/06}
5104 \checkpackage{substr}{2009/10/20}
5105 \checkpackage{datatool-fp}{2013/08/29}
5106 \checkpackage{fp}{1995/04/02}
5107 \checkpackage{defpattern}{1994/10/12}
5108 \checkpackage{fp-basic}{1996/05/13}
5109 \checkpackage{fp-addons}{1995/03/15}
5110 \checkpackage{fp-snap}{1995/04/05}
5111 \checkpackage{fp-exp}{1995/04/03}
5112 \checkpackage{fp-trigo}{1995/04/14}
5113 \checkpackage{fp-pas}{1994/08/29}
5114 \checkpackage{fp-random}{1995/02/23}
5115 \checkpackage{fp-eqn}{1995/04/03}
5116 \checkpackage{fp-upn}{1996/10/21}
5117 \checkpackage{fp-eval}{1995/04/03}
5118 \checkpackage{glossaries-compatible-307}{2013/11/14}
5119 \checkpackage{glossary-hypernav}{2013/11/14}
5120 \checkpackage{glossary-list}{2013/11/14}
5121 \checkpackage{glossary-long}{2013/11/14}
5122 \checkpackage{glossary-super}{2013/11/14}
5123 \checkpackage{supertabular}{2004/02/20}
5124 \checkpackage{glossary-tree}{2013/11/14}
5125 \checkpackage{ltcaption}{2013/02/03}
5126 \checkpackage{nameref}{2012/10/27}
5127 \checkpackage{gettitlestring}{2010/12/03}
5128 \makeatother
5129 \begin{document}
5130 \chapter{Packages Check}
5131 \makeatletter%
5132 \noindent NOTICE:This report is prepared for uestcthesis \version@uestcthesis.
5133
5134 \noindent\makebox[4.5cm][l]{\bf Package}\makebox[10em][l]{\bf Need}\makebox[10em][l]{\bf Have}\makebox[10em][l]{\bf Check Result}\\
5135 \newif\iflisthasnext
5136 %从记录宏包名的\packagelist弹出一个宏包名
5137 \def\poppackagename#1,#2\@nil{%
5138 \checkresult{#1}%
5139 \def\packagelist{#2}%
5140 }
5141 \loop
5142 \expandafter\poppackagename\packagelist\@nil%
5143 \ifx\packagelist\empty\listhasnextfalse %
5144 \else\listhasnexttrue%
5145 \fi%
5146 \iflisthasnext%
5147 \repeat%
5148 \makeatother
5149 \end{document}
5150
5151 % \end{macrocode}
5152 % \iffalse
5153 %</packagecheck>
5154 % \fi
5155
5156
5157 % \iffalse
5158 %<*beamer>
5159 % \fi
5160 % \section{Beamer主题}
5161 % \changes{v0.4.5}{2013/06/01}{增加一个Beamer主题}
5162 % 一个简单的带学校LOGO的主题。
5163 % \begin{macrocode}
5164 \NeedsTeXFormat{LaTeX2e}[2011/06/27]
5165 \ProvidesPackage{beamerthemeuestcthesis}
5166 [2013/05/31 v0.1 UESTC thesis beamer theme]
5167 \RequirePackage[UTF8,fancyhdr,hyperref,fntef]{ctex}[2011/03/11]
5168 \usetheme[hideothersubsections]{PaloAlto}
5169 \definecolor{beamer@logo@uestcthesis}{RGB}{0,86,159}
5170 \setbeamercolor*{palette secondary}{use=structure,fg=white,bg=beamer@logo@uestcthesis}
5171 % \begin{macrocode}
5172 \begin{filecontents*}{logo.tex}
5173 % \end{macrocode}
5174 % logo文件内容不显示在文档中。
5175 % \iffalse
5176 \documentclass[pstricks=true]{standalone}
5177 \usepackage{pstricks}
5178
5179 \begin{document}
5180 %LaTeX with PSTricks extensions
5181 %%Creator: 0.48.3.1
5182 %%Please note this file requires PSTricks extensions
5183 \psset{xunit=.5pt,yunit=.5pt,runit=.5pt}
5184 \begin{pspicture}(3090.08740234,3090.08740234)
5185 {
5186 \newrgbcolor{curcolor}{1 1 1}
5187 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5188 {
5189 \newpath
5190 \moveto(1545.04993132,2592.06227963)
5191 \curveto(968.37495696,2592.06227963)(498.02497786,2121.72480054)(498.02497786,1545.03732617)
5192 \curveto(498.02497786,968.36235181)(968.37495696,498.01237271)(1545.04993132,498.01237271)
5193 \curveto(2121.72490569,498.01237271)(2592.07488478,968.36235181)(2592.07488478,1545.03732617)
5194 \curveto(2592.07488478,2121.72480054)(2121.72490569,2592.06227963)(1545.04993132,2592.06227963)
5195 \closepath
5196 \moveto(1545.04993132,3090.08725749)
5197 \curveto(2396.0373935,3090.08725749)(3090.09986264,2396.02478835)(3090.09986264,1545.03732617)
5198 \curveto(3090.09986264,694.062364)(2396.0373935,-0.00010515)(1545.04993132,-0.00010515)
5199 \curveto(694.07496915,-0.00010515)(-0,694.062364)(-0,1545.03732617)
5200 \curveto(-0,2396.02478835)(694.07496915,3090.08725749)(1545.04993132,3090.08725749)
5201 \closepath
5202 }
5203 }
5204 {
5205 \newrgbcolor{curcolor}{0 0.36078431 0.63529412}
5206 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5207 {
5208 \newpath
5209 \moveto(67.77499699,1579.99982462)
5210 \curveto(68.02499698,1579.72482463)(68.26249697,1579.43732464)(68.51249695,1579.14982466)
5211 \curveto(72.82499676,1579.03732466)(76.5124966,1580.91232458)(80.19999644,1581.74982454)
5212 \curveto(87.46249611,1583.39982447)(99.48749558,1581.37482456)(107.09999524,1579.83732463)
5213 \curveto(123.33749452,1576.56232477)(141.22499372,1559.13732555)(150.6499933,1550.43732593)
5214 \curveto(173.47499229,1529.38732687)(189.31249158,1505.61232792)(216.0374904,1486.63732877)
5215 \curveto(218.61249028,1485.8248288)(221.18749017,1485.01232884)(223.74999005,1484.19982888)
5216 \curveto(237.31248945,1479.58732908)(236.41248949,1488.66232868)(244.88748911,1490.64982859)
5217 \curveto(261.37498838,1494.48732842)(278.16248764,1489.98732862)(289.26248714,1477.14982919)
5218 \curveto(291.78748703,1474.23732932)(295.37498687,1471.21232945)(296.66248681,1467.69982961)
5219 \curveto(299.38748669,1460.23732994)(293.37498696,1454.4498302)(287.46248722,1451.83733031)
5220 \curveto(282.22498746,1449.52483042)(276.18748772,1446.07483057)(270.17498799,1445.28733061)
5221 \curveto(260.42498842,1444.03733066)(251.17498884,1444.46233064)(242.46248922,1441.93733075)
5222 \curveto(242.38748923,1441.63733077)(242.29998923,1441.33733078)(242.21248923,1441.03733079)
5223 \lineto(242.43748922,1440.66233081)
5224 \curveto(249.26248892,1438.79983089)(254.47498869,1436.73733099)(260.02498844,1434.2123311)
5225 \curveto(266.69998815,1431.16233123)(272.2624879,1431.66233121)(278.62498762,1429.09983133)
5226 \curveto(287.81248721,1425.38733149)(296.62498681,1423.43733158)(305.46248642,1421.07483168)
5227 \curveto(312.38748611,1419.21233177)(322.53748566,1415.47483193)(329.78748534,1415.67483192)
5228 \curveto(346.79998458,1416.1373319)(355.09998422,1450.86233036)(367.53748366,1461.43732989)
5229 \curveto(376.61248326,1469.14982955)(391.72498259,1464.69982974)(404.38748202,1465.17482972)
5230 \curveto(412.23748168,1465.48732971)(427.61248099,1466.64982966)(434.2999807,1469.53732953)
5231 \curveto(440.8999804,1472.3873294)(451.66247992,1475.37482927)(456.24997972,1481.24982901)
5232 \curveto(463.04997942,1489.99982862)(465.99997929,1502.02482808)(469.57497913,1515.66232748)
5233 \curveto(473.56247895,1528.98732689)(477.54997877,1542.29982629)(481.5374786,1555.6123257)
5234 \curveto(482.13747857,1560.62482548)(480.33747865,1566.74982521)(479.71247868,1571.28732501)
5235 \curveto(478.59997873,1579.22482465)(480.47497864,1596.61232388)(475.81247885,1601.72482365)
5236 \curveto(467.56247922,1610.77482325)(453.31247985,1623.71232268)(442.39998034,1609.29982332)
5237 \curveto(440.9624804,1607.3998234)(438.02498053,1604.22482354)(437.61248055,1601.24982367)
5238 \curveto(436.11248061,1590.42482415)(435.66248063,1573.92482489)(434.88748067,1561.98732542)
5239 \curveto(433.93748071,1547.52482606)(430.82498085,1533.49982669)(429.17498092,1521.28732723)
5240 \curveto(427.524981,1509.07482777)(419.87498134,1500.99982813)(410.66248175,1500.88732813)
5241 \curveto(394.77498245,1500.68732814)(388.28748274,1525.18732705)(386.39998282,1538.21232648)
5242 \curveto(384.84998289,1548.862326)(387.42498278,1558.66232557)(381.99998302,1566.8498252)
5243 \curveto(371.84998347,1582.19982452)(350.14998444,1575.24982483)(332.18748523,1586.36232434)
5244 \curveto(316.41248594,1596.1123239)(301.13748661,1606.87482342)(290.48748709,1620.08732284)
5245 \curveto(288.22498719,1622.89982271)(287.61248722,1626.44982255)(286.41248727,1629.9248224)
5246 \curveto(283.63748739,1637.92482204)(273.17498786,1653.28732136)(264.41248825,1657.91232115)
5247 \curveto(253.74998872,1663.5498209)(234.93748956,1646.72482165)(227.52498989,1642.23732185)
5248 \curveto(215.06249044,1634.71232219)(202.437491,1626.71232254)(190.57499153,1618.19982292)
5249 \curveto(184.81249179,1614.0498231)(177.89999209,1606.76232343)(170.8749924,1605.2248235)
5250 \curveto(163.86249272,1603.68732357)(153.63749317,1609.52482331)(146.83749347,1610.53732326)
5251 \curveto(120.56249464,1614.46232309)(84.62499624,1624.62482263)(67.77499699,1579.99982462)
5252 \closepath
5253 \moveto(193.71249139,1594.42482398)
5254 \curveto(197.31249123,1607.72482339)(229.68748979,1627.98732249)(246.48748904,1617.33732296)
5255 \curveto(256.13748861,1611.22482323)(262.56248833,1602.33732363)(270.21248799,1595.64982392)
5256 \curveto(280.26248754,1586.86232431)(288.54998717,1573.6998249)(278.8624876,1559.07482555)
5257 \curveto(270.33748798,1560.1248255)(261.81248836,1561.17482545)(253.27498874,1562.23732541)
5258 \curveto(235.93748951,1564.44982531)(217.12499035,1572.37482496)(204.7124909,1580.4248246)
5259 \curveto(201.51249104,1582.49982451)(197.16249124,1583.83732445)(195.12499133,1586.61232432)
5260 \curveto(194.64999135,1589.21232421)(194.18749137,1591.81232409)(193.71249139,1594.42482398)
5261 \closepath
5262 \moveto(315.31248598,1548.07482604)
5263 \curveto(315.62498597,1544.57482619)(314.962486,1541.34982634)(312.99998609,1538.81232645)
5264 \curveto(311.78748614,1537.22482652)(310.68748619,1536.66232654)(309.49998624,1536.67482654)
5265 \curveto(304.63748646,1536.71232654)(305.04998644,1539.32482643)(304.86248645,1543.17482625)
5266 \curveto(304.52498646,1549.88732596)(306.42498638,1552.78732583)(315.31248598,1548.07482604)
5267 \closepath
5268 \moveto(339.88748489,1541.32482634)
5269 \curveto(341.69998481,1541.74982632)(342.68748477,1541.54982633)(343.13748475,1539.56232642)
5270 \curveto(343.82498472,1536.52482655)(342.79998476,1536.52482655)(340.47498487,1536.22482656)
5271 \curveto(338.49998495,1535.96232658)(338.09998497,1536.63732655)(337.69998499,1537.97482649)
5272 \curveto(336.93748502,1540.54982637)(337.17498501,1540.71232636)(339.88748489,1541.32482634)
5273 \closepath
5274 \moveto(1119.69995023,2914.94976528)
5275 \curveto(1119.59995023,2914.5247653)(1119.49995024,2914.08726532)(1119.39995024,2913.64976534)
5276 \curveto(1121.67495014,2907.21226562)(1123.94995004,2900.78726591)(1126.21244994,2894.36226619)
5277 \curveto(1127.49994988,2890.08726638)(1130.49994975,2885.71226658)(1131.19994972,2882.47476672)
5278 \curveto(1133.49994962,2871.7997672)(1150.99994884,2853.26226802)(1141.33744927,2841.17476856)
5279 \curveto(1133.27494963,2831.06226901)(1115.67495041,2824.73726929)(1105.99995084,2816.93726964)
5280 \curveto(1103.16245096,2814.64976974)(1098.52495117,2811.64976987)(1098.39995118,2808.27477002)
5281 \curveto(1099.16245114,2801.34977033)(1105.68745085,2796.68727054)(1106.7874508,2789.39977086)
5282 \curveto(1108.48745073,2778.27477135)(1106.98745079,2758.46227224)(1116.43745037,2750.51227259)
5283 \curveto(1121.21245016,2746.48727277)(1127.86244987,2748.41227268)(1133.31244962,2746.26227278)
5284 \curveto(1137.84994942,2736.36227322)(1133.9374496,2716.21227411)(1131.42494971,2707.5372745)
5285 \curveto(1129.19994981,2699.82477484)(1124.17495003,2691.06227523)(1132.27494967,2681.18727567)
5286 \curveto(1139.36244935,2672.56227605)(1147.449949,2672.19977607)(1159.03744848,2675.17477594)
5287 \curveto(1162.46244833,2676.69977587)(1165.89994818,2678.2247758)(1169.33744802,2679.74977573)
5288 \curveto(1179.26244758,2682.7872756)(1186.84994724,2694.0122751)(1195.07494688,2688.54977534)
5289 \curveto(1207.33744633,2680.4122757)(1210.88744618,2662.94977648)(1221.83744569,2648.17477714)
5290 \curveto(1223.14994563,2646.38727722)(1224.94994555,2640.84977746)(1226.68744547,2638.57477756)
5291 \curveto(1239.33744491,2622.0372783)(1247.23744456,2601.6872792)(1262.1124439,2587.94977981)
5292 \curveto(1268.03744364,2582.48728006)(1271.42494348,2574.01228043)(1277.8999432,2570.2997806)
5293 \curveto(1278.22494318,2570.43728059)(1278.54994317,2570.58728059)(1278.87494315,2570.73728058)
5294 \curveto(1280.61244308,2577.31228029)(1276.16244327,2584.09977999)(1274.07494337,2592.09977963)
5295 \curveto(1270.66244352,2605.27477904)(1265.12494376,2616.19977856)(1262.33744389,2629.74977796)
5296 \curveto(1259.53744401,2643.32477735)(1256.02494417,2657.27477673)(1256.22494416,2669.91227617)
5297 \curveto(1256.33744416,2676.84977586)(1259.67494401,2683.72477556)(1258.51244406,2691.19977522)
5298 \curveto(1257.97494408,2694.73727507)(1255.71244418,2697.08727496)(1254.94994422,2699.88727484)
5299 \curveto(1253.81244427,2704.04977465)(1250.63744441,2709.7747744)(1248.5749445,2712.91227426)
5300 \curveto(1242.27494478,2722.44977384)(1238.77494494,2731.58727343)(1237.12494501,2741.299773)
5301 \curveto(1235.84994507,2748.78727267)(1236.29994505,2758.31227224)(1237.61244499,2765.31227193)
5302 \curveto(1239.69994489,2776.39977144)(1246.82494458,2788.61227089)(1237.03744501,2802.93727026)
5303 \curveto(1227.13744545,2817.43726961)(1214.04994604,2823.37476935)(1202.97494653,2833.32476891)
5304 \curveto(1195.57494686,2839.97476861)(1190.22494709,2847.96226826)(1182.94994742,2855.24976793)
5305 \curveto(1174.52494779,2863.69976756)(1158.6124485,2897.09976607)(1153.08744874,2909.23726553)
5306 \curveto(1151.29994882,2910.82476546)(1122.72495009,2915.77476524)(1119.69995023,2914.94976528)
5307 \closepath
5308 \moveto(1008.66245516,2864.12476754)
5309 \curveto(996.5999557,2848.14976825)(992.57495588,2807.78727004)(997.14995568,2784.99977106)
5310 \curveto(998.22495563,2782.34977117)(999.31245558,2779.69977129)(1000.38745553,2777.04977141)
5311 \curveto(1003.81245538,2760.19977216)(1013.49995495,2741.82477297)(1010.38745509,2727.44977361)
5312 \curveto(1009.51245513,2723.42477379)(994.11245581,2710.17477438)(990.54995597,2706.01227457)
5313 \curveto(976.4749566,2689.5372753)(960.13745732,2663.78727644)(971.51245682,2638.51227757)
5314 \curveto(972.76245676,2637.89977759)(974.0124567,2637.27477762)(975.27495665,2636.66227765)
5315 \curveto(988.62495606,2642.2122774)(992.54995588,2655.57477681)(1003.61245539,2662.4247765)
5316 \curveto(1008.38745518,2665.37477637)(1016.8874548,2666.14977634)(1015.04995488,2663.44977646)
5317 \curveto(1017.22495478,2657.86227671)(1014.86245489,2650.78727702)(1015.18745487,2645.29977727)
5318 \curveto(1015.88745484,2633.38727779)(1016.38745482,2622.36227828)(1015.89995484,2610.6622788)
5319 \curveto(1015.58745486,2603.27477913)(1013.76245494,2593.87477955)(1015.27495487,2586.31227989)
5320 \curveto(1017.87495476,2573.28728047)(1027.13745434,2560.19978105)(1035.64995397,2553.66228134)
5321 \curveto(1045.87495351,2556.01228123)(1045.61245352,2563.71228089)(1048.62495339,2569.41228064)
5322 \curveto(1054.01245315,2579.61228018)(1057.94995297,2588.69977978)(1064.34995269,2598.13727936)
5323 \curveto(1066.04995261,2600.64977925)(1070.59995241,2612.72477871)(1074.12495225,2612.47477872)
5324 \curveto(1083.38745184,2613.27477869)(1097.8999512,2581.06228012)(1095.84995129,2572.19978051)
5325 \curveto(1094.67495134,2567.12478074)(1089.46245157,2565.6747808)(1086.47495171,2561.57478099)
5326 \curveto(1086.46245171,2561.362281)(1086.46245171,2561.174781)(1086.44995171,2560.97478101)
5327 \curveto(1089.89995155,2553.69978134)(1110.19995065,2546.32478166)(1117.51245033,2549.22478154)
5328 \curveto(1127.97494986,2562.81228093)(1123.64995005,2584.28727998)(1110.19995065,2602.66227916)
5329 \curveto(1106.01245084,2610.7747788)(1101.81245102,2618.89977844)(1097.61245121,2627.02477808)
5330 \curveto(1093.2999514,2634.98727772)(1088.97495159,2642.94977737)(1084.64995179,2650.91227702)
5331 \curveto(1083.59995183,2656.51227677)(1088.8749516,2671.78727609)(1090.06245155,2677.69977582)
5332 \curveto(1092.53745144,2689.91227528)(1093.62495139,2703.32477469)(1094.56245135,2715.82477413)
5333 \curveto(1095.33745131,2726.22477367)(1094.83745133,2737.13727318)(1093.03745141,2748.32477269)
5334 \curveto(1092.47495144,2751.77477253)(1090.71245152,2759.41227219)(1087.93745164,2760.44977215)
5335 \curveto(1083.19995185,2755.78727235)(1083.21245185,2745.99977279)(1082.1874519,2739.68727307)
5336 \curveto(1081.24995194,2733.86227333)(1079.68745201,2726.97477363)(1078.69995205,2721.1122739)
5337 \curveto(1077.47495211,2713.77477422)(1078.14995208,2706.87477453)(1076.06245217,2699.96227484)
5338 \curveto(1074.68745223,2695.38727504)(1064.63745268,2684.03727554)(1057.337453,2687.2372754)
5339 \curveto(1047.68745343,2691.47477521)(1047.92495342,2712.16227429)(1042.97495364,2720.21227394)
5340 \curveto(1036.86245391,2730.14977349)(1028.91245426,2739.32477309)(1022.29995456,2751.53727254)
5341 \curveto(1021.64995459,2754.09977243)(1021.01245462,2756.64977232)(1020.36245464,2759.1997722)
5342 \curveto(1018.61245472,2762.71227205)(1015.11245488,2768.2997718)(1014.96245488,2772.6622716)
5343 \curveto(1014.82495489,2777.09977141)(1017.67495476,2782.66227116)(1018.97495471,2786.77477098)
5344 \curveto(1023.5374545,2801.27477033)(1029.64995423,2819.12476954)(1030.2749542,2834.67476885)
5345 \curveto(1030.77495418,2846.8872683)(1026.42495438,2872.01226719)(1008.66245516,2864.12476754)
5346 \closepath
5347 \moveto(1143.03744919,2799.03727043)
5348 \curveto(1159.37494847,2803.89977022)(1164.81244822,2781.7372712)(1153.13744874,2772.98727159)
5349 \curveto(1150.61244885,2772.94977159)(1148.08744897,2772.89977159)(1145.56244908,2772.8497716)
5350 \curveto(1140.44994931,2773.62477156)(1132.76244965,2781.02477123)(1133.63744961,2787.81227093)
5351 \curveto(1134.32494958,2793.28727069)(1139.89994933,2794.42477064)(1143.03744919,2799.03727043)
5352 \closepath
5353 \moveto(1178.97494759,2728.08727359)
5354 \curveto(1175.98744773,2723.1997738)(1167.6999481,2714.2122742)(1160.17494843,2716.21227411)
5355 \curveto(1150.76244885,2718.712274)(1155.18744865,2741.02477301)(1156.49994859,2746.28727278)
5356 \curveto(1176.22494772,2759.08727221)(1187.38744722,2741.67477298)(1178.97494759,2728.08727359)
5357 \closepath
5358 \moveto(1046.41245349,2660.93727657)
5359 \curveto(1061.9124528,2665.71227636)(1057.58745299,2637.6747776)(1046.27495349,2644.72477729)
5360 \curveto(1038.97495382,2649.44977708)(1044.84995356,2656.87477675)(1046.41245349,2660.93727657)
5361 \closepath
5362 \moveto(3062.53736387,1505.88732791)
5363 \curveto(3054.52486423,1509.67482774)(3042.46236476,1506.32482789)(3033.91236514,1508.94982778)
5364 \curveto(3023.98736558,1511.98732764)(3013.64986604,1514.38732753)(3003.68736649,1517.77482738)
5365 \curveto(2999.34986668,1519.24982732)(2994.86236688,1522.31232718)(2990.54986707,1523.62482712)
5366 \curveto(2985.69986728,1525.09982706)(2970.57486796,1529.63732686)(2965.34986819,1524.97482706)
5367 \curveto(2966.62486813,1519.39982731)(2967.06236811,1514.87482751)(2970.26236797,1510.34982771)
5368 \curveto(2974.36236779,1504.54982797)(2981.79986746,1502.26232807)(2985.68736729,1495.08732839)
5369 \curveto(2994.59986689,1478.67482912)(2996.86236679,1452.28733029)(3013.94986603,1446.09983057)
5370 \curveto(3016.27486593,1445.26233061)(3026.69986546,1442.84983071)(3029.74986533,1444.53733064)
5371 \curveto(3031.31236526,1445.66233059)(3032.87486519,1446.78733054)(3034.43736512,1447.89983049)
5372 \curveto(3052.8248643,1458.56233002)(3055.67486417,1467.61232961)(3060.57486396,1486.12482879)
5373 \curveto(3062.29986388,1492.6123285)(3065.01236376,1497.2373283)(3062.53736387,1505.88732791)
5374 \closepath
5375 \moveto(2993.07486696,1660.59982104)
5376 \curveto(2992.212367,1662.32482096)(2991.33736703,1664.06232088)(2990.46236707,1665.7873208)
5377 \curveto(2988.57486716,1668.57482068)(2982.73736742,1671.49982055)(2979.72486755,1672.5873205)
5378 \curveto(2975.84986772,1673.99982044)(2971.58736791,1673.38732047)(2966.84986812,1673.18732048)
5379 \curveto(2963.68736826,1673.21232047)(2960.5373684,1673.22482047)(2957.37486854,1673.24982047)
5380 \curveto(2951.84986879,1673.43732046)(2946.94986901,1668.1373207)(2944.27486913,1666.08732079)
5381 \curveto(2933.07486962,1657.51232117)(2929.27486979,1655.06232128)(2925.39986997,1642.27482185)
5382 \curveto(2924.48737001,1639.86232196)(2923.57487005,1637.43732206)(2922.66237009,1635.02482217)
5383 \curveto(2921.56237014,1633.16232225)(2919.34987023,1632.2248223)(2918.69987026,1630.08732239)
5384 \curveto(2916.98737034,1624.43732264)(2924.03737003,1611.46232322)(2927.92486985,1608.38732336)
5385 \curveto(2948.51236894,1613.67482312)(2990.63736707,1632.66232228)(2993.73736693,1647.47482162)
5386 \curveto(2994.61236689,1651.66232143)(2993.76236693,1656.11232123)(2993.07486696,1660.59982104)
5387 \closepath
5388 \moveto(3002.62486653,1595.82482391)
5389 \curveto(2994.2998669,1603.39982358)(2966.61236813,1599.52482375)(2960.5373684,1588.67482423)
5390 \curveto(2958.3373685,1584.74982441)(2960.37486841,1580.87482458)(2961.86236834,1576.33732478)
5391 \curveto(2962.7998683,1572.94982493)(2963.72486826,1569.54982508)(2964.66236822,1566.16232523)
5392 \curveto(2967.22486811,1562.87482538)(2972.22486788,1560.62482548)(2976.22486771,1559.58732553)
5393 \curveto(2978.81236759,1558.92482555)(2983.42486739,1556.84982565)(2986.69986724,1558.03732559)
5394 \curveto(2995.56236685,1561.23732545)(3004.33736646,1586.32482434)(3002.62486653,1595.82482391)
5395 \closepath
5396 \moveto(2924.82486999,1551.94982586)
5397 \lineto(2916.79987035,1575.76232481)
5398 \curveto(2903.14987095,1600.37482371)(2888.79987159,1625.64982259)(2873.88737225,1647.9123216)
5399 \curveto(2868.62487249,1655.76232125)(2861.73737279,1669.67482063)(2854.28737313,1672.96232049)
5400 \curveto(2847.49987343,1675.97482035)(2838.33737383,1673.88732044)(2830.1873742,1674.61232041)
5401 \curveto(2821.34987459,1675.41232038)(2793.76237582,1677.67482028)(2786.67487613,1669.44982064)
5402 \curveto(2782.62487631,1664.74982085)(2777.98737652,1649.84982151)(2783.78737626,1642.33732185)
5403 \curveto(2791.9873759,1631.72482232)(2809.29987513,1635.46232215)(2818.03737474,1626.33732256)
5404 \curveto(2823.3623745,1620.78732281)(2824.41237445,1611.9248232)(2829.18737424,1605.1623235)
5405 \curveto(2838.73737382,1591.6373241)(2851.61237324,1580.4373246)(2862.21237277,1567.83732516)
5406 \curveto(2868.78737248,1560.03732551)(2886.51237169,1538.41232647)(2880.92487194,1527.76232694)
5407 \curveto(2868.09987251,1527.27482696)(2859.77487288,1542.99982626)(2852.07487322,1552.04982586)
5408 \curveto(2838.89987381,1567.51232517)(2829.47487423,1579.61232464)(2809.8373751,1584.17482443)
5409 \curveto(2807.29987521,1584.76232441)(2803.28737539,1586.12482435)(2800.64987551,1586.37482433)
5410 \curveto(2794.0873758,1587.01232431)(2776.61237658,1580.3498246)(2773.72487671,1575.72482481)
5411 \curveto(2767.162377,1565.18732528)(2779.48737645,1561.07482546)(2785.53737618,1558.57482557)
5412 \curveto(2798.14987562,1553.3623258)(2831.24987415,1545.33732616)(2831.18737415,1525.89982702)
5413 \curveto(2823.23737451,1519.29982732)(2814.02487492,1517.14982741)(2803.74987537,1519.24982732)
5414 \curveto(2785.77487617,1522.89982716)(2749.1873778,1544.4998262)(2740.51237818,1562.14982541)
5415 \curveto(2734.56237845,1574.26232487)(2734.96237843,1592.41232407)(2734.68737844,1603.71232356)
5416 \curveto(2734.53737845,1610.48732326)(2737.68737831,1617.01232297)(2731.31237859,1621.39982278)
5417 \curveto(2724.92487888,1625.79982258)(2712.41237943,1622.66232272)(2706.58737969,1616.67482299)
5418 \curveto(2698.48738005,1608.32482336)(2694.51238023,1596.28732389)(2689.26238046,1586.18732434)
5419 \curveto(2685.32488064,1578.61232468)(2676.72488102,1570.73732503)(2670.3873813,1565.62482526)
5420 \curveto(2659.67488178,1556.98732564)(2645.04988243,1549.58732597)(2644.12488247,1535.3373266)
5421 \curveto(2643.76238248,1529.81232685)(2649.48738223,1517.18732741)(2650.39988219,1512.53732762)
5422 \curveto(2652.13738211,1505.52482793)(2653.86238203,1498.51232824)(2655.59988196,1491.49982855)
5423 \curveto(2655.59988196,1488.81232867)(2656.42488192,1479.2623291)(2657.79988186,1477.0248292)
5424 \curveto(2662.89988163,1468.81232956)(2671.94988123,1463.04982982)(2680.38738086,1460.47482993)
5425 \curveto(2682.52488076,1460.57482993)(2684.66238067,1460.67482992)(2686.81238057,1460.76232992)
5426 \curveto(2701.32487993,1459.62482997)(2723.96237892,1467.08732964)(2734.63737844,1458.84983)
5427 \curveto(2745.92487794,1450.12483039)(2747.14987789,1433.19983114)(2754.72487755,1419.13733177)
5428 \curveto(2759.56237734,1410.16233217)(2763.17487718,1398.79983267)(2776.0498766,1406.08733235)
5429 \curveto(2787.2998761,1412.46233207)(2797.34987566,1435.73733103)(2794.67487578,1449.04983044)
5430 \curveto(2792.73737586,1458.69983001)(2781.77487635,1469.57482953)(2776.89987657,1476.08732924)
5431 \curveto(2773.51237672,1480.59982904)(2771.6123768,1484.78732885)(2776.97487656,1487.63732872)
5432 \curveto(2788.48737605,1493.77482845)(2810.13737509,1489.61232864)(2819.37487468,1487.17482874)
5433 \curveto(2822.92487452,1486.23732879)(2827.04987434,1484.07482888)(2830.92487416,1483.84982889)
5434 \curveto(2834.562374,1483.6498289)(2836.59987391,1485.68732881)(2840.34987375,1486.14982879)
5435 \curveto(2850.07487331,1487.34982874)(2858.37487294,1490.17482861)(2866.43737259,1488.01232871)
5436 \curveto(2880.32487197,1484.26232887)(2892.64987142,1466.94982964)(2911.1123706,1476.04982924)
5437 \curveto(2914.53737045,1477.74982916)(2918.64987027,1477.72482916)(2920.62487018,1480.14982906)
5438 \curveto(2924.96236998,1485.44982882)(2927.74986986,1498.69982823)(2929.2248698,1505.86232791)
5439 \curveto(2931.49986969,1516.91232742)(2927.52486987,1529.17482688)(2927.49986987,1541.16232634)
5440 \curveto(2926.59986991,1544.76232618)(2925.71236995,1548.36232602)(2924.82486999,1551.94982586)
5441 \closepath
5442 \moveto(2721.63737902,1526.512327)
5443 \curveto(2727.48737876,1507.18732785)(2710.31237953,1499.22482821)(2698.12488007,1508.81232778)
5444 \curveto(2687.84988052,1516.89982742)(2681.5873808,1550.32482594)(2698.56238005,1552.38732585)
5445 \curveto(2710.01237954,1547.11232608)(2713.2498794,1537.13732652)(2721.63737902,1526.512327)
5446 \closepath
5447 \moveto(2104.82490644,2864.63726752)
5448 \curveto(2097.57490676,2861.39976766)(2093.46240694,2851.06226812)(2088.96240714,2843.21226847)
5449 \curveto(2082.91240741,2832.66226894)(2076.72490769,2819.83726951)(2070.78740795,2809.73726996)
5450 \curveto(2066.39990815,2802.27477029)(2064.04990825,2790.46227081)(2058.26240851,2783.49977112)
5451 \curveto(2044.61240912,2767.08727185)(2005.04991087,2781.01227123)(1984.2749118,2775.69977147)
5452 \curveto(1968.93741248,2771.77477164)(1958.11241296,2759.72477218)(1944.86241355,2750.92477257)
5453 \curveto(1941.93741368,2748.97477266)(1934.774914,2750.72477258)(1934.03741403,2754.6997724)
5454 \curveto(1932.66241409,2762.31227206)(1950.68741329,2775.33727148)(1954.84991311,2778.12477136)
5455 \curveto(1956.02491305,2779.5122713)(1957.199913,2780.89977124)(1958.36241295,2782.28727118)
5456 \curveto(1971.72491236,2795.3497706)(1993.2874114,2807.03727008)(1997.33741122,2831.43726899)
5457 \curveto(1998.97491114,2835.7747688)(2000.61241107,2840.09976861)(2002.249911,2844.42476841)
5458 \curveto(2002.74991098,2848.94976821)(2002.124911,2855.77476791)(2000.18741109,2859.41226775)
5459 \curveto(1996.77491124,2865.78726746)(1981.33741193,2874.87476706)(1972.9874123,2871.97476719)
5460 \curveto(1966.2249126,2869.64976729)(1941.98741368,2838.31226869)(1939.02491381,2828.36226913)
5461 \curveto(1937.52491388,2823.34976935)(1927.9874143,2808.11227003)(1924.59991445,2807.34977006)
5462 \curveto(1915.94991484,2805.38727015)(1883.73741627,2822.1997694)(1879.49991646,2811.84976986)
5463 \curveto(1887.38741611,2799.56227041)(1895.38741575,2789.47477086)(1895.33741575,2773.56227156)
5464 \curveto(1895.31241575,2764.59977196)(1891.86241591,2752.5122725)(1886.72491613,2744.87477284)
5465 \curveto(1885.1624162,2742.44977295)(1883.59991627,2740.02477305)(1882.03741634,2737.61227316)
5466 \curveto(1879.98741643,2731.51227343)(1872.66241676,2726.47477366)(1868.79991693,2722.28727384)
5467 \curveto(1851.64991769,2703.62477467)(1823.28741895,2688.86227533)(1796.16242016,2693.31227513)
5468 \curveto(1784.1124207,2678.3247758)(1785.96242061,2656.23727678)(1794.64992023,2644.17477732)
5469 \curveto(1803.96241981,2640.62477747)(1813.2624194,2642.08727741)(1820.93741906,2641.96227741)
5470 \curveto(1825.37491886,2641.88727742)(1830.82491862,2644.5622773)(1835.8124184,2643.74977733)
5471 \curveto(1844.08741803,2642.38727739)(1847.51241788,2624.14977821)(1857.96241741,2622.1122783)
5472 \curveto(1870.82491684,2625.46227815)(1879.77491644,2640.37477748)(1886.51241614,2654.87477684)
5473 \curveto(1889.724916,2661.77477653)(1890.01241599,2669.88727617)(1894.93741577,2676.22477589)
5474 \curveto(1904.84991533,2689.01227532)(1917.03741479,2695.03727505)(1929.14991425,2702.63727472)
5475 \curveto(1932.19991411,2703.86227466)(1935.23741398,2705.07477461)(1938.28741384,2706.28727455)
5476 \curveto(1942.08741367,2708.91227444)(1953.07491319,2715.49977414)(1957.39991299,2715.82477413)
5477 \curveto(1957.324913,2715.63727414)(1957.249913,2715.44977415)(1957.187413,2715.26227416)
5478 \curveto(1957.92491297,2698.74977489)(1938.52491383,2688.38727535)(1942.06241367,2674.51227597)
5479 \curveto(1942.93741364,2671.04977612)(1945.58741352,2670.49977614)(1948.1874134,2667.66227627)
5480 \curveto(1955.69991307,2659.46227664)(1978.06241207,2632.72477782)(1974.98741221,2621.67477832)
5481 \curveto(1974.78741222,2621.42477833)(1974.57491223,2621.18727834)(1974.37491224,2620.93727835)
5482 \curveto(1968.5249125,2620.84977835)(1959.31241291,2619.27477842)(1952.6999132,2623.33727824)
5483 \curveto(1932.26241411,2635.89977768)(1924.03741448,2658.0372767)(1933.97491403,2684.67477551)
5484 \lineto(1931.76241413,2689.06227532)
5485 \curveto(1931.13741416,2689.4122753)(1930.51241419,2689.74977529)(1929.88741422,2690.09977527)
5486 \curveto(1927.27491433,2688.57477534)(1924.06241447,2688.13727536)(1921.43741459,2686.52477543)
5487 \curveto(1912.03741501,2680.74977569)(1894.46241579,2649.42477708)(1891.61241592,2636.79977764)
5488 \curveto(1890.08741599,2630.03727794)(1884.01241626,2624.49977819)(1883.94991626,2617.4372785)
5489 \curveto(1884.17491625,2610.13727883)(1902.69991542,2602.32477918)(1909.78741511,2596.98727941)
5490 \curveto(1922.67491454,2587.28727984)(1952.48741321,2576.69978031)(1969.83741244,2574.8747804)
5491 \curveto(1981.73741191,2573.63728045)(2000.93741106,2574.51228041)(2010.12491065,2567.03728074)
5492 \curveto(2009.69991067,2550.68728147)(2009.78741066,2539.43728197)(2017.19991033,2526.91228253)
5493 \curveto(2022.62491009,2517.71228294)(2037.02490945,2512.32478318)(2047.08740901,2507.83728338)
5494 \curveto(2077.02490768,2494.47478397)(2119.2624058,2480.3622846)(2148.23740451,2483.38728446)
5495 \curveto(2148.4124045,2483.84978444)(2148.58740449,2484.32478442)(2148.77490449,2484.7997844)
5496 \curveto(2146.83740457,2493.94978399)(2136.07490505,2495.62478392)(2128.2624054,2502.24978362)
5497 \curveto(2124.92490555,2505.0997835)(2121.4374057,2508.56228334)(2117.87490586,2512.32478318)
5498 \curveto(2112.79990609,2517.67478294)(2108.86240626,2525.78728258)(2104.52490645,2531.58728232)
5499 \curveto(2102.81240653,2533.31228224)(2101.08740661,2535.03728217)(2099.37490668,2536.76228209)
5500 \curveto(2094.68740689,2543.87478177)(2090.53740707,2551.21228145)(2085.13740731,2557.97478115)
5501 \curveto(2079.67490756,2564.83728084)(2076.79990769,2574.7247804)(2071.9749079,2582.01228008)
5502 \curveto(2069.88740799,2585.17477994)(2067.27490811,2588.39977979)(2065.68740818,2591.82477964)
5503 \curveto(2059.34990846,2605.49977903)(2068.91240804,2608.37477891)(2075.98740772,2617.29977851)
5504 \curveto(2076.78740769,2619.14977843)(2077.59990765,2620.98727835)(2078.39990761,2622.83727826)
5505 \curveto(2080.07490754,2624.68727818)(2081.73740747,2626.5247781)(2083.41240739,2628.36227802)
5506 \curveto(2084.92490732,2632.09977785)(2086.44990726,2635.82477769)(2087.96240719,2639.54977752)
5507 \curveto(2092.46240699,2647.99977715)(2098.77490671,2658.39977668)(2101.3124066,2667.0997763)
5508 \lineto(2103.18740651,2678.01227581)
5509 \curveto(2105.33740642,2686.88727542)(2110.81240617,2697.46227495)(2107.02490634,2704.32477464)
5510 \curveto(2100.43740663,2716.27477411)(2075.28740775,2709.13727443)(2063.74990827,2716.19977411)
5511 \curveto(2065.1374082,2719.49977397)(2065.06240821,2724.67477374)(2068.13740807,2727.7747736)
5512 \curveto(2078.7124076,2738.46227312)(2107.83740631,2731.42477344)(2122.96240563,2734.4372733)
5513 \curveto(2125.9124055,2735.68727325)(2128.84990537,2736.93727319)(2131.79990524,2738.18727314)
5514 \curveto(2135.38740508,2739.78727307)(2151.64990436,2751.12477256)(2151.64990436,2756.49977232)
5515 \curveto(2158.78740404,2765.31227193)(2171.69990347,2783.76227111)(2165.98740372,2794.32477064)
5516 \curveto(2163.94990381,2795.1997706)(2161.9249039,2796.07477056)(2159.88740399,2796.96227052)
5517 \curveto(2155.2624042,2797.4247705)(2150.21240442,2792.39977073)(2146.43740459,2790.43727081)
5518 \curveto(2137.237405,2785.66227103)(2128.47490539,2780.23727127)(2118.12490585,2777.92477137)
5519 \curveto(2111.63740614,2776.46227143)(2104.38740646,2772.7497716)(2098.62490672,2780.13727127)
5520 \curveto(2094.28740691,2785.71227102)(2100.99990661,2795.82477057)(2102.63740654,2803.48727023)
5521 \curveto(2106.47490637,2821.53726943)(2125.8749055,2856.78726786)(2104.82490644,2864.63726752)
5522 \closepath
5523 \moveto(1991.34991148,2754.29977242)
5524 \curveto(1993.58741138,2752.26227251)(1995.82491128,2750.2247726)(1998.07491118,2748.19977269)
5525 \curveto(1998.98741114,2745.7997728)(1999.9124111,2743.4122729)(2000.83741106,2741.01227301)
5526 \curveto(2003.93741092,2737.27477318)(2012.03741056,2734.94977328)(2011.74991058,2729.77477351)
5527 \curveto(2011.1749106,2728.81227355)(2010.58741063,2727.8497736)(2010.01241065,2726.87477364)
5528 \curveto(2009.68741067,2725.18727371)(2009.27491069,2721.71227387)(2007.22491078,2719.54977396)
5529 \curveto(2001.83741102,2713.84977422)(1993.47491139,2709.27477442)(1985.19991176,2715.94977412)
5530 \curveto(1983.24991184,2718.18727403)(1981.31241193,2720.43727393)(1979.36241202,2722.67477383)
5531 \curveto(1975.68741218,2725.67477369)(1970.07491243,2723.81227378)(1968.88741248,2728.26227358)
5532 \curveto(1969.33741246,2733.22477336)(1987.61241165,2752.64977249)(1991.34991148,2754.29977242)
5533 \closepath
5534 \moveto(2052.81240875,2670.31227615)
5535 \curveto(2054.96240866,2669.53727619)(2056.1249086,2668.61227623)(2056.39990859,2667.0122763)
5536 \curveto(2057.77490853,2654.24977687)(2034.31240957,2635.16227772)(2024.87490999,2640.86227746)
5537 \curveto(2025.26240998,2644.92477728)(2025.82490995,2644.23727731)(2021.77491013,2644.6247773)
5538 \curveto(2021.11241016,2663.31227646)(2039.67490934,2669.59977618)(2052.81240875,2670.31227615)
5539 \closepath
5540 \moveto(694.36246914,2197.79979716)
5541 \curveto(698.67496894,2224.49979597)(682.94996964,2241.67479521)(657.73747076,2263.82479422)
5542 \curveto(646.88747125,2273.3747938)(629.76247201,2275.71229369)(623.96247226,2287.79979316)
5543 \curveto(619.39997247,2297.33729273)(624.12497226,2310.28729216)(626.89997213,2321.78729165)
5544 \curveto(628.22497208,2327.3372914)(632.67497188,2331.7747912)(632.32497189,2336.287291)
5545 \curveto(631.91247191,2341.68729076)(626.99997213,2348.59979045)(619.32497247,2348.11229048)
5546 \curveto(614.46247269,2347.79979049)(610.84997285,2343.37479069)(606.58747304,2340.51229081)
5547 \curveto(601.91247324,2337.36229095)(594.59997357,2335.13729105)(590.24997376,2331.7997912)
5548 \curveto(587.31247389,2328.18729136)(584.38747402,2324.57479152)(581.46247415,2320.96229168)
5549 \curveto(574.37497447,2314.21229198)(566.26247483,2304.58729241)(560.1124751,2297.13729274)
5550 \curveto(558.38747518,2293.6497929)(556.66247526,2290.16229305)(554.92497533,2286.66229321)
5551 \curveto(549.0124756,2276.23729367)(540.99997595,2264.07479421)(530.21247643,2265.76229414)
5552 \curveto(517.68747699,2267.72479405)(503.77497761,2285.82479324)(497.88747787,2293.14979292)
5553 \curveto(478.04997875,2317.76229182)(445.17498021,2367.09978963)(403.62498206,2359.83728995)
5554 \curveto(394.32498247,2358.21229003)(382.88748298,2350.72479036)(375.58748331,2343.34979069)
5555 \curveto(371.2749835,2338.98729088)(369.14998359,2333.59979112)(364.3499838,2330.03729128)
5556 \curveto(364.21248381,2326.27479145)(366.38748371,2324.04979154)(366.96248369,2320.71229169)
5557 \curveto(369.07498359,2308.57479223)(373.88748338,2297.36229273)(377.8999832,2285.78729325)
5558 \curveto(378.44998318,2285.62479325)(378.98748315,2285.46229326)(379.53748313,2285.29979327)
5559 \curveto(392.26248256,2285.39979326)(404.57498202,2302.93729248)(418.74998139,2300.76229258)
5560 \curveto(425.0999811,2299.78729262)(434.71248068,2290.57479303)(440.49998042,2286.18729323)
5561 \curveto(462.58747944,2269.43729397)(480.63747864,2250.22479483)(500.61247775,2234.22479554)
5562 \curveto(511.59997726,2225.42479593)(531.91247636,2219.49979619)(533.1124763,2207.13729674)
5563 \curveto(533.78747627,2200.09979705)(528.21247652,2192.3372974)(523.92497671,2186.29979767)
5564 \curveto(522.14997679,2182.46229784)(520.36247687,2178.62479801)(518.57497695,2174.78729818)
5565 \curveto(510.5874773,2163.1622987)(499.68747779,2141.39979966)(506.73747748,2131.16230012)
5566 \curveto(511.39997727,2124.41230042)(524.64997668,2126.93730031)(530.47497642,2124.59980041)
5567 \curveto(531.52497637,2124.17480043)(550.84997551,2127.84980027)(554.31247536,2128.19980025)
5568 \curveto(566.9249748,2129.4373002)(580.53747419,2125.26230038)(594.0124736,2120.3498006)
5569 \curveto(604.22497314,2114.92480084)(614.44997269,2109.48730108)(624.67497223,2104.06230132)
5570 \curveto(627.46247211,2103.09980137)(630.87497196,2098.86230155)(633.53747184,2100.1123015)
5571 \curveto(642.31247145,2105.42480126)(645.6874713,2117.54980072)(653.58747095,2125.74980036)
5572 \curveto(675.18746999,2151.07479923)(690.53746931,2174.14979821)(694.36246914,2197.79979716)
5573 \closepath
5574 \moveto(592.22497368,2230.17479572)
5575 \curveto(612.46247278,2232.9247956)(631.32497194,2206.37479678)(638.08747164,2194.09979732)
5576 \curveto(641.71247148,2187.53729761)(643.02497142,2178.39979802)(642.58747144,2170.53729837)
5577 \curveto(626.22497216,2156.44979899)(606.74997303,2148.12479936)(585.76247396,2149.6747993)
5578 \curveto(574.82497445,2150.48729926)(560.59997508,2157.88729893)(559.33747514,2168.24979847)
5579 \curveto(558.39997518,2176.02479812)(564.86247489,2187.8122976)(566.57497482,2195.41229726)
5580 \curveto(568.67497472,2204.72479685)(583.62497406,2229.01229577)(592.22497368,2230.17479572)
5581 \closepath
5582 \moveto(2589.78738488,2112.33730096)
5583 \curveto(2586.62488502,2115.64980081)(2583.47488516,2118.97480066)(2580.3248853,2122.29980051)
5584 \curveto(2574.97488554,2126.56230032)(2568.62488582,2130.64980014)(2563.03738607,2132.39980006)
5585 \curveto(2540.42488708,2119.14980065)(2556.54988636,2103.26230136)(2559.08738625,2086.34980211)
5586 \curveto(2560.1248862,2079.41230242)(2556.99988634,2070.9248028)(2556.31238637,2063.96230311)
5587 \curveto(2555.29988642,2053.81230356)(2559.58738623,2040.34980416)(2563.87488603,2030.14980461)
5588 \curveto(2567.28738588,2022.02480497)(2587.43738499,2000.91230591)(2593.78738471,2002.09980586)
5589 \curveto(2602.21238433,2005.17480572)(2609.09988402,2018.84980511)(2611.44988392,2023.5123049)
5590 \curveto(2621.98738345,2044.38730398)(2620.23738353,2063.59980312)(2610.02488398,2085.48730215)
5591 \curveto(2607.11238411,2091.72480187)(2600.7498844,2098.26230158)(2597.84988452,2102.92480137)
5592 \curveto(2595.56238463,2106.61230121)(2591.03738483,2109.51230108)(2589.78738488,2112.33730096)
5593 \closepath
5594 \moveto(2748.63737782,2340.16229083)
5595 \curveto(2734.14987847,2347.32479051)(2719.66237911,2346.68729054)(2704.73737977,2339.73729085)
5596 \curveto(2697.72488009,2333.68729112)(2690.6998804,2327.63729139)(2683.67488071,2321.57479165)
5597 \curveto(2666.73738146,2307.74979227)(2647.06238234,2288.61229312)(2629.62488311,2278.97479355)
5598 \curveto(2623.62488338,2275.6622937)(2618.98738359,2270.17479394)(2612.74988386,2268.66229401)
5599 \curveto(2603.93738425,2266.5372941)(2596.52488458,2263.38729424)(2586.67488502,2269.01229399)
5600 \curveto(2581.27488526,2272.09979385)(2578.1873854,2277.18729363)(2574.26238557,2281.72479343)
5601 \lineto(2561.17488615,2295.18729283)
5602 \curveto(2550.82488662,2314.94979195)(2537.23738722,2321.61229165)(2518.63738805,2317.22479185)
5603 \curveto(2515.59988818,2316.51229188)(2502.13738878,2310.97479213)(2499.61238889,2306.78729231)
5604 \curveto(2491.13738927,2292.64979294)(2501.7623888,2272.91229382)(2510.23738842,2258.11229448)
5605 \curveto(2515.29988819,2249.28729487)(2526.57488769,2237.3622954)(2519.96238799,2229.41229575)
5606 \curveto(2513.72488826,2221.92479608)(2502.38738877,2225.64979592)(2496.11238905,2226.79979587)
5607 \curveto(2480.31238975,2229.72479574)(2464.31239046,2232.04979563)(2451.64989102,2215.02479639)
5608 \curveto(2447.54989121,2209.49979664)(2441.37489148,2204.98729684)(2442.06239145,2198.66229712)
5609 \curveto(2442.88739141,2191.18729745)(2473.08739007,2172.88729826)(2478.52488983,2168.86229844)
5610 \curveto(2507.99988852,2147.09979941)(2552.28738655,2142.26229963)(2584.37488512,2156.237299)
5611 \curveto(2594.49988467,2160.64979881)(2604.08738425,2167.6622985)(2613.43738383,2173.04979826)
5612 \curveto(2619.72488355,2176.69979809)(2625.18738331,2186.11229768)(2632.39988299,2187.06229763)
5613 \curveto(2634.83738288,2187.37479762)(2643.63738249,2184.64979774)(2645.99988238,2184.01229777)
5614 \curveto(2667.27488144,2178.26229803)(2686.58738058,2161.04979879)(2707.12487967,2149.42479931)
5615 \curveto(2716.16237927,2144.31229953)(2722.84987897,2134.99979995)(2732.37487855,2132.51230006)
5616 \curveto(2739.42487823,2130.67480014)(2750.94987772,2132.94980004)(2757.49987743,2141.69979965)
5617 \curveto(2756.64987747,2145.89979946)(2756.73737746,2151.01229924)(2755.08737754,2155.33729904)
5618 \curveto(2750.23737775,2168.06229848)(2732.34987855,2193.38729735)(2718.61237916,2199.1247971)
5619 \curveto(2706.87487968,2204.03729688)(2695.2373802,2203.41229691)(2683.64988071,2206.79979676)
5620 \curveto(2680.17488087,2207.81229671)(2674.17488113,2208.1247967)(2672.37488121,2213.76229645)
5621 \curveto(2679.72488089,2219.86229618)(2689.86238043,2233.37479558)(2697.2873801,2237.66229538)
5622 \curveto(2701.48737992,2240.08729528)(2745.46237796,2267.38729406)(2749.68737778,2275.6122937)
5623 \curveto(2750.91237772,2279.21229354)(2749.1748778,2284.6372933)(2750.09987776,2288.62479312)
5624 \curveto(2754.11237758,2305.83729235)(2765.38737708,2321.96229164)(2748.63737782,2340.16229083)
5625 \closepath
5626 }
5627 }
5628 {
5629 \newrgbcolor{curcolor}{1 1 1}
5630 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5631 {
5632 \newpath
5633 \moveto(907.74995965,1676.54982033)
5634 \lineto(989.67495601,1676.54982033)
5635 \lineto(989.67495601,1503.974828)
5636 \curveto(989.67495601,1440.54983082)(940.19995821,1419.04983177)(851.57496215,1419.04983177)
5637 \curveto(760.58746619,1419.04983177)(711.69996836,1439.17483088)(711.69996836,1502.54982806)
5638 \lineto(711.69996836,1676.54982033)
5639 \lineto(793.62496472,1676.54982033)
5640 \lineto(793.62496472,1517.5248274)
5641 \curveto(793.62496472,1479.04982911)(818.69996361,1473.37482936)(845.34996242,1472.11232941)
5642 \curveto(875.53746108,1470.67482948)(907.74995965,1478.57482913)(907.74995965,1517.5248274)
5643 \lineto(907.74995965,1676.54982033)
5644 \closepath
5645 }
5646 }
5647 {
5648 \newrgbcolor{curcolor}{1 1 1}
5649 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5650 {
5651 \newpath
5652 \moveto(1756.09992194,1597.87482382)
5653 \lineto(1691.21242483,1597.87482382)
5654 \curveto(1653.91242648,1663.6123209)(1560.43743064,1605.71232348)(1623.86242782,1584.9623244)
5655 \curveto(1632.48742744,1582.13732452)(1646.18742683,1581.24982456)(1659.54992623,1578.1498247)
5656 \curveto(1728.83742315,1562.13732541)(1763.51242161,1534.93732662)(1763.51242161,1496.47482833)
5657 \curveto(1761.5499217,1439.19983088)(1718.97492359,1408.37483225)(1635.79992729,1409.14983221)
5658 \curveto(1540.12493154,1410.04983217)(1521.51243237,1450.33733038)(1512.64993276,1503.887328)
5659 \lineto(1589.96242933,1503.887328)
5660 \curveto(1592.93742919,1494.51232842)(1607.87492853,1476.8623292)(1615.02492821,1472.4998294)
5661 \curveto(1621.76242791,1468.37482958)(1630.34992753,1466.91232964)(1640.29992709,1466.91232964)
5662 \curveto(1666.01242595,1466.91232964)(1678.87492537,1472.97482938)(1678.87492537,1485.17482883)
5663 \curveto(1678.87492537,1495.51232837)(1661.58742614,1504.47482798)(1626.92492768,1511.98732764)
5664 \curveto(1556.61243081,1527.91232693)(1521.52493237,1556.09982568)(1521.52493237,1596.48732389)
5665 \curveto(1523.48743228,1650.0373215)(1562.57493054,1677.68732028)(1638.77492716,1679.61232019)
5666 \curveto(1708.07492408,1678.64982023)(1747.16242234,1651.42482144)(1756.09992194,1597.87482382)
5667 \closepath
5668 }
5669 }
5670 {
5671 \newrgbcolor{curcolor}{1 1 1}
5672 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5673 {
5674 \newpath
5675 \moveto(1796.26242016,1610.23732327)
5676 \lineto(1796.26242016,1676.54982033)
5677 \lineto(2068.38740806,1676.54982033)
5678 \lineto(2068.38740806,1610.23732327)
5679 \lineto(1968.62491249,1610.23732327)
5680 \lineto(1968.62491249,1403.22483248)
5681 \lineto(1896.03741572,1403.22483248)
5682 \lineto(1896.03741572,1610.23732327)
5683 \lineto(1796.26242016,1610.23732327)
5684 \closepath
5685 }
5686 }
5687 {
5688 \newrgbcolor{curcolor}{1 1 1}
5689 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5690 {
5691 \newpath
5692 \moveto(2227.78740097,1675.98732035)
5693 \curveto(2292.01239812,1675.98732035)(2346.81239568,1635.24982216)(2366.56239481,1578.87482467)
5694 \lineto(2287.47489832,1578.87482467)
5695 \curveto(2273.49989894,1596.0873239)(2251.9248999,1607.14982341)(2227.78740097,1607.14982341)
5696 \curveto(2185.81240284,1607.14982341)(2151.57490436,1573.6998249)(2151.57490436,1532.67482672)
5697 \curveto(2151.57490436,1491.63732855)(2185.81240284,1458.18733003)(2227.78740097,1458.18733003)
5698 \curveto(2253.63739983,1458.18733003)(2276.56239881,1470.88732947)(2290.34989819,1490.23732861)
5699 \lineto(2367.82489475,1490.23732861)
5700 \curveto(2349.24989558,1431.9123312)(2293.43739806,1389.34983309)(2227.78740097,1389.34983309)
5701 \curveto(2147.02490456,1389.34983309)(2081.16240749,1453.73733023)(2081.16240749,1532.67482672)
5702 \curveto(2081.16240749,1611.59982321)(2147.02490456,1675.98732035)(2227.78740097,1675.98732035)
5703 \closepath
5704 }
5705 }
5706 {
5707 \newrgbcolor{curcolor}{0 0.36078431 0.63529412}
5708 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5709 {
5710 \newpath
5711 \moveto(1649.76242667,365.78737859)
5712 \lineto(1590.37492931,278.87488245)
5713 \curveto(1590.37492931,278.87488245)(1621.52492792,294.81238175)(1643.24992696,286.12488213)
5714 \curveto(1664.97492599,277.42488252)(1678.01242541,256.42488345)(1670.77492573,240.49988416)
5715 \curveto(1663.52492606,224.56238487)(1642.52492699,210.07488551)(1620.79992795,216.58738522)
5716 \curveto(1599.07492892,223.11238493)(1591.09992928,233.24988448)(1599.07492892,234.69988442)
5717 \curveto(1607.03742857,236.14988435)(1605.58742863,230.34988461)(1612.11242834,226.0123848)
5718 \curveto(1618.62492805,221.662385)(1632.38742744,246.2873839)(1625.14992776,253.52488358)
5719 \curveto(1617.89992808,260.77488326)(1600.52492886,278.87488245)(1580.23742976,263.67488313)
5720 \curveto(1559.96243066,248.46238381)(1568.58743028,219.48738509)(1572.27493011,204.99988574)
5721 \curveto(1575.96242995,190.52488638)(1630.17492754,157.92488783)(1673.6749256,189.79988641)
5722 \curveto(1717.16242367,221.662385)(1715.67492374,246.2873839)(1711.32492393,266.562383)
5723 \curveto(1706.98742412,286.8498821)(1683.81242515,308.57488113)(1670.04992577,307.1248812)
5724 \curveto(1656.28742638,305.67488126)(1650.48742664,312.92488094)(1650.48742664,312.92488094)
5725 \lineto(1665.69992596,335.37487994)
5726 \lineto(1720.74992351,333.19988004)
5727 \lineto(1716.39992371,309.2998811)
5728 \lineto(1740.29992264,304.22488133)
5729 \curveto(1740.29992264,304.22488133)(1747.53742232,331.7498801)(1761.29992171,338.98737978)
5730 \curveto(1775.0624211,346.23737946)(1783.74992071,363.61237869)(1783.74992071,363.61237869)
5731 \curveto(1783.74992071,363.61237869)(1648.32492673,365.06237862)(1649.76242667,365.78737859)
5732 \closepath
5733 }
5734 }
5735 {
5736 \newrgbcolor{curcolor}{0 0.36078431 0.63529412}
5737 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5738 {
5739 \newpath
5740 \moveto(1442.0999359,302.99988138)
5741 \curveto(1440.29993598,301.13738146)(1438.24993607,299.26238155)(1435.96243617,297.83738161)
5742 \curveto(1428.6624365,293.27488181)(1420.92493684,313.51238091)(1425.93743662,328.84988023)
5743 \curveto(1431.76243636,346.69987944)(1479.96243422,361.67487877)(1492.04993368,330.21238017)
5744 \curveto(1497.73743343,315.43738083)(1496.1624335,303.76238135)(1492.04993368,297.38738163)
5745 \curveto(1487.94993386,290.99988191)(1487.93743386,293.73738179)(1478.36243429,304.23738133)
5746 \curveto(1465.44993486,318.3748807)(1451.57493548,312.88738094)(1442.0999359,302.99988138)
5747 \closepath
5748 \moveto(1452.83743542,260.89988325)
5749 \curveto(1453.13743541,260.89988325)(1448.33743562,254.02488356)(1441.27493593,246.07488391)
5750 \curveto(1430.7624364,234.22488444)(1371.84993902,197.01238609)(1359.82493956,210.69988548)
5751 \curveto(1357.77493965,213.03738538)(1360.72493952,222.82488494)(1358.8999396,226.69988477)
5752 \curveto(1349.52494001,246.59988389)(1318.3749414,231.06238458)(1325.1499411,210.73738548)
5753 \curveto(1339.57494046,167.47488741)(1422.53743677,186.18738657)(1450.27493553,203.6998858)
5754 \curveto(1499.21243336,234.61238442)(1547.44993122,292.79988183)(1520.32493242,345.72487948)
5755 \curveto(1512.61243276,360.78737881)(1476.69993436,393.76237735)(1425.47493664,368.98737845)
5756 \curveto(1396.57493792,355.01237907)(1372.52493899,289.38738199)(1417.73743698,266.83738299)
5757 \curveto(1430.51243641,257.73738339)(1452.83743542,260.89988325)(1452.83743542,260.89988325)
5758 \closepath
5759 }
5760 }
5761 {
5762 \newrgbcolor{curcolor}{0 0.36078431 0.63529412}
5763 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5764 {
5765 \newpath
5766 \moveto(1171.04994795,184.17488666)
5767 \lineto(1226.34994549,184.76238664)
5768 \lineto(1354.4249398,372.79987828)
5769 \curveto(1354.4249398,372.79987828)(1350.34993998,380.37487794)(1335.21244065,378.03737805)
5770 \curveto(1320.08744132,375.71237815)(1305.52494197,367.56237851)(1290.38744264,368.72487846)
5771 \curveto(1275.24994331,369.88737841)(1267.09994368,372.2248783)(1263.61244383,375.13737817)
5772 \curveto(1260.12494399,378.03737805)(1256.62494414,371.63737833)(1260.12494399,361.1623788)
5773 \curveto(1263.61244383,350.67487926)(1269.43744357,343.1123796)(1275.83744329,341.94987965)
5774 \curveto(1282.237443,340.7873797)(1283.39994295,339.03737978)(1283.39994295,339.03737978)
5775 \lineto(1171.04994795,184.17488666)
5776 \closepath
5777 }
5778 }
5779 {
5780 \newrgbcolor{curcolor}{0 0.36078431 0.63529412}
5781 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5782 {
5783 \newpath
5784 \moveto(1873.23741673,254.44988354)
5785 \curveto(1875.03741665,256.32488346)(1877.08741656,258.18738337)(1879.37491646,259.61238331)
5786 \curveto(1886.66241614,264.17488311)(1894.41241579,243.93738401)(1889.39991602,228.59988469)
5787 \curveto(1883.57491627,210.76238548)(1833.76241849,194.17488622)(1821.67491903,225.63738482)
5788 \curveto(1815.99991928,240.41238416)(1817.57491921,252.07488364)(1821.67491903,258.46238336)
5789 \curveto(1825.77491884,264.84988308)(1825.78741884,262.0998832)(1835.36241842,251.61238367)
5790 \curveto(1848.27491784,237.47488429)(1863.76241716,244.56238398)(1873.23741673,254.44988354)
5791 \closepath
5792 \moveto(1854.46241757,292.79988183)
5793 \curveto(1854.16241758,292.79988183)(1858.96241737,299.68738153)(1866.02491705,307.63738117)
5794 \curveto(1876.53741659,319.48738065)(1935.46241397,356.69987899)(1947.48741343,342.9998796)
5795 \curveto(1948.51241339,341.83737965)(1955.39991308,330.17488017)(1941.78741369,330.66238015)
5796 \curveto(1933.43741406,330.94988014)(1929.18741425,316.67488077)(1929.87491422,314.64988086)
5797 \curveto(1939.62491378,285.86238214)(1986.04991172,298.24988159)(1978.34991206,339.64987975)
5798 \curveto(1970.02491243,384.47487776)(1901.39991548,371.79987832)(1865.58741707,350.94987925)
5799 \curveto(1815.5624193,321.83738054)(1759.84992177,260.91238325)(1786.97492057,207.9873856)
5800 \curveto(1794.69992023,192.92488627)(1828.9124187,163.78738757)(1881.83741635,184.72488664)
5801 \curveto(1917.14991478,198.68738602)(1940.67491374,265.92488303)(1895.46241575,288.47488203)
5802 \curveto(1882.68741631,297.57488162)(1854.46241757,292.79988183)(1854.46241757,292.79988183)
5803 \closepath
5804 }
5805 }
5806 {
5807 \newrgbcolor{curcolor}{1 1 1}
5808 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5809 {
5810 \newpath
5811 \moveto(1401.4999377,1746.67481721)
5812 \curveto(1644.18742692,1974.47480708)(1867.02491701,2114.99980084)(2028.62490983,2137.68729983)
5813 \curveto(2198.66240227,2161.57479877)(2229.32490091,2049.83730373)(2179.33740313,1876.16231145)
5814 \curveto(2168.17490362,1837.34981318)(2150.7374044,1795.68731503)(2128.2999054,1752.28731696)
5815 \lineto(2202.69990209,1752.28731696)
5816 \curveto(2220.63740129,1797.29981496)(2233.63740071,1841.21231301)(2241.08740038,1883.42481113)
5817 \curveto(2273.48739894,2067.09980297)(2205.14990198,2185.22479772)(2009.69991067,2178.61229801)
5818 \curveto(1825.97491883,2172.38729829)(1594.28742913,2045.91230391)(1343.44994028,1810.28731438)
5819 \curveto(1334.92494066,1802.27481474)(1326.54994103,1794.1873151)(1318.2999414,1786.04981546)
5820 \curveto(1348.67494005,1778.19981581)(1376.8124388,1764.67481641)(1401.4999377,1746.67481721)
5821 \closepath
5822 \moveto(1049.61245334,1415.73733192)
5823 \curveto(1001.1124555,1316.38733634)(971.9624568,1221.39984056)(962.9124572,1141.19984412)
5824 \curveto(943.79995805,971.61235166)(1016.46245482,880.8373557)(1193.19994696,894.87485507)
5825 \curveto(1359.29993958,908.06235449)(1592.34992922,1017.68734961)(1814.73741933,1225.99984035)
5826 \curveto(1861.21241727,1269.53733842)(1904.99991532,1314.27483643)(1945.56241352,1359.61233441)
5827 \lineto(1834.39991846,1359.61233441)
5828 \curveto(1628.8124276,1144.46234398)(1379.44993868,961.89985209)(1212.94994608,935.76235325)
5829 \curveto(950.94995773,894.61235508)(966.89995702,1078.33734692)(1033.08745408,1232.43734007)
5830 \curveto(1051.83745325,1276.08733813)(1072.47495233,1319.14983621)(1095.97495128,1362.06233431)
5831 \curveto(1078.07495208,1377.61233361)(1062.43745277,1395.68733281)(1049.61245334,1415.73733192)
5832 \closepath
5833 }
5834 }
5835 {
5836 \newrgbcolor{curcolor}{0.9176471 0.46666667 0.11764706}
5837 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5838 {
5839 \newpath
5840 \moveto(1674.68742556,1084.09984666)
5841 \curveto(1794.14992025,998.74985045)(1916.87491479,940.14985306)(2010.58741063,922.39985385)
5842 \curveto(2225.21240109,870.88735614)(2215.57490152,1082.79984672)(2159.774904,1232.43734007)
5843 \curveto(2143.58740472,1275.87483814)(2124.37490557,1317.97483627)(2101.84990657,1359.61233441)
5844 \lineto(2172.01240345,1359.61233441)
5845 \curveto(2202.67490209,1281.0998379)(2221.19990127,1206.56234122)(2228.41240095,1141.19984412)
5846 \curveto(2247.11240012,971.61235166)(2158.22490407,867.47485629)(1985.36241175,881.51235567)
5847 \curveto(1878.76241649,890.16235528)(1744.37492246,942.53735295)(1604.72492867,1038.09984871)
5848 \curveto(1627.93742764,1052.73734806)(1651.2749266,1068.06234737)(1674.68742556,1084.09984666)
5849 \closepath
5850 }
5851 }
5852 {
5853 \newrgbcolor{curcolor}{0.9176471 0.46666667 0.11764706}
5854 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5855 {
5856 \newpath
5857 \moveto(1794.03742025,1752.28731696)
5858 \curveto(1735.46242286,1812.1748143)(1677.13742545,1866.41231189)(1620.09992799,1914.07480977)
5859 \curveto(1642.79992698,1931.72480898)(1665.28742598,1948.66230823)(1687.49992499,1964.87480751)
5860 \curveto(1747.21242234,1918.06230959)(1808.41241962,1864.54981197)(1870.46241686,1804.94981462)
5861 \curveto(1888.46241606,1787.67481539)(1905.72491529,1770.09981617)(1922.28741455,1752.28731696)
5862 \lineto(1794.03742025,1752.28731696)
5863 \closepath
5864 }
5865 }
5866 {
5867 \newrgbcolor{curcolor}{1 1 1}
5868 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5869 {
5870 \newpath
5871 \moveto(1349.08744003,1347.13733497)
5872 \lineto(1349.23744003,1347.21233497)
5873 \lineto(1349.08744003,1347.13733497)
5874 \closepath
5875 }
5876 }
5877 {
5878 \newrgbcolor{curcolor}{0.9176471 0.46666667 0.11764706}
5879 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5880 {
5881 \newpath
5882 \moveto(1363.47493939,1354.98733462)
5883 \curveto(1429.74993645,1290.88733747)(1499.89993333,1228.14984026)(1568.23743029,1168.36234292)
5884 \curveto(1573.18743007,1164.02484311)(1578.16242985,1159.7373433)(1583.16242963,1155.49984349)
5885 \curveto(1560.26243065,1138.14984426)(1537.43743166,1121.387345)(1514.71243267,1105.26234572)
5886 \curveto(1471.01243461,1140.62484415)(1427.27493656,1180.13734239)(1384.16243847,1223.77484045)
5887 \curveto(1350.26243998,1258.08733893)(1318.04994141,1292.62483739)(1287.64994276,1327.26233585)
5888 \curveto(1287.67494276,1327.26233585)(1287.69994276,1327.26233585)(1287.72494276,1327.27483585)
5889 \curveto(1276.12494328,1325.34983594)(1264.2374438,1324.34983598)(1252.11244434,1324.34983598)
5890 \curveto(1131.74994969,1324.34983598)(1033.58745406,1422.51233162)(1033.58745406,1542.86232627)
5891 \curveto(1033.58745406,1581.92482453)(1043.9374536,1618.6498229)(1062.01245279,1650.43732149)
5892 \curveto(1022.89995453,1726.5248181)(993.09995586,1797.64981494)(978.31245651,1883.42481113)
5893 \curveto(946.61245792,2067.09980297)(1022.34995456,2194.12479732)(1213.51244606,2187.51229761)
5894 \curveto(1324.06244114,2183.68729778)(1454.38743535,2128.93730022)(1595.44992908,2032.5123045)
5895 \curveto(1573.72493005,2017.31230518)(1551.82493102,2001.43730589)(1529.737432,1984.81230662)
5896 \curveto(1400.56243774,2078.87480244)(1281.52494304,2134.06229999)(1186.09994728,2137.68729983)
5897 \curveto(1073.1874523,2141.99979964)(996.38745571,2016.58730521)(1028.0124543,1838.78731311)
5898 \curveto(1036.82495391,1789.24981532)(1057.58745299,1738.04981759)(1087.23745167,1686.01231991)
5899 \lineto(1087.23745167,1686.02481991)
5900 \curveto(1101.84995102,1660.17482105)(1117.16245034,1636.46232211)(1133.08744963,1614.56232308)
5901 \curveto(1098.17495119,1549.012326)(1113.6249505,1463.18732981)(1175.87494773,1416.2123319)
5902 \curveto(1227.37494544,1377.33733363)(1300.2374422,1390.78733303)(1359.79993956,1453.14983026)
5903 \lineto(1317.79994142,1484.47482886)
5904 \curveto(1248.28744451,1418.88733178)(1168.01244808,1452.49983029)(1170.94994795,1538.32482647)
5905 \lineto(1384.76243845,1538.32482647)
5906 \curveto(1384.87493844,1539.8373264)(1384.97493844,1541.34982634)(1385.03743843,1542.86232627)
5907 \curveto(1388.74993827,1625.2998226)(1348.03744008,1692.54981962)(1265.59994374,1692.54981962)
5908 \curveto(1223.7374456,1692.54981962)(1183.79994738,1676.38732033)(1156.54994859,1647.33732162)
5909 \curveto(1150.91244884,1641.33732189)(1145.86244907,1634.97482217)(1141.38744926,1628.34982247)
5910 \lineto(1100.0249511,1699.51231931)
5911 \curveto(1139.41244935,1737.76231761)(1193.08744697,1761.38731656)(1252.11244434,1761.38731656)
5912 \curveto(1372.46243899,1761.38731656)(1470.62493463,1663.22482092)(1470.62493463,1542.86232627)
5913 \curveto(1470.62493463,1463.13732981)(1427.53743655,1393.14983292)(1363.47493939,1354.98733462)
5914 \closepath
5915 }
5916 }
5917 {
5918 \newrgbcolor{curcolor}{0.9176471 0.46666667 0.11764706}
5919 \pscustom[linestyle=none,fillstyle=solid,fillcolor=curcolor]
5920 {
5921 \newpath
5922 \moveto(1266.01244373,1648.14982159)
5923 \curveto(1301.18744216,1648.14982159)(1329.73744089,1618.31232292)(1331.46244082,1581.73732454)
5924 \curveto(1331.38744082,1581.26232456)(1331.31244082,1580.77482458)(1331.22494083,1580.2998246)
5925 \lineto(1180.43744753,1580.2998246)
5926 \curveto(1180.48744753,1580.77482458)(1180.54994752,1581.26232456)(1180.62494752,1581.73732454)
5927 \curveto(1186.11244728,1618.31232292)(1224.47494557,1648.14982159)(1266.01244373,1648.14982159)
5928 \closepath
5929 }
5930 }
5931 \end{pspicture}
5932
5933 \end{document}
5934 % \fi
5935 % \begin{macrocode}
5936 \end{filecontents*}
5937
5938 \immediate\write18{latex logo}%
5939 \immediate\write18{dvips logo}%
5940 \IfFileExists{logo.dvi}{
5941 \immediate\write18{ps2pdf logo.ps}%
5942 }{}
5943 \logo{%
5944 \IfFileExists{logo.pdf}{\includegraphics*[height=1.8cm]{logo.pdf}}{UESTC}%
5945 }%
5946 % \end{macrocode}
5947 %
5948 % \iffalse
5949 %</beamer>
5950 % \fi
5951 % \section{更新日志}
5952 % \StopEventually{\PrintChanges}
5953 % \Finale
5954 %
5955 \endinput