Questions tagged [font-metrics]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
49
votes
1answer
4k views

What do different \fontdimen<num> mean

I know that \fontdimen<num> returns some dimensions associated with the current font. What are they?
30
votes
6answers
5k views

Bad positioning of math accents for the beamer standard font

With a recent TeX distribution, the easy answer to this question is "load the sansmathaccent package" (which is Ariel's implementation of my answer). Actually, the corrected font should be loaded ...
38
votes
4answers
9k views

What exactly is leading?

Wikipedia: In typography, leading ( /ˈlɛdɪŋ/) refers to the distance between the baselines of successive lines of type. By this definition, isn't it the same thing as line height? But in the ...
17
votes
2answers
949 views

Scrartcl 13.999 point 14.4 point but not 14 point?

Can the scrartcl class make a true 14 point type? It will produce 13.999pt, 13.9999pt and 13.99998pt, but 14pt produces 14.4 point type only. Thanks :) \documentclass[fontsize=13.999pt]{scrartcl}...
7
votes
1answer
2k views

How to make a command for a composed symbol to work with all font sizes?

In my paper I need a letter $\mathbb{R}$ with a small circle above it. Currently I'm using the following command: \newcommand{\obbR}{{\mbox{\kern1.4pt \raisebox{7pt} {\scriptsize$\circ$} \kern-9.1pt}\...
10
votes
1answer
541 views

Can I declare a new automatic kern for “eV” without modifying font metrics?

The "eV" (electronvolt) unit and its variants ("MeV", "GeV", "TeV", ...) are heavily used in nuclear and particle physics. By default Computer Modern and other common TeX fonts do not contain a pre-...
7
votes
2answers
1k views

How to make sense of font metrics?

If I have a Tex font, and I want to really understand how it will be laid out by Tex, and what features of the font to bear in mind when tuning my output to be beautiful, what tools are useful for ...
6
votes
1answer
590 views

Math accents overlap in beamer

Consider the following MWE \documentclass{beamer} \usepackage[english,spanish]{babel} \uselanguage{spanish} \languagepath{spanish} \usepackage{lmodern} \usefonttheme[onlymath]{serif} \usepackage[T1]...
5
votes
1answer
531 views

Why will TeX only find my tfm file for 11pt and 12pt fonts, not for 10pt?

In this answer I did something one shouldn't really do: I modified the font metric file cmsy10.tfm and saved it in my working TeX directory without changing the name. This had the desired effect: ...
4
votes
1answer
508 views

Why doesn't math \fontdimen's work with XeTeX?

Why doesn't the \fontdimen-command change anything with XeTeX? \input pgffor \def\chfndims#1{\foreach\dim in{13,...,19}{\fontdimen\dim#1=20pt}} \font\mymathfn="XITS Math:script=math" at 10pt \...
2
votes
0answers
3k views

Problem with loading font metrics file [closed]

Trying to make PDF output with pdflatex halts with this message: Font T1/ptm/m/n/10=ptmr8t at 10.0pt not loadable: Metric (TFM) file not found After searching a bit I found that file ptmr8t.tfm is ...