diff --git a/njuthesis.cls b/njuthesis.cls index d116cd942927162a4cee69f680f41cd3bc49d8ad..ae51c81bcc5e0563e55c98b5360665ea7df9c169 100644 --- a/njuthesis.cls +++ b/njuthesis.cls @@ -14,19 +14,24 @@ % 杈撳叆閰嶇疆鏂囦欢 \input{profile/profile.cls} -% \input{profile/packages.tex} \input{njuthesis.cfg} \DeclareStringOption[thesis]{Type} \DeclareStringOption{Department} +\DeclareStringOption{Department_EN} \DeclareStringOption{Major} +\DeclareStringOption{Major_EN} \DeclareStringOption{Title} +\DeclareStringOption{Title_EN} \DeclareStringOption{Grade} \DeclareStringOption{StudentID} \DeclareStringOption{StudentName} +\DeclareStringOption{StudentName_EN} \DeclareStringOption{Mentor} +\DeclareStringOption{Mentor_EN} \DeclareStringOption{MentorTitle} +\DeclareStringOption{MentorTitle_EN} \DeclareStringOption{SubmitDate} \DeclareStringOption[鏈]{Degree} @@ -37,10 +42,5 @@ \newcommand{\typename}{\Degree 姣曚笟璁烘枃} } { - \newcommand{\typename}{\Degree 鏈姣曚笟璁捐} -} - - - - -% \input{njuthesis.cfg} \ No newline at end of file + \newcommand{\typename}{\Degree 姣曚笟璁捐} +} \ No newline at end of file diff --git a/njuthesis.tex b/njuthesis.tex index 15ce966785e3eed0488370bd510ef0599e110bcc..0dfa7bec2017972c2444cb6b17605b4e012ef3ee 100644 --- a/njuthesis.tex +++ b/njuthesis.tex @@ -1,15 +1,23 @@ \documentclass[ - Title = 123, %鏍囬 + Title = 鏇茬巼寮曟搸鐨勭爺绌�, %鏍囬 + Title_EN = Curvature engine research, Grade = 17, StudentID = 17184xxx, StudentName = 寮犱笁, - Department = 楂樿揪瀛﹂櫌, - Major = 椹鹃┒瀛�, + StudentName_EN = ZhangSan, + Department = 鏈潵瀛﹂櫌, + Department_EN = School of future, + Major = 鏈潵瀛�, + Major_EN = Future, Mentor = 鏉庡洓, + Mentor_EN = LiSi, MentorTitle = 鏁欐巿, + MentorTitle_EN = Professor SubmitDate = 2077骞�12鏈�31鏃�, Degree = 鏈, %瀛︿綅 + Type = thesis % thesis锛氭瘯涓氳鏂囷紝design:姣曚笟璁捐 ]{njuthesis} + \addbibresource{njuthesis.bib} % 鏃犻〉鐪夐〉鑴� diff --git a/profile/format/abstract.tex b/profile/format/abstract.tex index 8bb6c123d409cd9605c7edd644689e5ff410b956..995699b1229e44bfccf9a2e5c554f2f1c3cc8759 100644 --- a/profile/format/abstract.tex +++ b/profile/format/abstract.tex @@ -36,11 +36,11 @@ \end{center} { \bgroup - THESIS: \Title \\ - DEPARTMENT: \Department \\ - SPECIALIZATION: \Major \\ - UNDERGRADUATE: \StudentName \\ - MENTOR: \Mentor \\ + THESIS: ~~\Title_EN \\ + DEPARTMENT: ~~\Department_EN \\ + SPECIALIZATION: ~~\Major_EN \\ + UNDERGRADUATE:~~\StudentName_EN \\ + MENTOR:~~\Mentor_EN \\ ABSTRACT: \egroup } diff --git a/profile/format/font.tex b/profile/format/font.tex index 9b58a8181d0c5aad5500064e15015dc63880861a..93cec0f9d3e333516c020febab2ac12dde209f41 100644 --- a/profile/format/font.tex +++ b/profile/format/font.tex @@ -19,4 +19,6 @@ } -} \ No newline at end of file +} + +\setmainfont{Times New Roman}%Times New Roman \ No newline at end of file diff --git a/profile/packages.tex b/profile/packages.tex index 35e6fc1d2e92a4e68495702250b8622d7cb1623f..185dd56e771c34a66b38b9b00843a10064ff265b 100644 --- a/profile/packages.tex +++ b/profile/packages.tex @@ -8,7 +8,7 @@ \RequirePackage{graphicx} \RequirePackage{ulem} \RequirePackage{setspace} -\RequirePackage{l3keys2e} +\RequirePackage{fontspec} \RequirePackage[hidelinks]{hyperref} \DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}