I set the section numbering style to \Roman but now my theorems are numbered like so:

Theorem IV.2. instead of Theorem 4.2.

Is there a way of getting the latter but preserving the section numbering in Roman?

I've tried this Change theorem numbering from Roman to Arabic


I get

LaTex Error: \thetheorem command undefined.

Apparently this may work on other classes than article (in which I am)

Thanks in advance.

  • 1
    Please show in code what you have done not words.
    – daleif
    Aug 20, 2020 at 17:18

1 Answer 1


The problem is that you're trying to redefine \thetheorem before it's been defined. Move your \renewcommand after the \newtheorem command.

Also, the numbering for your theorems will follow the naming of the environments you've created so you should do, e.g.,


and similarly for lemma.

  • Thanks! works perfectly Aug 20, 2020 at 18:08

You must log in to answer this question.

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