Skip to content

Commit f14cf4b

Browse files
committed
Fix deeply nested thmitem labels
1 parent 20c00c6 commit f14cf4b

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

packages/theorems.sty

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
\setlist[thmenum, 3]
3232
{
3333
label=(\arabic*),
34-
ref=\thecounters_theorem~(\alph{thmenumi})(\alph{thmenumii})(\roman*)
34+
ref=\thecounters_theorem~(\alph{thmenumi})(\roman{thmenumii})(\arabic*)
3535
}
3636

3737
\declaretheorem[numberlike=counters_theorem, style=plain]
@@ -93,8 +93,9 @@
9393
{
9494
\addtotheorempostheadhook [#1]
9595
{
96-
\crefalias {thmenumi} {#1}
97-
\crefalias {thmenumii} {#1}
96+
\crefalias {thmenumi} {#1}
97+
\crefalias {thmenumii} {#1}
98+
\crefalias {thmenumiii} {#1}
9899
}
99100
}
100101

0 commit comments

Comments
 (0)