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:
\declaretheorem[
name=Corollary,
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.
Best Answer
Once the Corollary environment
cor
is defined you can reset the number by redefining\thecor
. In your case putting\show\thecor
after the definition revealsin the
log
file. So the format you wish for can be obtained by replacing\arabic
by\Roman
here as follows