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
d5089e60
Commit
d5089e60
authored
2 years ago
by
Yu Xiong
Browse files
Options
Downloads
Patches
Plain Diff
fix: 修复研究生封面的导师信息居中问题 (#165)
parent
d63e92f5
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
CHANGELOG.md
+11
-1
11 additions, 1 deletion
CHANGELOG.md
source/njuthesis.dtx
+14
-8
14 additions, 8 deletions
source/njuthesis.dtx
with
25 additions
and
9 deletions
CHANGELOG.md
+
11
−
1
View file @
d5089e60
...
...
@@ -6,6 +6,12 @@
## [未发布]
### 修复
-
修复研究生封面上导师信息的居中问题 - [#165]
## [1.1.0] - 2022-10-23
### 新增
-
盲审模式下不显示致谢
...
...
@@ -415,8 +421,11 @@
-
模板上传至 CTAN
[
未发布
]:
https://github.com/nju-lug/NJUThesis/compare/v1.0.0...HEAD
[
未发布
]:
https://github.com/nju-lug/NJUThesis/compare/v1.1.0...HEAD
[
1.1.0
]:
https://github.com/nju-lug/NJUThesis/compare/v1.0.0...v1.1.0
[
1.0.0
]:
https://github.com/nju-lug/NJUThesis/compare/v0.20.0...v1.0.0
[
0.20.0
]:
https://github.com/nju-lug/NJUThesis/compare/v0.19.0...v0.20.0
[
0.19.0
]:
https://github.com/nju-lug/NJUThesis/compare/v0.18.0...v0.19.0
[
0.18.0
]:
https://github.com/nju-lug/NJUThesis/compare/v0.17.0...v0.18.0
...
...
@@ -470,6 +479,7 @@
[
#148
]:
https://github.com/nju-lug/NJUThesis/issues/148
[
#150
]:
https://github.com/nju-lug/NJUThesis/discussions/150
[
#155
]:
https://github.com/nju-lug/NJUThesis/discussions/155
[
#165
]:
https://github.com/nju-lug/NJUThesis/discussions/165
[
更新日志
]:
https://keepachangelog.com/zh-CN/1.0.0/
[
语义化版本
]:
https://semver.org/lang/zh-CN/
...
...
This diff is collapsed.
Click to expand it.
source/njuthesis.dtx
+
14
−
8
View file @
d5089e60
...
...
@@ -4086,7 +4086,7 @@ To produce the documentation run the original source files ending with
%
% \begin{macro}{\@@_keys_set:nn}
% \changes{v1.1}{2022/09/26}{使用 \cs{keys_set_filter:nnn} 重构盲审模式。}
% 在开启盲审模式时,屏蔽被编入 \opt{an
n
oymous} 分组的键值对输入。
% 在开启盲审模式时,屏蔽被编入 \opt{ano
n
ymous} 分组的键值对输入。
% \begin{macrocode}
\bool_if:NTF \g_@@_opt_anon_bool
{
...
...
@@ -4570,6 +4570,10 @@ To produce the documentation run the original source files ending with
% \begin{macrocode}
email .tl_set:N = \g_@@_info_email_tl
}
% \end{macrocode}
%
% 将指定信息项归入 \opt{anonymous} 组,以在盲审模式下选择性屏蔽。
% \begin{macrocode}
\clist_map_inline:Nn \c_@@_name_anon_clist
{ \keys_define:nn { nju / info } { #1 .groups:n = { anonymous } } }
\clist_map_inline:Nn \c_@@_name_anon_en_clist
...
...
@@ -4578,6 +4582,7 @@ To produce the documentation run the original source files ending with
% \end{macro}
%
% \changes{v0.15}{2022/01/22}{正确处理双导师信息。}
% \changes{v1.1}{2022/11/04}{修复研究生模板封面的导师信息居中问题。}
% 在导言区录入用户信息后进行变量设置。此处使用到了 \pkg{ctex} 提供的命令,
% 应当位于载入文档类之后。
% \begin{macrocode}
...
...
@@ -4586,17 +4591,18 @@ To produce the documentation run the original source files ending with
% \end{macrocode}
% 拼合双导师的姓名和职称。
% \begin{macrocode}
\clist_map_inline:nn
{ \g_@@_info_supv_clist, \g_@@_info_supvii_clist }
\tl_set:Nx \g_@@_info_supvfull_tl
{ \clist_use:Nn \g_@@_info_supv_clist { \@@_hskip: } }
\clist_if_empty:NF \g_@@_info_supvii_clist
{
\tl_gput_right:Nx \g_@@_info_supvfull_tl
{ \clist_use:Nn
#1
{ \@@_hskip: }
\@@_quad:
}
{
\@@_quad:
\clist_use:Nn
\g_@@_info_supv_clist
{ \@@_hskip: } }
}
\tl_
gput_right
:N
n
\g_@@_info_supvfull_
tl { \tex_unskip:D }
\tl_
set
:N
n
\g_@@_info_supv
full
_en_tl
\tl_
set_eq
:N
N
\g_@@_info_supvfull_
en_tl \g_@@_info_supv_en_tl
\tl_
if_empty
:N
F
\g_@@_info_supv
ii
_en_tl
{
\g_@@_info_supv_en_tl
\@@_quad:
\g_@@_info_supvii_en_tl
\tex_unskip:D
\tl_gput_right:Nx
\g_@@_info_supv
full
_en_tl
{ \@@_quad:
\g_@@_info_supvii_en_tl
}
}
}
%</class>
...
...
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