[texhax] query font size in document

Pierre MacKay pierre.mackay at comcast.net
Tue Jan 1 19:17:27 CET 2013

On 01/01/2013 05:27 AM, Dr A K Hannaby wrote:
> Tug
> In Latex, is there a construction to (temporarily) query what is the 
> font size currently being used?
> Running amsbook under Miktex 2.9
> Keith
\show\the\font is a basic TeX sequence which ought to work in LaTeX.  It 
should be placed immediately following a word that you know ought to be 
in the font you want to identify.  It will temporarily suspend TeX, 
which can be started again with a CR.  It should have no effect on the 
DVI output, but will be recorded in the log file. You can also get at 
the standard \fontdimen s such as \fontdimen2, the default interword 
skip in  similar ways. \show\thefont will drill down to the original 
basic font definition, which may not be the way LaTeX chooses to refer 
to it.

Pierre MacKay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20130101/0c5c2fa8/attachment.html>

More information about the texhax mailing list