ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Eckhart Guthöhrlein" <eckhart.guthoehrlein@uni-bielefeld.de>
Subject: hook TABLE
Date: Tue, 10 May 2005 19:01:25 +0200	[thread overview]
Message-ID: <20050510170124.GB26761@cebitec.uni-bielefeld.de> (raw)

Hi,

I have tried to use Hans' recent tip concerning hooks for TABLE entries
in oder to increase the horizontal separation of cells. Here is what I
currently have:

\newdimen\TabCol\Sep
\TabColSep6pt
\def\TBLcharalign#1#2{%
  \hskip\TabColSep\relax
  \framed[align=right,frame=off,rulethickness=0mm,offset=0mm,strut=yes]{#2}%
  \hbox to\TabColSep{\hss}%
  }

This works - kind of, at least the horizontal cell separation is
increased. Unfortunately, vertical spacing between rows is also
affected.
I had to introduce the \framed in order to treat multi-line entries, and
the strut in order to ensure correct vertical alignment in the row.
Now, my call for help: Does anybody have an idea how to control
horizontal spacing without changing the inter-row space?

Thanks,
-- 
Eckhart

                 reply	other threads:[~2005-05-10 17:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20050510170124.GB26761@cebitec.uni-bielefeld.de \
    --to=eckhart.guthoehrlein@uni-bielefeld.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).