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>
Subject: Re: \setupitemize[afterhead=...] not working
Date: Tue, 24 Jun 2008 14:18:30 +0200	[thread overview]
Message-ID: <115224fb0806240518m1d5c5771u1e1524ad412f71cf@mail.gmail.com> (raw)
In-Reply-To: <20080624113424.GA24580@gaston.couberia.bzh>

On Tue, Jun 24, 2008 at 1:34 PM, Peter Münster <pmlists@free.fr> wrote:
> On Tue, Jun 24 2008, Wolfgang Schuster wrote:
>
>> > \setupitemize[headstyle=\bf\groupedcommand{}{:}, width=5em, distance=1em]
>> > \starttext
>> > \startitemize
>> > \txt{Short}
>> > \input tufte
>> > \txt{Very very very long}
>> > \input tufte
>> > \stopitemize
>> > \stoptext
>> >
>> > Should \head better be used for this purpose? And if yes, how?
>>
>> You should better use descriptions, this is what your example looks
>> like and what I guess only by looking at the output.
>
> Indeed, but I don't know how to do that with descriptions... :(

Me too, I come close to what do you want but two problems remain,
it's no possible to set a minimum width for the label and a unwanted
space is between the end of the head text and the colon.

\definedescription
  [peter]
  [align=left,
   location=hanging,
   margin=5em,
   width=broad,
   command=\groupedcommand{}{:}]

\starttext

\peter{Short}
\input tufte

\startpeter{Very very very long}
\input tufte
\stoppeter

\stoptext

Regards
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2008-06-24 12:18 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-23 12:43 Peter Münster
2008-06-23 12:57 ` Wolfgang Schuster
2008-06-23 16:22   ` Peter Münster
2008-06-23 21:07     ` Aditya Mahajan
2008-06-24  7:13       ` Wolfgang Schuster
2008-06-24  9:45         ` Peter Münster
2008-06-24  9:57           ` Wolfgang Schuster
2008-06-24 11:34             ` Peter Münster
2008-06-24 12:18               ` Wolfgang Schuster [this message]

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=115224fb0806240518m1d5c5771u1e1524ad412f71cf@mail.gmail.com \
    --to=schuster.wolfgang@googlemail.com \
    --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).