From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: ams font symbols
Date: Tue, 27 Oct 2009 19:06:40 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.00.0910271855110.6134@ybpnyubfg.ybpnyqbznva> (raw)
In-Reply-To: <hc7r2p$6f5$1@ger.gmane.org>
On Tue, 27 Oct 2009, Martin Scholz wrote:
> Thanks after that link I'm using dstroke.
> you used in brackets [mant] instead of [math] in the following command
> \definetypeface[modern][mm][math][modern][ams][endocing=
> \defaultencoding]
>
> so with math it is correct with mant it is the wrong one. Is there a way
> to combine math and mant together? so that one can use the defined
> symbols in mant and use the nicer doublestroke symbols in math?
Sorry, [mant] was a typo. It should be [math].
The trouble is that the example on the wiki is that it redefines the mb
family and the subseteq etc from from mb family. A workaround is to
redefine the mc family (Only math time professional fonts use that
family). Here is a working example:
\loadmapfile[dstroke.map]
\starttypescript [math] [modern,computer-modern,latin-modern,ams] [size]
\definebodyfont [17.3pt,14.4pt,12pt][mm]
[mc=dsrom12 sa 1]
\definebodyfont [11pt,10pt,9pt] [mm]
[mc=dsrom10 sa 1]
\definebodyfont [8pt,7pt,6pt,5pt,4pt] [mm]
[mc=dsrom8 sa 1]
\stoptypescript
\definetypeface [modern] [mm] [math] [modern] [ams] [encoding=texnansi]
\setupbodyfont[reset,modern,10pt]
\definefamilysynonym [default] [doublestroke] [mc]
\def\dstroke {\fam\purefamily {doublestroke}}
\def\doublestroke#1{{\dstroke#1}}
\starttext
${\dstroke RN}$
$\subsetneqq\subsetneq\supsetneqq\supsetneq$
\stoptext
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-10-27 23:06 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 20:29 Martin Scholz
2009-10-27 20:58 ` Hans Hagen
2009-10-27 21:08 ` Martin Scholz
2009-10-27 21:05 ` Aditya Mahajan
2009-10-27 21:10 ` Martin Scholz
2009-10-27 21:21 ` Aditya Mahajan
2009-10-27 21:29 ` Martin Scholz
2009-10-27 21:34 ` Aditya Mahajan
2009-10-27 21:41 ` Martin Scholz
2009-10-27 21:47 ` Aditya Mahajan
2009-10-27 21:38 ` Martin Scholz
2009-10-27 21:46 ` Aditya Mahajan
2009-10-27 22:09 ` Martin Scholz
2009-10-27 23:06 ` Aditya Mahajan [this message]
2009-10-28 0:19 ` Martin Scholz
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=alpine.LNX.2.00.0910271855110.6134@ybpnyubfg.ybpnyqbznva \
--to=adityam@umich.edu \
--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).