[texhax] Em width (Was re: Overfull boxes)

Ulrike Fischer news3 at nililand.de
Thu Aug 2 15:59:37 CEST 2012


Am Wed, 1 Aug 2012 13:55:44 -0400 schrieb Joel C. Salomon:


>> \font \xviiirm = cmr10 at 18 true pt
>> \xviiirm
>> \dimen 0 = 1 em
>> \message {1 em = \the \dimen 0 }
>> \end

>> (./untitled-1.tex 1 em = 18.00005pt )

>> \font \xviiirm = cmtt10 at 18 true pt
>> \xviiirm
>> \dimen 0 = 1 em
>> \message {1 em = \the \dimen 0 }
>> \end
>>
>> (./untitled-1.tex 1 em = 18.89983pt )
 
> I stand corrected. But—
 
> What's going on with the example you gave? Why is this so?

Because the em value of cmr10 is 10.00002pt and 10.00002pt*1.8=
18.000036pt. 

And the em value of cmtt10 is 10.4999pt and 10.4999pt* 1,8 =
18.89982pt . 

The rest are rounding errors. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the texhax mailing list