ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Xan <dxpublica@telefonica.net>
Subject: Re: startenumerate in romans a la LaTeX
Date: Tue, 31 Aug 2010 10:06:20 +0200	[thread overview]
Message-ID: <8F5A3CCA-F0DB-415A-B88F-F570DAE19CBA@gmail.com> (raw)
In-Reply-To: <4C7CB3A5.2@elvenkind.com>


Am 31.08.2010 um 09:47 schrieb Taco Hoekwater:

> On 08/31/2010 09:31 AM, Xan wrote:
>> Al 30/08/10 15:55, En/na Taco Hoekwater ha escrit:
>>> On 08/28/2010 09:31 PM, Xan wrote:
>>>> - right indentation of items: in context items start at the same point.
>>>> In LaTeX is the item text itself who starts at the same point, not the
>>>> romans.
>>> 
>>> I do not understand this sentence. Does this do what you want?
>>> 
>> 
>> Easy: in ConTeXt
>> 
>> (i) bla bla bla
>> (ii) bla bla bla
>> (iii) bla bla bla
>> (iv) bla bla bla
>> 
>> in LaTeX
>> 
>> (i) bla bla bla
>> (ii) bla bla bla
>> (iii) bla bla bla
>> (iv) bla bla bla
>> 
>> Context aligns text and LaTeX right-aligns the numbers (markers)
> 
> Wolfgang? I know how to code this in plain style, but is there a nicer
> way?

\defineitemgroup[enumerate]

\setupitemgroup[enumerate][each][romannumerals][width=1cm,distance=1em,itemalign=flushright,left=(,right=),stopper=]
%\setupitemgroup[enumerate][each][romannumerals,fit][distance=1em,itemalign=flushright,left=(,right=),stopper=]

\starttext

\startenumerate
\item one
\item two
\item \input ward
\stopenumerate

\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
___________________________________________________________________________________


  parent reply	other threads:[~2010-08-31  8:06 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-28 19:31 Xan
2010-08-30 13:55 ` Taco Hoekwater
2010-08-30 15:26   ` Jörg Hagmann
2010-08-31  7:31   ` Xan
2010-08-31  7:47     ` Taco Hoekwater
2010-08-31  8:05       ` Jerónimo Alaminos Prats
2010-08-31  8:06       ` Wolfgang Schuster [this message]
2010-08-31  9:28         ` Xan
2010-08-31 10:16           ` Otared Kavian
2010-08-31 14:58             ` xancorreu
2010-08-31 17:10               ` Jerónimo Alaminos Prats
2010-08-31  7:33   ` Xan
  -- strict thread matches above, loose matches on Subject: below --
2010-08-29 17:09 Xan xan
2010-08-30  9:26 ` Xan xan
2010-08-28 17:56 Xan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8F5A3CCA-F0DB-415A-B88F-F570DAE19CBA@gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=dxpublica@telefonica.net \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).