ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: long style of a row to put in a macro
Date: Mon, 10 Apr 2006 14:18:00 +0200	[thread overview]
Message-ID: <443A4CF8.2070500@wxs.nl> (raw)
In-Reply-To: <loom.20060410T122053-307@post.gmane.org>

olivier Turlier wrote:
> Hi everybody,
>
> In writing a glossary of building terms (approx. 400 entries) in a natural TABLE.
>
> For each letter, A, B, C, I want a screen background, spanning on 2 colomns,
> with \bf style, etc.  : this leads to a rather long definition that I don't wish
> to copy on each new letter row, so I made a little macro to recall this setup.
>
> This system is not working yet, so i beg your help, TIA for any answer
>
> %%%
> \setupcolors[state=start]
>
> \starttext
>
> \def\Rowa#1{nc=2,background=color,backgroundcolor=screen,style=\bf,
> frame=off,align={middle,lohi}{#1}}
>
> \bTABLE[frame=off,width=broad,split=yes]
> \setupTABLE[column][1][style=\bf,align={right,lohi},width=3cm]
> \setupTABLE[column][2][style=\tf,align={lohi}]
>   
you can say odd/even etc instead of 1,3,5 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

  reply	other threads:[~2006-04-10 12:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 10:33 olivier Turlier
2006-04-10 12:18 ` Hans Hagen [this message]
2006-04-10 12:47   ` Vit Zyka
2006-04-11 11:45     ` olivier Turlier
2006-04-11 13:56       ` Hans Hagen
2006-04-11 17:23         ` olivier Turlier

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=443A4CF8.2070500@wxs.nl \
    --to=pragma@wxs.nl \
    --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).