ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Bold math symbols
@ 1999-06-25 14:15 Taco Hoekwater
  1999-06-25 16:09 ` Matthew Baker
  1999-10-06 11:54 ` Context diff Taco Hoekwater
  0 siblings, 2 replies; 4+ messages in thread
From: Taco Hoekwater @ 1999-06-25 14:15 UTC (permalink / raw)


Hi Matthew,

Here is a hack that apparently works ok with the Lucida fonts. It
gives you a 'boldmath' command much like latex has. Hope this was what 
you had in mind. 

Taco

\definefontsynonym [BoldMathRoman]          [LucidaBright-Demi]
\definefontsynonym [BoldMathExtension]      [LucidaNewMath-Extension]
\definefontsynonym [BoldMathItalic]         [LucidaNewMath-AltDemiItalic]
\definefontsynonym [BoldMathSymbol]         [LucidaNewMath-Symbol-Demi]
\definefontsynonym [BoldMathAlpha]          [LucidaNewMath-Arrows-Demi]

\setupbodyfont[lbr]

\debuggerinfotrue

\def\boldmath{%
 \definebodyfont[14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt][mm]
	[mr=BoldMathRoman sa 1,
	 mi=BoldMathItalic sa 1,
	 ex=BoldMathExtension sa 1,
	 sy=BoldMathSymbol sa 1,
	 ma=BoldMathAlpha sa 1
	]\setmathfamilies
}

\starttext

$A\bf + A = \sqrt\alpha$

$A\bf\mf + A = \sqrt\alpha$

$\boldmath 
A\bf + A = \sqrt\alpha$

$A\bf\mf + A = \sqrt\alpha$

{\boldmath
$A\bf + A = \sqrt\alpha$
}

$A\bf + A = \sqrt\alpha$

\stoptext

-- 
Taco Hoekwater                                 taco.hoekwater@wkap.nl
Kluwer Academic Publishers                            -- Pre Press --
Achterom 119, 3311 KB Dordrecht, The Netherlands  tel.  31-78-6392550
---------------------------------------------------------------------


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-10-06 11:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-06-25 14:15 Bold math symbols Taco Hoekwater
1999-06-25 16:09 ` Matthew Baker
1999-10-06 11:54 ` Context diff Taco Hoekwater
1999-10-06 11:01   ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).