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