From: Angel M Alganza via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Angel M Alganza <ama@ugr.es>
Subject: Auto width and height on table cells
Date: Thu, 30 Jun 2022 07:43:27 +0200 [thread overview]
Message-ID: <Yr03/xwD8ms0q/ui@zombi.ugr.es> (raw)
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
___________________________________________________________________________________
next reply other threads:[~2022-06-30 5:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-30 5:43 Angel M Alganza via ntg-context [this message]
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
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=Yr03/xwD8ms0q/ui@zombi.ugr.es \
--to=ntg-context@ntg.nl \
--cc=ama@ugr.es \
/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).