Alexandre Christe via ntg-context schrieb am 07.11.2022 um 21:04:
Dear list,

Is there a trick to not apply the leftoffset to the header of a defineenumeration?

MWE:

[...]

You can use \offset to shift the enumeration title.

\defineframed
  [ExampleHeadFrame]
  [location=low,
   background=color,
   backgroundcolor=darkgreen,
   width=\textwidth]

\define[1]\ExampleHeadCommand
  {\offset[leftoffset=-2.25ex]{\ExampleHeadFrame{#1}}}

\defineenumeration
  [example]
  [...,
   headcommand=\ExampleHeadCommand,
   ...]

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

Reply via email to