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
54fddf0c
Commit
54fddf0c
authored
1 year ago
by
atXY
Browse files
Options
Downloads
Patches
Plain Diff
fix: 修复章末参考文献表与成果列表的冲突问题 (#191)
parent
41a89823
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
+4
-0
4 additions, 0 deletions
CHANGELOG.md
source/njuthesis.dtx
+16
-21
16 additions, 21 deletions
source/njuthesis.dtx
with
20 additions
and
21 deletions
CHANGELOG.md
+
4
−
0
View file @
54fddf0c
...
...
@@ -6,6 +6,10 @@
## [未发布]
### 修复
-
盲审模式下隐藏年级和学校名称 - [#181]
## [1.1.2] - 2023-01-15
### 修复
...
...
This diff is collapsed.
Click to expand it.
source/njuthesis.dtx
+
16
−
21
View file @
54fddf0c
...
...
@@ -977,6 +977,7 @@ To produce the documentation run the original source files ending with
% 例如,可以用如下所示的命令插入扫描件的第一页,并插入紧随的一个空白页。
% \begin{latexexample}[moretexcs={\includepdf},emph={[2]pages}]
% \includepdf[pages={1,{}}]{scanned.pdf}
% % \setcounter{page}{1} % 使扫描页不占用页码
% \end{latexexample}
%
%
...
...
@@ -7935,32 +7936,26 @@ To produce the documentation run the original source files ending with
% \end{macrocode}
% 修改姓名的显示方式,使被注解的姓名可被加粗下划线表示。
% \begin{macrocode}
\RenewDocumentCommand \mkbibnamegiven { m }
{ \ifitemannotation { thesisauthor }
{ \njuline { \bf ##1 } } { ##1 } }
\RenewDocumentCommand \mkbibnamefamily { m }
{ \ifitemannotation { thesisauthor }
{ \njuline { \bf ##1 } } { ##1 } }
\RenewDocumentCommand \mkbibnamegiven { m }
{ \ifitemannotation { thesisauthor }
{ \njuline { \bf ##1 } } { ##1 } }
\RenewDocumentCommand \mkbibnamefamily { m }
{ \ifitemannotation { thesisauthor }
{ \njuline { \bf ##1 } } { ##1 } }
% \end{macrocode}
% 修改年份的显示方式,默认进行加粗。
% \begin{macrocode}
\RenewDocumentCommand \mkbibdateshort { m m m }
{ \textbf { \thefield { ##1 } } }
\RenewDocumentCommand \mkbibdateshort { m m m }
{ \textbf { \thefield { ##1 } } }
% \end{macrocode}
% 在使用章末参考文献表时,\env{refsection} 在单独一章范围内生效,
% 无需额外添加环境。 ^^A TODO: 待修改为更简洁的形式
% \changes{v1.1}{2023/04/07}{修复章末参考文献表与成果列表的冲突问题。}
% 相较于直接使用 \env{refsection} 环境,\tn{newrefsection} 命令可以
% 自动结束上一个 \env{refsection},与章末参考文献表格式兼容更好。
% \begin{macrocode}
\tl_if_eq:NnTF \blx@refsecreset@level { 2 }
{
\nocite { #2 }
\printbibliography [ heading = subbibliography, title = #1 ]
}
{
\begin{refsection}
\nocite { #2 }
\printbibliography [ heading = subbibliography, title = #1 ]
\end{refsection}
}
\newrefsection
\nocite { #2 }
\printbibliography [ heading = subbibliography, title = #1 ]
\endrefsection
\group_end:
}
% \end{macrocode}
...
...
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