X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=lib%2Flayouts%2Ftheorems-case.inc;h=a1539b59bc832da58421e6c552623351fef719aa;hb=1a89f89337413adb6188e6265c6e1c49e0969f65;hp=1128cdb9eb06cb6dac746bbe160cc473bbd85ddf;hpb=b0aa0db10aae4a51d48f060e642f05542e89f370;p=lyx.git diff --git a/lib/layouts/theorems-case.inc b/lib/layouts/theorems-case.inc index 1128cdb9eb..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 42 +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