[Fontinst] maths accents

cfrees at imapmail.org cfrees at imapmail.org
Fri Aug 13 15:59:31 CEST 2010


On Fri 13th Aug, 2010 at 14:10, Lars Hellström seems to have written:

> Dr. Clea F. Rees skrev:
>> I do not know what I'm doing, but...
>> 
>> ---patch-mathit---
>> --- mathit.mtx    2006-01-12 23:45:36.000000000 +0000
>> +++ mathit.mtx    2010-08-12 02:38:53.000000000 +0100
>> @@ -262,6 +262,18 @@
>>     \moveup{\neg{\int{xheight}}}
>>  \endsetglyph
>> 
>> +%:based on newlatin.mtx
>> +
>> +\foreach(accent){vector,tie}
>> +   \ifisglyph{\str{accent}}\then
>> +      \resetglyph{\str{accent}}
>> +         \glyph{\str{accent}}{1000}
>> +         \resetdepth{0}
>> +      \endresetglyph
>> +   \Fi
>> +\endfor(accent)
>> +
>> +
>>  \endmetrics
>> 
>> 
>> ---end patch---
>> 
>> ---patch-mathex---
>> --- mathex.mtx    2006-01-12 23:45:36.000000000 +0000
>> +++ mathex.mtx    2010-08-12 02:39:41.000000000 +0100
>> @@ -274,6 +274,19 @@
>>  \unfakable{bracehtipupleft}
>>  \unfakable{bracehtipupright}
>> 
>> +%:based on newlatin.mtx
>> +
>> +\foreach(accent){hatwide,hatwide,hatwidest,%
>> +    tildewide,tildewider,tildewidest}
>> +   \ifisglyph{\str{accent}}\then
>> +      \resetglyph{\str{accent}}
>> +         \glyph{\str{accent}}{1000}
>> +         \resetdepth{0}
>> +      \endresetglyph
>> +   \Fi
>> +\endfor(accent)
>> +
>> +
>>  \endmetrics
>> 
>> 
>> ---end patch---
>> 
>> ---new file: mathmsb.mtx---
>> \relax
>> 
>> \metrics
>> 
>> \ProvidesMtxPackage{mathmsb}
>> 
>> %:based on newlatin.mtx
>> 
>> \foreach(accent){hatwide,hatwide,%
>>     tildewide,tildewider}
>>    \ifisglyph{\str{accent}}\then
>>       \resetglyph{\str{accent}}
>>          \glyph{\str{accent}}{1000}
>>          \resetdepth{0}
>>       \endresetglyph
>>    \Fi
>> \endfor(accent)
>> 
>> 
>> \endmetrics
>> ---end new file---
>> 
>> Would those work?
>
> Looks like it, yes. What is the point of the mathmsb.mtx file, though?

I assumed the same problem would occur for the accents in msbm as for
those in the other encodings but there is currently no metrics file for
use with msbm. (Or is one of the math*.mtx files also designed for use
with msbm.etx?) So I put these in a new file.

- cfr

> Lars Hellström
>
>
>


More information about the fontinst mailing list