#CTheorems share global counter

7 messages · Page 1 of 1 (latest)

ebon cosmos
#

Im trying to make a summary template that at its center is a function, thmbase, which is essentially a wrapper to thmenv, and then i use that function as a base to apply styling settings to each type of theorem i have.
Now the issue is i want each theorem to continue the numbering from any of the previous theorems, not just of its own type. Problem is i cant seem to figure out how to do so. I tried setting all theorem's to have a shared base but that didnt work at all.

Attached is the template code.

ebon cosmos
#

TLDR: created function that is basically identical to thmbox from ctheorems as a base but instead of a block it takes a Showybox, what i want is for the theorem numbering to be shared across all diffrent environments.

ebon cosmos
#

Anyone?

velvet parrot
# ebon cosmos Anyone?

Can you give an example of how you want the numbering to behave? I'm not entirely sure what exactly you want to achieve

ebon cosmos
#

Say i have these 4 theorems:
As you can see all the ones of the "purple type-(theorems) share their own numbering independent of the others("blue"-lemmas, "green"-definitions). I want each new theorem to globally update the numbering on each and every other one.
Basically the end result should be that the first theorem should have the numbering 1.1.1, then the second should have 1.1.2, the third 1.1.3 and the fourth 1.1.4, instead of the independent results they currently have.

#

I tried making it so they all share a base but that didnt work.

velvet parrot
#

have you tried using the same identifier for all the different kinds of theorems?