Skip to content
Snippets Groups Projects
Commit ec17555c authored by Yu Xiong's avatar Yu Xiong :confounded:
Browse files

feature: 更改了封面信息的处理方式,防止英文标题忽略空格

parent 0f711fb1
No related branches found
No related tags found
No related merge requests found
\tl_const:Nn \TitleOne {一种使用南京大学LaTeX模版}% 第一行标题
\tl_const:Nn \TitleTwo {编写本科生毕业论文的经验性方法}% 第二行标题
\tl_const:Nn \TitleThree {}% 第三行标题
\tl_const:Nn \Title_EN {An~Empirical~Way~of~Composing~Undergraduate~Thesis~with~NJU~LaTeX~Template}
\tl_const:Nn \Grade {2018}
\tl_const:Nn \StudentID {181114514}
\tl_const:Nn \StudentName {张三}
\tl_const:Nn \StudentName_EN {ZhangSan}
\tl_const:Nn \Department {拉太赫科学与技术学院}
\tl_const:Nn \Department_EN {School of LaTeX}
\tl_const:Nn \Major {拉太赫语言学}
\tl_const:Nn \Major_EN {LaTeX Linguistics}
\tl_const:Nn \Mentor {李四}
\tl_const:Nn \Mentor_EN {LiSi}
\tl_const:Nn \MentorTitle {教授}
\tl_const:Nn \MentorTitle_EN {Professor}
\tl_const:Nn \SubmitDate {2021年8月10日}
\tl_const:Nn \Degree {本科}% 学位
\tl_const:Nn \Type {thesis}% thesis:毕业论文,design:毕业设计
\ No newline at end of file
......@@ -15,30 +15,6 @@
% 输入配置文件
\input{profile/profile.cls}
\DeclareStringOption[1]{TitleLength}
\DeclareStringOption[thesis]{Type}
\DeclareStringOption{Department}
\DeclareStringOption{Department_EN}
\DeclareStringOption{Major}
\DeclareStringOption{Major_EN}
\DeclareStringOption{TitleOne}
\DeclareStringOption{TitleTwo}
\DeclareStringOption{TitleThree}
\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}
% \Title定义需要latex3,暂存于cover.tex
\ProcessKeyvalOptions*
\ifthenelse{\equal{\Type}{thesis}}
......
\documentclass[
TitleLength = 1,% 选择标题行数,范围是1~3
TitleOne = 曲率引擎的研究,% 第一行标题
TitleTwo =,% 第二行标题
TitleThree =,% 第三行标题
Title_EN = Curvature engine research,
Grade = 17,
StudentID = 17184xxx,
StudentName = 张三,
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}
......@@ -30,16 +11,6 @@
\maketitle
\begin{abstract}
模板。
\keywords{驾驶}
\end{abstract}
\begin{englishabstract}
Template。
% 英文关键词。关键词之间用英文半角逗号隔开,末尾无符号。
\englishkeywords{Drive}
\end{englishabstract}
\tableofcontents
% 开始正文部分
......
......@@ -4,6 +4,7 @@
\input{profile/#1}
}
\input{coverinfo.sty}
\profile_input{packages.tex}
\profile_input{format.tex}
......
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