ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Auto width and height on table cells
@ 2022-06-30  5:43 Angel M Alganza via ntg-context
  2022-06-30  6:16 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 14+ messages in thread
From: Angel M Alganza via ntg-context @ 2022-06-30  5:43 UTC (permalink / raw)
  To: ntg-context; +Cc: Angel M Alganza

Hello,

I want some tables to occupy 100% of \textwidth and \textheight and for
all columns to be the same width except one or two that I want to
specify and for all rows to be the same height except for one or two,
that I want to specify as well.. 

For the moment, I'm doing it "manually", calculating column width as

   (\textwidth - width of fixed columns) / # rest of columns

and row height as

   (\textheight - height of fixed rows) / # rest of rows

I'm getting the result that I want, but it's a bit tedious.

Is it possible to have ConTeXt do all those calculations for me?
I haven't been able to figure it out from the manuals and the wiki.

Thank you in advance.

Regards,
Ángel
___________________________________________________________________________________
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] 14+ messages in thread

end of thread, other threads:[~2022-06-30 16:44 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  5:43 Auto width and height on table cells Angel M Alganza via ntg-context
2022-06-30  6:16 ` Hans Hagen via ntg-context
2022-06-30  6:40   ` Angel M Alganza via ntg-context
2022-06-30  7:02     ` Henning Hraban Ramm via ntg-context
2022-06-30  7:22       ` Angel M Alganza via ntg-context
2022-06-30  7:36         ` Hans Hagen via ntg-context
2022-06-30  7:46           ` Angel M Alganza via ntg-context
2022-06-30  8:26             ` Hans Hagen via ntg-context
2022-06-30  8:37               ` Angel M Alganza via ntg-context
2022-06-30 14:15             ` Pablo Rodriguez via ntg-context
2022-06-30 16:10               ` Angel M Alganza via ntg-context
2022-06-30 16:44                 ` Pablo Rodriguez via ntg-context
2022-06-30 10:12           ` Henning Hraban Ramm via ntg-context
2022-06-30 10:25             ` Angel M Alganza via ntg-context

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