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
Iterations
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
NJU LUG
NJU LaTeX Templates
NJUThesis
Commits
4b843188
Commit
4b843188
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
style: 将一些不需要换行的下划线用普通uline命令改写
parent
63783f7c
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
+3
-3
3 additions, 3 deletions
profile/abstract.sty
profile/cover.sty
+15
-12
15 additions, 12 deletions
profile/cover.sty
with
18 additions
and
15 deletions
profile/abstract.sty
+
3
−
3
View file @
4b843188
...
...
@@ -69,7 +69,7 @@
}
}
{
% 摘要环境
%
研究生
摘要环境
\NewDocumentEnvironment
{
abstract
}
{}
{
%
\pagestyle
{
plain
}
...
...
@@ -85,8 +85,8 @@
\tl
_
set:Nn
\tabcolsep
{
0pt
}
\tl
_
set:Nn
\arraystretch
{
0.8
}
\noindent
毕业论文题目:
\
\nju
_
underline:n
{
\nju
_
title
\hfill
}
\\
\uline
{
\makebox
[9em]
{
\nju
_
major
}}
专业
\uline
{
\makebox
[
3
em]
{
\nju
_
grade
}}
级
毕业论文题目:
\
hspace
{
0.5em
}
\nju
_
underline:n
{
\nju
_
title
\hfill
}
\\
\uline
{
\makebox
[9em]
{
\nju
_
major
}}
专业
\uline
{
\makebox
[
4
em]
{
\nju
_
grade
}}
级
\str
_
if
_
eq:eeTF
{
\nju
_
degree
}
{
d
}
{
博
}{
硕
}
士生姓名:
\uline
{
\hfill\nju
_
student
_
name
\hfill
}
\\
指导教师(姓名、职称):
\uline
{
\hfill\nju
_
mentor
_
full
\hfill
}
\par
...
...
This diff is collapsed.
Click to expand it.
profile/cover.sty
+
15
−
12
View file @
4b843188
...
...
@@ -37,7 +37,7 @@
% 封面下划线
\cs
_
new:Npn
\nju
_
cover
_
underline
_
ug:nn #1 #2
{
\
nju
_
under
line
:n
{
\makebox
[#1]
{
\rm\songti
#2
}}
\
u
line
{
\makebox
[#1]
{
\rm\songti
#2
}}
}
% 封面表格边框
...
...
@@ -53,7 +53,7 @@
% 封面下划线
\cs
_
new:Npn
\nju
_
cover
_
underline
_
g:n #1
{
\
nju
_
under
line
:n
{
\makebox
[215pt]
{
\rm\kaishu
#1
}}
\
u
line
{
\makebox
[215pt]
{
\rm\kaishu
#1
}}
}
% 封面表格边框
...
...
@@ -74,7 +74,7 @@
% 封面下划线
\cs
_
new:Npn
\nju
_
cover
_
underline
_
nlc:nn #1 #2
{
\
nju
_
under
line
:n
{
\makebox
[#1]
{
#2
}}
\
u
line
{
\makebox
[#1]
{
#2
}}
}
}
}
...
...
@@ -93,7 +93,8 @@
% 封面信息栏 本科
\tl
_
new:N
\nju
_
printcoverinfo
_
ug
\tl
_
set:Nn
\nju
_
printcoverinfo
_
ug
{
\tl
_
set:Nn
\nju
_
printcoverinfo
_
ug
{
\begin{tabular}
{
p
{
4.2em
}
c
}
\nju
_
coverbox
_
ug:n
{
院
\hfill
系
}
&
\nju
_
cover
_
underline
_
ug:nn
{
250pt
}{
\nju
_
department
}
\\
...
...
@@ -153,7 +154,8 @@
% 封面信息栏 研究生
\tl
_
new:N
\nju
_
printcoverinfo
_
g
\tl
_
set:Nn
\nju
_
printcoverinfo
_
g
{
\tl
_
set:Nn
\nju
_
printcoverinfo
_
g
{
\begin{tabular}
{
p
{
6em
}
c
}
% 标题换行
\int
_
case:nn
{
\nju
_
titlelength
}
...
...
@@ -218,27 +220,28 @@
\vskip
\stretch
{
1
}
{
\kaishu\zihao
{
4
}
(题名和副题名)
}
\vskip
\stretch
{
1
}
{
\kaishu\zihao
{
1
}
\
nju
_
under
line
:n
{
\makebox
{
\nju
_
student
_
name
}}}
{
\kaishu\zihao
{
1
}
\
u
line
{
\makebox
{
\nju
_
student
_
name
}}}
\vskip
\stretch
{
1
}
{
\kaishu\zihao
{
4
}
(作者姓名)
}
\end{center}
% 底部
\vskip\stretch
{
1
}
{
\kaishu\zihao
{
4
}
{
\kaishu\zihao
{
4
}
\noindent
指导教师姓名、职务、职称、学位、单位名称及地址
%
\nju
_
cover
_
underline
_
nlc:nn
{
94pt
}{
\nju
_
mentor
_
a
}
\par
\noindent\nju
_
cover
_
underline
_
nlc:nn
{
\textwidth
}{
%
\nju
_
mentor
_
info
}
\par
\noindent
申请学位级别
%
\nju
_
cover
_
underline
_
nlc:nn
{
8
em
}{
\nju
_
degree
_
title
}
%
\nju
_
cover
_
underline
_
nlc:nn
{
9
em
}{
\nju
_
degree
_
title
}
%
\noindent
专业名称
%
\
nju
_
under
line
:n
{
\hfill\nju
_
major
\hfill
}
\par
% 需要调整下划线长度
\
u
line
{
\hfill\nju
_
major
\hfill
}
\par
% 需要调整下划线长度
\noindent
论文提交日期
%
\nju
_
cover
_
underline
_
nlc:nn
{
8
em
}{
\nju
_
submit
_
date
}
%
\nju
_
cover
_
underline
_
nlc:nn
{
9
em
}{
\nju
_
submit
_
date
}
%
论文答辩日期
%
\
nju
_
under
line
:n
{
\hfill\nju
_
defend
_
date
\hfill
}
\par
% 需要调整下划线长度
\noindent
学位授予单位和日期
\
nju
_
under
line
:n
{
\hfill
}
\par
\
u
line
{
\hfill\nju
_
defend
_
date
\hfill
}
\par
% 需要调整下划线长度
\noindent
学位授予单位和日期
\
u
line
{
\hfill
}
\par
\noindent\hfill
答辩委员会主席:
%
\nju
_
cover
_
underline
_
nlc:nn
{
9em
}{
\nju
_
reviewer
_
chairman
}
\par
\noindent\hfill
评阅人:
%
...
...
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