read out of \tx-value possible?

Hi folks, is it possible to read out the value of \tx (or \txx ... ) for calculations if bodyfont and fontsize is given? \the\tx doesn't work. \setuplayout[grid=yes] \setupbodyfont[libertinus,12pt] \setupinterlinespace[1.25\bodyfontsize] \starttext \samplefile{tufte}\par \startlinecorrection \setuplocalinterlinespace[12.5pt] \placefigure [middle,nonumber]{\tx\midaligned{bla blablabla blabla\\ blubdibla blabla bla}} {\externalfigure[][height=40mm, width=60mm]} \stoplinecorrection \samplefile{tufte}\par \stoptext I would like to calculate the setuplocalinterlinespace similar to the setupinterlinespace. Thanks in advance Thomas

Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm:
Am 11.04.25 um 10:03 schrieb Thomas Meyer:
is it possible to read out the value of \tx (or \txx ... ) for calculations if bodyfont and fontsize is given? \the\tx doesn't work.
Does \showbodyfontenvironment help?
Hraban
Thank you, Hraban, I know this table. But I think it's too complicated for me to extract from the source what I want. If you had written, use this or that command, I could have done something with it. Now I try it this way: \setuplayout[grid=yes] \setupbodyfont[libertinus,12pt] \setupinterlinespace[1.25\bodyfontsize] \starttext \samplefile{tufte}%\par \startlinecorrection \switchtobodyfont[10pt] \setuplocalinterlinespace[1.25\bodyfontsize] \placefigure [middle,nonumber]{\midaligned{bla blablabla blabla\\ blubdibla blabla bla}} {\externalfigure[][height=40mm, width=60mm]} \stoplinecorrection \samplefile{tufte}\par \stoptext Greetings and a nice weekend Thomas

On 12 Apr 2025, at 10:14, Thomas Meyer
wrote: Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm:
Am 11.04.25 um 10:03 schrieb Thomas Meyer:
is it possible to read out the value of \tx (or \txx ... ) for calculations if bodyfont and fontsize is given? \the\tx doesn't work.
Does \showbodyfontenvironment help?
Hraban
Thank you, Hraban,
I know this table. But I think it's too complicated for me to extract from the source what I want.
No need to extract the sizes of /tx and /txx at compile time - just use the values that are specified on this page: https://wiki.contextgarden.net/Characters_words_and_fonts/Define_the_set_of_... Regards, — Bruce Horrocks Hampshire, UK

Thank you, Bruce, for yor hint, and sorry for my late response because of Easter Holidays. Greeetings Thomas Am 13.04.25 um 01:22 schrieb Bruce Horrocks:
On 12 Apr 2025, at 10:14, Thomas Meyer
wrote: Am 11.04.25 um 12:19 schrieb Henning Hraban Ramm:
Am 11.04.25 um 10:03 schrieb Thomas Meyer:
is it possible to read out the value of \tx (or \txx ... ) for calculations if bodyfont and fontsize is given? \the\tx doesn't work.
Does \showbodyfontenvironment help?
Hraban
Thank you, Hraban,
I know this table. But I think it's too complicated for me to extract from the source what I want.
No need to extract the sizes of /tx and /txx at compile time - just use the values that are specified on this page: https://wiki.contextgarden.net/Characters_words_and_fonts/Define_the_set_of_...
Regards, — Bruce Horrocks Hampshire, UK
participants (3)
-
Bruce Horrocks
-
Henning Hraban Ramm
-
Thomas Meyer