[NTG-context] Alignment in tables

2009-08-14 Thread Curiouslearn
Can someone please tell me why the following does not center the text in the
first row?
Thanks in advance.


\setupTABLE[row][1][align={middle}]
\setupTABLE[column][1][width=2.5in,align={lohi}]
\setupTABLE[column][2][width=3in,align={lohi}]

\bTABLE
\bTR
\bTD {\bf Concept} \eTD
\bTD {\bf Definition} \eTD
\eTR
\bTR
\bTD {\bf Closure} of a set $ E \subset M $ ($ \text{cl}(E) $) \eTD
\bTD \hskip 1em $ \text{cl}(E) = \cap\{ F : E \subset F, F \text{ is
closed} \}$ \eTD
\eTR
\bTR
\bTD $ x $ is a {\bf contact point} or {\bf accumulation point} of $
E $ if \eTD
\bTD \hskip 1em $ \forall \varepsilon  0, B_{\varepsilon}(x) \cap E
\neq \emptyset $ \eTD
\eTR
\eTABLE
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment in tables

2009-08-14 Thread Wolfgang Schuster


Am 14.08.2009 um 14:55 schrieb Curiouslearn:

Can someone please tell me why the following does not center the  
text in the first row?

Thanks in advance.

\setupTABLE[row][1][align={middle}]
\setupTABLE[column][1][width=2.5in,align={lohi}]



This setup overwrites the previous one, write them in reverse order  
and it will work.


Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment in tables

2009-08-14 Thread Curiouslearn
 Can someone please tell me why the following does not center the text in
 the first row?
 Thanks in advance.

 \setupTABLE[row][1][align={middle}]
 \setupTABLE[column][1][width=2.5in,align={lohi}]



 This setup overwrites the previous one, write them in reverse order and it
 will work.

 Wolfgang


I tried

\setupTABLE[column][1][width=2.5in,align={lohi}]
\setupTABLE[column][2][width=3in,align={lohi}]
\setupTABLE[row][1][align={middle}]

But that does not work either.

Thanks for any help.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment in tables

2009-08-14 Thread Wolfgang Schuster


Am 14.08.2009 um 15:04 schrieb Curiouslearn:


I tried

\setupTABLE[column][1][width=2.5in,align={lohi}]
\setupTABLE[column][2][width=3in,align={lohi}]
\setupTABLE[row][1][align={middle}]

But that does not work either.


weird but this works

\setupTABLE[row][first][align=middle,style=bold]

and you can now write

\bTR
\bTD Concept \eTD
\bTD Definition \eTD
\eTR

Wolfgang

___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Alignment in tables

2009-08-14 Thread Curiouslearn
Yes, that worked great. After looking at your solution, I vaguely remember
that this had happened before. For the first row, first has worked 1 did
not. It was so long back that I had forgotten about it.

Thanks for the solution.

On Fri, Aug 14, 2009 at 9:15 AM, Wolfgang Schuster 
schuster.wolfg...@googlemail.com wrote:


 Am 14.08.2009 um 15:04 schrieb Curiouslearn:

  I tried

 \setupTABLE[column][1][width=2.5in,align={lohi}]
 \setupTABLE[column][2][width=3in,align={lohi}]
 \setupTABLE[row][1][align={middle}]

 But that does not work either.


 weird but this works

 \setupTABLE[row][first][align=middle,style=bold]

 and you can now write

\bTR
\bTD Concept \eTD
\bTD Definition \eTD
\eTR


 Wolfgang


 ___
 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___