lyx_mirror/lib/layouts/theorems-proof-std.inc
Georg Baum b3ca5850ee babel knows \proofname already (bug #7513)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38752 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-14 10:13:17 +00:00

24 lines
523 B
PHP

# Moved here by rgheck. Original author cloudy.
Format 35
#This is just a hacked version of the AMS proof environment
Style Proof
Preamble
\ifx\proof\undefined\
\newenvironment{proof}[1][\protect\proofname]{\par
\normalfont\topsep6\p@\@plus6\p@\relax
\trivlist
\itemindent\parindent
\item[\hskip\labelsep
\scshape
#1]\ignorespaces
}{%
\endtrivlist\@endpefalse
}
\providecommand{\proofname}{Proof}
\fi
EndPreamble
# No LangPreamble or BabelPreamble, since babel knows \proofname already.
End