]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-proof-std.inc
Fix bug #11410.
[lyx.git] / lib / layouts / theorems-proof-std.inc
index 15cd7bf8d2f06efa7a86d94d41cf5637ce370658..4398fb77749490f2c66ce51123aa732952ff99e2 100644 (file)
@@ -1,23 +1,24 @@
-# Moved here by rgheck. Original author cloudy.
+# Moved here by rikiheck. Original author cloudy.
 
-Format 35
+Format 97
 
 #This is just a hacked version of the AMS proof environment
 Style Proof
        Preamble
-               \ifx\proof\undefined\
+               \ifx\proof\undefined
                \newenvironment{proof}[1][\protect\proofname]{\par
                        \normalfont\topsep6\p@\@plus6\p@\relax
                        \trivlist
                        \itemindent\parindent
-                       \item[\hskip\labelsep
-                                       \scshape
-#1]\ignorespaces
-}{%
+                       \item[\hskip\labelsep\scshape #1]\ignorespaces
+               }{%
                        \endtrivlist\@endpefalse
-}
+               }
                \providecommand{\proofname}{Proof}
                \fi
        EndPreamble
+       EndLabelType          No_Label
 # No LangPreamble or BabelPreamble, since babel knows \proofname already.
+       DocBookTag            para
+       DocBookAttr           role='proof'
 End