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
___________________________________________________________________________________