今天看啥  ›  专栏  ›  LaTeX工作室

enumitem 宏包中的长度设置

LaTeX工作室  · 公众号  ·  · 2022-02-19 10:21
在 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); the leftmargin is marked with two vertical rules.下面来探究一下这些关系应该如何设置.首先声明: 以下内容我没有阅读源码, 只是通过阅读文档以及 TEX.SE 上的回答 而进行的个人总结简介在 \leftmargin, \itemindent, \labelindent, \labelwidth 和 \labelsep 这 5 个长度中, 只有 \labelindent 是 enumitem  ………………………………

原文地址:访问原文地址
快照地址: 访问文章快照