ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How can I reset the height of a row in \bTABLE..\eTABLE?
@ 2006-01-31 10:21 Pearson, Mark (Capita Symonds)
  2006-02-01 20:51 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Pearson, Mark (Capita Symonds) @ 2006-01-31 10:21 UTC (permalink / raw)


Hello All,

The example below shows two tables. The first table has the height
of its 1st row explicitly set, which then carries over to the second
table causing the content to overflow the boundaries of the table. 

My question: Is there a way to either a) reset the row height for the
second table using something like \setupTABLE[r][1][height=auto] or 
b) set the minimum height of a row e.g. \setupTABLE[r][1][minheight=3ex]
so that the height is able to expand if necessary?

I found a macro named \resetallTABLEparameters but it doesn't seem
to have the desired effect.


Thanks in advance,

Mark Pearson


\starttext

\setupTABLE[r][1][height=1.5\lineheight]

\bTABLE
\bTR 
\bTD 
Cell 1
\eTD
\bTD 
Cell 2
\eTD
\eTR
\eTABLE

\blank[2*big]

\bTABLE
\bTR 
\bTD 
This is a table cell with a long section of text in it which I 
sincerely hope is going to force the table to resize accordingly
\eTD
\bTD 
This is another table cell with some text in it too
\eTD
\eTR
\eTABLE

\stoptext


**********************************************************************************
This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed.  
If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system.

Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.
***********************************************************************************

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

* Re: How can I reset the height of a row in \bTABLE..\eTABLE?
  2006-01-31 10:21 How can I reset the height of a row in \bTABLE..\eTABLE? Pearson, Mark (Capita Symonds)
@ 2006-02-01 20:51 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2006-02-01 20:51 UTC (permalink / raw)


Pearson, Mark (Capita Symonds) wrote:
> Hello All,
>
> The example below shows two tables. The first table has the height
> of its 1st row explicitly set, which then carries over to the second
> table causing the content to overflow the boundaries of the table. 
>
> My question: Is there a way to either a) reset the row height for the
> second table using something like \setupTABLE[r][1][height=auto] or 
> b) set the minimum height of a row e.g. \setupTABLE[r][1][minheight=3ex]
> so that the height is able to expand if necessary?
>
> I found a macro named \resetallTABLEparameters but it doesn't seem
> to have the desired effect.
>
>
> Thanks in advance,
>
> Mark Pearson
>
>
> \starttext
>
>   
\start

\setupTABLE[r][1][height=1.5\lineheight]
> \bTABLE
> \bTR 
> \bTD 
> Cell 1
> \eTD
> \bTD 
> Cell 2
> \eTD
> \eTR
> \eTABLE
>   
\stop

> \blank[2*big]
>
> \bTABLE
> \bTR 
> \bTD 
> This is a table cell with a long section of text in it which I 
> sincerely hope is going to force the table to resize accordingly
> \eTD
> \bTD 
> This is another table cell with some text in it too
> \eTD
> \eTR
> \eTABLE
>
> \stoptext
>
>
> **********************************************************************************
> This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed.  
> If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system.
>
> Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail.
> ***********************************************************************************
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>   


-- 

-----------------------------------------------------------------
                                          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] 2+ messages in thread

end of thread, other threads:[~2006-02-01 20:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-31 10:21 How can I reset the height of a row in \bTABLE..\eTABLE? Pearson, Mark (Capita Symonds)
2006-02-01 20:51 ` 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).