ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Still wrestling with multiplication tables
@ 2011-05-04 13:35 Alasdair McAndrew
  2011-05-04 13:41 ` Aditya Mahajan
  0 siblings, 1 reply; 3+ messages in thread
From: Alasdair McAndrew @ 2011-05-04 13:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1023 bytes --]

Hello again,

So I decide to try with tables:

  \starttable[|m|m|m|m|m|m|m|m|m|]
    \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR
    \HL
    \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR
    \NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR
    \NC R^2\VL R^2\NC R^3\NC I\NC R\NC FR^2\NC FR^3\NC F\NC FR\NR
    \NC R^3\VL R^3\NC I\NC R\NC R^2\NC FR^3\NC F\NC FR\NC FR^2\NR
    \NC F\VL F\NC FR^3\NC FR^2\NC FR\NC I\NC R^3\NC R^2\NC R\NR
    \NC FR\VL FR\NC F\NC FR^3\NC FR^2\NC R\NC I\NC R^3\NC R^2\NR
    \NC FR^2\VL FR^2\NC FR\NC F\NC FR^3\NC R^2\NC R\NC I\NC R^3\NR
    \NC FR^3\VL FR^3\NC FR^2\NC FR\NC F\NC R^3\NC R^2\NC R\NC I\NR
  \stoptable

This almost works, yet in the pdf output ("texexec"), there's an extra
column at the right full of "[missing column]".  What's going on here?

Actually, so far the best I've managed to do was to whip up a plain basic
array, and then insert two lines with TiKZ.  Clumsy, but so far it's the
only thing I've got to work...

-Alasdair

[-- Attachment #1.2: Type: text/html, Size: 2325 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

* Re: Still wrestling with multiplication tables
  2011-05-04 13:35 Still wrestling with multiplication tables Alasdair McAndrew
@ 2011-05-04 13:41 ` Aditya Mahajan
  2011-05-04 14:01   ` Alasdair McAndrew
  0 siblings, 1 reply; 3+ messages in thread
From: Aditya Mahajan @ 2011-05-04 13:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: mailing list for ConTeXt users


On May 4, 2011, at 9:35 AM, Alasdair McAndrew <amca01@gmail.com> wrote:

> Hello again,
> 
> So I decide to try with tables:
> 
>   \starttable[|m|m|m|m|m|m|m|m|m|]
>     \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR
>     \HL
>     \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR
>     \NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR
>     \NC R^2\VL R^2\NC R^3\NC I\NC R\NC FR^2\NC FR^3\NC F\NC FR\NR
>     \NC R^3\VL R^3\NC I\NC R\NC R^2\NC FR^3\NC F\NC FR\NC FR^2\NR
>     \NC F\VL F\NC FR^3\NC FR^2\NC FR\NC I\NC R^3\NC R^2\NC R\NR
>     \NC FR\VL FR\NC F\NC FR^3\NC FR^2\NC R\NC I\NC R^3\NC R^2\NR
>     \NC FR^2\VL FR^2\NC FR\NC F\NC FR^3\NC R^2\NC R\NC I\NC R^3\NR
>     \NC FR^3\VL FR^3\NC FR^2\NC FR\NC F\NC R^3\NC R^2\NC R\NC I\NR
>   \stoptable
> 
> This almost works, yet in the pdf output ("texexec"), there's an extra column at the right full of "[missing column]".  What's going on here?

The syntax for tables is

\NC ... \NC ...\NC \NR


You are missing the last \NC

Aditya




> Actually, so far the best I've managed to do was to whip up a plain basic array, and then insert two lines with TiKZ.  Clumsy, but so far it's the only thing I've got to work...
> 
> -Alasdair
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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] 3+ messages in thread

* Re: Still wrestling with multiplication tables
  2011-05-04 13:41 ` Aditya Mahajan
@ 2011-05-04 14:01   ` Alasdair McAndrew
  0 siblings, 0 replies; 3+ messages in thread
From: Alasdair McAndrew @ 2011-05-04 14:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1260 bytes --]

On Wed, May 4, 2011 at 11:41 PM, Aditya Mahajan <adityam@umich.edu> wrote:

>
> On May 4, 2011, at 9:35 AM, Alasdair McAndrew <amca01@gmail.com> wrote:
>
> > Hello again,
> >
> > So I decide to try with tables:
> >
> >   \starttable[|m|m|m|m|m|m|m|m|m|]
> >     \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR
> >     \HL
> >     \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR
> >     \NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR
> >     \NC R^2\VL R^2\NC R^3\NC I\NC R\NC FR^2\NC FR^3\NC F\NC FR\NR
> >     \NC R^3\VL R^3\NC I\NC R\NC R^2\NC FR^3\NC F\NC FR\NC FR^2\NR
> >     \NC F\VL F\NC FR^3\NC FR^2\NC FR\NC I\NC R^3\NC R^2\NC R\NR
> >     \NC FR\VL FR\NC F\NC FR^3\NC FR^2\NC R\NC I\NC R^3\NC R^2\NR
> >     \NC FR^2\VL FR^2\NC FR\NC F\NC FR^3\NC R^2\NC R\NC I\NC R^3\NR
> >     \NC FR^3\VL FR^3\NC FR^2\NC FR\NC F\NC R^3\NC R^2\NC R\NC I\NR
> >   \stoptable
> >
> > This almost works, yet in the pdf output ("texexec"), there's an extra
> column at the right full of "[missing column]".  What's going on here?
>
> The syntax for tables is
>
> \NC ... \NC ...\NC \NR
>
>
> You are missing the last \NC
>
> Aditya
>

Yay - that works beautifully!  (Even better if I finish each row with
\NC\AR).

Thanks,
Alasdair

[-- Attachment #1.2: Type: text/html, Size: 1807 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2011-05-04 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-04 13:35 Still wrestling with multiplication tables Alasdair McAndrew
2011-05-04 13:41 ` Aditya Mahajan
2011-05-04 14:01   ` Alasdair McAndrew

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