Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Thanks for your solution and the modification that you made to my code. The appearance of synonymous option was an oversight on my part. Your code works for the given value of the option postheadspace. However, changing the value of the option to 0.7em or 0.9em, for example, changes the indentation of the header. What could be done to make the solution insensitive to changes in the value of postheadspace? Commented Sep 6, 2017 at 6:48
  • 1
    I'm afraid this is due to the way thmtools (or amsthm) manages the underlying list settings. All I could find with my solution was th add a factor > 1, say for postheadspace=0.9em, use headindent =-1.4\fontdimen2\font, but that's a hack. Fortunately, I suppose one doesn't change the value of headindent very often. This being say, this is quite simpler, and requires no hack, if you load ntheorem in the place of amsthm. I'll post a code in a moment. Commented Sep 6, 2017 at 9:28
  • Thanks @Bernard for the solution based on the use of package ntheorem. I have tried it out. It works well and requires simpler code. Commented Sep 6, 2017 at 15:36
  • It has another advantage w.r.t. amsthm: the automatic placement of the end-of-theorem/proof symbol, even when the environment ends up in a multiline displayed equation. It also can cooperate with thmtools, with some restrictions. Commented Sep 6, 2017 at 15:41