From: Scott Kostyshak Date: Fri, 11 Nov 2016 16:55:31 +0000 (-0500) Subject: Theorem style: set NextNoIndent to 0 X-Git-Tag: 2.2.3~64 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=e0a80254cc37b6d2a3bbf35b9982d296b02c487f;p=features.git Theorem style: set NextNoIndent to 0 After a Theorem environment, LaTeX does by default indent the following paragraph. I checked various classes and no ModifyStyle was needed. The hollywood and broadway classes are strange cases where there is an indent after the Theorem environment, but it is much smaller than the normal indent. The indent is the same as the opening indent of normal text, which we currently ignore. Further, I don't expect it is common to use theorems in these classes. (cherry picked from commit f9ee47dfa2706bed34431177723dfdc5c2d2a7db) --- diff --git a/lib/layouts/theorems-ams.inc b/lib/layouts/theorems-ams.inc index b419211487..e56fee0625 100644 --- a/lib/layouts/theorems-ams.inc +++ b/lib/layouts/theorems-ams.inc @@ -29,7 +29,7 @@ Style Theorem Margin First_Dynamic LatexType Environment LatexName thm - NextNoIndent 1 + NextNoIndent 0 ResetArgs 1 AddToToc thm IsTocCaption 1