ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vladimir Lomov <lomov.vl@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Math and bold font
Date: Mon, 6 Dec 2010 18:11:34 +0800	[thread overview]
Message-ID: <20101206101134.GC4262@smoon> (raw)
In-Reply-To: <4CFA01FD.5070001@wxs.nl>

** Hans Hagen [2010-12-04 09:55:25 +0100]:
[...]
>>>\setupbodyfont[cambria]
>>>
>>>\starttext
>>>This is a test.
>>>$a=\alpha$
>>>$\bf a=\alpha$
>>>$\bi a=\alpha$
>>>\stoptext
>>>
>>>BTW, I not sure if I use "correct" way to switch fonts in math mode (in
>>>LaTeX commands to switch fonts are different in text and math mode, and
>>>I have big LaTex background, so for me this way is unusual :).
> 
> best try to convert to the unicode math approach: bold a-z is
> different unicode slots than a-z and in context the \bf command does
> that transformation on ascii a-z (you can also key in the official
> unicode chars); the benefit is that you can cut and paste the bold
> characters in pdf files i.e. you retain that property; a bold b is
> not a bold one in typographic sense but a special symbol that
> happens to use a bold rendering; in for instance a section title,
> one can have all math bold, and then this regular bold character
> will become real bold
But this is not universal solution.

Suppose I want to use serif bold italic font for vectors and sans bold
italic for tensors (this is recommendation of NIST, see sp811.pdf on
nist.gov). Of course I could enter vectors and tensors as symbols from
appropriate unicode slots but what if my publisher says me that vectors
should be in sans bold and tensors in serif bold italic? So I define
commands, like \vect and \tensor to markup what symbols are verctors and
what are tensors.

Therefore I consider context (as well as LaTeX) as sort of markup
(mix of procedural and descriptive markups).

Returning to original question: I don't check but AFAIU one can define
your own typescript and choose what fonts are used in math mode (mm?).
If current typescript (modern?, latin modern?) doesn't have bold greek
letters for math one should define new typescript and use for mm (math)
font which have bold greek letters.

P.S. I could be wrong with terms.

---
WBR, Vladimir Lomov

-- 
innovate, v.:
	To annoy people.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2010-12-06 10:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-03  7:51 Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-03 15:30 ` Vladimir Lomov
2010-12-03 16:00   ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-04  8:55     ` Hans Hagen
2010-12-05 13:58       ` Procházka Lukáš
2010-12-05 17:34         ` Florian Wobbe
2010-12-05 19:27           ` Math and bold font: \definetypeface Procházka Lukáš
2010-12-05 21:48             ` Florian Wobbe
2010-12-06 14:37               ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-08 10:24                 ` Florian Wobbe
2010-12-10 13:25                   ` Procházka Lukáš Ing. - Pontex s. r. o.
2010-12-06 10:11       ` Vladimir Lomov [this message]
2010-12-06 16:55         ` Math and bold font Procházka Lukáš Ing. - Pontex s. r. o.
     [not found]       ` <op.vm8ptgm00g5ws1@lk-2008-nbk>
2010-12-06 14:27         ` 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=20101206101134.GC4262@smoon \
    --to=lomov.vl@gmail.com \
    --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).