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