Skip to content
Snippets Groups Projects
Commit bd12e92a authored by Yichen Zhao's avatar Yichen Zhao
Browse files

支持英文,使用times new roman

parent 06ba9137
No related branches found
No related tags found
No related merge requests found
......@@ -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
\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}
% 无页眉页脚
......
......@@ -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
}
......
......@@ -19,4 +19,6 @@
}
}
\ No newline at end of file
}
\setmainfont{Times New Roman}%Times New Roman
\ No newline at end of file
......@@ -8,7 +8,7 @@
\RequirePackage{graphicx}
\RequirePackage{ulem}
\RequirePackage{setspace}
\RequirePackage{l3keys2e}
\RequirePackage{fontspec}
\RequirePackage[hidelinks]{hyperref}
\DeclareGraphicsExtensions{.pdf,.eps,.jpg,.png}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment