[NTG-context] \bar missing in euler

Aditya Mahajan adityam at umich.edu
Thu Jul 6 15:54:52 CEST 2006


Hi,

%-----------------------------------------------------
\usetypescript[palatino] [ec]
\definetypeface [palatino] [mm] [math] [euler] [euler] [rscale=1.03]
\setupbodyfont[palatino,11pt]

\starttext
$\bar a$
\stoptext
%------------------------------------------------------------

gives just "a". I do not get any bar over "a".

math-eul.tex says

%D This used to be very hackish; it brought in text
%D accents from the well-matched Bitstream Charter.

%D But now, these characters don't exist. I would prefer to pull
%D them from the text font, but  I don't know how.
%D Instead, I'm just pointing to null characters!

:-(

This is how eulervm.sty defines these characters for T1 encoding.

   \DeclareMathAccent{\acute}{\mathalpha}{operators}{1}
   \DeclareMathAccent{\grave}{\mathalpha}{operators}{0}
   \DeclareMathAccent{\ddot}{\mathalpha}{operators}{4}
   \DeclareMathAccent{\tilde}{\mathalpha}{operators}{3}
   \DeclareMathAccent{\bar}{\mathalpha}{operators}{9}
   \DeclareMathAccent{\breve}{\mathalpha}{operators}{8}
   \DeclareMathAccent{\check}{\mathalpha}{operators}{7}
   \DeclareMathAccent{\hat}{\mathalpha}{operators}{2}
   \DeclareMathAccent{\dot}{\mathalpha}{operators}{10}

I do not know what is the equivalent of 'operators' family in context. 
Any idea how to pull them out of the text fonts?

Aditya





More information about the ntg-context mailing list