# Define Case as an enumeration environment
# with its own counters
-Format 40
+Format 80
Counter casei
LabelString "Case \arabic{casei}."
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 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"
+ 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