X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-proof-std.inc;h=ddcb808ae3915da3cff03607bcbd2af7ed46067c;hb=e9e8069b170ef3128402bc6e6f657339da1760a2;hp=34da3d5703c3accada2ed8651709a56dbfc53cdf;hpb=b7d665da7f02a5e918de08ae9fe8727ede838670;p=lyx.git diff --git a/lib/layouts/theorems-proof-std.inc b/lib/layouts/theorems-proof-std.inc index 34da3d5703..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 22 +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