ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* natural tables flaw: extra space
@ 2005-04-07 13:56 Eckhart Guthöhrlein
  2005-04-08  8:28 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-07 13:56 UTC (permalink / raw)


Hi,

consider the following example

\starttext
  \setupTABLE[frame=off]
  \setupTABLE[row][first][topframe=on,rulethickness=1mm]
  \bTABLE
    \bTR \bTD 1,1 \eTD \bTD 2,1 \eTD \eTR
    \bTR \bTD 1,2 \eTD \bTD 2,2 \eTD \eTR
  \eTABLE
\stoptext

In the first cell, extra space is added before the entry. I guess it's
1mm from the left frame which should be off, so the space shouldn't be
there. Or is it a feature?

Greetings,
-- 
Eckhart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: natural tables flaw: extra space
  2005-04-07 13:56 natural tables flaw: extra space Eckhart Guthöhrlein
@ 2005-04-08  8:28 ` Hans Hagen
  2005-04-08 14:33   ` Eckhart Guthöhrlein
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2005-04-08  8:28 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:
> Hi,
> 
> consider the following example
> 
> \starttext
>   \setupTABLE[frame=off]
>   \setupTABLE[row][first][topframe=on,rulethickness=1mm]
>   \bTABLE
>     \bTR \bTD 1,1 \eTD \bTD 2,1 \eTD \eTR
>     \bTR \bTD 1,2 \eTD \bTD 2,2 \eTD \eTR
>   \eTABLE
> \stoptext
> 
> In the first cell, extra space is added before the entry. I guess it's
> 1mm from the left frame which should be off, so the space shouldn't be
> there. Or is it a feature?

a feature (invisible rules at left/right/bottom)

\setupTABLE[frame=off,rulethickness=1mm]

gives better results

Hans



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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: natural tables flaw: extra space
  2005-04-08  8:28 ` Hans Hagen
@ 2005-04-08 14:33   ` Eckhart Guthöhrlein
  2005-04-08 21:54     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Eckhart Guthöhrlein @ 2005-04-08 14:33 UTC (permalink / raw)


On Fri, 08 Apr 2005 at 10:28:59+0200, Hans Hagen wrote:
> >\starttext
> >  \setupTABLE[frame=off]
> >  \setupTABLE[row][first][topframe=on,rulethickness=1mm]
> >  \bTABLE
> >    \bTR \bTD 1,1 \eTD \bTD 2,1 \eTD \eTR
> >    \bTR \bTD 1,2 \eTD \bTD 2,2 \eTD \eTR
> >  \eTABLE
> >\stoptext
> >
> >In the first cell, extra space is added before the entry. I guess it's
> >1mm from the left frame which should be off, so the space shouldn't be
> >there. Or is it a feature?
> 
> a feature (invisible rules at left/right/bottom)
> 
> \setupTABLE[frame=off,rulethickness=1mm]
> 
> gives better results

Hm. I would expect a frame that is 'off' to be inexistent, not only
invisible. Alas, not that important, you will know why that is a
feature.

-- 
Eckhart

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: natural tables flaw: extra space
  2005-04-08 14:33   ` Eckhart Guthöhrlein
@ 2005-04-08 21:54     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2005-04-08 21:54 UTC (permalink / raw)


Eckhart Guthöhrlein wrote:

> Hm. I would expect a frame that is 'off' to be inexistent, not only
> invisible. Alas, not that important, you will know why that is a
> feature.

because in most cases (in framed, which is the cornerstone of bTABLE) one will 
not let a not present frame influence the game; has to do with aligning framed 
things and such

Hans

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-08 21:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-07 13:56 natural tables flaw: extra space Eckhart Guthöhrlein
2005-04-08  8:28 ` Hans Hagen
2005-04-08 14:33   ` Eckhart Guthöhrlein
2005-04-08 21:54     ` Hans Hagen

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