ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setting row height?
@ 2017-12-28 19:44 Floris van Manen
  2017-12-29 13:14 ` Lars
  0 siblings, 1 reply; 3+ messages in thread
From: Floris van Manen @ 2017-12-28 19:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 476 bytes --]

What is the (preferred) way to set the height of table rows?
e.g. the online documentation tells me how to set the width, not the height.
or how to set the height of the table?

\starttable[*{4}{|w(7mm)}|][textwidth=max]\HL[5]
\VL[5]{1} \VL[1]{0} \VL[5]{2} \VL[1]{8} \VL[5]\AR\HL[1]
\VL[5]{8} \VL[1]{~} \VL[5]{~} \VL[1]{1} \VL[5]\AR\HL[5]
\VL[5]{0} \VL[1]{~} \VL[5]{~} \VL[1]{2} \VL[5]\AR\HL[1]
\VL[5]{2} \VL[1]{8} \VL[5]{1} \VL[1]{0} \VL[5]\AR\HL[5]
\stoptable



Thanks
.F


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: setting row height?
  2017-12-28 19:44 setting row height? Floris van Manen
@ 2017-12-29 13:14 ` Lars
  2017-12-30  1:51   ` Floris van Manen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars @ 2017-12-29 13:14 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 1695 bytes --]

Hey there,

I suggest you use the *extreme tables* mechanism instead. AFAIK it is 
the most consistent way to-date. A simple table would look like (also 
see attached output jpg at the bottom of the mail):


\starttext

   \startxtable[height=3cm] % Use it globally...

     \startxrow
       \startxcell
         first top
       \stopxcell
       \startxcell
         second top
       \stopxcell
     \stopxrow

     \startxrow[height=1cm] % ... or locally.
       \startxcell
         first bot
       \stopxcell
       \startxcell
         second bot
       \stopxcell
     \stopxrow

   \stopxtable

\stoptext



Cheers.



Am 28/12/2017 um 20:44 schrieb Floris van Manen:
> What is the (preferred) way to set the height of table rows?
> e.g. the online documentation tells me how to set the width, not the height.
> or how to set the height of the table?
>
> \starttable[*{4}{|w(7mm)}|][textwidth=max]\HL[5]
> \VL[5]{1} \VL[1]{0} \VL[5]{2} \VL[1]{8} \VL[5]\AR\HL[1]
> \VL[5]{8} \VL[1]{~} \VL[5]{~} \VL[1]{1} \VL[5]\AR\HL[5]
> \VL[5]{0} \VL[1]{~} \VL[5]{~} \VL[1]{2} \VL[5]\AR\HL[1]
> \VL[5]{2} \VL[1]{8} \VL[5]{1} \VL[1]{0} \VL[5]\AR\HL[5]
> \stoptable
>
>
>
> Thanks
> .F
>
>
>
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
>
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 3066 bytes --]

[-- Attachment #2: tableheight.jpg --]
[-- Type: image/jpeg, Size: 8419 bytes --]

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

* Re: setting row height?
  2017-12-29 13:14 ` Lars
@ 2017-12-30  1:51   ` Floris van Manen
  0 siblings, 0 replies; 3+ messages in thread
From: Floris van Manen @ 2017-12-30  1:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 2515 bytes --]

/thankyou
F

> On 29 Dec 2017, at 14:14, Lars <axteffekt@gmail.com> wrote:
> 
> Hey there,
> 
> I suggest you use the extreme tables mechanism instead. AFAIK it is the most consistent way to-date. A simple table would look like (also see attached output jpg at the bottom of the mail):
> 
> 
> \starttext
> 
>   \startxtable[height=3cm] % Use it globally...
> 
>     \startxrow
>       \startxcell
>         first top
>       \stopxcell
>       \startxcell
>         second top
>       \stopxcell
>     \stopxrow
> 
>     \startxrow[height=1cm] % ... or locally.
>       \startxcell
>         first bot
>       \stopxcell
>       \startxcell
>         second bot
>       \stopxcell
>     \stopxrow
> 
>   \stopxtable
> 
> \stoptext
> 
> 
> 
> Cheers.
> 
> 
> 
> Am 28/12/2017 um 20:44 schrieb Floris van Manen:
>> What is the (preferred) way to set the height of table rows?
>> e.g. the online documentation tells me how to set the width, not the height.
>> or how to set the height of the table?
>> 
>> \starttable[*{4}{|w(7mm)}|][textwidth=max]\HL[5]
>> \VL[5]{1} \VL[1]{0} \VL[5]{2} \VL[1]{8} \VL[5]\AR\HL[1]
>> \VL[5]{8} \VL[1]{~} \VL[5]{~} \VL[1]{1} \VL[5]\AR\HL[5]
>> \VL[5]{0} \VL[1]{~} \VL[5]{~} \VL[1]{2} \VL[5]\AR\HL[1]
>> \VL[5]{2} \VL[1]{8} \VL[5]{1} \VL[1]{0} \VL[5]\AR\HL[5]
>> \stoptable
>> 
>> 
>> 
>> Thanks
>> .F
>> 
>> 
>> 
>> 
>> ___________________________________________________________________________________
>> If your question is of interest to others as well, please add an entry to the Wiki!
>> 
>> maillist :
>> ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
>> 
>> webpage  :
>> http://www.pragma-ade.nl / http://context.aanhet.net
>> 
>> archive  :
>> https://bitbucket.org/phg/context-mirror/commits/
>> 
>> wiki     :
>> http://contextgarden.net
>> 
>> ___________________________________________________________________________________
>> 
> 
> <tableheight.jpg>___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2017-12-30  1:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-28 19:44 setting row height? Floris van Manen
2017-12-29 13:14 ` Lars
2017-12-30  1:51   ` Floris van Manen

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