I am using thmtools to display theorems in a document. The theorems are numbered within a counter that is called 'entry' (this counter is defined within a command that is called 'entry' as well). So for the moment I use:


and an example of a displayed theorem is given by:

Theorem 2.3 -- Blabla

However, I want my theorems to be numbered just by one single number that is reset whenever I start a new entry in my document (by applying the entry command). So basically I want to get rid of the 2 in the numbering of the example above (which is referring to the entry counter).

  • 2
    in your preamble, add \renewcommand{\thetheorem}{\arabic{theorem}} after \declaretheorem. Commented Jul 2, 2016 at 16:09
  • 1
    remove the within=entry and say \setcounter{thm}{0} in your \entry command?
    – user31729
    Commented Jul 2, 2016 at 16:09
  • Perhaps a compilable document would also be very useful to provide more help!
    – user31729
    Commented Jul 2, 2016 at 17:34
  • The solution proposed by barbara beeton worked! Since it is not posted as answer I can't vote for it.
    – AYK
    Commented Jul 2, 2016 at 17:44

1 Answer 1


any theorem that is "numbered within" will have a multi-part number.

if you wish to reduce this to a single-part number, with the value of the theorem counter, in your preamble add the line


after \declaretheorem, when you are using thmtools; if you are using a different theorem package, this same command can (usually) be used, again, after \newtheorem definitions or the equivalent.

You must log in to answer this question.

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