ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Changing the formatting of Natural Tables
@ 2009-11-12 21:21 Curiouslearn
  2009-11-12 21:31 ` Willi Egger
  2009-11-12 21:32 ` Wolfgang Schuster
  0 siblings, 2 replies; 5+ messages in thread
From: Curiouslearn @ 2009-11-12 21:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

Hello,

I am using natural tables to make tables in my document. Can someone please
tell me how I can prevent context from applying features I choose for an
earlier table to a table that appears later in the document. Following is an
example of two tables. Even though I choose

\setupTABLE[frame=off]

for the second table, there is a frame created based on what I define for an
earlier table. I am using MKII (since I want to use Tikz).

I would really appreciate any help.

Example:

\setuplayout[letter,height=
9in,width=5.5in,topspace=1in,header=1cm,backspace=1.5in]

% Changing the location of the page numbers so that they appear in the
footer.
\setuppagenumbering[location=footer]

\setupcolors[state=start]
\setupcolor[xwi]

\starttext

%%%%%% First Table  %%%%%%
\setupTABLE[frame=off]
        \setupTABLE[column][3,4,5][align={middle,lohi},width=0.6in]
        \setupTABLE[column][2][align=lohi]
        \setupTABLE[row][3][align={lohi,middle}]

\setupTABLE[3,4,5][3,4,5][background=color,backgroundcolor=ivory,framecolor=midnightblue,frame=on]
% Using color names from xwi colorscheme
        \bTABLE
            \bTR
                \bTD   \eTD
                \bTD   \eTD
                \bTD[nc=3] {\bf Player 2} \eTD \eTR
            \bTR
                \bTD   \eTD
                \bTD   \eTD
                \bTD  $ L $ \eTD
                \bTD  $ M $ \eTD
                \bTD  $ R $ \eTD \eTR
            \bTR
                \bTD[nr=3,width=1in] {\bf Player 1}  \eTD
                \bTD  $ U $ \eTD
                \bTD  (8,8) \eTD
                \bTD  (0,9) \eTD
                \bTD  (0,0) \eTD \eTR
            \bTR
                \bTD  $ C $ \eTD
                \bTD  (9,0) \eTD
                \bTD  (0,0) \eTD
                \bTD  (3,1) \eTD \eTR
            \bTR
                \bTD  $ D $ \eTD
                \bTD  (0,0) \eTD
                \bTD  (1,3) \eTD
                \bTD  (3,3) \eTD \eTR
        \eTABLE

%%%%%% Second Table  %%%%%%

Even though I repeat {\tt \\setupTABLE[frame=off]} command the table has
frame.

\setupTABLE[frame=off]
\bTABLE
    \bTR
        \bTD     \eTD
        \bTD        \eTD
        \bTD[nc=2] Player 2 \eTD
        \bTD        \eTD
    \eTR
    \bTR
        \bTD     \eTD
        \bTD        \eTD
        \bTD  C    \eTD
        \bTD     D    \eTD
    \eTR
    \bTR
        \bTD[nr=2] Player 1     \eTD
        \bTD      C        \eTD
        \bTD  (2,2)    \eTD
        \bTD      (0,4)    \eTD
    \eTR
    \bTR

        \bTD      D        \eTD
        \bTD  (4,0)    \eTD
        \bTD     (1,1)    \eTD
    \eTR


\eTABLE

\stoptext

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

[-- Attachment #2: Type: text/plain, Size: 486 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] 5+ messages in thread

end of thread, other threads:[~2009-11-12 21:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-12 21:21 Changing the formatting of Natural Tables Curiouslearn
2009-11-12 21:31 ` Willi Egger
2009-11-12 21:38   ` Wolfgang Schuster
2009-11-12 21:32 ` Wolfgang Schuster
2009-11-12 21:38   ` Curiouslearn

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