lyx_mirror/lib/layouts/theorems-std.module
Jürgen Spitzmüller 448c98aad4 * Add new modules for more fine-grained control over theorem numbering.
Modules provided by Paul Rubin (#5880).
* Fix some minor module description issues.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@31886 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-07 10:46:12 +00:00

36 lines
904 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 (Numbered by ...)' modules.
#DescriptionEnd
#Excludes: theorems-ams | theorems-starred
# Author: Richard Heck <rgheck@comcast.net>
Format 11
Counter theorem
End
Input theorems.inc
Input theorems-proof.inc
#This is just a hacked version of the AMS proof environment
Style Proof
Preamble
\ifx\proof\undefined\
\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}
\fi
EndPreamble
End