]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-without-preamble.inc
Introduce listpreamble argument type
[lyx.git] / lib / layouts / theorems-without-preamble.inc
index b37c4d6f259c1bb61e31499f5cc0b3d0f21c4acf..54cc31e9d98ce21040eb42c8bf193ce8fc02d6eb 100644 (file)
@@ -1,5 +1,5 @@
 # This file provides theorem environments without adding preamble code or
-# requiring packages. THis is useful for classes that define their own theorems
+# requiring packages. This is useful for classes that define their own theorems
 # like svjour3 or ijmpc.
 # Author: Uwe Stöhr <uwestoehr@web.de>
 
@@ -26,8 +26,9 @@
 # - Note
 
 
-Format 54
+Format 69
 
+OutlinerName thm "Definitions & Theorems"
 
 Counter                theorem
 End
@@ -37,9 +38,12 @@ Style Theorem
        LatexType       Environment
        LatexName       theorem
        NextNoIndent    1
+       AddToToc              thm
+       IsTocCaption          1
        Argument 1
          LabelString   "Name/Title"
          Tooltip       "Alternative optional name or title"
+         IsTocCaption      1
        EndArgument
        LabelSep        xx
        ParIndent       MMM
@@ -259,6 +263,8 @@ Style Prob
        LabelFont
          Series        Bold
        EndFont
+       AddToToc        thm
+       IsTocCaption    true
 End
 
 
@@ -288,6 +294,7 @@ Style Sol
          Mandatory     1
          LabelString   "Label of Problem"
          Tooltip       "Label of the corresponding problem"
+         IsTocCaption true
        EndArgument
 End