X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-case.inc;h=a1539b59bc832da58421e6c552623351fef719aa;hb=1a89f89337413adb6188e6265c6e1c49e0969f65;hp=bde84b2eedd49dd7833a6f1659fd1386d9641f37;hpb=7195abcb4f404b4b00270a5f5514c5290c95a9b6;p=lyx.git diff --git a/lib/layouts/theorems-case.inc b/lib/layouts/theorems-case.inc index bde84b2eed..a1539b59bc 100644 --- a/lib/layouts/theorems-case.inc +++ b/lib/layouts/theorems-case.inc @@ -6,7 +6,7 @@ # Define Case as an enumeration environment # with its own counters -Format 40 +Format 60 Counter casei LabelString "Case \arabic{casei}." @@ -25,16 +25,35 @@ Counter caseiv End Style Case - Category Theorem - CopyStyle Enumerate + Category Reasoning + + 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