Skip to content

Commit

Permalink
设置超链接为黑色
Browse files Browse the repository at this point in the history
  • Loading branch information
Astro-Lee committed Mar 21, 2024
1 parent 5bdbd15 commit 1932265
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions YNUthesis.cls
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
`l3kernel'~ and~` l3packages'\\\\
using~ your~ TeX~ package~ manager~ or~ from~ CTAN.
}
\@ifpackagelater { expl3 } { 2022/06/30 } { }
\@ifpackagelater { expl3 } { 2023/06/30 } { }
{ \msg_error:nnn { YNUthesis } { l3-too-old } { expl3 } }
\msg_new:nnn { YNUthesis } { unsupported-engine }
{
Expand Down Expand Up @@ -1927,7 +1927,8 @@
{ default, 990000, 0000B2, 007F00 },
{ material, E91E63, 009688, 4CAF50 },
{ graylevel, 616161, 616161, 616161 },
{ prl, 2D3092, 2D3092, 2D3092 }
{ prl, 2D3092, 2D3092, 2D3092 },
{ black, 000000, 000000, 000000 }
}
\__YNU_set_hyperlink_color_key:n
}
Expand Down
3 changes: 2 additions & 1 deletion YNUthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -3705,7 +3705,8 @@ Copyright (C) 2023 by Rui-Zhi Li <[email protected]>
{ default, 990000, 0000B2, 007F00 },
{ material, E91E63, 009688, 4CAF50 },
{ graylevel, 616161, 616161, 616161 },
{ prl, 2D3092, 2D3092, 2D3092 }
{ prl, 2D3092, 2D3092, 2D3092 },
{ black, 000000, 000000, 000000 }
}
\@@_set_hyperlink_color_key:n
}
Expand Down
4 changes: 2 additions & 2 deletions main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@
% 允许选项:
% hyperlink = border|color|none
%
hyperlink-color = prl,
hyperlink-color = black,
% 超链接颜色
% 允许选项:
% hyperlink-color = default|classic|material|graylevel|prl
% hyperlink-color = default|classic|material|graylevel|prl|black
%
bib-backend = bibtex,
% 参考文献支持方式
Expand Down

0 comments on commit 1932265

Please sign in to comment.