ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Enumeration numbering in the left margin
@ 2021-11-20  6:01 kauśika via ntg-context
  2021-11-20 13:28 ` kauśika via ntg-context
  0 siblings, 1 reply; 4+ messages in thread
From: kauśika via ntg-context @ 2021-11-20  6:01 UTC (permalink / raw)
  To: ntg-context; +Cc: kauśika

Dear list,

I have the following enumeration block.

\defineenumeration[verse]
\setupenumeration[verse]
  [alternative=leftmargin,
   text=,
   width=fit,
   distance=1em,
   way=bysection]

I actually want to (flush) left align the enumeration's number inside the left 
margin and give it a blue color. But even if I have 
   \setupmargindata[inleftmargin][color=bblue4,align=flushleft]
there is no alignment, no color.

However, if I do 
\setupenumeration[verse]
  [alternative=leftmargin,
   text=,
   width=\leftmarginwidth,
   headcolor=bblue4,
   distance=0em,
   way=bysection]
I am able to get the desired effect.

Is this the 'correct' way to do it? I mean to ask, am I doing something wrong 
with \setupmargindata or is this expected behaviour.

Thanks,
kauśika


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

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-21  4:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-20  6:01 Enumeration numbering in the left margin kauśika via ntg-context
2021-11-20 13:28 ` kauśika via ntg-context
2021-11-20 15:04   ` Wolfgang Schuster via ntg-context
2021-11-21  4:01     ` kauśika via ntg-context

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).