ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: ConTeXt NTG <ntg-context@ntg.nl>
Cc: Hans Hagen <pragma@wxs.nl>
Subject: xtable  cellcentering?
Date: Thu, 17 May 2012 11:08:00 +0000	[thread overview]
Message-ID: <1D530BC3-AC6E-41EE-BDEC-C828F7FD6CD6@uva.nl> (raw)

Why does this one centers the contents in the cells?

\startxtable[offset=1cm]	% By the way: coloring does nothing here. why?
  \startxrow
    \startxcell one \stopxcell
    \startxcell two \stopxcell
  \stopxrow
  \startxrow
    \startxcell[foregroundcolor="blue"] alpha \stopxcell
    \startxcell beta  \stopxcell
  \stopxrow
\stopxtable

But the other example:
<table>
  <tr>
	  <td>
		One
	  </td>
	<td>
		Two
	  </td>
  </tr>
  <tr>
	<td>
	  <b>Three</b>
	</td>
	<td>
	  Four
	</td>
  </tr>
</table>

with


Hans van der Meer



___________________________________________________________________________________
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:[~2012-05-17 11:08 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1D530BC3-AC6E-41EE-BDEC-C828F7FD6CD6@uva.nl \
    --to=h.vandermeer@uva.nl \
    --cc=ntg-context@ntg.nl \
    --cc=pragma@wxs.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).