forked from tuna/thuthesis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathructhesis.dtx
3311 lines (3299 loc) · 124 KB
/
ructhesis.dtx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
% \iffalse meta-comment
%
%% ructhesis.dtx
%% Copyright 2017 Yifan Xiong <abuccts@gmail.com>
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
% http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2005/12/01 or later.
%
% This work has the LPPL maintenance status `maintained'.
%
% The Current Maintainer of this work is Yifan Xiong.
%
% This work consists of the files ructhesis.dtx and ructhesis.ins
% and the derived file ructhesis.sty.
%
% This work is part of the RucThesis package project, which is
% a modification from ThuThesis package project. ThuThesis
% https://github.com/xueruini/thuthesis is original written and
% maintained and copyright held by Ruini Xue <xueruini@gmail.com>.
%
% \fi
%
% \iffalse
%<*driver>
\ProvidesFile{ructhesis.dtx}[2017/05/09 0.0.1 Renmin University of China Thesis Template]
\documentclass{ltxdoc}
\usepackage{dtx-style}
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\begin{document}
\DocInput{\jobname.dtx}
\end{document}
%</driver>
% \fi
%
% \CheckSum{0}
%
% \CharacterTable
% {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
% 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
% Digits \0\1\2\3\4\5\6\7\8\9
% Exclamation \! Double quote \" Hash (number) \#
% Dollar \$ Percent \% Ampersand \&
% Acute accent \' Left paren \( Right paren \)
% Asterisk \* Plus \+ Comma \,
% Minus \- Point \. Solidus \/
% Colon \: Semicolon \; Less than \<
% Equals \= Greater than \> Question mark \?
% Commercial at \@ Left bracket \[ Backslash \\
% Right bracket \] Circumflex \^ Underscore \_
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
% \DoNotIndex{\newenvironment,\@bsphack,\@empty,\@esphack,\sfcode}
% \DoNotIndex{\addtocounter,\label,\let,\linewidth,\newcounter}
% \DoNotIndex{\noindent,\normalfont,\par,\parskip,\phantomsection}
% \DoNotIndex{\providecommand,\ProvidesPackage,\refstepcounter}
% \DoNotIndex{\RequirePackage,\setcounter,\setlength,\string,\strut}
% \DoNotIndex{\textbackslash,\texttt,\ttfamily,\usepackage}
% \DoNotIndex{\begin,\end,\begingroup,\endgroup,\par,\\}
% \DoNotIndex{\if,\ifx,\ifdim,\ifnum,\ifcase,\else,\or,\fi}
% \DoNotIndex{\let,\def,\xdef,\edef,\newcommand,\renewcommand}
% \DoNotIndex{\expandafter,\csname,\endcsname,\relax,\protect}
% \DoNotIndex{\Huge,\huge,\LARGE,\Large,\large,\normalsize}
% \DoNotIndex{\small,\footnotesize,\scriptsize,\tiny}
% \DoNotIndex{\normalfont,\bfseries,\slshape,\sffamily,\interlinepenalty}
% \DoNotIndex{\textbf,\textit,\textsf,\textsc}
% \DoNotIndex{\hfil,\par,\hskip,\vskip,\vspace,\quad}
% \DoNotIndex{\centering,\raggedright,\ref}
% \DoNotIndex{\c@secnumdepth,\@startsection,\@setfontsize}
% \DoNotIndex{\ ,\@plus,\@minus,\p@,\z@,\@m,\@M,\@ne,\m@ne}
% \DoNotIndex{\@@par,\DeclareOperation,\RequirePackage,\LoadClass}
% \DoNotIndex{\AtBeginDocument,\AtEndDocument}
%
% \GetFileInfo{\jobname.dtx}
%
% \changes{thuthesis v1.0}{2005/07/06}{Please refer to ``Bao--Pan'' version.}
% \changes{thuthesis v1.1}{2005/11/03}{Initial version, migrate from the old ``Bao--Pan''
% version. Make the template a class instead of package.}
% \changes{thuthesis v1.2}{2005/11/04}{Remove \pkg{fancyref}; Remove \pkg{ucite} and implement
% \cs{onlinecite}; use package \pkg{arial} or \pkg{helvet} selectively.}
% \changes{thuthesis v1.3}{2005/11/14}{Replace \pkg{subfigure} with \pkg{subfig}, replace \pkg{caption2}
% with \pkg{caption}, add details about using figure are in the example.}
% \changes{thuthesis v1.4rc1}{2005/11/20}{I do not know why \cs{thu@authorizationaddon} does not work
% now for v1.3, while it's fine in v1.2. Temporarily, I remove the directive
% :(. There might be better solution. Other changes: add \option{config} option to
% subfig to be compatible with subfigure. add \pkg{courier} package for tt font.}
% \changes{thuthesis v1.4}{2005/12/05}{Fix the problem of \textbf{chinese}, which is
% because both CJK and everysel redefine the \cs{selectfont}. So, a not so good
% workaround is merge them up. Add \file{shuji.tex} example. Add \cs{pozhehao} command.}
% \changes{thuthesis v2.1}{2006/02/27}{Add support to bachelor thesis.}
% \changes{thuthesis v2.1}{2006/03/01}{Remove \pkg{fancyhdr} and \pkg{geometry}.}
% \changes{thuthesis v2.1}{2006/03/01}{Redefine footnote marks.}
% \changes{thuthesis v2.1}{2006/03/01}{Replace \file{thubib.bst} with \file{chinesebst.bst}.}
% \changes{thuthesis v2.1}{2006/03/02}{Merge the modification of \pkg{ntheorem}.}
% \changes{thuthesis v2.1}{2006/03/02}{Remove \pkg{footmisc} and refine the document.}
% \changes{thuthesis v2.1}{2006/03/03}{Work very hard on the document.}
% \changes{thuthesis v2.1}{2006/03/03}{Add \cs{checklab} code to reduce ``unresolved labels'' warning}
% \changes{thuthesis v2.2}{2006/03/26}{Adjust margins. How bad it is to simulate MS WORD!.}
% \changes{thuthesis v2.2}{2006/03/26}{Add bachelor training overview details supporting.}
% \changes{thuthesis v2.2}{2006/03/26}{CJK support in preamble.}
% \changes{thuthesis v2.2}{2006/03/26}{Adjust hyperref to avoid boxes around links.}
% \changes{thuthesis v2.3}{2006/04/07}{Fix a great bug: \cs{PassOptionsToClass} and \cs{LoadClass}
% rather than \cs{PassOptionToPackage} and \cs{LoadPackage}.}
% \changes{thuthesis v2.3}{2006/04/07}{Reorganize the codes in cover, make the pagestyle more readable.}
% \changes{thuthesis v2.3}{2006/04/07}{Add gbk2uni into the document.}
% \changes{thuthesis v2.3}{2006/04/07}{Support \option{openright} and openany.}
% \changes{thuthesis v2.3}{2006/04/09}{Adjust \cs{hypersetup} to remove color and box.}
% \changes{thuthesis v2.3}{2006/04/09}{Adjust margins again.}
% \changes{thuthesis v2.3}{2006/04/09}{Adjust references formats.}
% \changes{thuthesis v2.3}{2006/04/09}{Redefine frontmatter and mainmatter to fit our case.}
% \changes{thuthesis v2.3}{2006/04/09}{Add assumption environment.}
% \changes{thuthesis v2.3}{2006/04/09}{Change the brace in the cover.}
% \changes{thuthesis v2.4}{2006/04/14}{Fill more pdf info. with \cs{hypersetup}.}
% \changes{thuthesis v2.4}{2006/04/14}{自动隐藏密级为内部时后面的五角星。}
% \changes{thuthesis v2.4}{2006/04/14}{增加“注释 (Remark)”环境。}
% \changes{thuthesis v2.4}{2006/04/14}{压缩 item 之间的距离。}
% \changes{thuthesis v2.4}{2006/04/14}{\file{thubib.bst} 文献标题取消自动小写。}
% \changes{thuthesis v2.4}{2006/04/14}{中文参考文献取消 In: Proceedings。}
% \changes{thuthesis v2.4}{2006/04/14}{英文文参考文献调整 In: editor, Proceedings。}
% \changes{thuthesis v2.4}{2006/04/14}{参考文献为学位论文时,加方括号,作者后面为实心点。}
% \changes{thuthesis v2.4}{2006/04/14}{中文参考文献作者超过三个加等。}
% \changes{thuthesis v2.4}{2006/04/14}{中文参考文献需要在 bib 中指定 |lang="chinese"|。}
% \changes{thuthesis v2.4}{2006/04/14}{学位论文不在需要 type 字段。}
% \changes{thuthesis v2.4}{2006/04/14}{为摘要等条目增加书签。}
% \changes{thuthesis v2.4}{2006/04/14}{章节的编号用黑体,也就是自动打开 \option{arialtitle} 选项。}
% \changes{thuthesis v2.4.1}{2006/04/17}{2.4 忘了把关键词的 tabular 改成 thu@tabular。}
% \changes{thuthesis v2.4.1}{2006/04/17}{参考文献最后一个作者前是逗号而不是 and。}
% \changes{thuthesis v2.4.2}{2006/04/18}{去掉参考文献第二个作者后面烦人的逗号。}
% \changes{thuthesis v2.5}{2006/05/19}{对本科论文进行大幅度的重写,因为教务处修改了格式要求。}
% \changes{thuthesis v2.5}{2006/05/19}{重新整理代码,使其布局更易读。}
% \changes{thuthesis v2.5.1}{2006/05/24}{如果选项设置了 dvips,但是用 PDF\LaTeX\ 编译,报错。}
% \changes{thuthesis v2.5.1}{2006/05/24}{根据教务处的新要求调整附录部分。}
% \changes{thuthesis v2.5.1}{2006/05/25}{参考文献中杂志文章如果没有卷号,那么页码直接跟在
% 年份后面,并用句点分割。在 \file{thubib.bst} 中增加 output.year 函数。}
% \changes{thuthesis v2.6}{2006/06/09}{增加 dvipdfm 选项。}
% \changes{thuthesis v2.6.1}{2006/06/16}{取消 \file{thubib.bst} 中 inbook 类 volume 后的页
% 码。}
% \changes{thuthesis v2.6.2}{2006/06/18}{改正 groupmembers 的拼写错误。}
% \changes{thuthesis v3.0}{2007/05/12}{不用专门为本科论文生成“\textbf{提交}”版本了。}
% \changes{thuthesis v3.0}{2007/05/12}{没有了综合论文训练页面,很多本科论文专用命令就消失了。}
% \changes{thuthesis v4.4}{2008/05/12}{修复网址断字。}
% \changes{thuthesis v4.5}{2008/01/03}{加入 \XeTeX\ 支持,需要 \pkg{xeCJK}。}
% \changes{thuthesis v4.5}{2008/01/04}{彻底转向 UTF-8,并支持 \XeLaTeX。}
% \changes{thuthesis v4.5}{2009/01/03}{增加 xetex, pdftex 选项。}
% \changes{thuthesis v4.6}{2011/04/27}{增加博士后文档部分。}
% \changes{thuthesis v4.6}{2011/10/22}{使用手册更新。}
% \changes{thuthesis v4.7}{2012/06/12}{去掉 \pkg{hypernat} 依赖,\pkg{hyperref} 和 \pkg{natbib} 可以很好配合了。}
% \changes{thuthesis v4.8}{2013/03/02}{no need to load \pkg{indentfirst} directly since we use \pkg{ctex}.}
% \changes{thuthesis v4.8}{2013/03/02}{内部调用 \pkg{ctex} 宏包,自动检测编译引擎。}
% \changes{thuthesis v4.8}{2013/03/04}{dvips method is deprecated. We ask their users to load it manually.}
% \changes{thuthesis v4.8}{2013/03/09}{reset baselinestretch after ctex's change.}
% \changes{thuthesis v4.8}{2014/11/25}{好几年累积的一些更新,最重要的是切换到 \CTeX。}
%
% \def\indexname{索引}
% \def\glossaryname{修改记录}
% \IndexPrologue{\section{\indexname}}
% \GlossaryPrologue{\section{\glossaryname}}
%
% \title{\bfseries\color{rucred}\ructhesis:中国人民大学学位论文模板}
% \author{{\fangsong 熊一帆}\\[5pt]\texttt{abuccts@gmail.com}}
% \date{v\fileversion\ (\filedate)}
% \maketitle\thispagestyle{empty}
%
%
% \begin{abstract}\noindent
% 此宏包旨在建立一个简单易用的中国人民大学学位论文 \LaTeX\ 模板,包括本科、硕士
% 以及博士论文。
% \end{abstract}
%
% \vskip2cm
% \def\abstractname{免责声明}
% \begin{abstract}
% \noindent
% \begin{enumerate}
% \item 本模板的发布遵守 \LaTeX\ Project Public License,使用前请认真阅读协议内
% 容。
% \item 本模板为作者根据中国人民大学教务处颁发的《毕业论文指导手册》编写而成,
% 旨在供中国人民大学毕业生撰写学位论文使用。
% \item 此模板仅为指导手册论文结构与格式要求的参考实现,不保证格式审查老师
% 不提意见。任何由于使用本模板而引起的论文格式审查问题均与本模板作者无关。
% \item 任何个人或组织以本模板为基础进行修改、扩展而生成的新的专用模板,请严格遵
% 守 \LaTeX\ Project Public License 协议。由于违犯协议而引起的任何纠纷争端均与
% 本模板作者无关。
% \end{enumerate}
% \end{abstract}
%
%
% \clearpage
% \pagestyle{fancy}
% \begin{multicols}{2}[
% \setlength{\columnseprule}{.4pt}
% \setlength{\columnsep}{18pt}]
% \tableofcontents
% \end{multicols}
% \clearpage
%
% \section{模板介绍}
% \ructhesis\ (\textbf{R}enmin\textbf{U}niversity of \textbf{C}hina \LaTeX\
% \textbf{Thesis} Template) 是为了帮助中国人民大学毕业生撰写毕业论文而修改自
% ~\textsc{ThuThesis} 的 \LaTeX\ 论文模板。
%
% 本文档将尽量完整地介绍模板的使用方法,如有不清楚之处可以参考示例文档或者根据
% 第~\ref{sec:howtoask} 节说明提问,有兴趣者都可以参与完善此手册,也非常欢迎对代
% 码的贡献。
%
% \note[注意:]{模板的作用在于减少论文写作过程中格式调整的时间。前提是遵守模板的
% 用法,否则即便用了 \ructhesis\ 也难以保证输出的论文符合学校规范。}
%
%
% \section{安装}
% \label{sec:installation}
%
% 从 GitHub 上下载 \ructhesis\ :
% \begin{shell}
% $ git clone https://github.com/abuccts/ructhesis.git
% \end{shell}
%
% \subsection{模板的组成}
% 下表列出了 \ructhesis\ 的主要文件及其功能介绍:
%
% \begin{longtable}{l|p{8cm}}
% \toprule
% {\heiti 文件(夹)} & {\heiti 功能描述}\\\midrule
% \endfirsthead
% \midrule
% {\heiti 文件(夹)} & {\heiti 功能描述}\\\midrule
% \endhead
% \endfoot
% \endlastfoot
% ructhesis.ins & \textsc{DocStrip} 驱动文件(开发用) \\
% ructhesis.dtx & \textsc{DocStrip} 源文件(开发用)\\\midrule
% ructhesis.cls & 模板类文件\\
% ructhesis.cfg & 模板配置文件\\
% ructhesis.bst & 参考文献样式文件\\\midrule
% main.tex & 示例文档主文件\\
% ref/ & 示例文档参考文献目录\\
% data/ & 示例文档章节具体内容\\
% figures/ & 示例文档图片路径\\
% ructhesis.sty & 为示例文档加载其它宏包\\\midrule
% Makefile & Makefile\\
% latexmkrc & latexmk 配置文件\\
% README.md & Readme\\
% \textbf{ructhesis.pdf} & 用户手册(本文档)\\\bottomrule
% \end{longtable}
%
% 几点说明:
% \begin{itemize}
% \item \file{ructhesis.cls} 和 \file{ructhesis.cfg} 可由 \file{ructhesis.ins}
% 和 \file{ructhesis.dtx} 生成,但为了降低新手用户的使用难度,故
% 将 \file{ructhesis.cls} 和 \file{ructhesis.cfg} 文件一起发布。
% \item 使用前阅读文档:\file{ructhesis.pdf}。
% \end{itemize}
%
% \subsection{生成模板}
% \label{sec:generate-cls}
%
% 从 GitHub 上克隆得到的目录为 \file{ructhesis},
% 其中包括:模板源文件(\file{ructhesis.ins} 和 \file{ructhesis.dtx}),参考文献
% 样式 \file{ructhesis.bst},示例文档
% (\file{main.tex},\file{ructhesis.sty}\footnote{可能用到的包
% 以及一些命令定义都放在这里,以免 \file{ructhesis.cls} 过分臃
% 肿。},\file{data/} 和 \file{figures/} 和 \file{ref/})。在使用之前需要先生成模
% 板文件和配置文件(具体命令细节请参考 \file{README.md} 和 \file{Makefile}):
%
% \begin{shell}
% $ cd ructhesis
% # 生成 ructhesis.cls 和 ructhesis.cfg
% $ latex ructhesis.ins
%
% # 下面的命令用来生成用户手册,可以不执行
% $ xelatex ructhesis.dtx
% $ makeindex -s gind.ist -o ructhesis.ind ructhesis.idx
% $ makeindex -s gglo.ist -o ructhesis.gls ructhesis.glo
% $ xelatex ructhesis.dtx
% $ xelatex ructhesis.dtx % 生成说明文档 ructhesis.pdf
% \end{shell}
%
% \subsection{生成论文}
% \label{sec:generate-thesis}
% 本节介绍几种常见的生成论文的方法。用户可根据自己的情况选择。
%
% \subsubsection{\XeLaTeX}
% \label{sec:xelatex}
% 很多用户对 \LaTeX\ 命令执行的次数不太清楚。一个基本的原则是多次运行 \LaTeX\ 命
% 令直至不再出现警告。下面给出生成示例文档的详细过程(\texttt{\#} 开头的行为注
% 释),首先来看推荐的 \texttt{xelatex} 方式:
% \begin{shell}
% # 1. 发现里面的引用关系,文件后缀 .tex 可以省略
% $ xelatex main
%
% # 2. 编译参考文件源文件,生成 bbl 文件
% $ bibtex main
%
% # 3. 下面解决引用
% $ xelatex main
% $ xelatex main # 此时生成完整的 pdf 文件
% \end{shell}
%
% \subsubsection{PDF\LaTeX}
% \label{sec:pdflatex}
% 如果使用 PDF\LaTeX,按照第~\ref{sec:xelatex} 节的顺序执行即可,只是将命令中
% \texttt{xelatex} 替换为 \texttt{pdflatex}。
%
% 需要注意的是 PDF\LaTeX\ 不能处理常见的 EPS 图形,需要先用 \texttt{epstopdf} 将其转化
% 成 PDF。不过 PDF\LaTeX\ 增加了对 png,jpg 等格式的支持,比较方便。\TeX Live
% 自从 2010 版本起自动调用 \texttt{epstopdf} 将 EPS 图形转化为 PDF。
%
% \subsubsection{latexmk}
% \label{sec:latexmk}
% \texttt{latexmk} 命令支持全自动生成 \LaTeX\ 编写的文档,并且支持使用不同的工具
% 链来进行生成,它会自动运行多次工具直到交叉引用都被解决。下面给出了一个用
% \texttt{latexmk} 调用 \texttt{xelatex} 生成最终文档的示例:
% \begin{shell}
% # 一句话就够了!
% $ latexmk -xelatex main
% \end{shell}
%
% \subsubsection{make}
% \label{sec:make}
%
% 上面的方法虽然不复杂,但是每次都输入还是非常罗嗦,所以 \ructhesis\ 提供了一
% 个 \file{Makefile}:
%
% \begin{shell}
% $ make clean
% $ make cls # 生成 ructhesis.cls 和 ructhesis.cfg
% $ make doc # 生成说明文档 ructhesis.pdf
% $ make thesis # 生成示例文档 main.pdf
% \end{shell}
%
% \ructhesis\ 的 \file{Makefile} 默认用 \texttt{latexmk} 调用\texttt{xelatex} 编
% 译,此外还支持直接用 \texttt{xelatex} 和\texttt{pdflatex} 编译。如有需要可修
% 改 \file{Makefile} 开头的参数或通过命令行传递参数(请参看 \file{README.md}),
% 进一步还可以修改 \file{latexmkrc} 进行定制。
%
% \subsection{升级}
% \label{sec:updgrade}
% \ructhesis\ 升级非常简单,可以通过版本控制工具 git 更新,
% 或在 GitHub 上下载最新的 release 版本,
% 将 \file{ructhesis.ins},\file{ructhesis.dtx} 和 \file{ructhesis.bst} 拷贝至
% 工作目录覆盖相应的文件,然后运行:
% \begin{shell}
% $ latex ructhesis.ins
% \end{shell}
%
% 生成新的类文件和配置文件即可。也可以直接拷
% 贝 \file{ructhesis.cls},\file{ructhesis.cfg} 和 \file{ructhesis.bst},免去上面命令
% 的执行。
%
%
% \section{使用说明}
% \label{sec:usage}
% 本手册假定用户已经能处理一般的 \LaTeX\ 文档,并对 \BibTeX\ 有一定了解。如果
% 从来没有接触过 \TeX\ 和 \LaTeX,建议先学习相关的基础知识。
%
% \subsection{关于提问}
% \label{sec:howtoask}
% 使用 GitHub Issue:
%
% \begin{itemize}
% \item \href{http://github.com/abuccts/ructhesis/issues}{Github Issues}
% \end{itemize}
%
% \subsection{示例文件}
% \label{sec:userguide}
% 模板核心文件有三
% 个:\file{ructhesis.cls},\file{ructhesis.cfg} 和\file{ructhesis.bst},但是如果
% 没有示例文档用户会发现很难下手。所以推荐新用户从模板自带的示例文档入手,里面包
% 括了论文写作用到的所有命令及其使用方法,只需要用自己的内容进行相应替换就可以。
% 对于不清楚的命令可以查阅本手册。下面的例子描述了模板中章节的组织形式,来自于示
% 例文档,具体内容可以参考模板附带的 \file{main.tex} 和 \file{data/}。
%
% \lstinputlisting[style=lstStyleLaTeX]{main.tex}
%
% \subsection{论文选项}
% \label{sec:option}
%
% \DescribeOption{type}
% 选择论文类型,当前支
% 持:\option{bachelor},\option{master},\option{doctor}。
% 为必选项。
% \begin{latex}
% % 本科论文
% \documentclass[type=bachelor]{ructhesis}
%
% % 博士论文
% \documentclass[type=doctor]{ructhesis}
% \end{latex}
%
% \DescribeOption{secret}
% 涉秘论文开关(默认:关闭)。第 \ref{sec:setup-secret} 节两个配置(或命
% 令)\cs{secretlevel}\marg{级别} 和 \cs{secretyear}\marg{年数} 分别用来指定保
% 密级别和时限。若不设置,则二者取默认值,分别为“\textbf{秘密}”和当前年份。
% \begin{latex}
% \documentclass[secret]{ructhesis} % 打开保密
% \documentclass[secret=false]{ructhesis} % 关闭保密
%
% \rucsetup{
% secretlevel=公开,
% secretyear=10
% }
% % 或者
% \secretlevel{保密}
% \secretyear{10}
% \end{latex}
%
% \DescribeOption{pifootnote}
% 是否使用 \pkg{pifont} 的带圈字符标记脚注编号。默认关闭,即使用\cs{textcircled}
% 命令,效果不太好,但是符合学校样式要求。不管使用哪种方式,一页的脚注建议控制
% 在 9 个以内,否则大于 10 的数字带圈的效果不太好。建议使用时打开此选项,脚注编号
% 很漂亮,如下:
% \begin{latex}
% \documentclass[pifootnote]{ructhesis}
% \end{latex}
%
% \DescribeOption{openany}
% \DescribeOption{openright}
% 正规出版物的章节出现在奇数页,也就是右手边的页面,这就是 \option{openright},也
% 是 \ructhesis\ 的默认选项。在这种情况下,如果前一章的最后一页也是奇数,那么模板
% 会自动生成一个纯粹的空白页,很多人不是很习惯这种方式,而且学校的格式似乎更倾向
% 于页面连续,那就是通常所说的 \option{openany}\footnote{目前所有论文都
% 是 \option{openany}。}。这两个选项不用设置,\ructhesis\ 会根据当前论文类型自动选
% 择。
%
% \DescribeOption{arialtoc}
% 目录项(章目录项除外)中的英文是否用 \emph{Arial} 字体。本选项
% 和 \option{arialtitle} 都不用用户干预,模板根据当前论文类型自动设置。
%
% \DescribeOption{arialtitle}
% 章节标题中英文是否用 \emph{Arial} 字体(默认打开)。
%
% \subsection{中文字体}
% \label{sec:chinese-fonts}
%
% \subsubsection{字体配置}
% \label{sec:font-config}
% 正确配置中文字体是使用模板的第一步。模板调用 \CTeX\ 宏包,提供如下字体使用方式:
% \begin{itemize}
% \item 基于传统 \pkg{CJK} 包,使用 \LaTeX、PDF\LaTeX\ 编译。
% \item 基于 \pkg{xeCJK} 包,使用 \XeLaTeX\ 编译。(推荐方法)
% \end{itemize}
%
% 模板默认使用 \CTeX\ 的字体配置。关于中文字体安装、配置的所有问题不在本模板讨论
% 范围。
%
% \subsubsection{字体命令}
% \label{sec:fontcmds}
% \myentry{字体}
% \DescribeMacro{\songti}
% \DescribeMacro{\fangsong}
% \DescribeMacro{\heiti}
% \DescribeMacro{\kaishu}
% 用来切换宋体、仿宋、黑体、楷体四种基本字体。
%
% \begin{latex}
% {\songti 乾:元,亨,利贞}
% {\fangsong 初九,潜龙勿用}
% {\heiti 九二,见龙在田,利见大人}
% {\kaishu 九三,君子终日乾乾,夕惕若,厉,无咎}
% \end{latex}
%
% \myentry{字号}
% \DescribeMacro{\chuhao}
% \DescribeMacro{\xiaochu}
% \DescribeMacro{\yihao}
% \DescribeMacro{\xiaoyi}
% \DescribeMacro{\bahao}
% 定义字体大小,分别为:
%
% \begin{center}
% \begin{tabular}{llllll}
% \toprule
% \cs{chuhao} & \cs{xiaochu} & \cs{yihao} & \cs{xiaoyi} & \cs{erhao} & \cs{xiaoer}\\
% \cs{sanhao} & \cs{xiaosan} & \cs{sihao} & \cs{banxiaosi} & \cs{xiaosi} & \cs{dawu}\\
% \cs{wuhao} & \cs{xiaowu} & \cs{liuhao} & \cs{xiaoliu} & \cs{qihao} & \cs{bahao}\\\bottomrule
% \end{tabular}
% \end{center}
%
% 使用方法为:\cs{command}\oarg{num},其中 command 为字号命令,num 为行距。比
% 如 \cs{xiaosi}[1.5] 表示选择小四字体,行距 1.5 倍。写作指南要求表格中的字体
% 是 \cs{dawu},模板已经设置好了。
%
% \begin{latex}
% {\erhao 二号}
% {\sanhao[1.5] 三号}
% {\sihao 四号}
% {\qihao[2] 七号}
% \end{latex}
%
% 也可以使用 \CTeX\ 定义的 \cs{zihao}\marg{num} 来切换字号,具体用法参看其文
% 档。
%
% \subsection{封面信息}
% \label{sec:titlepage}
% 封面信息提供两种配置方法:一是通过统一设置命
% 令 \cs{rucsetup} 通过\emph{key=value} 形式完成;二是每个信息利用命令独立设置,
% 其中命令的名字跟 \emph{key} 相同。两种方式可以交叉使用,并按顺序执行(即后来的设置会覆
% 盖前面的)。以 \texttt{c} 开头的命令跟中文相关,\texttt{e} 开头则为对应的英文。
%
% \DescribeMacro{\rucsetup}
% \cs{rucsetup} 用法与常见 \emph{key=value} 命令相同,如下:
% \begin{latex}
% \rucsetup{
% key1 = value1,
% key2 = {a value, with comma},
% }
% % 可以多次调用
% \rucsetup{
% key3 = value3,
% key1 = value11, % 覆盖 value1
% }
% \end{latex}
%
% \note[注意:]{\cs{rucsetup} 使用 \pkg{kvoptions} 机制,所以配置项之间不能有空行,
% 否则会报错。}
%
% 大多数命令的使用方法都是: \cs{command}\marg{arg},例外者将具体指出。这些命令都
% 在示例文档的 \file{data/cover.tex} 中。
%
% \subsubsection{密级}
% \label{sec:setup-secret}
% \DescribeMacro{\secretlevel}
% \DescribeMacro{\secretyear}
% 定义秘密级别和年限,需要打开论文的 \option{secret} 选项。
% \begin{latex}
% \rucsetup{
% secretyear=10,
% secretlevel={内部},
% }
% % 以下命令方式与上面的等价:
% \secretyear{10}
% \secretlevel{内部}
% \end{latex}
%
% \subsubsection{论文标题}
% \DescribeMacro{\ctitle}
% \DescribeMacro{\etitle}
% 中英文标题。可以在标题内部使用换行|\\|。
% \begin{latex}
% \rucsetup{
% ctitle={论文中文题目},
% etitle={Thesis English Title}
% }
% % 等价:
% \ctitle{论文中文题目}
% \etitle{Thesis English Title}
% \end{latex}
%
% \subsubsection{论文编码}
% \DescribeMacro{\ccodeno}
% 论文编码,参考教务处论文指导手册。
% \begin{latex}
% \rucsetup{
% ccodeno={RUC-XX-xxxxxx-20yy20zzzz}
% }
% % 等价:
% \ccodeno{RUC-XX-xxxxxx-20yy20zzzz}
% \end{latex}
%
% \subsubsection{作者姓名}
% \DescribeMacro{\cauthor}
% \DescribeMacro{\eauthor}
% 作者姓名。
% \begin{latex}
% \rucsetup{
% cauthor={中文姓名},
% eauthor={Name in PinYin}
% }
% % 等价:
% \cauthor{中文姓名}
% \eauthor{Name in PinYin}
% \end{latex}
%
% \subsubsection{申请学位名称}
% \label{sec:degree}
% \DescribeMacro{\cdegree}
% \DescribeMacro{\edegree}
% 学位和专业的设置比想象的要复杂一些:
%
% \begin{longtable}{p{2cm}p{8cm}p{4cm}}
% \toprule
% 学位类型 & edegree & emajor \\\midrule
% 学术型硕士
% & 必须为“Master of Art”或“Master of Science”(注意大
% 小写),其中 “哲学、文学、历史学、法学、教育学、艺术学门类,公共
% 管理学科填写“Master of Arts”,其它填写“Master of Science”。
% & “获得一级学科授权的学科填写一级学科名称,其它填写二级学
% 科名称”。\\\midrule
% 专业型硕士
% & 专业学位英文名称全称 & % 工程硕士填写工程领域,其它专业学位不填写此项。\\\midrule
% 学术型博士 & Doctor of Philosophy(注意大小写)
% & 获得一级学科授权的学科填写一级学科名称,其它填写二级学科名称。\\\midrule
% 专业型博士 & 专业学位英文名称全称 & 不填写此项。\\\bottomrule
% \end{longtable}
%
% \begin{latex}
% \rucsetup{
% cdegree={您要申请什么学位},
% edegree={degree in English}
% }
% % 等价:
% \cdegree{您要申请什么学位}
% \edegree{degree in English}
% \end{latex}
%
% \subsubsection{学院名称}
% \DescribeMacro{\cdepartment}
% \DescribeMacro{\edepartment}
% 学院名称。
% \begin{latex}
% \rucsetup{
% cdepartment={学院全称},
% edepartment={School of CS}
% }
% % 等价:
% \cdepartment{学院全称}
% \edepartment{School of CS}
% \end{latex}
%
% \subsubsection{专业名称}
% \DescribeMacro{\cmajor}
% \DescribeMacro{\emajor}
% 参见第 \ref{sec:degree} 节。
% \begin{latex}
% \rucsetup{
% cmajor={专业名称},
% emajor={Major in English}
% }
% % 等价:
% \cmajor{专业名称}
% \emajor{Major in English}
% \end{latex}
%
% \subsubsection{年级学号}
% \DescribeMacro{\cgrade}
% \DescribeMacro{\cstudentid}
% 作者年级、学号。
% \begin{latex}
% \rucsetup{
% cgrade={20xx级},
% cstudentid={20xx20yyyy}
% }
% % 等价:
% \cgrade{20xx级}
% \cstudentid{20xx20yyyy}
% \end{latex}
%
% \subsubsection{导师}
% \myentry{导师}
% \DescribeMacro{\csupervisor}
% \DescribeMacro{\esupervisor}
% 直接导师。
% \begin{latex}
% \rucsetup{
% csupervisor={导师~教授},
% esupervisor={Supervisor}
% }
% % 等价:
% \csupervisor{导师~教授}
% \esupervisor{Supervisor}
% \end{latex}
%
% \myentry{副导师}
% \DescribeMacro{\cassosupervisor}
% \DescribeMacro{\eassosupervisor}
% 本科生的辅导教师,硕士的副指导教师。
% \begin{latex}
% \rucsetup{
% cassosupervisor={副导师~副教授},
% eassosupervisor={2nd Boss}
% }
% % 等价:
% \cassosupervisor{副导师~副教授}
% \eassosupervisor{2nd Boss}
% \end{latex}
%
% \myentry{联合导师}
% \DescribeMacro{\ccosupervisor}
% \DescribeMacro{\ecosupervisor}
% 硕士生联合指导教师,博士生联合导师。
% \begin{latex}
% \rucsetup{
% ccosupervisor={联合导师~教授},
% ecosupervisor={3rd Boss}
% }
% % 等价:
% \ccosupervisor{联合导师~教授}
% \ecosupervisor{3rd Boss}
% \end{latex}
%
% \subsubsection{论文成绩}
% \DescribeMacro{\cscore}
% 论文成绩,若手写则设为空。
% \begin{latex}
% \rucsetup{
% cscore={}
% }
% % 等价:
% \cscore{}
% \end{latex}
%
% \subsubsection{成文日期}
% \DescribeMacro{\cdate}
% \DescribeMacro{\edate}
% 自己指定日期。
% \begin{latex}
% \rucsetup{
% cdate={中文日期},
% edate={English Date}
% }
% % 等价:
% \cdate{中文日期}
% \edate{English Date}
% \end{latex}
%
% \subsubsection{摘要}
% \myentry{摘要正文}
% \DescribeEnv{cabstract}
% \DescribeEnv{eabstract}
% \note[说明:]{摘要正文只能用环境命令的形式,不支持 \cs{rucsetup}。}
%
% \begin{latex}
% \begin{cabstract}
% 摘要请写在这里...
% \end{cabstract}
%
% \begin{eabstract}
% Here comes the abstract in English...
% \end{eabstract}
% \end{latex}
%
% \myentry{关键词}
% \DescribeMacro{\ckeywords}
% \DescribeMacro{\ekeywords}
% 关键词用英文逗号分割写入相应的命令中,模板会解析各关键词并生成符合不同论文格式
% 要求的关键词格式。
% \begin{latex}
% \rucsetup{
% ckeywords={关键词 1, 关键词 2},
% ekeywords={keyword 1, keyword 2}
% }
% % 等价:
% \ckeywords{关键词 1, 关键词 2}
% \ekeywords{keyword 1, keyword 2}
% \end{latex}
%
% \myentry{生成封面}
% \DescribeMacro{\makecover}
% 生成封面,包括首页,授权,摘要等。用法:\cs{makecover}\oarg{file}。如果使用授权
% 说明扫描页,将可选参数中指定为扫描得到的 PDF 文件名,例如:
% \begin{latex}
% % 直接生成封面
% \makecover
%
% % 将签字扫描后授权文件 scan-auth.pdf 替换原始页面
% \makecover[scan-auth.pdf]
% \end{latex}
%
% \subsubsection{符号对照表}
% \DescribeEnv{denotation}
% 主要符号表环境,跟 \env{description} 类似,使用方法参见示例文件。带一个可选参数,
% 用来指定符号列的宽度(默认为 4.5cm)。
% \begin{latex}
% \begin{denotation}
% \item[E] 能量
% \item[m] 质量
% \item[c] 光速
% \end{denotation}
% \end{latex}
%
% 如果默认符号列的宽度不满意,可以通过参数来调整:
% \begin{latex}
% \begin{denotation}[2.5cm] % 设置为 2.5cm
% \item[E] 能量
% \item[m] 质量
% \item[c] 光速
% \end{denotation}
% \end{latex}
%
% \subsection{目录和索引表}
% 目录、插图、表格和公式等索引命令分别如下,将其插入到期望的位置即可(带星号的命令表
% 示对应的索引表不会出现在目录中):
%
% \DescribeMacro{\tableofcontents}
% \DescribeMacro{\listoffigures}
% \DescribeMacro{\listoffigures*}
% \DescribeMacro{\listoftables}
% \DescribeMacro{\listoftables*}
% \DescribeMacro{\listofequations}
% \DescribeMacro{\listofequations*}
% \begin{longtable}{ll}
% \toprule
% {\heiti 用途} & {\heiti 命令} \\\midrule
% 目录 & \cs{tableofcontents} \\\midrule
% 插图索引 & \cs{listoffigures} \\
% & \cs{listoffigures*} \\\midrule
% 表格索引 & \cs{listoftables} \\
% & \cs{listoftables*} \\\midrule
% 公式索引 & \cs{listofequations} \\
% & \cs{listofequations*}\\\bottomrule
% \end{longtable}
%
% \LaTeX\ 默认支持插图和表格索引,是通过 \cs{caption} 命令完成的,因此它们必须出
% 现在浮动环境中,否则不被计数。
%
% 如果不想让某个表格或者图片出现在索引里面,那么请使用命令 \cs{caption*},这
% 个命令不会给表格编号,也就是出来的只有标题文字而没有``表~xx'',``图~xx'',否则
% 索引里面序号不连续就显得不伦不类,这也是 \LaTeX\ 里星号命令默认的规则。
%
% 如果的确想让其编号,但又不想出现在索引中的话,目前模板暂不支持。
%
% 公式索引为本模板扩展,模板扩展了 \pkg{amsmath} 几个内部命令,使得公式编号样式和
% 自动索引功能非常方便。一般来说,你用到的所有数学环境编号都没问题了,这个可以参
% 看示例文档。如果你有个非常特殊的数学环境需要加入公式索引,那么请使
% 用 \cs{equcaption}\marg{编号}。此命令表示 equation caption,带一个参数,即显示
% 在索引中的编号。因为公式与图表不同,我们很少给一个公式附加一个标题,之所以起这
% 么个名字是因为图表就是通过 \cs{caption} 加入索引的,\cs{equcaption} 完全就是为
% 了生成公式列表,不产生什么标题。
%
% 使用方法如下。假如有一个非 equation 数学环境 \texttt{mymath},只要在其中写一
% 句 \cs{equcaption} 就可以将它加入公式列表。
% \begin{latex}
% \begin{mymath}
% \label{eq:emc2}\equcaption{\ref{eq:emc2}}
% E=mc^2
% \end{mymath}
% \end{latex}
%
% \texttt{mymath} 中公式的编号需要自己来做。
%
% 同图表一样,附录中的公式有时候也不希望它跟全文统一编号,而且不希望它出现在公式
% 索引中,目前的解决办法就是利用 \cs{tag*}\marg{公式编号} 来解决。用法很简单,此
% 处不再罗嗦,实例请参看示例文档附录 A 的前两个公式。
%
% \subsection{封底部分}
%
% \subsubsection{致谢}
% \DescribeEnv{acknowledgement}
% 把致谢做成一个环境更好一些,直接往里面写感谢的话就可以啦!
% \begin{latex}
% \begin{acknowledgement}
% …
% 感谢 \RucThesis,它的存在让我的论文写作轻松自在了许多,让我的论文格式规整漂亮了许多。
% \end{acknowledgement}
% \end{latex}
%
% \subsubsection{附录}
% \DescribeEnv{appendix}
% 所有的附录都插到这里来。因为附录会更改默认的 chapter 属性,而后面的{\heiti 个人简
% 历}又需要恢复,所以实现为环境可以保证全局的属性不受影响。
% \begin{latex}
% \begin{appendix}
% \input{data/appendix01}
% \input{data/appendix02}
% \end{appendix}
% \end{latex}
%
% \DescribeEnv{translationbib}
% 本环境用来描述外文资料中的参考文献,例子:
% \begin{latex}
% \begin{translationbib}
% \item Donald E. Knuth. The \TeX book. Addison-Wesley, 1984. ISBN: 0-201-13448-9
% \item Paul W. Abrahams, Karl Berry and Kathryn A. Hargreaves. \TeX\ for the
% Impatient. Addison-Wesley, 1990. ISBN: 0-201-51375-7
% \item David Salomon. The advanced \TeX book. New York : Springer, 1995. ISBN:0-387-94556-3
% \end{translationbib}
% \end{latex}
%
% \subsubsection{简历}
% \DescribeEnv{resume}
% 开启个人简历章节,包括个人简历,发表文章,研究成果列表等。每个子项目请
% 用以下对应命令开启:\cs{xxxitem}\marg{subtitle}。
%
% \DescribeMacro{\resumeitem}
% 个人简历,用法:\cs{resumeitem}\{个人简历\}。简历内容部分没有格式要求,正常段
% 落排版。
%
% \DescribeMacro{\researchitem}
% 发表学术论文,用法:\cs{researchitem}\marg{类别},包括“学术论文”和“研究成果”两
% 个类别。分别用 \env{publications} 和 \env{achievements} 罗列。
%
% \DescribeEnv{publications}
% \DescribeMacro{\publicationskip}
% 用 \env{publications} 环境进行罗列发表的论文。按照学校要求,在学期间发表的学术
% 论文分以下三部分按顺序分别列出,每部分之间空 1 行,序号可连续排列:
% \begin{enumerate}
% \item 已经刊载的学术论文(本人是第一作者,或者导师为第一作者本人是第二作者)
% \item 尚未刊载,但已经接到正式录用函的学术论文(本人为第一作者,或者导师为第一
% 作者本人是第二作者)。
% \item 其他学术论文。可列出除上述两种情况以外的其他学术论文,但必须是已经刊载或
% 者收到正式录用函的论文。
% \end{enumerate}
%
% \env{publications} 环境支持每一部分分别编写,逻辑上更清楚,为了在环境之间支持
% 空行,需要利用 \cs{publicationskip} 控制。示例:
% \begin{latex}
% \researchitem{发表的学术论文}
%
% % 1. 已经刊载的学术论文
% \begin{publications}
% \item Yang Y, Ren T L, Zhang L T, et al. Miniature microphone with silicon-
% based ferroelectric thin films. Integrated Ferroelectrics, 2003,
% 52:229-235. (SCI 收录, 检索号:758FZ.)
% \item 杨轶, 张宁欣, 任天令, 等. 硅基铁电微声学器件中薄膜残余应力的研究. 中国机
% 械工程, 2005, 16(14):1289-1291. (EI 收录, 检索号:0534931 2907.)
% \item 杨轶, 张宁欣, 任天令, 等. 集成铁电器件中的关键工艺研究. 仪器仪表学报,
% 2003, 24(S4):192-193. (EI 源刊.)
% \end{publications}
%
% % 2. 尚未刊载,但已经接到正式录用函的学术论文
% \begin{publications}[before=\publicationskip,after=\publicationskip]
% \item Yang Y, Ren T L, Zhu Y P, et al. PMUTs for handwriting recognition. In
% press. (已被 Integrated Ferroelectrics 录用. SCI 源刊.)
% \end{publications}
%
% % 3. 其他学术论文。
% \begin{publications}
% \item Wu X M, Yang Y, Cai J, et al. Measurements of ferroelectric MEMS
% microphones. Integrated Ferroelectrics, 2005, 69:417-429. (SCI 收录, 检索号
% :896KM)
% \item 贾泽, 杨轶, 陈兢, 等. 用于压电和电容微麦克风的体硅腐蚀相关研究. 压电与声
% 光, 2006, 28(1):117-119. (EI 收录, 检索号:06129773469)
% \item 伍晓明, 杨轶, 张宁欣, 等. 基于MEMS技术的集成铁电硅微麦克风. 中国集成电路,
% 2003, 53:59-61.
% \end{publications}
% \end{latex}
%
% \DescribeEnv{achievements}
% 研究成果用 \cs{researchitem}\{研究成果\} 开启,随后用 \env{achievements} 环
% 境罗列。
%
% 具体用法请参看示例文档 \file{data/resume.tex}。
%
% \subsection{自定义}
% \label{sec:othercmd}
%
% \subsubsection{数学环境}
% \label{sec:math}
% \ructhesis\ 定义了常用的数学环境:
%
% \begin{center}
% \begin{tabular}{*{7}{l}}\toprule
% axiom & theorem & definition & proposition & lemma & conjecture &\\
% 公理 & 定理 & 定义 & 命题 & 引理 & 猜想 &\\\midrule
% proof & corollary & example & exercise & assumption & remark & problem \\
% 证明 & 推论 & 例子& 练习 & 假设 & 注释 & 问题\\\bottomrule
% \end{tabular}
% \end{center}
%
% 比如:
% \begin{latex}
% \begin{definition}
% 道千乘之国,敬事而信,节用而爱人,使民以时。
% \end{definition}
% \end{latex}
% 产生(自动编号):
% \medskip
%
% \noindent\framebox[\linewidth][l]{{\heiti 定义~1.1~~~} % {道千乘之国,敬事而信,节用而爱人,使民以时。}}
%
% \smallskip
% 列举出来的数学环境毕竟是有限的,如果想用\emph{胡说}这样的数学环境,那么可以定义:
% \begin{latex}
% \newtheorem{nonsense}{胡说}[chapter]
% \end{latex}
%
% 然后这样使用:
% \begin{latex}
% \begin{nonsense}
% 契丹武士要来中原夺武林秘笈。—— 慕容博
% \end{nonsense}
% \end{latex}
% 产生(自动编号):
%
% \medskip
% \noindent\framebox[\linewidth][l]{{\heiti 胡说~1.1~~~} % {契丹武士要来中原夺武林秘笈。—— 慕容博}}
%
% \subsubsection{引用方式}
%
% \DescribeMacro{\inlinecite}
% 学校要求的参考文献引用有两种模式:(1)上标模式。比如``同样的工作有很
% 多$^{[1,2]}$\ldots''。(2)正文模式。比如``文[3] 中详细说明了\ldots''。其中上标
% 模式使用远比正文模式频繁,所以为了符合使用习惯,上标模式仍然用常规
% 的 \cs{cite}\marg{key},而 \cs{inlinecite}\marg{key} 则用来生成正文模式。
%
% 关于参考文献模板推荐使用 \BibTeX,关于中文参考文献需要额外增加一个 Entry:
% \texttt{lang},将其设置为 \texttt{zh} 用来指示此参考文献为中文,以
% 便 \file{ructhesis.bst} 处理。如:
% \begin{latex}
% @INPROCEEDINGS{cnproceed,
% author = {王重阳 and 黄药师 and 欧阳峰 and 洪七公 and 段皇帝},