]> git.lyx.org Git - lyx.git/blobdiff - lib/layouts/theorems-case.inc
Update description to reflect arg improvements
[lyx.git] / lib / layouts / theorems-case.inc
index 3a8f08cb2d30e910465a9dccf61cd543fe8aaf1d..fa0d6e0b59e5876e8ffe2555f6891da634dad36c 100644 (file)
@@ -6,7 +6,7 @@
 # Define Case as an enumeration environment
 # with its own counters
 
-Format 43
+Format 54
 
 Counter casei
         LabelString "Case \arabic{casei}."
@@ -26,15 +26,34 @@ End
 
 Style Case
   Category              Reasoning
-  CopyStyle             Enumerate
+
+  Margin                Static
+  LatexType             Item_Environment
   LatexName             casenv
   LabelType             Enumerate
   LeftMargin            "Case ###."
+  LabelSep              xx
+  ParSkip               0.0
+  ItemSep               0.2
+  TopSep                0.7
+  BottomSep             0.7
+  ParSep                0.3
+  Align                 Block
+  AlignPossible         Block, Left
   LabelCounter          case
   LabelFont
     Series              Medium
     Shape               Italic
   EndFont
+  HTMLTag               ol
+  HTMLItem              li
+  HTMLLabel             NONE
+  RefPrefix             enu
+  Argument item:1
+    LabelString   "Custom Item|s"
+    Tooltip       "A customized item string"
+  EndArgument
+  NextNoIndent          1
        Requires enumitem
        # It'd be easier to use \setlist[caseenv] here, but that causes problems
        # if you nest an ordinary list inside a case environment. See discussion