Manually set numbering of sphinx-proof #612
Unanswered
mscharling
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've tried around numbering my sections in my jupyter book and each different try leads to different outcomes of how my theorems, definitions etc. are numbered in my different pages. I have chosen the following numbering system for my book
1 Chapter 1
1.1 Section 1
1.1.1 Subsection 1
1.1.2 Subsection 2
I want my theorems, definitions etc. to be labeled Theorem 1.1.1, Definition 1.1.2 and so on through my Section 1, but what Sphinx-proof does is to label them as Theorem 1.1.1.1 and Definition 1.1.1.2 (if both are under Subsection 1). Is there a workaround of this or is there some way of manually numbering the theorems, definitions etc.?
I know it should be possible through an extension. I've not tried writing an extension before since I'm new on this executablebook and in generel coding-adventure. So any help is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions