From 55cd7d28413371c6ed10181b5ef24cc0b000d1cc Mon Sep 17 00:00:00 2001 From: Feng Kaiyu Date: Sun, 21 May 2023 15:41:47 +0800 Subject: [PATCH] fix: add Chinese abstract section. --- bithesis.dtx | 12 ++++++++++-- templates/graduate-thesis/bithesis.cls | 12 ++++++++++-- templates/paper-translation/bithesis.cls | 12 ++++++++++-- templates/undergraduate-thesis-en/bithesis.cls | 12 ++++++++++-- .../undergraduate-thesis-en/chapters/0_abstract.tex | 12 ++++++++++++ templates/undergraduate-thesis-en/main.tex | 1 + templates/undergraduate-thesis/bithesis.cls | 12 ++++++++++-- 7 files changed, 63 insertions(+), 10 deletions(-) diff --git a/bithesis.dtx b/bithesis.dtx index a59ed69b..eac53eaa 100644 --- a/bithesis.dtx +++ b/bithesis.dtx @@ -4398,8 +4398,16 @@ } \@@_if_bachelor_thesis:T { - \ctexset{ - chapter/titleformat = {\textmd} + \int_compare:nNnTF {\g_@@_thesis_type_int} = {3} + { + \ctexset{ + chapter/titleformat = {\heiti} + } + } + { + \ctexset{ + chapter/titleformat = {\textmd} + } } } diff --git a/templates/graduate-thesis/bithesis.cls b/templates/graduate-thesis/bithesis.cls index c80beb14..332c1be5 100644 --- a/templates/graduate-thesis/bithesis.cls +++ b/templates/graduate-thesis/bithesis.cls @@ -1823,8 +1823,16 @@ } \__bithesis_if_bachelor_thesis:T { - \ctexset{ - chapter/titleformat = {\textmd} + \int_compare:nNnTF {\g__bithesis_thesis_type_int} = {3} + { + \ctexset{ + chapter/titleformat = {\heiti} + } + } + { + \ctexset{ + chapter/titleformat = {\textmd} + } } } diff --git a/templates/paper-translation/bithesis.cls b/templates/paper-translation/bithesis.cls index c80beb14..332c1be5 100644 --- a/templates/paper-translation/bithesis.cls +++ b/templates/paper-translation/bithesis.cls @@ -1823,8 +1823,16 @@ } \__bithesis_if_bachelor_thesis:T { - \ctexset{ - chapter/titleformat = {\textmd} + \int_compare:nNnTF {\g__bithesis_thesis_type_int} = {3} + { + \ctexset{ + chapter/titleformat = {\heiti} + } + } + { + \ctexset{ + chapter/titleformat = {\textmd} + } } } diff --git a/templates/undergraduate-thesis-en/bithesis.cls b/templates/undergraduate-thesis-en/bithesis.cls index c80beb14..332c1be5 100644 --- a/templates/undergraduate-thesis-en/bithesis.cls +++ b/templates/undergraduate-thesis-en/bithesis.cls @@ -1823,8 +1823,16 @@ } \__bithesis_if_bachelor_thesis:T { - \ctexset{ - chapter/titleformat = {\textmd} + \int_compare:nNnTF {\g__bithesis_thesis_type_int} = {3} + { + \ctexset{ + chapter/titleformat = {\heiti} + } + } + { + \ctexset{ + chapter/titleformat = {\textmd} + } } } diff --git a/templates/undergraduate-thesis-en/chapters/0_abstract.tex b/templates/undergraduate-thesis-en/chapters/0_abstract.tex index 331ab056..f3db2468 100644 --- a/templates/undergraduate-thesis-en/chapters/0_abstract.tex +++ b/templates/undergraduate-thesis-en/chapters/0_abstract.tex @@ -21,6 +21,18 @@ % % https://github.com/BITNP/BIThesis +\begin{abstract} + Conventional product development employs a design-build-test philosophy. + The sequentially executed development process often results in prolonged + lead times and elevated product costs. The proposed e-Design paradigm employs + IT-enabled technology for product design, including virtual prototyping (VP) to + support a cross-functional team in analyzing product performance, reliability, + and manufacturing costs early in product development, and in making quantitative + trade-offs for design decision making. Physical prototypes of the product design + are then produced using the rapid prototyping (RP) technique and computer + numerical control (CNC) to support design verification and functional prototyping, respectively. +\end{abstract} + \begin{abstractEn} Conventional product development employs a design-build-test philosophy. The sequentially executed development process often results in prolonged diff --git a/templates/undergraduate-thesis-en/main.tex b/templates/undergraduate-thesis-en/main.tex index 3a4d9dc1..85c7502f 100644 --- a/templates/undergraduate-thesis-en/main.tex +++ b/templates/undergraduate-thesis-en/main.tex @@ -42,6 +42,7 @@ author = Feng Kaiyu, studentId = 11xxxxxxxx, supervisor = Alex Zhang, + keywords = {北京理工大学;本科生;毕业设计(论文)}, keywordsEn = {Computer-Aided Design; FEM; CAM}, % 如果你的毕设为校外毕设,请将下面这一行语句解除注释(删除第一个百分号字符)并填写你的校外毕设导师名字 % externalSupervisor = 左偏树, diff --git a/templates/undergraduate-thesis/bithesis.cls b/templates/undergraduate-thesis/bithesis.cls index c80beb14..332c1be5 100644 --- a/templates/undergraduate-thesis/bithesis.cls +++ b/templates/undergraduate-thesis/bithesis.cls @@ -1823,8 +1823,16 @@ } \__bithesis_if_bachelor_thesis:T { - \ctexset{ - chapter/titleformat = {\textmd} + \int_compare:nNnTF {\g__bithesis_thesis_type_int} = {3} + { + \ctexset{ + chapter/titleformat = {\heiti} + } + } + { + \ctexset{ + chapter/titleformat = {\textmd} + } } }