]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-case.inc
Fix typos in comments
[lyx.git] / lib / layouts / theorems-case.inc
index 8954f02f1cc002d0cc34858cf9b561a58ff6ab2e..b227b174e24ae9ac2b43549040df92364524dc85 100644 (file)
@@ -1,32 +1,35 @@
 # Original Author : Paul Rubin <rubin@msu.edu>
-# Modified by Richard Heck to use enumitem
+# Modified by Richard Kimberly Heck to use enumitem
 
 # Definition of case environment as an enumeration
 
 # Define Case as an enumeration environment
 # with its own counters
 
-Format 63
+Format 98
 
 Counter casei
+       GuiName "Case (Level 1)"
         LabelString "Case \arabic{casei}."
 End
 Counter caseii
+       GuiName "Case (Level 2)"
         Within casei
         LabelString "Case \roman{caseii}."
 End
 Counter caseiii
+       GuiName "Case (Level 3)"
         Within caseii
         LabelString "Case \alph{caseiii}."
 End
 Counter caseiv
+       GuiName "Case (Level 4)"
         Within caseiii
         LabelString "Case \arabic{caseiv}."
 End
 
 Style Case
   Category              Reasoning
-
   Margin                Static
   LatexType             Item_Environment
   LatexName             casenv
@@ -48,7 +51,18 @@ Style Case
   HTMLTag               ol
   HTMLItem              li
   HTMLLabel             NONE
+  HTMLClass             lyxcase
   RefPrefix             enu
+  Argument listpreamble:1
+    LabelString    "List preamble"
+    MenuString     "List Preamble"
+    Tooltip        "LaTeX code to be inserted before the first item"
+    PassThru       1
+    Font
+      Family typewriter
+      Color latex
+    EndFont
+  EndArgument
   Argument item:1
     LabelString   "Custom Item|s"
     Tooltip       "A customized item string"
@@ -73,4 +87,6 @@ Style Case
     \addto\captions$$lang{\renewcommand{\casename}{_(Case)}}
   EndBabelPreamble
   RefPrefix OFF
+  DocBookTag            para
+  DocBookAttr           role='cases'
 End