为什么在此示例中)
内联逐项环境后的空格不相等,以及如何修复这个问题?
\setuppapersize[A4]
\mainlanguage[arabic]
\setupdirections[bidi=global,method=one]
\setupalign[r2l]
\setupbodyfontenvironment[default][em=italic]
\definefontfamily [myfont][serif][Amiri] [features=arabic]
\setupbodyfont [myfont]
\defineconversion[aralph][أ,ب,ج]
\setupitemgroup[symbol=n,stopper=,right=(]
\starttext
\startitemize[aralph,columns,three][direction=reverse]
\item -
\item -
\item -
\stopitemize
\stoptext
答案1
您的项目具有不同的宽度,但它们占据了一定的宽度(width=...
,但width=fit
似乎没有 )。您可以使用align=left
,也许还可以设置distance
,见下文。我还添加了\showboxes
,因为它有助于查看我们得到的结果。
\setuppapersize[A4]
\mainlanguage[arabic]
\setupdirections[bidi=global,method=one]
\setupalign[r2l]
\setupbodyfontenvironment[default][em=italic]
\definefontfamily [myfont][serif][Amiri] [features=arabic]
\setupbodyfont [myfont]
\defineconversion[aralph][أ,ب,ج]
\setupitemgroup[symbol=n,stopper=,right=(,leftmargin=5mm]
\showboxes
\starttext
\startbuffer
\startitemize[aralph,columns,three][direction=reverse]
\item -
\item -
\item -
\stopitemize
\stopbuffer
\getbuffer
\setupitemgroup[itemalign=left,distance=1dk]
\getbuffer
\stoptext