Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
NJUThesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Yan
NJUThesis
Commits
ec17555c
Commit
ec17555c
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
feature: 更改了封面信息的处理方式,防止英文标题忽略空格
parent
0f711fb1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
coverinfo.sty
+19
-0
19 additions, 0 deletions
coverinfo.sty
njuthesis.cls
+0
-24
0 additions, 24 deletions
njuthesis.cls
njuthesis.tex
+0
-29
0 additions, 29 deletions
njuthesis.tex
profile/profile.cls
+1
-0
1 addition, 0 deletions
profile/profile.cls
with
20 additions
and
53 deletions
coverinfo.sty
0 → 100644
+
19
−
0
View file @
ec17555c
\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
This diff is collapsed.
Click to expand it.
njuthesis.cls
+
0
−
24
View file @
ec17555c
...
...
@@ -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
}}
...
...
This diff is collapsed.
Click to expand it.
njuthesis.tex
+
0
−
29
View file @
ec17555c
\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
% 开始正文部分
...
...
This diff is collapsed.
Click to expand it.
profile/profile.cls
+
1
−
0
View file @
ec17555c
...
...
@@ -4,6 +4,7 @@
\input
{
profile/#1
}
}
\input
{
coverinfo.sty
}
\profile
_
input
{
packages.tex
}
\profile
_
input
{
format.tex
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment