Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am trying to number my theorems according to section number. I use the following in the preamble, which works:

\newtheorem{theorem}{Theorem}[section]

However, since my section is numbered as roman numeral, my theorem numbering ends up being like

Theorem IV.1

Which is really ugly. I would like to keep my section numbering as Roman numerals but my theorem numbering as Arabic. I've tried stuff like

\newtheorem{theorem}{Theorem}[\arabic{section}]

But this wouldn't compile. I've also looked around online but couldn't find the answer.

Pleas let me know if you know a solution to this problem. Thank you!!

share|improve this question

migrated from stackoverflow.com Apr 9 '13 at 17:47

This question came from our site for professional and enthusiast programmers.

    
Welcome to TeX.sx! Your post was migrated here from another Stack Exchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  egreg Apr 9 '13 at 17:58

1 Answer 1

up vote 4 down vote accepted

Try

\renewcommand\thetheorem{\arabic{section}.\arabic{theorem}}
share|improve this answer
    
Wow that worked! Thanks so much I looked around for so long! –  Penguinator Apr 9 '13 at 5:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.