[NTG-context] Questions about natural tables

2013-09-26 Thread MANUEL GONZALEZ SUAREZ
Hello everyone
On page ConTeXt Garden is recommended the use of natural tables. My questions 
are: how do the tables are centered on the page? Can you change the size of the 
tables? Can you include label and caption?
Thanks for your time.
Manuel Gonzalez
___
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
___

Re: [NTG-context] Questions about natural tables

2013-09-26 Thread Marco Patzer
On 2013–09–26 MANUEL GONZALEZ SUAREZ wrote:

 My questions are: how do the tables are centered on the page?

Horizontal centring is automatically applied when you make it float.

 Can you change the size of the tables?

The width keyword sets the width of the cells. There's also
option=stretch. Individual columns can be set with

  \setupTABLE [column] [2] [width=4cm]

 Can you include label and caption?

That's not a feature of tables, but of the float mechanism.

\starttext
  \startplacetable [title=Some table, reference=tab:foo]
\bTABLE [width=broad]
  \bTR
\bTD Alpha \eTD \bTD Beta  \eTD
  \eTR
  \bTR
\bTD Gamma \eTD \bTD Delta \eTD
  \eTR
\eTABLE
  \stopplacetable
\stoptext

Marco


signature.asc
Description: Digital signature
___
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
___

Re: [NTG-context] Questions about natural tables

2013-09-26 Thread MANUEL GONZALEZ SUAREZ
Thanks very much, Marco

De: ntg-context-boun...@ntg.nl [ntg-context-boun...@ntg.nl] en nombre de Marco 
Patzer [li...@homerow.info]
Enviado: jueves, 26 de septiembre de 2013 8:03
Para: ntg-context@ntg.nl
Asunto: Re: [NTG-context] Questions about natural tables

On 2013–09–26 MANUEL GONZALEZ SUAREZ wrote:

 My questions are: how do the tables are centered on the page?

Horizontal centring is automatically applied when you make it float.

 Can you change the size of the tables?

The width keyword sets the width of the cells. There's also
option=stretch. Individual columns can be set with

  \setupTABLE [column] [2] [width=4cm]

 Can you include label and caption?

That's not a feature of tables, but of the float mechanism.

\starttext
  \startplacetable [title=Some table, reference=tab:foo]
\bTABLE [width=broad]
  \bTR
\bTD Alpha \eTD \bTD Beta  \eTD
  \eTR
  \bTR
\bTD Gamma \eTD \bTD Delta \eTD
  \eTR
\eTABLE
  \stopplacetable
\stoptext

Marco

___
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
___