From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: last natural table column longer
Date: Sat, 21 Jan 2006 16:57:41 +0100 [thread overview]
Message-ID: <43D259F5.9040207@seznam.cz> (raw)
In-Reply-To: <43CB64FE.109@elvenkind.com>
Taco Hoekwater wrote:
>
> Hi Vit,
>
> Vit Zyka wrote:
>
>> Hello Wizards,
>>
>> my multi page (and multicolumn) table exceeds the last page by 2 rows.
>> Is there a way to make last column a bit longer? Here is a minimal
>> example:
>
>
> The underlying problem is that you have to enlarge the height of
> page 2. I don't know how that is 'normally' done, but perhaps it
> gives someone else a hint ?
Answer to my own question:
Question:
Imagine a table (\bTABLE) spanning several pages. Moreover the table
is inside multicolumn (\startcolumn). How to make some column longer
(having more rows in some column)? (Column height is given by page height.)
Solution:
1. Make page heigher (as high as the highest column) on every page where
the table is:
\setuplayout[lines=..]
2. Insert blank rows to appropriate table places to fill the columns:
\dorecurse{..}{\bTR\bTD\strut\eTD\eTR}
Remarks:
1. \adaptlayout{page}{height=+...} has limited capability of making page
heigher (not overcomes footer) so \setuplayout is more flexible.
2. Forsing column break by
\bTR[after=\column]\bTD...\eTD\eTR
works but add some spurious space on the top of next column. I was
not able to remove it even experimenting with my own
\installcolumnbreakhandler {MUL} {forse} {...}
and using
\bTR[after={\columnbreak[forse]}]\bTD...\eTD\eTR
Spurious space demonstration:
--------------
\startbuffer[table]
\bTABLE[split=yes]
\dorecurse{20}{\bTR\bTD cell #1\eTD\eTR}
\bTR[after={\columnbreak[yes]}]\bTD between \eTD\eTR
\dorecurse{100}{\bTR\bTD cell #1\eTD\eTR}
\eTABLE
\stopbuffer
\starttext
\startcolumns
\getbuffer[table]
\stopcolumns
\stoptext
--------------
Vit
prev parent reply other threads:[~2006-01-21 15:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-15 13:39 Vit Zyka
2006-01-16 9:18 ` Taco Hoekwater
2006-01-16 10:59 ` Vit Zyka
2006-01-21 15:57 ` Vit Zyka [this message]
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=43D259F5.9040207@seznam.cz \
--to=vit.zyka@seznam.cz \
--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).