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