Skip to main content
The 2024 Developer Survey results are live! See the results

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Not really so, some font packages do their set up at begin document, so the value of \mylen may not reflect the actual height of capital letters in the document.
    – egreg
    Commented Oct 28, 2015 at 12:00
  • @egreg: Is \AtBeginDocument{\setlength{\mylen}{\fontcharht\fontT}} ` better?
    – user11232
    Commented Oct 28, 2015 at 12:11
  • better letter "X"; the "T" has serifs above the cap height in some fonts, e.g. garamond. Commented Oct 28, 2015 at 12:23
  • @barbarabeeton: Thanks. I have changed the answer accordingly.
    – user11232
    Commented Oct 28, 2015 at 12:29