ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setupTABLE not honoring align=
@ 2007-01-29 22:42 Aditya Mahajan
  0 siblings, 0 replies; only message in thread
From: Aditya Mahajan @ 2007-01-29 22:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

  There is something wrong with \setupTABLE. The align= is being 
ignored (this is very old code, so this used to work)


\setupTABLE[frame=on,width=3em,height=3em,align={middle,lohi}]

  \bTABLE
         \bTR \bTD 3 \eTD \bTD 4 \eTD \bTD 5 \eTD \bTD 6 \eTD \eTR
         \bTR \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \bTD 4 \eTD \eTR
         \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR
         \bTR \bTD \eTD \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \eTR
  \eTABLE


The cells are of the right size, but the numbers are not aligned in 
the middle.

If I give the options to \bTABLE it works.

\bTABLE[topframe=on,rightframe=on,width=3em,height=3em,align={middle,lohi}]
         \bTR \bTD 3 \eTD \bTD 4 \eTD \bTD 5 \eTD \bTD 6 \eTD \eTR
         \bTR \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \bTD 4 \eTD \eTR
         \bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR
         \bTR \bTD \eTD \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \eTR
\eTABLE

I am using ConTeXt  ver: 2007.01.23 13:32 MKII


Another point. One of my old code contained

\setupTABLE[...,corner=none] which now gives an error, since 
\framed[corner=none]{...} gives an error (Missing number, treated as 
zero). Isn't corner=none supposed to work?

Aditya

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

only message in thread, other threads:[~2007-01-29 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-29 22:42 setupTABLE not honoring align= Aditya Mahajan

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