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
Danson Liao
NJUThesis
Commits
135af12f
Commit
135af12f
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
refactor: 使用NNTF代替eeTF以提升编译速度
parent
7df4c330
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
profile/abstract.sty
+2
-2
2 additions, 2 deletions
profile/abstract.sty
profile/cover.sty
+3
-3
3 additions, 3 deletions
profile/cover.sty
with
5 additions
and
5 deletions
profile/abstract.sty
+
2
−
2
View file @
135af12f
\ProvidesExplPackage
{
profile/abstract
}{
2021-09-11
}{
0.7.0
}{
NJU Thesis abstract design
}
% 判断学位
\str
_
if
_
eq:
ee
TF
{
\nju
_
degree
}
{
ug
}
\str
_
if
_
eq:
NN
TF
{
\nju
_
degree
}
{
ug
}
{
% 本科摘要环境
\NewDocumentEnvironment
{
abstract
}
{}
...
...
@@ -87,7 +87,7 @@
\noindent
毕业论文题目:
\hspace
{
0.5em
}
\nju
_
underline:n
{
\nju
_
title
\hfill
}
\\
\uline
{
\makebox
[9em]
{
\nju
_
major
}}
专业
\uline
{
\makebox
[4em]
{
\nju
_
grade
}}
级
\str
_
if
_
eq:
ee
TF
{
\nju
_
degree
}
{
d
}
{
博
}{
硕
}
\str
_
if
_
eq:
NN
TF
{
\nju
_
degree
}
{
d
}
{
博
}{
硕
}
士生姓名:
\uline
{
\hfill\nju
_
student
_
name
\hfill
}
\\
指导教师(姓名、职称):
\uline
{
\hfill\nju
_
mentor
_
full
\hfill
}
\par
\egroup
...
...
This diff is collapsed.
Click to expand it.
profile/cover.sty
+
3
−
3
View file @
135af12f
...
...
@@ -29,7 +29,7 @@
}
% 判断学位进行命令定义
\str
_
if
_
eq:
ee
TF
{
\nju
_
degree
}
{
ug
}
\str
_
if
_
eq:
NN
TF
{
\nju
_
degree
}
{
ug
}
{
% 本科
\tl
_
const:Nn
\nju
_
degree
_
name
{
本
\hfill
科
\hfill
}
...
...
@@ -81,7 +81,7 @@
}
% 判断类型
\str
_
if
_
eq:
ee
TF
{
\nju
_
type
}
{
thesis
}
\str
_
if
_
eq:
NN
TF
{
\nju
_
type
}
{
thesis
}
{
\tl
_
const:Nn
\nju
_
type
_
name
{
\nju
_
degree
_
name 毕
\hfill
业
\hfill
论
\hfill
文
}
...
...
@@ -350,7 +350,7 @@
% 重定义maketitle生成封面
\RenewDocumentCommand
\maketitle
{}
{
%
\str
_
if
_
eq:
ee
TF
{
\nju
_
degree
}
{
ug
}
\str
_
if
_
eq:
NN
TF
{
\nju
_
degree
}
{
ug
}
{
\nju
_
printcover
_
ug
}
% 本科封面
{
\nju
_
printcover
_
g
}
% 研究生封面
}
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