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
7bee49e0
Commit
7bee49e0
authored
3 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
style: 格式更新
parent
1493567d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
njuthesis.tex
+13
-10
13 additions, 10 deletions
njuthesis.tex
profile/cover.sty
+1
-1
1 addition, 1 deletion
profile/cover.sty
profile/page.sty
+68
-1
68 additions, 1 deletion
profile/page.sty
with
82 additions
and
12 deletions
njuthesis.tex
+
13
−
10
View file @
7bee49e0
...
...
@@ -19,7 +19,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass
[
titlelength=2,
% 选择标题行数,范围是1~3
secondmentor=true,
% 无第二导师请注释此项
%
secondmentor=true,% 无第二导师请注释此项
nlcover=true,
% 需要国家图书馆封面,对本科无效
degree=ug,
% ug: 本科, mg: 学硕, mf: 专硕, phd: 博士
type=thesis,
% thesis: 毕业论文,design: 毕业设计
...
...
@@ -30,16 +30,17 @@
% 设置个人信息
\njusetup
{
% 本科生无需填写的项目已被特别标注
% 注意不要有空行,否则可能报错
info =
{
% 题目
TitleA = 一种使用南京大学
\hologo
{
LaTeX
}
模版,
TitleB = 编写毕业论文的经验性方法,
% TitleC = 没有第三行就不用填这个哦
,
TitleEN = An~Empirical~Way~of~Composing~Thesis~with~NJU~
\hologo
{
LaTeX
}
~Template,
%注意
英文名中
空格必须替换为波浪线
% TitleC =
, %
没有第三行就不用填这个哦
TitleEN = An~Empirical~Way~of~Composing~Thesis~with~NJU~
\hologo
{
LaTeX
}
~Template,
%
注意空格必须替换为波浪线
% 姓名学号
Grade = 2018,
StudentID = 189114514,
%
dz18114514,
StudentID = 189114514,
%
dz18114514,
StudentName = 周煜华,
StudentNameEN = Zhou~Yuhua,
% 院系专业
...
...
@@ -47,28 +48,28 @@
DepartmentEN = School~of~
\hologo
{
LaTeX
}
,
Major = 拉太赫语言学,
MajorEN =
\hologo
{
LaTeX
}
~Linguistics,
Field = 拉太赫语言在现当代的使用,
FieldEN = Contemporary~Usage~of~the~
\hologo
{
LaTeX
}
~Language,
Field = 拉太赫语言在现当代的使用,
% 研究生项
FieldEN = Contemporary~Usage~of~the~
\hologo
{
LaTeX
}
~Language,
% 研究生项
% 导师
MentorA = 李成殿,
MentorAEN= Li~Chengdian,
MentorATitle = 教授,
MentorATitleEN = Professor,
% 第二导师
% 第二导师
,如无则忽略
MentorB = 孙赫弥,
MentorBEN = Sun~Hemi,
MentorBTitle = 副教授,
MentorBTitleEN = Associate professor,
% 提交日期
SubmitDate = 2021年8月10日,
% 答辩
% 答辩
,均为研究生项
DefendDate = 2021年9月19日,
ReviewerChairman = 张晓山~教授,
ReviewerA = 王瑞希~教授,
ReviewerB = 郭德纲~副教授,
ReviewerC =
胡
芈库~教授,
ReviewerC =
华
芈库~教授,
ReviewerD = 戴菲菲~教授,
% 国家图书馆封面相关
% 国家图书馆封面相关
,均为研究生项
Classification = 0175.2,
SecurityLevel = 限制,
UDC = 004.72,
...
...
@@ -91,6 +92,8 @@
\input
{
chapters/Preface.tex
}
\tableofcontents
\listoffigures
% 生成图片清单
\listoftables
% 生成表格清单
%-------------------------------------------------
% 正文部分
...
...
This diff is collapsed.
Click to expand it.
profile/cover.sty
+
1
−
1
View file @
7bee49e0
...
...
@@ -72,7 +72,7 @@
}
% 研究生学位分类
\str
_
case
_
e:n
n
{
\nju
_
degree
}
\str
_
case
:N
n
{
\nju
_
degree
}
{
{
mg
}
{
\tl
_
const:Nn
\nju
_
degree
_
title
{
硕士
}
}
{
mf
}
{
\tl
_
const:Nn
\nju
_
degree
_
title
{
硕士专业
}
}
...
...
This diff is collapsed.
Click to expand it.
profile/page.sty
+
68
−
1
View file @
7bee49e0
...
...
@@ -68,6 +68,7 @@
{
\hspace*
{
-4em
}}
{
~
\titlerule*
[0.6pc]
{$
.
$}
~
\contentspage
}
% TODO: 简化目录格式修改
\tl
_
set:Nn
\tableofcontents
{
%
\if
@twocolumn
...
...
@@ -87,7 +88,7 @@
\chapter*
{
目
\hspace
{
2em
}
录
}
%
% \pdfbookmark[0]{目录}{目录} % 将目录页插入pdf书签
\addcontentsline
{
toc
}{
chapter
}{
目录
}
\addcontentsline
{
toc
}{
chapter
}{
\contentsname
}
% \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@
starttoc
{
toc
}
%
\if
@restonecol
\twocolumn\fi
...
...
@@ -101,6 +102,72 @@
}
}
}
\tl
_
set:Nn
\listoffigures
{
%
\if
@twocolumn
\@
restonecoltrue
\onecolumn
\else
\@
restonecolfalse
\fi
% 修改目录标题字体
\ctexset
{
chapter =
{
format =
\songti\bf\zihao
{
3
}
\centering
,
beforeskip = 10pt,
afterskip = 40pt,
}
}
\chapter*
{
插图清单
}
%
% \pdfbookmark[0]{目录}{目录} % 将目录页插入pdf书签
\addcontentsline
{
toc
}{
chapter
}{
\listfigurename
}
% \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@
starttoc
{
lot
}
%
\if
@restonecol
\twocolumn\fi
% 恢复正常章节标题字体
\ctexset
{
chapter =
{
format =
\zihao
{
4
}
\heiti\centering
,
beforeskip = 10pt,
afterskip = 60pt,
}
}
}
\tl
_
set:Nn
\listoftables
{
%
\if
@twocolumn
\@
restonecoltrue
\onecolumn
\else
\@
restonecolfalse
\fi
% 修改目录标题字体
\ctexset
{
chapter =
{
format =
\songti\bf\zihao
{
3
}
\centering
,
beforeskip = 10pt,
afterskip = 40pt,
}
}
\chapter*
{
表格清单
}
%
% \pdfbookmark[0]{目录}{目录} % 将目录页插入pdf书签
\addcontentsline
{
toc
}{
chapter
}{
\listtablename
}
% \@mkboth{\MakeUppercase\contentsname}{\MakeUppercase\contentsname}%
\@
starttoc
{
lot
}
%
\if
@restonecol
\twocolumn\fi
% 恢复正常章节标题字体
\ctexset
{
chapter =
{
format =
\zihao
{
4
}
\heiti\centering
,
beforeskip = 10pt,
afterskip = 60pt,
}
}
}
% 定制前言、致谢环境
\newenvironment
{
preface
}
...
...
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