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

How to make the theorem style like:

1.1.3. There is a theorem.         Theorem

       it may be several lines.

       The theorem 1.1.3 end.

1.1.1. There is a lemma.           lemma

       The lemma 1.1.1 end.

(for oneside documentclass)

share|improve this question
up vote 3 down vote accepted

Use ntheorem:

  {\item[\hskip\labelsep \theorem@headerfont ##2\theorem@separator]\marginpar{\theorem@headerfont ##1}}%
  {\item[\hskip\labelsep \theorem@headerfont ##2\ (##3)\theorem@separator]\marginpar{\theorem@headerfont ##1}}
blah blah

It may work better if you use \marginnote (from marginnote package) instead of \marginpar.

Or you can use amsthm's \newtheoremstyle (in differnt syntax) to do the trick.

share|improve this answer

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.