Skip to content

Commit 6515af3

Browse files
committed
feat: show frontmatter headings in TOC
1 parent 14300d1 commit 6515af3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

texmf/tex/latex/sjtutex/preset/sjtu-thesis-preset-jwc.def

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
number = \chinese { chapter }
4444
}
4545
}
46+
\AddToHook { cmd / frontmatter / after }
47+
{ \bool_set_true:N \l_@@_heading_in_toc_bool }
4648
\titlecontents { chapter }
4749
[ 0 pt ]
4850
{ \addvspace { 6 bp } \zihao { 4 } \setbaselineskip { 24 bp } \bfseries }

0 commit comments

Comments
 (0)