ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: How to place an item between table rows, centered on the page.
Date: Wed, 06 Mar 2002 10:11:30 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20020306101103.034df6d0@server-1> (raw)
In-Reply-To: <87d6yijdm7.fsf@inanna.rimspace.net>

At 07:37 PM 3/6/2002 +1100, Daniel Pittman wrote:
>I would like to typeset one of two things[1] between each row of a table:
>* a partial width line
>* a graphic
>
>The effect I would like to achieve is to make a visual distinction
>between the rows of the table without a full width table line (as
>achieved by \HL &c.).

\starttext

\setupcolors[state=start]

\showstruts

\def\betweentabulate#1%
   {\TABLEnoalign{\nointerlineskip#1\nointerlineskip}}

\starttabulate[|l|l|]
\NC it makes \NC much sense        \NC \NR
\betweentabulate{\blackrule[color=red,width=10mm,height=1mm,depth=1mm]}
\NC to read  \NC those tufte books \NC \NR
\stoptabulate

\stoptext

I guess that GB loves this trick -)

Hans
-------------------------------------------------------------------------
                                   Hans Hagen | PRAGMA ADE | pragma@wxs.nl
                       Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                                   fall-back web server: 
www.pragma-ade.nl
-------------------------------------------------------------------------


  reply	other threads:[~2002-03-06  9:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06  8:37 Daniel Pittman
2002-03-06  9:11 ` Hans Hagen [this message]
2002-03-06  9:57   ` Daniel Pittman
2002-03-06 10:26   ` Re[2]: " Giuseppe Bilotta
2002-03-06 11:05   ` Daniel Pittman
2002-03-06 19:55     ` Hartmut Henkel
2002-03-08 20:48       ` Michael Hallgren
2002-03-07  7:00   ` Daniel Pittman
2002-03-07 23:27     ` Hans Hagen
2002-03-08 10:33       ` Daniel Pittman
2002-03-08 11:23         ` Hans Hagen
2002-03-08 11:27         ` Taco Hoekwater

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=5.1.0.14.1.20020306101103.034df6d0@server-1 \
    --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).