From: Martin Scholz <martin@scholz-net.org>
To: ntg-context@ntg.nl
Subject: Re: ams font symbols
Date: Tue, 27 Oct 2009 21:38:53 +0000 (UTC) [thread overview]
Message-ID: <hc7p9c$6ep$2@ger.gmane.org> (raw)
In-Reply-To: <alpine.LNX.2.00.0910271717190.6134@ybpnyubfg.ybpnyqbznva>
Am Tue, 27 Oct 2009 17:21:48 -0400 schrieb Aditya Mahajan:
> On Tue, 27 Oct 2009, Martin Scholz wrote:
>
>> Am Tue, 27 Oct 2009 17:05:07 -0400 schrieb Aditya Mahajan:
>>
>>> On Tue, 27 Oct 2009, Martin Scholz wrote:
>>>
>>>> Hi List,
>>>>
>>>> does anybody of you know if there is context package/module that
>>>> provides the usability of AMS symbols like \subsetneq or \subsetneqq?
>>>
>>> MkII or MkIV?
>> MkII
>>>
>>>> or is the only way to define every symbol by hand manually in the
>>>> form of
>>>>
>>>> \mathchardef\subsetneq=####
>>>
>>> Just send a list of symbols that are missing, and we will add them to
>>> the core.
>>>
>>> Aditya
>>>
>> Just answered Hans with the part that missed in my opinion. but if it
>> is there, I don't know what I'm doing wrong...
>
> I don't know. The following works fine here with the current minimals.
>
> \starttext
> $\subsetneqq\subsetneq\supsetneqq\supsetneq$ \stoptext
>
> It also works correctly on contextgarden (live.contextgarden.net). To be
> explicit, you can try to force the ams definitions:
>
> \definetypeface[mainface][rm][serif][modern][default][encoding=
\defaultencoding]
> \definetypeface[mainface][ss][sans]
> [modern][default][encoding=\defaultencoding]
> \definetypeface[mainface][tt][mono]
> [modern][default][encoding=\defaultencoding]
> \definetypeface[mainface][mm][mant] [modern][ams]
> [encoding=\defaultencoding]
>
> \setupbodyfont[mainface]
>
Ok I found out where the problem is and why I need to define the folowing
symbols manually like this:
\font\msbmx=msbm10 at 10pt
\textfont15=\msbmx
\mathchardef\subsetneqq="3F24
\mathchardef\subsetneq="3F28
\mathchardef\supsetneqq="3F25
\mathchardef\supsetneq="3F29
I'm using the following setup:
\definetypeface[modern][mm][math][modern][ams][endocing=\defaultencoding]
because in this connection the following part produces the nicer output,
or it there a way to the the dstroke environment behave like in the math
under mant?
\definefamilysynonym[default][doublestroke][mb]
\def\dstroke {\fam\purefamily {doublestroke}}
here the Symbol for natural Numbers is produced like ||\|
and not like |\\|
hope the ascii-Art is readable...
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
___________________________________________________________________________________
next prev parent reply other threads:[~2009-10-27 21:38 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 [this message]
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
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='hc7p9c$6ep$2@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).