[Fontinst] maths accents

Lars Hellström Lars.Hellstrom at residenset.net
Fri Aug 13 14:10:27 CEST 2010


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?

Lars Hellström





More information about the fontinst mailing list