ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* problem with bottomframe, bottom and align=middle
@ 2006-04-10 18:43 Peter Münster
  2006-04-10 20:42 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2006-04-10 18:43 UTC (permalink / raw)


Hello,
in the following example, the bottomframe of the first column is lowered:

\starttext
\setupTABLE[frame=off,offset=0.2em]
\setupTABLE[r][1][bottomframe=on,align=middle]
\setupTABLE[c][1][bottom=h]
\setupTABLE[1][1][bottom=]
\bTABLE
\bTR\bTH 1\eTH\bTH 2\eTH\eTR
\bTR\bTD 3\eTD\bTD 4\eTD\eTR
\bTR\bTD 5\eTD\bTD 6\eTD\eTR
\eTABLE
\stoptext

How could I solve this problem?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: problem with bottomframe, bottom and align=middle
  2006-04-10 18:43 problem with bottomframe, bottom and align=middle Peter Münster
@ 2006-04-10 20:42 ` Hans Hagen
  2006-04-10 20:54   ` Peter Münster
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2006-04-10 20:42 UTC (permalink / raw)


� wrote:
> Hello,
> in the following example, the bottomframe of the first column is lowered:
>
> \starttext
> \setupTABLE[frame=off,offset=0.2em]
> \setupTABLE[r][1][bottomframe=on,align=middle]
> \setupTABLE[c][1][bottom=h]
> \setupTABLE[1][1][bottom=]
> \bTABLE
> \bTR\bTH 1\eTH\bTH 2\eTH\eTR
> \bTR\bTD 3\eTD\bTD 4\eTD\eTR
> \bTR\bTD 5\eTD\bTD 6\eTD\eTR
> \eTABLE
> \stoptext
>   
restore the bottom parameter of the first cell to \vss

\showstruts

\starttext
\setupTABLE[frame=off,offset=0.2em]
\setupTABLE[r][1][bottomframe=on,align=middle]
\setupTABLE[c][1][bottom=h]
\setupTABLE[1][1][bottom=\vss]
\bTABLE
\bTR\bTH 1\eTH\bTH 2\eTH\eTR
\bTR\bTD 3\eTD\bTD 4\eTD\eTR
\bTR\bTD 5\eTD\bTD 6\eTD\eTR
\eTABLE
\stoptext

strange usage of 'bottom' btw 

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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

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

* Re: problem with bottomframe, bottom and align=middle
  2006-04-10 20:42 ` Hans Hagen
@ 2006-04-10 20:54   ` Peter Münster
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Münster @ 2006-04-10 20:54 UTC (permalink / raw)


On Mon, 10 Apr 2006, Hans Hagen wrote:

> restore the bottom parameter of the first cell to \vss

Thank you, this works fine!

> strange usage of 'bottom' btw 

Once upon a time, I asked for similar feature as in TaBlE: b{tokens} and
a{tokens}, something like before=command and after=command. At the end, we
concluded, that style= and bottom= would do the job.
That's why I use bottom=...
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

end of thread, other threads:[~2006-04-10 20:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-10 18:43 problem with bottomframe, bottom and align=middle Peter Münster
2006-04-10 20:42 ` Hans Hagen
2006-04-10 20:54   ` Peter Münster

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