ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Itemize right-aligned
@ 2011-08-22 14:21 Wolfgang Schuster
  0 siblings, 0 replies; only message in thread
From: Wolfgang Schuster @ 2011-08-22 14:21 UTC (permalink / raw)
  To: ntg-context

Hi,
is it possible to "right-align" enumerations? Giving
something like the following

          This is the first item *
   A somewhat longer second item   *
              A short third item   *

Thanks
Erik


No but you can use descriptions to get this output:

\definedescription
  [myitem]
  [location=right,
   align=flushright,
   width=2em,
   distance=1em,
   headalign=middle,
   text={\symbol[bullet]}]

\starttext

\input ward

\startmyitem \input ward \stopmyitem

\startmyitem \input ward \stopmyitem

\input ward

\stoptext

Wolfgang
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-08-22 14:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-22 14:21 Itemize right-aligned Wolfgang Schuster

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