ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: vertical alignment in TOC
Date: Wed, 20 Jul 2011 14:13:00 +0200	[thread overview]
Message-ID: <4E26C64C.4070101@uni-bonn.de> (raw)
In-Reply-To: <1F5AC6A0-D7F6-4B71-8B29-D4324F1DB495@uni-koblenz.de>

On 07/20/2011 12:43 AM, Andreas Harder wrote:
>
>
>
> \define[3]\ChapterList%
>    {\bTABLE[offset=none,rulethickness=0pt,width=broad]
>       \bTR
>       % \bTD                                      #1 \eTD
>         \bTD                                      #2 \eTD
>         \bTD[width=1.5em,align={left,high}]\strut #3 \eTD
>       \eTR
>     \eTABLE}
>
> \setuplist[chapter][alternative=command,command=\ChapterList]
>
> \placelist[chapter][criterium=text]
>
> \stoptext
>
> If I got your right, this should work.
>
Thanks Andreas, this one looks very good! Hans had sent me a more 
complex patch which may go into the core (something like 
"alternative=high"), but this is good to have.

All best

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


  reply	other threads:[~2011-07-20 12:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 18:36 Thomas A. Schmitz
2011-07-19 21:22 ` Hans Hagen
2011-07-19 22:43 ` Andreas Harder
2011-07-20 12:13   ` Thomas A. Schmitz [this message]
2011-07-20 14:55     ` Hans Hagen

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=4E26C64C.4070101@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --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).