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
d1d0919c
Commit
d1d0919c
authored
2 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
fix: 修复英文关键词列表不整齐的缩进间距
- 删除空白模板中被错误添加的选项
parent
6a1010b0
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
CHANGELOG.md
+1
-0
1 addition, 0 deletions
CHANGELOG.md
docs/njuthesis-sample.tex
+3
-4
3 additions, 4 deletions
docs/njuthesis-sample.tex
source/njuthesis.dtx
+6
-2
6 additions, 2 deletions
source/njuthesis.dtx
with
10 additions
and
6 deletions
CHANGELOG.md
+
1
−
0
View file @
d1d0919c
...
...
@@ -15,6 +15,7 @@
## 修复
-
修复 0.19.0 版本中错误的研究生英文封面日期
-
修复英文关键词列表不整齐的缩进间距
## [0.19.0] - 2022-05-23
...
...
This diff is collapsed.
Click to expand it.
docs/njuthesis-sample.tex
+
3
−
4
View file @
d1d0919c
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% njuthesis - 南京大学学位论文模板
% Version 0.
19
.0 2022-05-2
3
% Version 0.
20
.0 2022-05-2
6
%
% 关注项目地址以获取最新变化
% https://github.com/nju-lug/NJUThesis
...
...
@@ -30,7 +30,7 @@
% http://mirrors.ctan.org/macros/unicodetex/latex/njuthesis/njuthesis.pdf
%---------------------------------------------------------------------
\documentclass
[
degree=mg,nlcover
\documentclass
[
% 模板选项:
%
% 学位信息
...
...
@@ -56,7 +56,7 @@
% cjk-font = win|mac|fandol|founder|noto|source|none,
]
{
njuthesis
}
\njusetup
{
\njusetup
{
% 设置参数
%
% 一些提醒:
...
...
@@ -227,7 +227,6 @@
% toc-in-toc = false,
% 是否在目录中显示目录,默认显示
%
% header/format = \small \heiti,
% header = {
% {OR}{\thepage},{OL}{\rightmark},
% {EL}{\thepage},{ER}{\leftmark}
...
...
This diff is collapsed.
Click to expand it.
source/njuthesis.dtx
+
6
−
2
View file @
d1d0919c
...
...
@@ -6093,6 +6093,7 @@ To produce the documentation run the original source files ending with
%
% \begin{macro}{\@@_print_keywords:nn}
% \changes{v0.15}{2022/01/26}{为关键词列表添加悬挂缩进。}
% \changes{v0.20}{2022/05/26}{修复英文关键词列表不整齐的缩进间距。}
% 生成中英文关键词列表。
% \begin{arguments}
% \item 语言,空置为中文,|_en| 为英文
...
...
@@ -6104,6 +6105,8 @@ To produce the documentation run the original source files ending with
{
\tl_set:Nv \l_@@_tmpa_tl { c_@@_name_keywords #1 _tl }
\@@_get_text_width:NV \l_@@_tmpa_dim \l_@@_tmpa_tl
\dim_add:Nn \l_@@_tmpa_dim { 1 em }
\exp_args:NNv \tl_put_right:Nn \l_@@_tmpa_tl { c_@@_name_comma #1 _tl }
% \end{macrocode}
% 关键词列表的悬挂缩进样式由 \tn{list} 环境产生。
% \begin{macrocode}
...
...
@@ -6275,7 +6278,7 @@ To produce the documentation run the original source files ending with
\RenewDocumentCommand \mkbibdateshort { m m m }
{ \textbf { \thefield { ##1 } } }
% \end{macrocode}
% 在使用章末参考文献表时,\env{refsection}
的
单独一章范围内生效,
% 在使用章末参考文献表时,\env{refsection}
在
单独一章范围内生效,
% 无需额外添加环境。 ^^A TODO: 待修改为更简洁的形式
% \begin{macrocode}
\tl_if_eq:NnTF \blx@refsecreset@level { 2 }
...
...
@@ -6416,9 +6419,10 @@ To produce the documentation run the original source files ending with
{ blankdate } { \qquad{}年 \quad{}月 \quad{}日 } { },
{ blankdate_a } { \njuline{\qquad\qquad} 年
\njuline{\qquad} 月 \njuline{\qquad} 日 } { },
{ comma } { : } { :~ },
{ dept } { 院系 } { DEPARTMENT },
{ figure } { 图 } { figure },
{ keywords } { 关键词
:
} { Keywords
:~
},
{ keywords } { 关键词
} { Keywords
},
{ lang } { 中文 } { 英文 },
{ nju } { 南京大学 } { Nanjing~ University },
{ table } { 表 } { table }
...
...
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