From: "Peter Münster" <pmlists@free.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with TABLE
Date: Thu, 30 Sep 2010 15:43:08 +0200 [thread overview]
Message-ID: <20100930134308.GA3819@gaston.couberia.bzh> (raw)
In-Reply-To: <0A5FC5E8-E76D-4D94-BBD9-FE23EBA0DBDD@gundla.ch>
On Thu, Sep 30 2010, Patrick Gundlach wrote:
>
> I still have some problems with TABLE:
>
> \bTABLE[frame=on]
We need to know the values for rulethickness and offset, so let's define them:
\bTABLE[frame=on, rulethickness=0.5pt, offset=0.1em]
> \bTD[frame=off,rightframe=on,rulethickness=1mm] abc \eTD
Now, it gets ugly:
\bTD[frame=off,rightframe=on,rulethickness=1mm,
offset=\dimexpr 0.1em + 0.5pt - 1mm \relax, roffset=0.1em] abc \eTD
See also: http://tracker.luatex.org/view.php?id=427
> \bTD[nc=2,nr=2,background=color, backgroundcolor=yellow]
> \externalfigure[cow][width=.2\textwidth] \eTD
2 options:
- The cow gets smaller: \externalfigure[cow][width=\localhsize]
(does not work, I don't know why...)
- The table cells get bigger. You have to define the width. If you want to
span the cow 50%/50%, then
\setupTABLE[c][2,3][width=0.1\textwidth]
I wonder, why there is no such problem with the height... ?
Cheers, Peter
--
Contact information: http://pmrb.free.fr/contact/
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-09-30 13:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-30 13:08 Patrick Gundlach
2010-09-30 13:43 ` Peter Münster [this message]
2010-09-30 14:13 ` Patrick Gundlach
2010-09-30 20:32 ` Hans Hagen
2010-09-30 14:21 ` Wolfgang Schuster
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=20100930134308.GA3819@gaston.couberia.bzh \
--to=pmlists@free.fr \
--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).