[NTG-context] \setupfloatcaption align=

Hans Hagen j.hagen at xs4all.nl
Wed Apr 11 22:41:41 CEST 2018

On 4/11/2018 10:13 PM, Alan Braslau wrote:
> Hello list,
> According to the interface files
> (texmf-context/tex/context/interface/mkiv)
> \setupfloatcaption takes an align= parameter (inherits from
> \setupalign). Additionally, it suggests that the location= parameter
> can take the keywords tolerant, verytolerant and stretch.
> None of this appears to work.
> \setupcaption [figure] [align=verytolerant]
> is ignored, and
> \setupcaption [figure] [location={bottom,verytolerant}]
> gives unexpected and surprising results.
> I cheat, and use
> \setupcaption [figure] [style={\setupalign[verytolerant]}]
> but this is hardly a proper solution.

no mwe exposing your problem

> Question: Why do figure captions NOT inherit from \setupalign, i.e.
> \setupalign[verytolerant] in a preamble does not have an effect on
> float captions?
> Question2: What is going on with \setupfloatcaption ?
some heuristics to determine the best width ... so that you still get a 
reasonable caption with very narrow figures and not excessive captions 
with too wide figures and when possible a one liner ... it's no problem 
adding some variants (there are some dimensions that can be set already) 
but the current mechanism is not going to change


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

More information about the ntg-context mailing list