ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lars <axteffekt@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: setting row height?
Date: Fri, 29 Dec 2017 14:14:44 +0100	[thread overview]
Message-ID: <865b0799-598d-e002-8960-488906c1ccc3@gmail.com> (raw)
In-Reply-To: <BE936B68-3EAD-4E9E-8141-04B7A5BC70AD@klankschap.nl>


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

  reply	other threads:[~2017-12-29 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-28 19:44 Floris van Manen
2017-12-29 13:14 ` Lars [this message]
2017-12-30  1:51   ` Floris van Manen

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=865b0799-598d-e002-8960-488906c1ccc3@gmail.com \
    --to=axteffekt@gmail.com \
    --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).