]> git.lyx.org Git - features.git/commitdiff
Theorem style: set NextNoIndent to 0
authorScott Kostyshak <skostysh@lyx.org>
Fri, 11 Nov 2016 16:55:31 +0000 (11:55 -0500)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 22 Feb 2017 22:39:25 +0000 (17:39 -0500)
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)

lib/layouts/theorems-ams.inc

index b419211487d3ef3792556052614228b5cabe852f..e56fee06256c9e5947d5a34f8668fe6afc1e0484 100644 (file)
@@ -29,7 +29,7 @@ Style Theorem
        Margin                First_Dynamic
        LatexType             Environment
        LatexName             thm
-       NextNoIndent          1
+       NextNoIndent          0
        ResetArgs             1
        AddToToc              thm
        IsTocCaption          1