mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-23 02:14:50 +00:00
b32b4a545c
Actually, not all of these do contain counters, but my grepping wasn't sophisticated enough to catch them. Not a big deal.... I don't think there are errors here, but if you see weird behavior with counters in some file or other, it's possible I missed something. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26782 a592a061-630c-0410-9148-cb99ea01b6c8
36 lines
901 B
Plaintext
36 lines
901 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 10
|
|
|
|
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 |