ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] Finetuning distances in cells
Date: Wed, 17 Apr 2013 02:32:50 -0400 (EDT)	[thread overview]
Message-ID: <alpine.DEB.2.02.1304170227040.906@nqv-guvaxcnq> (raw)
In-Reply-To: <516E3F89.9000100@mmnetz.de>

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1065 bytes --]

On Wed, 17 Apr 2013, "H. Özoguz" wrote:

> In this example
>
> \starttext
> \starttable[|l|c|l|]
> \HL
> \NC \THREE\JustCenter \it Natürliche Methoden \NC \AR
> \HL
> \stoptable
> \stoptext
>
> (which, by the way, gives an syntax-error with "\startTABLE")
> the entry "Natürliche Methoden" is not perfectly vertically centered. The 
> distance above to the horizontal line is (very) little smaller than the 
> distance at the bottom. How to correct that? Perfectly it would be exactly 
> reversed, the distance above should be smaller, than at the bottom.

It is much easier to fine-tune details with Natural Tables. Each cell of a 
natural table is a frame, so you can use settings for frames to change the 
style.

\startsetups table:setups
\setupTABLE[align={lohi}, toffset=1pt, bottset=3pt, align=flushleft]
\stopsetups

\bTABLE[setup=table:setups]
\bTR
   \bTD[nc=3, align=middle, style=italic]
        Natürliche Methoden
   \eTD
\eTR
\bTR
   \bTD One    \eTD
   \bTD Two    \eTD
   \bTD Three  \eTD
\eTR
\eTABLE

Aditya

[-- 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-04-17  6:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-17  6:22 "H. Özoguz"
2013-04-17  6:32 ` Aditya Mahajan [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=alpine.DEB.2.02.1304170227040.906@nqv-guvaxcnq \
    --to=adityam@umich.edu \
    --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).