ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: Sytse Knypstra <S.Knypstra@eco.rug.nl>
Subject: Re: bold math
Date: Sun, 23 Nov 2003 18:53:26 +0100	[thread overview]
Message-ID: <6.0.0.22.2.20031123181536.01dd79d0@localhost> (raw)
In-Reply-To: <5.2.0.9.1.20031121103005.00ab2138@imap.eco.rug.nl>

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

  reply	other threads:[~2003-11-23 17:53 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21  9:48 Sytse Knypstra
2003-11-23 17:53 ` Hans Hagen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-07-03 13:12 Mojca Miklavec
2009-07-03 13:19 ` Mojca Miklavec
2009-07-03 13:23   ` Hans Hagen
2009-07-03 13:35     ` Mojca Miklavec
2009-07-03 13:58       ` Hans Hagen
2009-07-03 13:59 ` Hans Hagen
2009-03-27 15:10 Bostjan Vesnicer
2009-03-27 15:17 ` Aditya Mahajan
2009-03-27 20:59   ` Boštjan Vesnicer
2009-03-27 21:06     ` Aditya Mahajan
2004-08-30 20:50 Bold math Nikolai Weibull
2004-08-31  8:30 ` Sytse Knypstra
2004-08-31  9:02   ` Hans Hagen
2004-05-09 13:16 bold math Adam Lindsay
2003-11-11 10:17 Sytse Knypstra
2000-09-13  7:53 Bold math Michal Kvasnicka
2000-09-13 13:18 ` S2P development
2000-04-18  1:37 bold math pragma
2000-04-18 21:35 ` Taco Hoekwater
2000-02-14 22:36 pragma
2000-02-15 13:28 ` Taco Hoekwater
1999-06-24  7:12 Bold math Matthew Baker
1999-06-24  9:40 ` Taco Hoekwater
1999-06-24  8:03   ` Matthew Baker
1999-06-24  9:15     ` Hans Hagen
1999-06-25  9:19       ` Matthew Baker
1999-06-25 10:32         ` 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=6.0.0.22.2.20031123181536.01dd79d0@localhost \
    --to=pragma@wxs.nl \
    --cc=S.Knypstra@eco.rug.nl \
    --cc=ntg-context@ntg.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).