From: David Munger <mungerd@users.sourceforge.net>
Subject: Re: How to \bf for math?
Date: Mon, 16 Jan 2006 13:00:02 -0500 [thread overview]
Message-ID: <1137434402.12094.6.camel@localhost.localdomain> (raw)
In-Reply-To: <6faad9f00601150307k69d8a10er89fe149ee8f724ab@mail.gmail.com>
Hi Mojca,
I must say I understand about nothing about fonts in ConTeXt. But I've
somehow managed do define a "bold vector" command, working in my
environment. I hope it helps.
\definetypeface [boldmath] [mm] [boldmath] [latin-modern] [default]
% boldsymbol work-around
\setupformulae[method=bold]
\define[1]\boldsymbol{\hbox{\formula[boldmath]{#1}}}
\define[1]\boldsymbolscript{\hbox{\formula[boldmath,script]{#1}}}
\define[1]\boldsymbolscriptscript{\hbox{\formula[boldmath,scriptscript]{#1}}}
% bold vector
\define[1]\bvec{{%
\mathchoice
{\let\bs=\boldsymbol}%
{\let\bs=\boldsymbol}%
{\let\bs=\boldsymbolscript}%
{\let\bs=\boldsymbolscripscript}%
\bs{#1}}}
Mojca Miklavec :
> Hello,
>
> What exactly is the ConTeXt alternative to LaTeX's \mathbf (switch to
> bold or bold italic math fonts)?
prev parent reply other threads:[~2006-01-16 18:00 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-15 11:07 Mojca Miklavec
2006-01-15 12:48 ` Henning Hraban Ramm
2006-01-15 14:59 ` Mojca Miklavec
2006-01-15 18:11 ` Hans Hagen
2006-01-16 11:06 ` Taco Hoekwater
2006-01-16 17:08 ` Mojca Miklavec
2006-01-16 17:59 ` Taco Hoekwater
2006-02-16 20:20 ` Adam Lindsay
2006-02-16 20:40 ` Adam Lindsay
2006-02-17 10:36 ` Taco Hoekwater
2006-02-17 17:24 ` David Munger
2006-02-17 18:23 ` Adam Lindsay
2006-02-17 19:09 ` David Munger
2006-02-17 19:56 ` Adam Lindsay
2006-02-17 20:10 ` David Munger
2006-02-17 21:37 ` Hans Hagen
2006-02-18 11:56 ` Taco Hoekwater
2006-01-16 17:26 ` Mojca Miklavec
2006-01-16 18:00 ` David Munger [this message]
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=1137434402.12094.6.camel@localhost.localdomain \
--to=mungerd@users.sourceforge.net \
--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).