X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-proof-std.inc;h=ddcb808ae3915da3cff03607bcbd2af7ed46067c;hb=e9e8069b170ef3128402bc6e6f657339da1760a2;hp=1e44f9e24911261805f2b323c4ed9188b0e811ea;hpb=2d2d946fc67fe55bfd858d5cf437793302bf6a12;p=lyx.git diff --git a/lib/layouts/theorems-proof-std.inc b/lib/layouts/theorems-proof-std.inc index 1e44f9e249..ddcb808ae3 100644 --- a/lib/layouts/theorems-proof-std.inc +++ b/lib/layouts/theorems-proof-std.inc @@ -1,27 +1,21 @@ # Moved here by rgheck. Original author cloudy. -Format 35 +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