ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <hansm@science.uva.nl>
Subject: blackboard bold and calligraphic
Date: Mon, 28 Nov 2005 17:46:07 +0100	[thread overview]
Message-ID: <B46F96FF-698D-47F2-BB11-9F1237884BFD@science.uva.nl> (raw)

BLACKBOARD

There is a problem with the Blackboard symbols, when used in regular  
and bold forms both.

In the Lucida fontset there is a regular series in lbma (or hlcra),  
and a bold series in font lbmad (or hlcda).
As I understand from the current code, switching from regular to bold  
should be accompanied by a switch from Blackboard to something like  
BlackboardBold in the command \bbd (from the sources I guess \bbd in  
font-ini.tex is the most basic macro here).
The problem is that \bbd is defined as:
\def\bbd {\mathortext{\fam\purefamily  {blackboard}}{\symbolicfont   
{Blackboard}}}
Thus the font is hardcoded to regular Blackboard.

I have no idea what should be the best strategy to repair this.
As for now, the most general mechanism for switching to other/bold  
math fontfamilies I could find is using \bfmath (and friends).
The font needed is in one of the math font registers, of course, so  
something like {\ma CNRZ} instead of {\bbd CNRZ} will do. But this  
low level code makes the TeX text source explicitely dependent on the  
font; for example in the AMS-series these characters are found in  
msmb, usually ending up in \ma.

Is there some generic solution here?

CALLIGRAPHIC

There is a similar problem with $\cal ...$
It is defined as
\def\cal {\mathortext{\fam\purefamily{calligraphic}}{\symbolicfont 
{Calligraphic}}}

I definded font "Calligraphic" but here ConTeXt does not seem to use  
it in math mode. The calligraphic symbols appear to be taken from the  
sy (symbol) math family instead of the Calligraphic font. It is a  
problem, because in the font I am using the calligraphic letters are  
in another font. Typesetting
${\cal XYZ}\hbox{\cal XYZ}$
gives the wrong characters from the symbol font in the first case,  
the correct letters in the second.

How can this be solved?

yours sincerely,
dr. H. van der Meer

                 reply	other threads:[~2005-11-28 16:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=B46F96FF-698D-47F2-BB11-9F1237884BFD@science.uva.nl \
    --to=hansm@science.uva.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).