Hi, Have you tries U+1024 or LETTER CAPITAL H WITH CIRCUMFLEX?
True not all Fonts might not have it and it is TEXT not Math. Just a thought. regards Keith. Am 31.07.2013 um 00:04 schrieb Michael Murphy <murphy...@gmail.com>: > Hello all, > > I'm trying to typeset 'H' with a circumflex (or hat) in math mode, but the > result is rather ugly when not using latin-modern. I've tried to redefine the > \hat macro to move the accent up a bit using \topaccent: is this the best > approach? Having to nest '$' does not seem right at all. (Also, for some > reason although I find \mathhat in enco-ini.mkiv, when I try to use it I get > undefined control sequence.) > > Thanks, > Michael > > \starttypescript [mathfont] > \definetypeface [mathfont] [mm] [math] [palatino] [default] [rscale=1.0] > \stoptypescript > \usetypescript[mathfont] > \setupbodyfont[mathfont] > > \starttext > > $\hat{H}$ > > \def\hat#1{\topaccent{3pt}{0}{90}{\textcircumflex}{$#1$}} > > $\hat{H}$ > > \stoptext > > -- > > Michael Murphy > murphy...@gmail.com
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________