ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Preserve line height with TABLE
@ 2011-12-21 12:24 Andreas Harder
  2011-12-21 13:20 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas Harder @ 2011-12-21 12:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

is there a way to mimic the tabulate behavior with TABLE (or xtable)?

\starttext

\def\HtTest#1%
  {\setbox\scratchbox\vbox{#1}hight=\the\ht\scratchbox\par\vbox{#1}\blank}

\HtTest{\strut
(Äg) first line\par
second line\par
(Äg) third line}

\setuptabulate[before=,after=,]
\HtTest{\starttabulate[|l|]
\NC (Äg) first line  \NC\NR
\NC second line      \NC\NR
\NC (Äg) third line  \NC\NR
\stoptabulate}

\HtTest{\bTABLE[frame=off,offset=overlay,left=\strut] % ,rulethickness=0pt
\bTR\bTD (Äg) first line  \eTD\eTR
\bTR\bTD second line      \eTD\eTR
\bTR\bTD (Äg) third line  \eTD\eTR
\eTABLE}

\HtTest{\startembeddedxtable[frame=off,offset=overlay]
  \startxrow \startxcell (Äg) first line \stopxcell \stopxrow
  \startxrow \startxcell second line     \stopxcell \stopxrow
  \startxrow \startxcell (Äg) third line \stopxcell \stopxrow
\stopembeddedxtable}

\stoptext


Thanks in advance
	Andreas
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-12-21 13:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-21 12:24 Preserve line height with TABLE Andreas Harder
2011-12-21 13:20 ` Wolfgang Schuster
2011-12-21 13:28   ` Andreas Harder
2011-12-21 13:39     ` Wolfgang Schuster
2011-12-21 13:42       ` Andreas Harder

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