Hello, in accordance to http://context.literatesolutions.com/collector/52 I got used to write things like: \starttext \setupTABLE[c][1][style=before,bottom=after] \bTABLE \bTR\bTD X\eTD\bTD bla\eTD\eTR \bTR\bTD X\eTD\bTD bla\eTD\eTR \eTABLE \stoptext This worked fine, but with the latest ConTeXt, the bottom=... introduces a newline. Do you have a solution for this issue? Greetings, Peter -- http://pmrb.free.fr/contact/
� wrote:
Hello, in accordance to http://context.literatesolutions.com/collector/52 I got used to write things like:
\starttext \setupTABLE[c][1][style=before,bottom=after] \bTABLE \bTR\bTD X\eTD\bTD bla\eTD\eTR \bTR\bTD X\eTD\bTD bla\eTD\eTR \eTABLE \stoptext
This worked fine, but with the latest ConTeXt, the bottom=... introduces a newline. Do you have a solution for this issue?
first of all, style is rather special, so you'd better not abuse that one to often (there is some checking on the meaning done) the companion of bottom is top and both are meant for vertical things, normally the \start/\stop things ; some commands provide left and right for horizontal things which is probably what you're looking for top bottom usage: the following sets a narrower text (the origin of this thread) \bTABLE[top=\startnarrower,bottom=\stopnarrower] \bTR \bTD something \eTD \eTR \eTABLE this is also a nice one: \startsetups whatever whatever initialzations needed \stopsetups \bTABLE[setups=whatever] \bTR \bTD something \eTD \eTR \eTABLE the next code implements left/right: \unprotect \def\bTBLCELL % why not \doinhibitblank {\inhibitblank \doconvertfont\tbltblstyle\empty \everypar{\tbltblleft\delayedbegstrut}} \def\eTBLCELL {\ifhmode \delayedendstrut \tbltblright \par % added 13/4/2006 \else \par \ifdim\prevdepth<\zeropoint % =-1000pt ? \vskip-\strutdp \else \removebottomthings \fi \fi} \setupTABLE [\c!left=, \c!right=] \bTABLE[left={(},right={)},top=\startnarrower,bottom=\stopnarrower] \bTR \bTD something \eTD \eTR \eTABLE \stoptext ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, 23 Jun 2006, Hans Hagen wrote:
\bTABLE[left={(},right={)},top=\startnarrower,bottom=\stopnarrower] \bTR \bTD something \eTD \eTR \eTABLE
Thank you very much! If this goes into the distribution, the item http://context.literatesolutions.com/collector/52 can be considered resolved. Cheers, Peter -- http://pmrb.free.fr/contact/
participants (2)
-
Hans Hagen
-
Peter Münster