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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to