ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* framedtable frame
@ 2017-05-21 12:31 Thomas A. Schmitz
  0 siblings, 0 replies; only message in thread
From: Thomas A. Schmitz @ 2017-05-21 12:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi all,

I am hitting a slight imperfection in the new framedtable mechanism. 
Example included; question: is it possible to have the same behavior in 
cell frames as in the natural table in the third part of my example?

Thanks, and best wishes

Thomas

\starttext

\start
\setupframedtablecolumn [1] [width=3cm,align=normal]
\setupframedtablecolumn [2] [width=3cm,align={normal,verytolerant,stretch}]
\setupframedtablecolumn [3] [width=3cm,align=normal]
\setupframedtablecolumn [4] [width=3cm,align=normal]

\startframedtable
	\startframedrow
		\startframedcell
			One
		\stopframedcell
		\startframedcell
			Cell Two has a slightly longer text
		\stopframedcell
		\startframedcell
			Three
		\stopframedcell
		\startframedcell
			Four
		\stopframedcell
	\stopframedrow
\stopframedtable
\stop

\blank [line]

\start
\setupframedtablecolumn [1] [width=3cm,bottomframe=off,align=normal]
\setupframedtablecolumn [2] 
[width=3cm,bottomframe=off,align={normal,verytolerant,stretch}]
\setupframedtablecolumn [3] [width=3cm,bottomframe=off,align=normal]
\setupframedtablecolumn [4] [width=3cm,bottomframe=off,align=normal]

\startframedtable
	\startframedrow
		\startframedcell
			One
		\stopframedcell
		\startframedcell
			Cell Two has a slightly longer text
		\stopframedcell
		\startframedcell
			Three
		\stopframedcell
		\startframedcell
			Four
		\stopframedcell
	\stopframedrow
\stopframedtable
\stop

\blank [line]

\start

\setupTABLE [frame=on]
\setupTABLE [column] [1] [width=3cm,align=normal]
\setupTABLE [column] [2] [width=3cm,align={normal,vertolerant,stretch}]
\setupTABLE [column] [3] [width=3cm,align=normal]
\setupTABLE [column] [4] [width=3cm,align=normal]

\bTABLE
	\bTR
		\bTD
			One
		\eTD
		\bTD
			Cell Two has a slightly longer text
		\eTD
		\bTD
			Three
		\eTD
		\bTD
			Four
		\eTD
	\eTR
\eTABLE

\stop

\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-05-21 12:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-21 12:31 framedtable frame Thomas A. Schmitz

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).