ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: table-caption: centred or not??
Date: Sun, 12 Mar 2006 20:10:25 +0100	[thread overview]
Message-ID: <44147221.6040702@wxs.nl> (raw)
In-Reply-To: <Pine.LNX.4.58.0603102122090.30296@gaston.pm>

� wrote:
> On Fri, 10 Mar 2006, Taco Hoekwater wrote:
>
>   
>> Peter M�nster wrote:
>>     
>>> Hi Taco,
>>> perhaps I could modify this code. Where is it?
>>>       
>> In page-flt.tex, just search for 'caption'
>>     
>
> Thanks, I've modified the definition of \dopreparestackcaptionaut, but
> that does not change anything. Should I put a new item in the collector?
> In fact, it's really strange, when you see on the same page one centred
> caption, and another one left-aligned.
> Cheers, Peter
>
>   
(1) just set the 'minwidth' to a high value to control the first case
(2) in the second case, kind of disable optimal par building by using 
'broad'

\def\MyTable#1{\placetable{\dorecurse{#1}{bla }}{\starttable[|c|]
  \NC This is a table.\NC\AR\stoptable}}

\setupcaptions[width=\makeupwidth,minwidth=\makeupwidth]

\starttext
\MyTable{2}  %     ok
\MyTable{10} % not ok
\MyTable{30} %     ok

\setupcaptions[align={middle,broad}]

\MyTable{2}  %     ok
\MyTable{10} %     ok
\MyTable{30} % not ok

\stoptext



-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2006-03-12 19:10 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
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 [this message]
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=44147221.6040702@wxs.nl \
    --to=pragma@wxs.nl \
    --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).