[NTG-context] Proper formatting of itemized bullets in ConTeXt
śrīrāma
citturs at gmail.com
Wed Apr 13 04:09:06 CEST 2022
On 4/13/22 7:37 AM śrīrāma wrote:
> I revisited this today after the (frankly) subpar solution I presented yesterday. With the below example, we
> • neither lose the nice features of \setupitemgroup
> • nor do we need grouping of the items.
> The only 'price to pay' is to use \citem (comma item) and \pitem (period item) as required.
cleaned up the example –
%% start example
\def\citem{\item\AfterPar{\hspace[-normal],}\GetPar}
\def\pitem{\item\AfterPar{\hspace[-normal].}\GetPar}
\defineitemgroup
[pitemize]
[command=\Word]
\starttext
\startpitemize[n]
\citem first item
\citem second item
\citem third item
\pitem fourth item
\stoppitemize
\stoptext
%% stop example
Sreeram
More information about the ntg-context
mailing list