[texhax] query font size in document
uwe.lueck at web.de
Fri Jan 4 13:51:39 CET 2013
Am Freitag, den 04.01.2013, 11:40 +0100 schrieb Martin Schröder:
> 2013/1/4 Uwe Lück <uwe.lueck at web.de>:
> >> Is this a way to find the answer for the OP's question on "what is the
> >> font size currently being used?" Actually, I am away from my TeXbook,
> >> I believe there is some <m> such that \fontdimen<m>\font is the current
> >> em size, which may be a good guess ...
> > back at my TeXbook (p. 433): \fontdimen6\font is quad width, AFAIK same
> > as "design size", see
> > http://en.wikipedia.org/wiki/Em_%28typography%29
> > or "height of em-size" in
> > http://en.wikipedia.org/wiki/Typeface
> Stop. :-)
> Since we don't know what the OP actually wants, you are wasting efforts.
1. Not sure. The OP may have profited from naming the purpose,
but the answer to the actual question may be interesting
in its own right.
2. Earlier I had criticized that Pierre MacKay's posting did not
answer the actual question explicitly. In his defense I have now
told how his approach can be used to answer the actual question
explicitly, as an alternative to my earlier proposal (\f at size).
I.e., how to get the font size by TeX primitives rather than
from LaTeX constructs. Just in case somebody likes to know that,
irrespectivey of the OP's intention. -- Also for a general
subject on the list: LaTeX vs. Plain TeX.
More information about the texhax