ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: Questions about "natural tables"
Date: Thu, 26 Sep 2013 10:03:55 +0200	[thread overview]
Message-ID: <20130926080355.GF17308@homerow> (raw)
In-Reply-To: <E467A44CC351614093D7B43E09DDA9800440F5@AMSPRD0410MB373.eurprd04.prod.outlook.com>


[-- 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
___________________________________________________________________________________

  reply	other threads:[~2013-09-26  8:03 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 [this message]
2013-09-26  8:43   ` MANUEL GONZALEZ SUAREZ

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=20130926080355.GF17308@homerow \
    --to=lists@homerow.info \
    --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).