diff --git a/bithesis.dtx b/bithesis.dtx index 4aabfac1..75ec3f4b 100644 --- a/bithesis.dtx +++ b/bithesis.dtx @@ -1075,9 +1075,14 @@ \@@_load_font: % misc / hideLinks 选项 - \bool_if:NT \l_@@_misc_hide_links_bool + \bool_if:NTF \l_@@_misc_hide_links_bool { \hypersetup { hidelinks } + } { + \definecolor{blue}{RGB}{10,10,110} + \hypersetup{ + colorlinks=true, + } } \@@_if_thesis_english:TF { diff --git a/templates/graduate-thesis/main.tex b/templates/graduate-thesis/main.tex index 5812d135..f3404a98 100644 --- a/templates/graduate-thesis/main.tex +++ b/templates/graduate-thesis/main.tex @@ -101,6 +101,11 @@ % 比如注释掉的这一行:将会修改封面中的「申请学位级别」为「申请学位」。 % info / degree = {申\quad{}请\quad{}学\quad{}位}, % info / major = {学\quad{}科\hspace{5pt}/\hspace{5pt}类\quad{}别} + }, + misc = { + % 关闭后,链接会用多种颜色表示,便于检查。 + % 无论是否开启,都不会影响打印效果。 + hideLinks = true, } }