From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/2866 Path: main.gmane.org!not-for-mail From: "Giuseppe Bilotta" Newsgroups: gmane.comp.tex.context Subject: Re: The real numbers Date: Wed, 4 Oct 2000 22:34:54 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <00e701c02e44$13d2a680$ac430e97@nuovo> References: <3.0.6.32.20001001233336.01d61de0@pop.wxs.nl> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035393641 12399 80.91.224.250 (23 Oct 2002 17:20:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:20:41 +0000 (UTC) Original-To: "ConTeXt" Xref: main.gmane.org gmane.comp.tex.context:2866 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:2866 > >All, > > > >Here's another font question. If I am typing my paper in Lucida, what > >character is usually used to denote the real numbers? the complex numbers? > > > >How can I define a macro, to be used in math mode, to use these characters? > > > >\def\R{definition here} > >\def\C{definition here} > > > >Maybe I should get some instruction how to do this in the Context way as > >well. Or is using the TeX \def OK? > > \definefontsynonym [BlackBoard] [msbm10] % the font where to ick the glyphs > from > > \definesymbol [naturalnumbers] [\hbox{\getglyph{BlackBoard}{N}}] > \definesymbol [integernumbers] [\hbox{\getglyph{BlackBoard}{I}}] > \definesymbol [rationalnumbers] [\hbox{\getglyph{BlackBoard}{Z}}] Uh ... I believe it's integer -> Z and rational -> Q > \definesymbol [realnumbers] [\hbox{\getglyph{BlackBoard}{R}}] > \definesymbol [complexnumbers] [\hbox{\getglyph{BlackBoard}{C}}] Sice you were at it, \definesymbol [hypercomplexnumbers] [\hbox{\getglyph{BlackBoard}{H}}] :-) [hey, it's a _joke_] In LaTeX I used something like \newcommand{field}[1]{\ds{#1}} % where \ds stands for DoubleStruck, a synom of BB \newcommand{\R}{\field{R}} % and so on. I knwo some of them like \N and \Z are not fields, but ... that helped in case I wanted to switch to plain bold [snip] > > Now, this is far from perfect, and since a few weeks ago i needed those > blackboards myself (it was discussed on this list btw) I cooked up these > macros which are under construction, look horrible, are not meant for the > users who get nightmares from seeing this kind of code etc etc so that that > may stop reading now: > [snap! No, I don't get nightmares from that code, but ...] Why all those chiffchaffing around? That looks much like redefining a lot of TeX's default behaviour (or at least, providing hooks to rederfine etc). > As you can see, I need to extend the font files with some defs as well as > define a bunch of math symbols which i first have to discuss with taco of > course, > > Hans Giuseppe Bilotta