X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-proof-std.inc;h=198fd514f98c7e1c906d2ac8e149747acd090b4a;hb=edaf28fdd6a64ce277a1c5f39d99a6568485887f;hp=b1b3eeb65bdeaacd4e6cfc39a51c44a646682173;hpb=f9b4dde589704f2db7a8fa68f50dc90073775763;p=lyx.git diff --git a/lib/layouts/theorems-proof-std.inc b/lib/layouts/theorems-proof-std.inc index b1b3eeb65b..198fd514f9 100644 --- a/lib/layouts/theorems-proof-std.inc +++ b/lib/layouts/theorems-proof-std.inc @@ -1,27 +1,24 @@ -# Moved here by rgheck. Original author cloudy. +# Moved here by rikiheck. Original author cloudy. -Format 33 +Format 100 #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 + EndLabelType No_Label +# No LangPreamble or BabelPreamble, since babel knows \proofname already. + DocBookTag para + DocBookAttr role='proof' End