Thanks Aditya! That solve smy issue. However, it is a bit of magic to know that \setupinterlinespace makes also the math font small, even for inline math. Best regards: OK
On 18 Dec 2019, at 13:52, Aditya Mahajan
wrote: On Wed, 18 Dec 2019, Otared Kavian wrote:
Hi all,
In the example below, I would like to have the style of the figure's caption to be \itx, but the inline formula is set with a larger body font: is it possible to setup the caption of a float so that a smaller size applies also to the math formula?
Best regards: Otared PS: here is the example (not so minimal, sorry…) % begin example-caption.tex \setupcaption[figure][ headstyle={\bix}, style={\itx}]
style={\switchtobodyfont[small]\setupinterlinespace\it}
Aditya___________________________________________________________________________________ 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 ___________________________________________________________________________________