|
1 | 1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
2 | 2 | %% %% <UTF-8> |
3 | | -%% %% 北航研究生毕业论文模板 - LaTeX 01-04-2018 |
| 3 | +%% %% 北航研究生毕业论文模板 - LaTeX 10-15-2018 |
4 | 4 | %% %% 论文样式参考自《研究生手册--二〇一五年八月》 |
5 | 5 | %% %% 基于ctexbook |
6 | 6 | %% %% |
|
9 | 9 | %% %% 参与修改: |
10 | 10 | %% %% |
11 | 11 | %% %% Versions: |
| 12 | +%% %% v1.3 Wei Quanmao (10-15-2018) |
12 | 13 | %% %% v1.2 Wei Quanmao (07-31-2018) |
13 | 14 | %% %% v1.1 Wei Quanmao (01-04-2018) |
14 | 15 | %% %% v1.0a Wei Quanmao (12-17-2017) |
|
18 | 19 |
|
19 | 20 | %% 模板标识 |
20 | 21 | \NeedsTeXFormat{LaTeX2e} |
21 | | -\ProvidesClass{buaa}[2018/07/31 v1.2 BUAA thesis class] |
22 | | -\typeout{This is LaTeX template buaa, Version 1.1 (based on CTex) 01-04-2018, by Wei Quanmao} |
| 22 | +\ProvidesClass{buaa}[2018/10/15 v1.3 BUAA thesis class] |
| 23 | +\typeout{This is LaTeX template buaa, Version 1.3 (based on CTex) 10-15-2018, by Wei Quanmao} |
23 | 24 |
|
24 | 25 | \usepackage{graphicx} |
25 | | -\def\BUAAThesisVer{v1.1 01-04-2018} |
| 26 | +\def\BUAAThesisVer{v1.3 10-15-2018} |
26 | 27 | \def\BUAAThesis{% |
27 | 28 | B% |
28 | 29 | {\fontsize{0.8em}{\baselineskip}\selectfont |
|
51 | 52 | \RequirePackage{graphicx} % 图片 |
52 | 53 | \RequirePackage{subfigure} % 图片 |
53 | 54 | \RequirePackage{epstopdf} % 图片 |
54 | | -\RequirePackage{array} % |
| 55 | +\RequirePackage{array} % |
55 | 56 | \RequirePackage{enumitem} % |
56 | 57 | \RequirePackage{booktabs} % 表格上下粗线 |
57 | 58 | \RequirePackage{longtable} % 长表格 |
|
90 | 91 | \DeclareOption{secret10}{\gdef\@permission{secret10}} % 秘密10年 |
91 | 92 | \DeclareOption{secret*}{\gdef\@permission{secret*}} % 秘密永久 |
92 | 93 | \DeclareOption{classified}{\gdef\@permission{classified5}} % 机密 = 机密5年 |
93 | | -\DeclareOption{classified3}{\gdef\@permission{classified3}} % 机密3年 |
94 | | -\DeclareOption{classified5}{\gdef\@permission{classified5}} % 机密5年 |
95 | | -\DeclareOption{classified10}{\gdef\@permission{classified10}} % 机密10年 |
96 | | -\DeclareOption{classified*}{\gdef\@permission{classified*}} % 机密永久 |
| 94 | +\DeclareOption{classified3}{\gdef\@permission{classified3}} % 机密3年 |
| 95 | +\DeclareOption{classified5}{\gdef\@permission{classified5}} % 机密5年 |
| 96 | +\DeclareOption{classified10}{\gdef\@permission{classified10}} % 机密10年 |
| 97 | +\DeclareOption{classified*}{\gdef\@permission{classified*}} % 机密永久 |
97 | 98 | \DeclareOption{topsecret}{\gdef\@permission{topsecret10}} % 绝密 = 绝密10年 |
98 | 99 | \DeclareOption{topsecret3}{\gdef\@permission{topsecret3}} % 绝密3年 |
99 | 100 | \DeclareOption{topsecret5}{\gdef\@permission{topsecret5}} % 绝密5年 |
|
104 | 105 | }} |
105 | 106 |
|
106 | 107 | %% 打印设置 |
107 | | -\DeclareOption{oneside}{\gdef\@printtype{oneside}} % 单面打印 |
| 108 | +\DeclareOption{oneside}{\gdef\@printtype{oneside}} % 单面打印 |
108 | 109 | \DeclareOption{twoside}{\gdef\@printtype{twoside}} % 双面打印 |
109 | 110 |
|
110 | 111 | %% 适应首字母大写 |
|
335 | 336 | \renewenvironment{table}[1][h!] |
336 | 337 | {\begin{spacing}{1.2} \org@table[#1] \songti\zihao{5}} |
337 | 338 | {\org@endtable \end{spacing}} |
338 | | - |
| 339 | + |
339 | 340 | \let\org@longtable\longtable |
340 | 341 | \let\org@endlongtable\endlongtable |
341 | 342 | \renewenvironment{longtable}[1][h!] |
|
355 | 356 | aboveskip=0pt, belowskip=0pt, justification=centerlast} |
356 | 357 |
|
357 | 358 | %出现在页面中间的浮动对象与上下方文本之间的垂直距离 |
358 | | -%缺省为 12pt plus 2pt minus 2pt。 |
| 359 | +%缺省为 12pt plus 2pt minus 2pt。 |
359 | 360 | %\setlength{\intextsep}{12pt \@plus2pt \@minus 2pt} |
360 | 361 |
|
361 | 362 | %出现在页面的顶部或底部的浮动对象之间的垂直距离 |
|
379 | 380 | colorlinks=true, |
380 | 381 | bookmarksnumbered=true, |
381 | 382 | bookmarksopen=true, |
382 | | - pdffitwindow=true, |
| 383 | + pdffitwindow=true, |
383 | 384 | pdfsubject={BUAA thesis}, |
384 | 385 | pdfcreator={LaTeXed~By~WeiQM} |
385 | 386 | } |
|
425 | 426 | \newcommand{\clearautopage}{%右侧起新页 |
426 | 427 | \clearpage |
427 | 428 | \ifthenelse{\equal{\@printtype}{twoside}}{% 双面 |
428 | | - \ifodd\c@page |
| 429 | + \ifodd\c@page |
429 | 430 | \else |
430 | 431 | \hbox{} |
431 | 432 | \vspace*{\fill} |
|
544 | 545 | \abstructkeyword |
545 | 546 | \makecontextlist |
546 | 547 | \denotioan |
547 | | - |
| 548 | + |
548 | 549 | \renewcommand{\headrulewidth}{0.4pt} |
549 | 550 | \fancyfoot[C]{\zihao{5} \thepage} |
550 | 551 | \fancyhead[CE]{\zihao{-5} \leftmark} |
|
562 | 563 |
|
563 | 564 | {\zihao{5} \heiti \noindent |
564 | 565 | \makebox[5\ccwd][s]{中图分类号}:{\bfseries \@clc}% |
565 | | - \hfill \TranSecretLevel{\@permission} |
| 566 | + \hfill \TranSecretLevel{\@permission} |
566 | 567 | \\ |
567 | 568 | \makebox[5\ccwd][s]{论文编号}:{\bfseries 10006\@studentid} |
568 | 569 | } |
|
581 | 582 | \ifthenelse{\equal{\@thesis}{doctor}}{\includegraphics[width=0.9\linewidth]{head-doctor}}{ |
582 | 583 | }}} |
583 | 584 | \end{figure} |
584 | | - |
| 585 | + |
585 | 586 | \centering |
586 | | - |
| 587 | + |
587 | 588 | \vspace{20pt} |
588 | 589 | \begin{spacing}{1.2} |
589 | 590 | \ifthenelse{\isundefined{\@subtitlecn}}{\vspace{20pt}}{} |
|
618 | 619 |
|
619 | 620 | \begin{spacing}{1.2} |
620 | 621 |
|
621 | | - {\zihao{-2} \bfseries |
| 622 | + {\zihao{-2} \bfseries |
622 | 623 | \ifthenelse{\isundefined{\@subtitleen}}{\vspace{20pt}}{} |
623 | 624 | \@titleen |
624 | 625 | \ifthenelse{\isundefined{\@subtitleen}}{\vspace{20pt}}{% |
|
629 | 630 | \vspace{50pt} |
630 | 631 |
|
631 | 632 | {\zihao{4} |
632 | | - A Dissertation Submitted for the Degree of |
| 633 | + A Dissertation Submitted for the Degree of |
633 | 634 | \ifthenelse{\equal{\@thesis}{master} \OR \equal{\@thesis}{professional}}{Master}{} |
634 | 635 | \ifthenelse{\equal{\@thesis}{doctor}}{Docrtor of Philosophy}{} |
635 | 636 | } |
636 | | - |
| 637 | + |
637 | 638 | \vspace{100pt} |
638 | 639 | {\zihao{-3} \bfseries |
639 | 640 | \begin{tabular}{ll} |
640 | 641 | \ifthenelse{\isundefined{\@cotutorcn}}{% |
641 | | - \makebox[70pt][s]{Candidate}: & \@authoren \\ |
| 642 | + \makebox[70pt][s]{Candidate}: & \@authoren \\ |
642 | 643 | \vspace{-10pt}\\ |
643 | 644 | \makebox[70pt][s]{Supervisor}: & \TranDegree{\@tutordegree} \hspace{-8pt} \@tutoren \\ |
644 | 645 | }{% |
645 | | - \makebox[77pt][s]{Candidate}: & \@authoren \\ |
| 646 | + \makebox[77pt][s]{Candidate}: & \@authoren \\ |
646 | 647 | \vspace{-10pt}\\ |
647 | 648 | \makebox[77pt][s]{Supervisors}: & \TranDegree{\@tutordegree} \hspace{-8pt} \@tutoren \\ |
648 | 649 | & \TranDegree{\@cotutordegree} \hspace{-8pt} \@cotutoren\\ |
|
652 | 653 | \end{spacing} |
653 | 654 |
|
654 | 655 | \vspace{150pt} |
655 | | - |
| 656 | + |
656 | 657 | \begin{spacing}{2.2} |
657 | 658 | {\zihao{-3} |
658 | 659 | \TranDepartment{\@department} \\ |
|
667 | 668 |
|
668 | 669 | {\zihao{5} \heiti \noindent |
669 | 670 | \makebox[5\ccwd][s]{中图分类号}:{\bfseries \@clc}% |
670 | | - \hfill \TranSecretLevel{\@permission} |
| 671 | + \hfill \TranSecretLevel{\@permission} |
671 | 672 | \\ |
672 | 673 | \makebox[5\ccwd][s]{论文编号}:{\bfseries 10006\@studentid} |
673 | 674 | } |
|
676 | 677 | \vspace{150pt} |
677 | 678 |
|
678 | 679 | \begin{spacing}{1.2} |
679 | | - {\zihao{-2} \heiti |
| 680 | + {\zihao{-2} \heiti |
680 | 681 | \ifthenelse{\equal{\@thesis}{master}}{% |
681 | 682 | \makebox[16\ccwd][s]{硕士学位论文}}{ |
682 | 683 | \ifthenelse{\equal{\@thesis}{professional}}{% |
683 | 684 | \makebox[16\ccwd][s]{硕士学位论文}}{ |
684 | 685 | \ifthenelse{\equal{\@thesis}{doctor}}{% |
685 | 686 | \makebox[16\ccwd][s]{博士学位论文}}{} |
686 | 687 | }} |
687 | | - |
| 688 | + |
688 | 689 | } |
689 | 690 |
|
690 | 691 | \vspace{50pt} |
691 | | - {\zihao{-1} \heiti |
| 692 | + {\zihao{-1} \heiti |
692 | 693 | \ifthenelse{\isundefined{\@subtitlecn}}{\vspace{20pt}}{} |
693 | 694 | \@titlecn |
694 | 695 | \ifthenelse{\isundefined{\@subtitlecn}}{\vspace{20pt}}{% |
|
729 | 730 |
|
730 | 731 | 若有不实之处,本人愿意承担相关法律责任。 \\ |
731 | 732 |
|
732 | | - {\zihao{5}\ \ 学位论文作者签名:\underline{\hspace{7\ccwd}} \hspace{4\ccwd} |
| 733 | + {\zihao{5}\ \ 学位论文作者签名:\underline{\hspace{7\ccwd}} \hspace{4\ccwd} |
733 | 734 | 日期:\hspace{3\ccwd}年\hspace{2\ccwd}月\hspace{2\ccwd}日} |
734 | 735 | } |
735 | 736 |
|
|
744 | 745 | 段保存学位论文。 |
745 | 746 |
|
746 | 747 | 保密学位论文在解密后的使用授权同上。 \\ |
747 | | - |
748 | | - {\zihao{5}\ \ 学位论文作者签名:\underline{\hspace{7\ccwd}} \hspace{4\ccwd} |
| 748 | + |
| 749 | + {\zihao{5}\ \ 学位论文作者签名:\underline{\hspace{7\ccwd}} \hspace{4\ccwd} |
749 | 750 | 日期:\hspace{3\ccwd}年\hspace{2\ccwd}月\hspace{2\ccwd}日} |
750 | 751 |
|
751 | | - {\zihao{5}\ \ 指导教师签名:\underline{\hspace{9\ccwd}} \hspace{4\ccwd} |
| 752 | + {\zihao{5}\ \ 指导教师签名:\underline{\hspace{9\ccwd}} \hspace{4\ccwd} |
752 | 753 | 日期:\hspace{3\ccwd}年\hspace{2\ccwd}月\hspace{2\ccwd}日} |
753 | 754 | } |
754 | 755 |
|
|
767 | 768 | \@abstrctcn \par ~\par |
768 | 769 | {\heiti 关键字:} \@keywordcn |
769 | 770 | } |
770 | | - |
| 771 | + |
771 | 772 | \clearpage |
772 | 773 | %\ifthenelse{\equal{\@beginright}{off}}{\clearpage}{\clearautopage} |
773 | | - |
| 774 | + |
774 | 775 | {\zihao{3} \bfseries \centerline{Abstract}} |
775 | 776 | {\zihao{-4} ~\par |
776 | 777 | \@abstrcten \par ~\par |
|
783 | 784 | }} |
784 | 785 | \newcommand{\makecontextlist}{% 目录 |
785 | 786 | {\pdfbookmark[0]{目录}{makecontextlist} |
786 | | - |
| 787 | + |
787 | 788 | \tableofcontents |
788 | 789 | \ifthenelse{\isundefined{\@listfigtab}}{}{% |
789 | 790 | \ifthenelse{\equal{\@listfigtab}{on}}{% |
|
799 | 800 | }} |
800 | 801 | \newcommand{\denotioan}{% 缩写定义 |
801 | 802 | {\pdfbookmark[0]{主要符号表}{denotioan} |
802 | | - |
| 803 | + |
803 | 804 | \chapter*{主要符号表} |
804 | 805 | \ifthenelse{\isundefined{\@abbreviations}}{}{% |
805 | 806 | %\centering |
|
0 commit comments