* bTABLE rogue column widths
@ 2004-09-21 10:50 Duncan Hothersall
0 siblings, 0 replies; only message in thread
From: Duncan Hothersall @ 2004-09-21 10:50 UTC (permalink / raw)
Hi all.
I have the following code, used to set quotations with over-large quote
marks either side. I use the bTABLE/eTABLE model because it is easy, and
because it allows for the variable width of the quotation part (the
middle column) and for it to carry over into multiple lines.
When this code is run, the first one works as expected (the cell
containing the quote is the width of the quote text). The second one
produces a quote cell which expands so that the table fills the whole
width of the page, even though the quote text itself is thinner than the
previous one.
I have left the lines in the table to show the problem. This runs on
live.contextgarden.net and shows the same behaviour. Any thoughts on how
to fix it to make the second one work like the first? Thanks.
Duncan
--
\autoloadmapfilestrue
\setupoutput[pdftex]
\setuppapersize[A4][A4]
\setupcolors[rgb=no,state=start]
\setupcolor[cmyk]
\usetypescript[adobekb][\defaultencoding]
\usetypescript[postscript][\defaultencoding]
\setupbodyfont[pos,ss,12pt]
\starttext
\blank[2*big]
\bTABLE[align={middle,high},offset=none]
\setupTABLE[column][1,3][width=10mm]
\bTR\bTD\definedfont[Helvetica at 20pt]\color[blue] ``\eTD
\bTD {Staff are the biggest asset -- the warmth they generate inside
this building is enormous.}\eTD
\bTD\definedfont[Helvetica at 20pt]\color[blue] ''\eTD\eTR
\eTABLE
\blank[2*big]
\bTABLE[align={middle,high},offset=none]
\setupTABLE[column][1,3][width=10mm]
\bTR\bTD\definedfont[Helvetica at 20pt]\color[blue] ``\eTD
\bTD {I've been everyone to them. I've been a husband, a brother and a
father.}\eTD
\bTD\definedfont[Helvetica at 20pt]\color[blue] ''\eTD\eTR
\eTABLE
\stoptext
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-21 10:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-21 10:50 bTABLE rogue column widths Duncan Hothersall
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).