As the the title suggests, I want to have something like Corollary 1.I (first corollary of the first chapter)

I want the chapter counter be in Arabic numbers, and the corollary counter be in Roman numbers.

Before, when I was using ntheorem, I used to use the command \theoremnumbering{Roman}.

I tried to read what thmtools documentation suggest, but I can't understand.

my corollary environment is simply defined as follows:

    numberwithin=chapter ]{cor}

If you can help me also with the equivalence of \theoremindent (it adds margin to the theorem environment). If there is not a simple equivalence, I will pose that as a separate question.


Once the Corollary environment cor is defined you can reset the number by redefining \thecor. In your case putting \show\thecor after the definition reveals

> \thecor=macro:
->\thechapter .\arabic {cor}.
l.9 \show\thecor

in the log file. So the format you wish for can be obtained by replacing \arabic by \Roman here as follows


Sample output







\chapter{A chapter}

  A theorem.

  A corollary.

  A lemma.

  Another theorem.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.