]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-proof-std.inc
Disable deprecated-copy warning with clang10
[lyx.git] / lib / layouts / theorems-proof-std.inc
index 90213dfdb9881f18c4394f298de5d4574f3c45f0..ddcb808ae3915da3cff03607bcbd2af7ed46067c 100644 (file)
@@ -1,27 +1,21 @@
 # Moved here by rgheck. Original author cloudy.
 
-Format 25
+Format 80
 
 #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
-       LangPreamble
-               \providecommand{\proofname}{_(Proof)}
-       EndLangPreamble
-       BabelPreamble
-               \addto\captions$$lang{\renewcommand{\proofname}{_(Proof)}}
-       EndBabelPreamble
+# No LangPreamble or BabelPreamble, since babel knows \proofname already.
 End