-
I use KaTeX with TidllyWIki (https://kookma-katex.tiddlyhost.com/) One issue I encountered is when I use environment with autonumbering like Then I start a new section and I expect to be able to reset the autonumbering to start from 1 again! Ho can I instruct KaTeX to do that? |
Beta Was this translation helpful? Give feedback.
Answered by
edemaine
Sep 17, 2021
Replies: 1 comment
-
KaTeX uses CSS counters for those numbers, so you'll want to use CSS h2 { counter-reset: katexEqnNo; } |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kookma
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
KaTeX uses CSS counters for those numbers, so you'll want to use CSS
counter-reset
to reset the counter. Depending on how your plugin works, a rule like the following might work: