Bad linebreak in figure caption
Hi! The caption "FOO" runs into the right figure's caption: \setuplayout [width=18.4cm] \setuptolerance [verytolerant, stretch] %% even with stretch \starttext \startplacefigure \startfloatcombination \startplacefigure [title=Unexpectedly unnecessary FOO-BAR whatever] \framed[width=.4\textwidth]{} \stopplacefigure \startplacefigure [title={Lorem ipsum dolor siit amet}] \framed[width=.4\textwidth]{} \stopplacefigure \stopfloatcombination \stopplacefigure \stoptext Why does ConTeXt not break the line between "unnecessary" and "FOO"? How to kindly persuade it to do so? Marco LMTX 2021.11.26 11:38
On 2 Dec 2021, at 19:37, Marco Patzer via ntg-context
wrote: On Mon, 29 Nov 2021 16:44:07 +0100 Marco Patzer via ntg-context
wrote: Why does ConTeXt not break the line between "unnecessary" and "FOO"?
Any ideas how to fix this?
Captions have their own alignment setting: \setupcaption[figure][align={verytolerant,stretch}] Best wishes, Taco
On Fri, 3 Dec 2021 09:14:59 +0100
Taco Hoekwater
Captions have their own alignment setting:
\setupcaption[figure][align={verytolerant,stretch}]
Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.g. framed texts) don't honour the global tolerance setting? Marco
I was asking myself that too as I fall into this trap from time to time. I would have thought that global settings are just that, global, and that other elements inherit these settings unless they modify them.
Denis
________________________________________
Von: ntg-context
Captions have their own alignment setting:
\setupcaption[figure][align={verytolerant,stretch}]
Thanks. Wikified: https://wiki.contextgarden.net/Command/setuptolerance Is there a good reason why captions (as well as e.g. framed texts) don't honour the global tolerance setting? Marco ___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (3)
-
denis.maier@unibe.ch
-
Marco Patzer
-
Taco Hoekwater