ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: table-caption: centred or not??
Date: Thu, 09 Mar 2006 09:42:14 +0100	[thread overview]
Message-ID: <440FEA66.6080703@elvenkind.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0603081834440.24026@gaston.pm>


Hi Peter,

I see no easy solution. ConTeXT does different things depending
on whether or not the caption is wider than the table itself,
and that code is creating the problem in the first 'not ok'.

Greetings, Taco

Peter Münster wrote:
> Hello,
> how are the rules, that determine if the caption is centred?
> Here my test-case, "ok" means: this is how I like it and "not ok" means, I
> don't like it:
> 
> \setupcaptions[width=\makeupwidth]
> \def\MyTable#1{\placetable{\dorecurse{#1}{bla }}{\starttable[|c|]
>   \NC This is a table.\NC\AR\stoptable}}
> \starttext
> \MyTable{2}  %     ok
> \MyTable{10} % not ok
> \MyTable{30} %     ok
> \setupcaptions[align=middle]
> \MyTable{2}  %     ok
> \MyTable{10} %     ok
> \MyTable{30} % not ok
> \stoptext
> 
> What should I do, to get 3 times "ok" ?
> 
> Cheers, Peter
> 

  reply	other threads:[~2006-03-09  8:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-08 17:37 Peter Münster
2006-03-09  8:42 ` Taco Hoekwater [this message]
2006-03-09 18:25   ` Peter Münster
2006-03-10  8:29     ` Taco Hoekwater
2006-03-10 20:26       ` Peter Münster
2006-03-12 19:10         ` Hans Hagen
2006-03-13 17:37           ` Peter Münster

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=440FEA66.6080703@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).