ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Question about an environment
@ 2018-01-28 21:54 Fabrice Couvreur
  2018-01-31 11:17 ` Fabrice Couvreur
  2018-02-02 17:17 ` Wolfgang Schuster
  0 siblings, 2 replies; 6+ messages in thread
From: Fabrice Couvreur @ 2018-01-28 21:54 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 829 bytes --]

Hello,
How to make the first item on the baseline of the numbering as in the first
exercise ?
Thanks.
Fabrice

\defineframed
  [ACFRAME]
  [frame=off,
   boffset=0pt,
   width=fit,
   align=flushleft,
   location=low,
   background=color,
   backgroundcolor=MyColorA]

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

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

\defineenumeration
  [ex]
  [text=,
   width=fit,
   numberconversionset=ACCONVERSION,
   alternative=serried,
   number=yes]

\starttext
\startex
\input ward
\stopex
\startex
  \startitemize[n]
  \item One
  \item Two
  \item Three
  \stopitemize
\stopex
\stoptext

[-- Attachment #1.2: Type: text/html, Size: 1266 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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] 6+ messages in thread

end of thread, other threads:[~2018-02-04 11:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-28 21:54 Question about an environment Fabrice Couvreur
2018-01-31 11:17 ` Fabrice Couvreur
2018-02-02 17:17 ` Wolfgang Schuster
2018-02-03 10:20   ` Fabrice Couvreur
2018-02-03 13:29     ` Wolfgang Schuster
2018-02-04 11:50       ` Fabrice Couvreur

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).