[NTG-context] fontname

massifr at fastwebnet.it massifr at fastwebnet.it
Thu Jan 14 12:28:23 CET 2016


> 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 (version 2015.05.18 included in Debian)

Greetings,
Massi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160114/370a1f25/attachment.html>


More information about the ntg-context mailing list