File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -1095,6 +1095,16 @@ \subsubsection{目录选项}
1095
1095
是否在目录中索引摘要。
1096
1096
\end {function }
1097
1097
1098
+ \begin {function }[added=2024-07-09]{TOC/TOC}
1099
+ \begin {bitsyntax }[emph={[1]TOC}]
1100
+ TOC = (*(false)|true*)
1101
+ \end {bitsyntax }
1102
+
1103
+ \textit {此选项一般不需要用户自行修改。 }
1104
+
1105
+ 是否在目录中索引目录本身。
1106
+ \end {function }
1107
+
1098
1108
\begin {function }{TOC/symbols}
1099
1109
\begin {bitsyntax }[emph={[1]symbols}]
1100
1110
abstract = (*(true)|false*)
Original file line number Diff line number Diff line change 877
877
abstract .initial:n = {true},
878
878
abstractEn .bool_set:N = \l _@@_add_abstract_en_to_toc_bool,
879
879
abstractEn .initial:n = {true},
880
+ TOC .bool_set:N = \l _@@_add_toc_to_toc_bool,
881
+ TOC .initial:n = {false},
880
882
symbols .bool_set:N = \l _@@_add_symbols_to_toc_bool,
881
883
symbols .initial:n = {true},
882
884
}
2713
2715
\vspace {-8pt}
2714
2716
}
2715
2717
2716
- \@@ _if_thesis_int_type:nTF {3} {
2718
+ \bool _if:NTF \l _@@_add_toc_to_toc_bool {
2717
2719
% 添加「目录」本身到目录中,同时自动添加书签
2718
2720
% 此处必须有`\phantomsection`,不然 hyperref 会把链接指向之前摘要的标题。
2719
2721
\phantomsection
You can’t perform that action at this time.
0 commit comments