Fabrice Couvreur
22. Juli 2016 um 09:48
Hi Wolfgang,
It is clear, I think I understand (My English is not perfect !). So back to my original post, if I want only the counter is white and surrounded by a red frame, just write :

\defineenumeration
  [ex]
   [text=,
    distance=0.3em,
    width=fit,
    numberconversionset=ACCONVERSION,
    alternative=serried,
   ]

\defineprocessor[ACPROCESSOR][command=\ACFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]

You can play with the position of the frame and place the number on the same line as the content:

\defineframed
  [ACFRAME]
  [frame=off,
   offset=0pt,
   location=low,
   width=\struttotal,
   background=color,
   backgroundcolor=red,
   foregroundcolor=white,
   forgroundstyle=bold]

Wolfgang