I have two (completely seperate) theorem counters, but I want them to behave as they were the same counter (incrementing the one counter increments the other, same for resetting). The obvious workaround, changing one counter in \newtheorem, is not possible, as these commands are part of a .sty used for a lot of documents.

How does one unify/merge arbitrary counters?

1 Answer 1


will make the counters zzz and xxx use the same internal register.

  • 2
    perfect, for future reference: you have to surround this statement with \makeatletter and \makeatother
    – Moni Tor
    Apr 11, 2018 at 15:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .