[texhax] Lowered \hat accent

Joel Salomon joelcsalomon at gmail.com
Wed Jan 18 23:17:26 CET 2006


On 1/18/06, Michael Doob <mdoob at cc.umanitoba.ca> wrote:
> On Wednesday 18 January 2006 1:51 pm, Joel Salomon wrote to Michael Doob:
> > On 1/18/06, Michael Doob <mdoob at cc.umanitoba.ca> wrote:
> > > You might also want to look at the \skew command the page 136 of the TeXbook.
> >
> > Is there a vertical skew as well?  A quick Google search turns up nothing.
> >
> > --Joel
>
> The TeX \accent primitive places the accent above the bounding box
> of the letter as it is defined in the tfm file (in fact, TeX itself
> knows nothing about the contents or glyph that is actually in the box).
> You would have to put the letter being accented in a taller or shorter
> box and put the accent  on top of that. Unfortunately the \accent command
> is pretty tricky and sometimes doesn't work as might be expected.
>
> This problem can be solved using virtual fonts. This allow you to make
> a tfm file with new box dimensions, or to make a font with the
> accent already in place.
>
> Not too easy an answer, I'm afraid.

Am I allowed to say "ugh"?

I'm going to try to tweak Uwe Lück's suggestion for now.

--Joel



More information about the texhax mailing list