ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco.hoekwater@wkap.nl>
Subject: Bold math symbols
Date: Fri, 25 Jun 1999 14:15:33 +0000 (GMT)	[thread overview]
Message-ID: <14195.36613.775177.867942@PC709.wkap.nl> (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
---------------------------------------------------------------------


             reply	other threads:[~1999-06-25 14:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-25 14:15 Taco Hoekwater [this message]
1999-06-25 16:09 ` Matthew Baker
1999-10-06 11:54 ` Context diff Taco Hoekwater
1999-10-06 11:01   ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=14195.36613.775177.867942@PC709.wkap.nl \
    --to=taco.hoekwater@wkap.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).