[Fontinst] maths accents

Dr. Clea F. Rees cfrees at imapmail.org
Fri Aug 13 03:37:33 CEST 2010


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?

Best,
cfr


More information about the fontinst mailing list