ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Questions about "natural tables"
@ 2013-09-26  7:46 MANUEL GONZALEZ SUAREZ
  2013-09-26  8:03 ` Marco Patzer
  0 siblings, 1 reply; 3+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2013-09-26  7:46 UTC (permalink / raw)
  To: ntg-context


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

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

[-- Attachment #1.2: Type: text/html, Size: 1286 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: Questions about "natural tables"
  2013-09-26  7:46 Questions about "natural tables" MANUEL GONZALEZ SUAREZ
@ 2013-09-26  8:03 ` Marco Patzer
  2013-09-26  8:43   ` MANUEL GONZALEZ SUAREZ
  0 siblings, 1 reply; 3+ messages in thread
From: Marco Patzer @ 2013-09-26  8:03 UTC (permalink / raw)
  To: ntg-context


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

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 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: Questions about "natural tables"
  2013-09-26  8:03 ` Marco Patzer
@ 2013-09-26  8:43   ` MANUEL GONZALEZ SUAREZ
  0 siblings, 0 replies; 3+ messages in thread
From: MANUEL GONZALEZ SUAREZ @ 2013-09-26  8:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Thanks very much, Marco
________________________________________
De: ntg-context-bounces@ntg.nl [ntg-context-bounces@ntg.nl] en nombre de Marco Patzer [lists@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-26  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-26  7:46 Questions about "natural tables" MANUEL GONZALEZ SUAREZ
2013-09-26  8:03 ` Marco Patzer
2013-09-26  8:43   ` MANUEL GONZALEZ SUAREZ

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