From: "luigi.scarso" <luigi.scarso@logosrl.it>
Subject: Re: total with of TABLE ?
Date: Fri, 22 Apr 2005 09:30:42 +0200 [thread overview]
Message-ID: <4268A822.6070404@logosrl.it> (raw)
In-Reply-To: <Pine.LNX.4.58.0504212110560.17688@gaston.free.fr>
Peter Münster wrote:
>Do you know, if this is possible with TABLE:
>
>\starttext
>\SetTableToWidth{10cm}
>\starttable[|c|c|c|]
>\HL
>\VL xxxxxxxxxxxxxxx \VL xxxxxxx \VL x \VL\AR
>\HL
>\stoptable
>\stoptext
>
>Cheers, Peter
>
>
Hmm, I change a little your code to better understand it
\starttext
\SetTableToWidth{10cm}
\setbox100=\vbox{\starttable[|c|c|c|]
\HL
\VL xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx \VL xxxxxxx xxxxxxx \VL x x \VL\AR
\HL
\stoptable}
\starttyping
\SetTableToWidth{10cm}
\setbox100=\vbox{%
\starttable[|c|c|c|]
\HL
\VL xxxxxxxxxxxxxxx xxxxxxxxxxxxxxx \VL xxxxxxx xxxxxxx \VL x x \VL\AR
\HL
\stoptable}
\stoptyping
\type{\wd100=}{\tt \PtToCm{\wd100}}\par
\type{\ruledvbox{\unvbox100}:}\par
\ruledvbox{\unvbox100}
\stoptext
and I see on log
Overfull \hbox (11.63779pt too wide) in paragraph at lines 14--14
[][]\*12pttttf* \VL[] []xxxxxxxxxxxxxxx[] [][] []xxxxxxxxxxxxxxx[]
[]\VL[] []xx
xxxxx[] []xxxxxxx[] []\VL[] []x[] []x[] []\VL\AR
If I fix table width, I must care about cell content to avoid overfull hbox;
so fix table width is useless, because I have already calculate by
fixing cell content.
I will look into natural table to see something similar to \SetTableToWidth
luigi
next prev parent reply other threads:[~2005-04-22 7:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-21 10:47 Steffen Wolfrum
2005-04-21 11:27 ` luigi.scarso
2005-04-21 17:42 ` luigi.scarso
2005-04-21 19:17 ` Peter Münster
2005-04-22 7:30 ` luigi.scarso [this message]
2005-04-22 9:35 ` luigi.scarso
2005-04-21 13:46 Steffen Wolfrum
[not found] <20050422100003.61A93127E9@ronja.ntg.nl>
2005-04-22 10:11 ` Duncan Hothersall
2005-04-22 10:27 ` luigi.scarso
2005-04-22 13:52 Steffen Wolfrum
2005-04-22 14:08 Steffen Wolfrum
2005-04-22 15:39 Steffen Wolfrum
2005-04-23 7:25 Steffen Wolfrum
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=4268A822.6070404@logosrl.it \
--to=luigi.scarso@logosrl.it \
--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).