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

The code below is (almost) the proof environment of amsthm:


I know how to control the left indentation with a \hangindent but I would like to know how to control the rightmargin in a simple way?

share|improve this question
up vote 10 down vote accepted





and add \end{list} instead of \endtrivlist to the end of your declaration

share|improve this answer
interesting but there is still a slight spurious horizontal space that I cannot remove? – pluton Nov 17 '11 at 19:39
I am not sure what do you mean. Can you give a MWE? – Boris Nov 17 '11 at 19:41
something went wrong but I cannot reproduce it now. Your code works well. Thanks! – pluton Nov 17 '11 at 20:14

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.