Am Tue, 27 Oct 2009 19:06:40 -0400 schrieb Aditya Mahajan:
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
Hey Aditya, cool thanks, really works this way round, Thanks that this list is so fast in answering questions and that in such a qualified way... hope I will get that knowledge by some day about context to help others too... but it is nice to know a place where others will do so... so again thanks to everybody who helped me with in the past... Greetings Martin