I want to display the name of the current (body)font.
\fontname{#1} should do the trick but what parameter to use?
\currentfont
\bodyfont
\currentbodyfont
are all wrong.
Eevn the book "fonts in context" didn't help me out.
What to use?
Hans van der Meer
Am 14.01.2016 um 12:15 schrieb dr. Hans van der Meer:
I want to display the name of the current (body)font.
\fontname{#1} should do the trick but what parameter to use?
\currentfont
\bodyfont
\currentbodyfont
are all wrong.
\starttext
\truefontname{Regular}
\stoptext
Herbert
> I want to display the name of the current (body)font.
> \fontname{#1} should do the trick but what parameter to use?
> \currentfont
> \bodyfont
> \currentbodyfont
> are all wrong.
>
Try \fontname\font
\purefontname\font should show only its name, not the size,
but this does not work for me