ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Martin Scholz <martin@scholz-net.org>
To: ntg-context@ntg.nl
Subject: Re: ams font symbols
Date: Wed, 28 Oct 2009 00:19:09 +0000 (UTC)	[thread overview]
Message-ID: <hc82ls$fhh$1@ger.gmane.org> (raw)
In-Reply-To: <alpine.LNX.2.00.0910271855110.6134@ybpnyubfg.ybpnyqbznva>

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

___________________________________________________________________________________
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
___________________________________________________________________________________


      reply	other threads:[~2009-10-28  0:19 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
2009-10-28  0:19               ` Martin Scholz [this message]

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='hc82ls$fhh$1@ger.gmane.org' \
    --to=martin@scholz-net.org \
    --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).