1 #% Do not delete the line below; configure depends on this
2 #\DeclareLyXModule{Standard Theorems (Nameable)}
3 #\DeclareCategory{Maths}
5 # Facilitates the use of named theorems. The name of the theorem
6 # goes into the 'Additional Theorem Text' argument.
8 #Original Author: John Perry
13 OutlinerName thm "Definitions & Theorems"
27 LabelString "Theorem Title"
28 Tooltip "Theorem Title"
50 \newcommand\thmsname\namedthmname
51 \newtheorem*{namedtheorem}{\protect\thmsname}
52 \newenvironment{namedthm}[1][]{%
53 \if\relax\detokenize{#1}\relax
56 \renewcommand\thmsname{#1}%
62 \providecommand\namedthmname{_(Theorem)}
65 \addto\captions$$lang{\renewcommand{\namedthmname}{_(Theorem)}}