ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Daniel Pittman <daniel@rimspace.net>
Subject: How to place an item between table rows, centered on the page.
Date: Wed, 06 Mar 2002 19:37:36 +1100	[thread overview]
Message-ID: <87d6yijdm7.fsf@inanna.rimspace.net> (raw)

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.).

I would like to have this item centered against the page it is in, not
aligned with the table columns. I currently have a table defined as:

\definetabulate[steps][|p(.3\hsize)|p|]

The closest I have been able to get to my goal has been to place an
additional row in the table following each row of content, containing
the following:

\NC \NC \blackrule[width=.2\hsize,height=1pt,depth=0pt] \NC \NR

That places a rule of around the right size at around the right place.
It has the fairly major drawback, however, of placing a full line height
of blank space between the rows containing content.

This is less than totally desirable; I would much rather ~ half a line
height of blank space with a rule centered in it, but less than that if
I end up using the graphic.

In the long term I suspect that the graphic divider will be used,
providing a more ornate separation of the steps. As such I would be
interested in knowing how to achieve both items, not just one.

Regards,
        Daniel

Footnotes: 
[1]  Actually, I would like to try both and see which one works best.

-- 
...Two and two are four. Sometimes, Winston. Sometimes they are five.
Sometimes they are three. Sometimes they are all of them at once. You must try
harder. It is not easy to become sane.
        -- George Orwell, _1984_


             reply	other threads:[~2002-03-06  8:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-06  8:37 Daniel Pittman [this message]
2002-03-06  9:11 ` Hans Hagen
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=87d6yijdm7.fsf@inanna.rimspace.net \
    --to=daniel@rimspace.net \
    /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).