TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to type by using amsart. I want numbering of the definitions, lemma theorem etc should be of the form x.y.z, where x is section, y subsection and z the actual number of the theorem. I ave used \setcounter{secnumdepth}{4} but it does not seem to be working. (Moreover I do not want any table of contents). Please help.

share|improve this question
up vote 6 down vote accepted

secnumdepth is something different; it determines which section headings should receive numbers, not the numbers that they receive.

When you define your definitions, lemmas, etc, you have the option to determine which counters they inherit; for example,


will define the definition environment to use the subsection counter. Here's a complete MWE:

% arara: pdflatex




share|improve this answer
While this is a correct answer to the question, I'd recommend not to number statements by subsection, which makes it impossible not to use subsections; moreover, the number will be very long: <chapter>.<section>.<subsection>.<statement> – egreg Apr 26 '14 at 9:53

Your Answer


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

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