ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henning Hraban Ramm <texml@fiee.net>
To: ntg-context@ntg.nl
Subject: fun with frames and tables
Date: Mon, 13 Apr 2020 14:07:12 +0200	[thread overview]
Message-ID: <3E103D8C-BECA-4C35-B12B-35901B816365@fiee.net> (raw)

Hi, 

after I re-setup my computer (harddisk got tired...) I’m now trying to update my old Midgard RPG character sheet (https://github.com/fiee/ConTeXt/tree/master/midgard) and run into some problems that I don’t understand while trying to fill one page with several tables.

Here’s a quite minimal example:


\setupTABLE[c][each][width=2cm]

\starttext

\framed[offset=overlay,width=\textwidth]{%
\vbox{\bTABLE
\dorecurse{10}{\bTR\bTD x \eTD\bTD y \eTD\eTR}
\eTABLE}%
\hskip1cm%
\vbox{\bTABLE
\dorecurse{10}{\bTR\bTD x \eTD\bTD y \eTD\bTD z \eTD\eTR}
\eTABLE}%
}

\stoptext


I’m trying to get those tables side by side, but the size of the wrapping box is somehow miscalculated – if I set the width, the left table disappeares to the left, if I don’t, the box exceeds the paper width.
Maybe it’s completely unrelated to the tables.

In the full document, there’s also space before or after one of the tables, so that they don’t align.
There are actually not just two tables, but a short wide one and a combination of 3*2 small ones on the left side (that’s why I seem to need that \vbox) and a big table on the right side. But I’ll care about the other problems if I understand what’s going on with those boxes.

Happy Easter & best regards,
Hraban
___________________________________________________________________________________
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:[~2020-04-13 12:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-13 12:07 Henning Hraban Ramm [this message]
2020-04-13 13:37 ` Wolfgang Schuster
2020-04-13 14:07   ` Henning Hraban Ramm
2020-04-13 16:23     ` Wolfgang Schuster

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=3E103D8C-BECA-4C35-B12B-35901B816365@fiee.net \
    --to=texml@fiee.net \
    --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).