Skip to content

Commit

Permalink
Header change for professional master
Browse files Browse the repository at this point in the history
Omit professional notion in header of professional master thesis.
  • Loading branch information
bdebye committed Jun 6, 2020
1 parent ac7f878 commit 5b82129
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The template is authored by Wang Wen, a 2014 master graduate of UESTC. Because o

模板采用LaTeX类的形式封装,导入模板只需要把`thesis-uestc.cls`文件放在文档所在目录,在文档开头使用`\documentclass{thesis-uestc}`命令将文档的类设置成`thesis-uestc`即可。使用BibTeX录入参考文献还需要`thesis-uestc.bst`风格定义文件。

模板类有bachelor、master、promaster、doctor和engdoctor四个学位选项,对应本科、硕士、专业硕士、博士和工程博士的毕业论文,默认选项为`master`。文档内容的书写参考范例`main.tex`。英语使用者可以启用`english`选项,模版会按照英语论文的格式排版。
模板类有bachelor、master、promaster、doctor和engdoctor五个学位选项,对应本科、硕士、专业硕士、博士和工程博士的毕业论文,默认选项为`master`。文档内容的书写参考范例`main.tex`。英语使用者可以启用`english`选项,模版会按照英语论文的格式排版。

### 文档编译
编译文档请使用XeLaTeX引擎。模版提供latexmk设置文件用于自动编译。将命令行工作目录切换到项目文件夹下,执行
Expand Down
7 changes: 6 additions & 1 deletion thesis-uestc.cls
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@
\def\englishdegreename{Bachelor}
\def\chinesebooktitle{学士学位论文}
\def\englishbooktitle{Bachelor Thesis}
\def\display@chineseheader{电子科技大学学士学位论文}
\def\display@englishheader{Bachelor Thesis of University of
Electronic Science and Technology of China}
}
Expand All @@ -434,6 +435,7 @@
\def\englishdegreename{Master}
\def\chinesebooktitle{硕士学位论文}
\def\englishbooktitle{Master Thesis}
\def\display@chineseheader{电子科技大学硕士学位论文}
\def\display@englishheader{Master Thesis of University of
Electronic Science and Technology of China}
}
Expand All @@ -443,6 +445,7 @@
\def\englishdegreename{Professional Master}
\def\chinesebooktitle{专业学位硕士学位论文}
\def\englishbooktitle{Master Thesis for Professional Degree}
\def\display@chineseheader{电子科技大学硕士学位论文}
\def\display@englishheader{Professional Master Thesis of University
of Electronic Science and Technology of China}
}
Expand All @@ -452,6 +455,7 @@
\def\englishdegreename{Doctor}
\def\chinesebooktitle{博士学位论文}
\def\englishbooktitle{Doctoral Dissertation}
\def\display@chineseheader{电子科技大学博士学位论文}
\def\display@englishheader{Doctoral Dissertation of University of
Electronic Science and Technology of China}
}
Expand All @@ -461,6 +465,7 @@
\def\englishdegreename{Engineering Doctor}
\def\chinesebooktitle{工程博士学位论文}
\def\englishbooktitle{Engineering Doctoral Dissertation}
\def\display@chineseheader{电子科技大学博士学位论文}
\def\display@englishheader{Engineering Doctoral Dissertation of
University of Electronic Science and Technology of China}
}
Expand Down Expand Up @@ -796,7 +801,7 @@ School: & \en@theschool \\
\newcommand{\standardhead}{
\fancyhf{}
\ifchinesebook{
\fancyhead[CE]{\fontsize{10.5pt}{12.6pt}\selectfont 电子科技大学\chinesebooktitle}
\fancyhead[CE]{\fontsize{10.5pt}{12.6pt}\selectfont\display@chineseheader}
\fancyhead[CO]{\fontsize{10.5pt}{12.6pt}\selectfont\leftmark}
}{
\fancyhead[CE]{\fontsize{10.5pt}{12.6pt}\selectfont\nouppercase\display@englishheader}
Expand Down

0 comments on commit 5b82129

Please sign in to comment.