Skip to content

Commit

Permalink
Merge pull request #348 from BITNP/add-chinese-abstract-in-UTE
Browse files Browse the repository at this point in the history
fix: add Chinese abstract section.
  • Loading branch information
fky2015 authored May 23, 2023
2 parents 9b348a3 + 55cd7d2 commit 8fed2db
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 10 deletions.
12 changes: 10 additions & 2 deletions bithesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -4406,8 +4406,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}
}
}
}

Expand Down
12 changes: 10 additions & 2 deletions templates/graduate-thesis/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
}
}

Expand Down
12 changes: 10 additions & 2 deletions templates/paper-translation/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
}
}

Expand Down
12 changes: 10 additions & 2 deletions templates/undergraduate-thesis-en/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
}
}

Expand Down
12 changes: 12 additions & 0 deletions templates/undergraduate-thesis-en/chapters/0_abstract.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions templates/undergraduate-thesis-en/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
author = Feng Kaiyu,
studentId = 11xxxxxxxx,
supervisor = Alex Zhang,
keywords = {北京理工大学;本科生;毕业设计(论文)},
keywordsEn = {Computer-Aided Design; FEM; CAM},
% 如果你的毕设为校外毕设,请将下面这一行语句解除注释(删除第一个百分号字符)并填写你的校外毕设导师名字
% externalSupervisor = 左偏树,
Expand Down
12 changes: 10 additions & 2 deletions templates/undergraduate-thesis/bithesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -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}
}
}
}

Expand Down

0 comments on commit 8fed2db

Please sign in to comment.