diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fc883f..16a7e3a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,64 +1,71 @@ -# Change Log - -## [3.1.0] - TODO - - -### Changed -- [ ] 更新东南大学版权声明 -- [ ] 更改章节字号 -- [ ] 更改图名编码方式(可能不需求) -- [ ] 增加表格样式的包 - -## [3.0.1] - 2019-12-16 - -### Changed -- 页边距设置为 2cm -- 最后的参考文献加中括号 - - - -## [3.0.2] - 2019-12-16 - -### Debuged -- 参考文献字号设置为小五 - -## [3.0.1] - 2019-12-12 - -### Debuged -- 术语与符号约定目录页码不对 - -## [3.0.0] - 2019-10-06 - -### Added -- 增加本地字体 - -### Changed -- 加载config文件夹中字体 -- 标题黑体加粗 -- 更新vscode编译方式 -- seu论文声明和版权格式 - - -## [2.0.0] - 2019-06-28 - -### Changed -- 将seuthesiY.cls的继承从ctexrep更改为ctexbook - -### Fixed -- 奇偶页页眉显示方式,将奇数页页眉`东南大学..学位论文`更改到偶数页 -- 摘要定义方式 -- `\mainmatter`定义方式 -- 致谢和简历的章节定义方式 - -### Added -- `\backmatter`命令 - -## [1.0.2] - 2019-06-23 - -### Changed -- 采用了[biblatex-gb7714-2015](https://github.com/hushidong/biblatex-gb7714-2015)替代[seuthesix](https://github.com/zhimengfan1990/seuthesix)提供的参考文献格式 - -### Fixed -- 封皮夹缝中文标题带英文. -- 有`术语与数学符号约定`时的编译方式 - +# Change Log + +## [3.0.3] - 2021.4.24 +- 大封面及中文封面填空处加粗 +- 完善对工程硕士学位论文的支持 +- 增加华文中宋字体的支持 + + + +## [3.1.0] - TODO + + +### Changed +- [ ] 更新东南大学版权声明 +- [ ] 更改章节字号 +- [ ] 更改图名编码方式(可能不需求) +- [ ] 增加表格样式的包 + +## [3.0.1] - 2019-12-16 + +### Changed +- 页边距设置为 2cm +- 最后的参考文献加中括号 + + + +## [3.0.2] - 2019-12-16 + +### Debuged +- 参考文献字号设置为小五 + +## [3.0.1] - 2019-12-12 + +### Debuged +- 术语与符号约定目录页码不对 + +## [3.0.0] - 2019-10-06 + +### Added +- 增加本地字体 + +### Changed +- 加载config文件夹中字体 +- 标题黑体加粗 +- 更新vscode编译方式 +- seu论文声明和版权格式 + + +## [2.0.0] - 2019-06-28 + +### Changed +- 将seuthesiY.cls的继承从ctexrep更改为ctexbook + +### Fixed +- 奇偶页页眉显示方式,将奇数页页眉`东南大学..学位论文`更改到偶数页 +- 摘要定义方式 +- `\mainmatter`定义方式 +- 致谢和简历的章节定义方式 + +### Added +- `\backmatter`命令 + +## [1.0.2] - 2019-06-23 + +### Changed +- 采用了[biblatex-gb7714-2015](https://github.com/hushidong/biblatex-gb7714-2015)替代[seuthesix](https://github.com/zhimengfan1990/seuthesix)提供的参考文献格式 + +### Fixed +- 封皮夹缝中文标题带英文. +- 有`术语与数学符号约定`时的编译方式 + diff --git a/README.md b/README.md index 3ec0ef4..c02e87b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ **SeuThesiY** 提供了一个用于排版东南大学硕博学位论文的LaTeX模板。该模板主要是在[seuthesix](https://github.com/zhimengfan1990/seuthesix)基础上进行的修改。 -目前该模板支持博士、硕士学位论文。 +目前该模板支持博士、学术型硕士、专业型硕士学位论文。 ## 功能特色 diff --git a/chapter/abstract.tex b/chapter/abstract.tex index 7a902e9..5b85970 100644 --- a/chapter/abstract.tex +++ b/chapter/abstract.tex @@ -8,6 +8,7 @@ \advisor{夜帝}{教授}{King Night}{Prof.} \coadvisor{楚留香}{副教授}{Perfume Tsu}{Associate Prof.} % 没有% 可以不填 \degreetype{武学博士}{Doctor of kung fu} % 详细学位名称 +\thesisform{应用研究} % 包括应用研究、调研报告、规划、产品开发、案例分析、项目管理、文学艺术作品、其它。非专业型硕士可忽略 \major{内功} \submajor{内功心法} \defenddate{\today} diff --git a/config/font/simzs.ttf b/config/font/simzs.ttf new file mode 100644 index 0000000..0f167cb Binary files /dev/null and b/config/font/simzs.ttf differ diff --git a/config/seuthesiY.cls b/config/seuthesiY.cls old mode 100644 new mode 100755 index 682b1e2..5f78146 --- a/config/seuthesiY.cls +++ b/config/seuthesiY.cls @@ -68,6 +68,8 @@ BoldItalicFont=simfang.ttf \newcommand{\kaiti}{\CJKfamily{zhkai}} \setCJKfamilyfont{zhfs}[Path = ./config/font/]{simfang.ttf} \newcommand{\fs}{\CJKfamily{zhfs}} +\setCJKfamilyfont{zhzs}[Path = ./config/font/]{simzs.ttf} +\newcommand{\zhongsong}{\CJKfamily{zhzs}} % my change, 英文字体使用 Times New Roman \setmainfont[ @@ -141,7 +143,8 @@ BoldItalicFont=timesbi.ttf \newcommand{\setnomname}[1]{\renewcommand\nomname{#1}} \renewcommand{\nomname}{术语与数学符号约定} \RequirePackage{algorithm} -\RequirePackage{algorithmic} +% \RequirePackage{algorithmic} +\RequirePackage{algpseudocode} \numberwithin{algorithm}{chapter} \floatname{algorithm}{算法} \renewcommand{\listalgorithmname}{算法目录} @@ -245,6 +248,8 @@ BoldItalicFont=timesbi.ttf \newcommand{\UDC}[1]{\renewcommand{\@UDC}{#1}} \newcommand{\@studentid}{} \newcommand{\studentid}[1]{\renewcommand{\@studentid}{#1}} +\newcommand{\@thesisform}{} +\newcommand{\thesisform}[1]{\renewcommand{\@thesisform}{#1}} \newcommand\degreetype[2]{\renewcommand\@degreetype{#1}% \renewcommand\@degreetypeen{#2}} \newcommand{\@majorlen}{8em} @@ -386,54 +391,80 @@ BoldItalicFont=timesbi.ttf \begin{center} \linespread{1.25} \yihao\heiti\@title\\ - \yihao\heiti\@subtitle + \yihao\heiti\@subtitle\\ + \ifengineering + {\sanhao\zhongsong\ (\sanhao\zhongsong\thesisformpre } + {\sanhao\zhongsong\@thesisform)} + \else + \vspace*{0.5\baselineskip} + \fi \end{center} \end{minipage} + + \ifengineering + \vspace*{1\baselineskip} + \else + \fi \hspace*{20.5cm} \begin{minipage}{16cm} \begin{center} \setlength{\tabcolsep}{0pt} - \renewcommand{\arraystretch}{2.0} + \renewcommand{\arraystretch}{1.7} \begin{tabular}{cr} - \makebox[3.5cm][s]{\xiaoerhao\songti\authorpre: } & + \makebox[3.5cm][s]{\xiaoerhao\songti\authorpre\textbf{:} } & \underline{\makebox[6cm][s]{ \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\heiti\@author} + \makebox[2.5cm][c]{\xiaoerhao\heiti\textbf{\@author}} \makebox[2cm][r]{}}} \\ - \makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre: } & + \makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre\textbf{:} } & \underline{\makebox[6cm][s]{ \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\heiti\@advisorname} - \makebox[2cm][r]{\xiaoerhao\heiti\@advisortitle}}} + \makebox[2.5cm][c]{\xiaoerhao\heiti\textbf{\@advisorname}} + \makebox[2cm][r]{\xiaoerhao\heiti\textbf{\@advisortitle}}}} \\ & \ifcoadvisor \underline{\makebox[6cm][s]{ \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\heiti\@coadvisorname} - \makebox[2cm][r]{\xiaoerhao\heiti\@coadvisortitle}}} + \makebox[2.5cm][c]{\xiaoerhao\heiti\textbf{\@coadvisorname}} + \makebox[2cm][r]{\xiaoerhao\heiti\textbf{\@coadvisortitle}}}} \else \fi \\ \end{tabular} \end{center} \end{minipage} + \ifengineering + \vspace*{0.5\baselineskip} + \else + \fi + \hspace*{20.5cm} \begin{minipage}{16cm} \begin{center} \setlength{\tabcolsep}{10pt} - \renewcommand{\arraystretch}{2.0} + \renewcommand{\arraystretch}{1.7} \begin{tabular}{ll} - \CoverBottomOption{\appdegreepre}{\@degreetype} & - \CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\ - \CoverBottomOption{\majorpre}{\@major} & - \CoverBottomOption{\defenddatepre}{\@defenddate}\\ - \CoverBottomOption{\submajorpre}{\@submajor} & - \CoverBottomOption{\authorizedatepre}{\@authorizedate}\\ - \CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} & - \CoverBottomOption{\reviewerpre}{\@reviewerA}\\ - & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} + \CoverBottomOption{\appdegreepre}{\textbf{\@degreetype}} & + \CoverBottomOption{\authorizeorganizationpre}{\textbf{\@authorizeorganization}} \\ + \ifengineering + \CoverBottomOption{\fieldpre}{\textbf{\@major}} + \else + \CoverBottomOption{\majorpre}{\textbf{\@major}} + \fi + & + \CoverBottomOption{\defenddatepre}{\textbf{\@defenddate}}\\ + \ifengineering + \CoverBottomOption{\directionpre}{\textbf{\@submajor}} + \else + \CoverBottomOption{\submajorpre}{\textbf{\@submajor}} + \fi + & + \CoverBottomOption{\authorizedatepre}{\textbf{\@authorizedate}}\\ + \CoverBottomOption[4.05cm]{\committeechairpre}{\textbf{\@committeechair}} & + \CoverBottomOption{\reviewerpre}{\textbf{\@reviewerA}}\\ + & \CoverBottomOption{\makebox[2.55cm]{}}{\textbf{\@reviewerB}} \end{tabular} \end{center} \end{minipage} @@ -477,10 +508,10 @@ BoldItalicFont=timesbi.ttf } \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,23){% - \parbox{\paperwidth}{\centering\includegraphics[width=\paperwidth]{figures/front-cover.jpg}}}}% + \parbox{\paperwidth}{\centering\includegraphics[width=0.8\paperwidth]{figures/front-cover.jpg}}}}% \ifengineering - \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ % + \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,17.5){ % \parbox{\paperwidth}{\centering\includegraphics[scale=0.65]{figures/engineering.png}}}}% \else \ifmasters \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(0,18){ % @@ -497,38 +528,43 @@ BoldItalicFont=timesbi.ttf \fi - \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){% - \parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}% + % \AddToShipoutPictureBG*{\setlength{\unitlength}{1cm}\put(17,27){% + % \parbox{\paperwidth}{\includegraphics[width=2cm]{figures/seu-color-logo.png}}}}% - \vspace*{8cm} + \vspace*{10cm} \begin{center} \linespread{1.25} \yihao\heiti\@title\\ - \yihao\heiti\@subtitle + \yihao\heiti\@subtitle\\ + \ifengineering + {\sanhao\zhongsong\ (\sanhao\zhongsong\thesisformpre } + {\sanhao\zhongsong\@thesisform)} + \else + \fi \end{center} \begin{center} \setlength{\tabcolsep}{0pt} - \renewcommand{\arraystretch}{2.0} + \renewcommand{\arraystretch}{1.7} \begin{tabular}{cr} - \makebox[3.5cm][s]{\xiaoerhao\songti\authorpre: } & + \makebox[3.5cm][s]{\xiaoerhao\songti\authorpre\textbf{:} } & \underline{\makebox[6cm][s]{ \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\heiti\@author} + \makebox[2.5cm][c]{\xiaoerhao\heiti\textbf{\@author}} \makebox[2cm][r]{}}} \\ - \makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre: } & + \makebox[3.5cm][s]{\xiaoerhao\songti\advisorpre\textbf{:} } & \underline{\makebox[6cm][s]{ \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\heiti\@advisorname} - \makebox[2cm][r]{\xiaoerhao\heiti\@advisortitle}}} + \makebox[2.5cm][c]{\xiaoerhao\heiti\textbf{\@advisorname}} + \makebox[2cm][r]{\xiaoerhao\heiti\textbf{\@advisortitle}}}} \\ & \ifcoadvisor \underline{\makebox[6cm][s]{ \hspace*{1cm} - \makebox[2.5cm][c]{\xiaoerhao\heiti\@coadvisorname} - \makebox[2cm][r]{\xiaoerhao\heiti\@coadvisortitle}}} + \makebox[2.5cm][c]{\xiaoerhao\heiti\textbf{\@coadvisorname}} + \makebox[2cm][r]{\xiaoerhao\heiti\textbf{\@coadvisortitle}}}} \else \fi \\ \end{tabular} @@ -536,17 +572,27 @@ BoldItalicFont=timesbi.ttf \begin{center} \setlength{\tabcolsep}{10pt} - \renewcommand{\arraystretch}{2.0} + \renewcommand{\arraystretch}{1.7} \begin{tabular}{ll} - \CoverBottomOption{\appdegreepre}{\@degreetype} & - \CoverBottomOption{\authorizeorganizationpre}{\@authorizeorganization} \\ - \CoverBottomOption{\majorpre}{\@major} & - \CoverBottomOption{\defenddatepre}{\@defenddate}\\ - \CoverBottomOption{\submajorpre}{\@submajor} & - \CoverBottomOption{\authorizedatepre}{\@authorizedate}\\ - \CoverBottomOption[4.05cm]{\committeechairpre}{\@committeechair} & - \CoverBottomOption{\reviewerpre}{\@reviewerA}\\ - & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} + \CoverBottomOption{\appdegreepre}{\textbf{\@degreetype}} & + \CoverBottomOption{\authorizeorganizationpre}{\textbf{\@authorizeorganization}} \\ + \ifengineering + \CoverBottomOption{\fieldpre}{\textbf{\@major}} + \else + \CoverBottomOption{\majorpre}{\textbf{\@major}} + \fi + & + \CoverBottomOption{\defenddatepre}{\textbf{\@defenddate}}\\ + \ifengineering + \CoverBottomOption{\directionpre}{\textbf{\@submajor}} + \else + \CoverBottomOption{\submajorpre}{\textbf{\@submajor}} + \fi + & + \CoverBottomOption{\authorizedatepre}{\textbf{\@authorizedate}}\\ + \CoverBottomOption[4.05cm]{\committeechairpre}{\textbf{\@committeechair}} & + \CoverBottomOption{\reviewerpre}{\textbf{\@reviewerA} \quad \textbf{\@reviewerB}}\\ + % & \CoverBottomOption{\makebox[2.55cm]{}}{\@reviewerB} \end{tabular} \end{center} @@ -562,11 +608,15 @@ BoldItalicFont=timesbi.ttf \includegraphics[height=0.63in]{figures/seu-text-logo} - \ifmasters + \ifengineering + \vspace*{0.5\baselineskip} + \includegraphics[width=0.75\textwidth]{figures/engineering.png} + \else \ifmasters \includegraphics{figures/master-hwzs} \else \includegraphics{figures/doctor-hwzs} \fi + \fi \vspace{31.5pt} \yihao\heiti\@title\@thesisthanks\\ @@ -576,15 +626,15 @@ BoldItalicFont=timesbi.ttf { \setlength{\tabcolsep}{0pt} \begin{tabular}{cc} - \makebox[3.5cm][s]{\xiaoerhao\heiti{}专~~业~~名~~称: } & + \makebox[3.5cm][s]{\xiaoerhao\heiti{}专~~业~~名~~称\textbf{:} } & \underline{\makebox[6cm][s]{ - \xiaoerhao\songti\textbf{\@major} }} \\ + \xiaoerhao\heiti\textbf{\@major} }} \\ \\ - \makebox[3.5cm][s]{ \xiaoerhao\heiti\authorpre: } & + \makebox[3.5cm][s]{ \xiaoerhao\heiti\authorpre\textbf{:} } & \underline{\makebox[6cm][s]{ \xiaoerhao\songti\textbf{\@author} }} \\ \\ - \makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre: } & + \makebox[3.5cm][s]{ \xiaoerhao\heiti\advisorpre\textbf{:} } & \underline{\makebox[6cm][s]{ \xiaoerhao\songti\textbf{\@advisorname\quad\@advisortitle}}} \\ @@ -622,7 +672,11 @@ BoldItalicFont=timesbi.ttf \fi submitted to}\\ {\universitynameeng}\\ - {For the Academic Degree of \@degreetypeen}\\ + \ifengineering + {For the Professional Degree of \@degreetypeen}\\ + \else + {For the Academic Degree of \@degreetypeen}\\ + \fi {\vspace{0.5in}}% {BY}\\ {\@authoreng}\\ diff --git a/config/seuthesix.cfg b/config/seuthesix.cfg old mode 100644 new mode 100755 index 4b383db..f1ec781 --- a/config/seuthesix.cfg +++ b/config/seuthesix.cfg @@ -26,11 +26,14 @@ \newcommand{\secretlevelpre}{密级} \newcommand{\categorynumberpre}{分类号} \newcommand{\studentidpre}{学号} +\newcommand{\thesisformpre}{学位论文形式:} \newcommand{\authorpre}{研究生姓名} \newcommand{\advisorpre}{导~~师~~姓~~名} \newcommand{\appdegreepre}{申请学位类别} \newcommand{\majorpre}{一级学科名称} \newcommand{\submajorpre}{二级学科名称} +\newcommand{\fieldpre}{工程领域名称} +\newcommand{\directionpre}{研~~~~究~~~~方~~~~向} \newcommand{\defenddatepre}{论文答辩日期} \newcommand{\authorizeorganizationpre}{学位授予单位} \newcommand{\@authorizeorganization}{~~东~南~大~学~~} diff --git a/seuthesiY.tex b/seuthesiY.tex index ffd2768..27623d2 100644 --- a/seuthesiY.tex +++ b/seuthesiY.tex @@ -1,4 +1,4 @@ -\documentclass[algorithmlist, figurelist,tablelist, nomlist,phd]{config/seuthesiY} +\documentclass[algorithmlist, figurelist,tablelist, nomlist, engineering, AutoFakeBold]{config/seuthesiY} %=============================================================================== % 采用的编译方式为 XELATEX -→ BIBER -→ XELATEX -→ XELATEX