At 10:48 21/11/2003, you wrote:
Ahoj,

On November 11 I asked the list how I could generate bold greek math symbols (I have the lucida family installed).
Until now I didn't get a response, so maybe I should be more specific.


Let me put it this way:
On page 12 of the `Fonts in ConTeXt' manual I find the footnote:
`Bold math is already prepared in the core modules, so normally one can do with less code.'


Can anybody tell me what code I have to add and where?
I would like to get the following line
$\theta = {\bfmath \alpha' x}$
with \theta in normal math and \alpha and x in math boldface?

First of all, the definition of \bfmath is broken (i probably never really tested it)


\def\bfmath{\bf\mf\synchronizesymb\mf}

i'll come back to more advanced mixed normal/bold switching later (playing a bit with that now);

a main switch to bold math is best done with a new typeface:

(i just found out that there's a typo in type-syn.tex and type-enc.tex: LucidaNewMath-Demibold -> LucidaNewMath-DemiBold

\definetypeface [mainface] [rm] [serif]
  [lucida] [default] [encoding=texnansi]
\definetypeface [mainface] [tt] [mono]
  [lucida] [default] [encoding=texnansi]
\definetypeface [mainface] [ss] [sans]
  [lucida] [default] [encoding=texnansi]
\definetypeface [mainface] [mm] [math]
  [lucida] [default] [encoding=texnansi]

\definetypeface [boldmath] [rm] [serif]
  [lucida] [default] [encoding=texnansi]
\definetypeface [boldmath] [tt] [mono]
  [lucida] [default] [encoding=texnansi]
\definetypeface [boldmath] [ss] [sans]
  [lucida] [default] [encoding=texnansi]
\definetypeface [boldmath] [mm] [boldmath]
  [lucida] [default] [encoding=texnansi]

\switchtobodyfont[mainface] \usemathcollection[lbr]  \showmathtoken{Gamma}
\switchtobodyfont[boldmath] \usemathcollection[lbr]  \showmathtoken{Gamma}

\startlines
$x=10 \Gamma \Delta \alpha \delta \zeta$

{$x=10 \Gamma \Delta \alpha \delta \zeta$}
{$x=10 \Gamma \Delta \alpha \delta \zeta$}

$\mainface  x=10 \Gamma \Delta \alpha \delta \zeta$
$\boldmath  x=10 \Gamma \Delta \alpha \delta \zeta$

\stoplines

\startformula
  x=12=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[mainface]
   x=12=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath]
  x=12=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath,8pt]
  x=8=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath,12pt,small]
  x=12s=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath,small]
  x=s=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath,10pt]
  x=10=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath,11pt,small]
  x=11s=\fontbody  \Gamma \Delta \alpha \delta \zeta
\stopformula

\startformula[boldmath,9pt]
  x=9=\fontbody \Gamma \Delta \alpha \delta \zeta
\stopformula

\formula[boldmath]{1=2x}


Hans


_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to