ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: MANUEL GONZALEZ SUAREZ <gonzalezsmanuel@uniovi.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Questions about "natural tables"
Date: Thu, 26 Sep 2013 08:43:27 +0000	[thread overview]
Message-ID: <E467A44CC351614093D7B43E09DDA980044128@AMSPRD0410MB373.eurprd04.prod.outlook.com> (raw)
In-Reply-To: <20130926080355.GF17308@homerow>

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
___________________________________________________________________________________


      reply	other threads:[~2013-09-26  8:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-26  7:46 MANUEL GONZALEZ SUAREZ
2013-09-26  8:03 ` Marco Patzer
2013-09-26  8:43   ` MANUEL GONZALEZ SUAREZ [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E467A44CC351614093D7B43E09DDA980044128@AMSPRD0410MB373.eurprd04.prod.outlook.com \
    --to=gonzalezsmanuel@uniovi.es \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).