ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: setupTABLE not honoring align=
Date: Mon, 29 Jan 2007 17:42:19 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.82.0701291733180.2352@nqvgln> (raw)

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

                 reply	other threads:[~2007-01-29 22:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.WNT.0.82.0701291733180.2352@nqvgln \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).