[texhax] Lowered \hat accent

Uwe Lück uwe.lueck at web.de
Wed Jan 18 17:42:30 CET 2006


At 02:53 16.01.06, Joel Salomon wrote:
>In a paper dicussing the "unit vectors" $\hat\imath$, $\hat\jmath$,
>and $\hat k$, is there some way to put the hat accent over the body of
>the letter 'k' rather than over its ascender?  I'd prefer a method
>that automatically computes the position from font information, if
>such exists, but hacks and kludges are fine.

Sorry, I forgot to remove the optional argument which didn't work
as I hoped; so please try

   $\upperaccent{"5E}{\ooalign{\hidewidth\vphantom{\i}\hidewidth\cr\smash{k}}}$

using Fukui Rei's exaccent.sty from CTAN.

Hope this helps,
   Uwe.



More information about the texhax mailing list