lyx_mirror/lib/layouts/theorems-std.module
Richard Heck d252730dff New AddToPreamble tag for layout files. This tag will ADD some information to the document premable rather than completely over-write it, as the Preamble tag does.
Increment layout format to 7.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23916 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:11:16 +00:00

36 lines
863 B
Plaintext

#\DeclareLyXModule{Theorems}
#DescriptionBegin
#Defines some theorem environments for use with non-AMS classes. By default,
#the theorems are numbered consecutively throughout the document. This can be
#changed by loading one of the Theorems (Ordered By ...) modules.
#DescriptionEnd
#Excludes: theorems-ams | theorems-starred
# Author: Richard Heck <rgheck@comcast.net>
Format 7
Counter
Name theorem
End
Input theorems.inc
Input theorems-proof.inc
#This is just a hacked version of the AMS proof environment
Style Proof
Preamble
\newenvironment{proof}[1][\proofname]{\par
\normalfont\topsep6\p@\@plus6\p@\relax
\trivlist
\itemindent\parindent
\item[\hskip\labelsep
\scshape
#1]\ignorespaces
}{%
\endtrivlist\@endpefalse
}
\providecommand{\proofname}{Proof}
EndPreamble
End