From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53790 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: ams font symbols Date: Tue, 27 Oct 2009 19:06:40 -0400 (EDT) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1256684828 4249 80.91.229.12 (27 Oct 2009 23:07:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Oct 2009 23:07:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 28 00:07:02 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.50) id 1N2v81-0004tZ-AJ for gctc-ntg-context-518@m.gmane.org; Wed, 28 Oct 2009 00:07:01 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C3DDBC9B7A; Wed, 28 Oct 2009 00:05:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ENaF11ZievLI; Wed, 28 Oct 2009 00:05:44 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB7EAC9B16; Wed, 28 Oct 2009 00:05:43 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 19979C9B16 for ; Wed, 28 Oct 2009 00:05:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 4hCEDzTo9oGH for ; Wed, 28 Oct 2009 00:05:36 +0100 (CET) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by balder.ntg.nl (Postfix) with ESMTP id AFC37C9B07 for ; Wed, 28 Oct 2009 00:05:35 +0100 (CET) Original-Received: FROM dhcp128036205236.central.yale.edu (dhcp128036205236.central.yale.edu [128.36.205.236]) By tombraider.mr.itd.umich.edu ID 4AE77D05.B277C.28919 ; Authuser adityam; 27 Oct 2009 19:06:45 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:53790 Archived-At: 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 ___________________________________________________________________________________