]> 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 17:01:39 +0000 (12:01 -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.

lib/layouts/theorems-ams.inc

index a05b7810eca6e31c9ef014a1b4a2d3c6f7458cca..c4345be12959c096e3ac756698d5a6f4a237e6fc 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