ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Csikos Bela <bcsikos425@freemail.hu>
To: ntg-context@ntg.nl
Subject: table and \setuptables questions
Date: Fri, 11 Nov 2016 16:26:58 +0100 (CET)	[thread overview]
Message-ID: <freemail.20161111162658.43724.1@fmxmldata00.freemail.hu> (raw)
In-Reply-To: <5824C5F5.40407@gmail.com>

Dear list members:

I have this simple table:

\starttext
\placetable[here]{title}{
\setuptables[bodyfont=8pt,rulethickness=0.04em]
\start
\setuplocalinterlinespace[2.2ex]
\starttable[|lp(5cm)|lp(5cm)|cp(2cm)|]
\HL[2]
\NC \bf First Column \NC \bf Second Column \NC \bf Third Column \NC \SR
\HL
\NC Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur massa turpis,
semper quis fringilla ut, viverra nec risus. \NC Lorem ipsum dolor sit amet, consectetur adipiscing elit. \NC Lorem ipsum \NC \SR
\HL
\NC Pellentesque habitant morbi tristique senectus et netus
\NC Pellentesque habitant morbi tristique senectus et netus \NC Pellentesque \NC \SR
\HL
\NC Donec nunc lorem, sollicitudin vel sodales eget \NC Donec nunc lorem, sollicitudin vel sodales eget Donec nunc lorem, sollicitudin vel sodales eget \NC Donec \NC \SR
\HL[2]
\stoptable
\stop}
\stoptext

I have some questions related to the above table.

1. How can I set the distance between the text (in rows) and the rule above and  below the text, separately?
I find that the rules are too close to the text. I tried \setuptables' height and depth options but those are
not what I need, I guess. What are height and depth options are for exactly?

2.  Can \setuptables[bodyfont=...] option use font sizes as \tfa, \tfb, \tfc, \tfx, \tfxx, or point size has to be
set explicitly? 

3. What is the distance option in \setuptables?

Thank you in advance,

bcsikos

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-11-11 15:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-06 11:51 Extract only certain part of document (via modes)? Mikael P. Sundqvist
2016-11-06 14:03 ` Wolfgang Schuster
2016-11-06 19:13   ` Mikael P. Sundqvist
2016-11-10 16:27 ` Hans Hagen
2016-11-10 19:09   ` Wolfgang Schuster
2016-11-11 15:26     ` Csikos Bela [this message]
2016-11-17 13:13       ` table and \setuptables questions Hans Hagen
2016-11-17 15:58         ` Csikos Bela
2016-11-17 14:25 Csikos Bela
2016-11-17 14:54 ` Csikos Bela

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=freemail.20161111162658.43724.1@fmxmldata00.freemail.hu \
    --to=bcsikos425@freemail.hu \
    --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).