[texhax] Lowered \hat accent

Uwe Lück uwe.lueck at web.de
Wed Jan 18 17:33:53 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.

What about

   $\upperaccent[1pt]{"5E}{\ooalign{\hidewidth\vphantom{\i}\hidewidth\cr\smash{k}}}$

using Fukui Rei's exaccent.sty from CTAN?

The accent might better be shifted to the left -- but I am in a hurry now ...

Hope this helps,
   Uwe.



More information about the texhax mailing list