enumitem 宏包中的长度设置
在 enumitem
的宏包手册 中有 5 个长度命令 \leftmargin
,
\itemindent
, \labelindent
,
\labelwidth
和 \labelsep
.
这些长度关系以及互相的制约让人头疼, 而 enumitem
的作者也晓得这一点:
New 3.6 If you find these parameters baffling, you are not alone. You can visualize them by writing
\DrawEnumitemLabel
just before the first item (or in first), which draws 4 rules from top to bottom,labelindent
,labelwidth
,labelsep
,itemindent
(thin if positive, thick if negative); theleftmargin
is marked with two vertical rules.
下面来探究一下这些关系应该如何设置.