ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* math: using bold charaters for number sets
@ 2011-05-24 11:23 Paul Menzel
  2011-05-24 18:25 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Paul Menzel @ 2011-05-24 11:23 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 562 bytes --]

Dear ConTeXt folks,


according to [1] the number sets were originally set using bold
characters and only on the blackboard the double strokes were used.

ConTeXt defines for example `\naturalnumbers` or `\reals` [2] which are
set using double strokes.

How can I redefine those to be just bold?


Thanks,

Paul


PS: Does somebody actually use these commands (`\naturalnumbers`, …`) or
do you define for example `\N`?


[1] http://projekte.dante.de/DanteFAQ/MathematischerFormelsatz#22
[2] http://wiki.contextgarden.net/Blackboard_bold

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: math: using bold charaters for number sets
  2011-05-24 11:23 math: using bold charaters for number sets Paul Menzel
@ 2011-05-24 18:25 ` Hans Hagen
  2011-05-24 19:46   ` Aditya Mahajan
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-05-24 18:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Paul Menzel

On 24-5-2011 1:23, Paul Menzel wrote:
> Dear ConTeXt folks,
>
>
> according to [1] the number sets were originally set using bold
> characters and only on the blackboard the double strokes were used.
>
> ConTeXt defines for example `\naturalnumbers` or `\reals` [2] which are
> set using double strokes.
>
> How can I redefine those to be just bold?

I've made something for an upcoming beta:

\startformula
     \reals
     {\mathbf R}
     \utfchar{"0211D}
     \utfchar{"1D411}
\stopformula

\setupmathematics
   [rendering=1]

\startformula
     \reals
     {\mathbf R}
     \utfchar{"0211D}
     \utfchar{"1D411}
\stopformula

That give the desired result. But we need to set up some rendering 
vectors so I need to discuss it with Aditya first.

And of course Aditya want as export

<m:mi>ℝ</m:mi>
<m:mi>𝐑</m:mi>
<m:mi>ℝ</m:mi>
<m:mi>𝐑</m:mi>

So that is also taken care of.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: math: using bold charaters for number sets
  2011-05-24 18:25 ` Hans Hagen
@ 2011-05-24 19:46   ` Aditya Mahajan
  2011-05-24 20:52     ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Aditya Mahajan @ 2011-05-24 19:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1331 bytes --]

On Tue, 24 May 2011, Hans Hagen wrote:

> On 24-5-2011 1:23, Paul Menzel wrote:
>> Dear ConTeXt folks,
>> 
>> 
>> according to [1] the number sets were originally set using bold
>> characters and only on the blackboard the double strokes were used.
>> 
>> ConTeXt defines for example `\naturalnumbers` or `\reals` [2] which are
>> set using double strokes.
>> 
>> How can I redefine those to be just bold?
>
> I've made something for an upcoming beta:
>
> \startformula
>    \reals
>    {\mathbf R}
>    \utfchar{"0211D}
>    \utfchar{"1D411}
> \stopformula
>
> \setupmathematics
>  [rendering=1]

I will prefer something more verbose than rendering=1. Perhaps, 
numbersets=blackboard and numbersets=bold.

> \startformula
>    \reals
>    {\mathbf R}
>    \utfchar{"0211D}
>    \utfchar{"1D411}
> \stopformula
>
> That give the desired result. But we need to set up some rendering vectors so 
> I need to discuss it with Aditya first.

A bit tricky. Is \reals == ℝ? That is, what if I type ℝ should the 
output be bold R, or should ℝ always map to the corresponding slot in the 
unicode math font?

> And of course Aditya want as export
>
> <m:mi>ℝ</m:mi>
> <m:mi>𝐑</m:mi>
> <m:mi>ℝ</m:mi>
> <m:mi>𝐑</m:mi>
>
> So that is also taken care of.

Thanks :)

Aditya

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: math: using bold charaters for number sets
  2011-05-24 19:46   ` Aditya Mahajan
@ 2011-05-24 20:52     ` Hans Hagen
  2011-07-23 11:01       ` [solved] " Paul Menzel
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2011-05-24 20:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 24-5-2011 9:46, Aditya Mahajan wrote:

> I will prefer something more verbose than rendering=1. Perhaps,
> numbersets=blackboard and numbersets=bold.

Sure, but I needed a quick test -)

> A bit tricky. Is \reals == ℝ? That is, what if I type ℝ should the
> output be bold R, or should ℝ always map to the corresponding slot in
> the unicode math font?

- the export is the original (but \reals becomes ℝ)
- the rendering becomes ℝ or bold-R

you can play with the beta on the ftp server ... (math-ren.lua: we can 
consider runtime vector loading)

\setupbackend[export=yes]

\starttext

     \startTEXpage
         \startformula
             \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
         \stopformula
         \setupmathematics[symbolset=blackboard-to-bold]
         \startformula
             \reals {\mathbf R} \utfchar{"0211D} \utfchar{"1D411}
         \stopformula
     \stopTEXpage

\stoptext

There is also support for:

\setupmathematics
   [symbolset={blackboard-to-bold,adityas-favourutes}]

Maybe we should start thinking of \definemathematics.

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [solved] math: using bold charaters for number sets
  2011-05-24 20:52     ` Hans Hagen
@ 2011-07-23 11:01       ` Paul Menzel
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Menzel @ 2011-07-23 11:01 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 762 bytes --]

Am Dienstag, den 24.05.2011, 22:52 +0200 schrieb Hans Hagen:
> On 24-5-2011 9:46, Aditya Mahajan wrote:
> 
> > I will prefer something more verbose than rendering=1. Perhaps,
> > numbersets=blackboard and numbersets=bold.
> 
> Sure, but I needed a quick test -)

Just to close this topic. The current syntax(?)/command is the
following.

\setupmathematics
   [symbolset=blackboard-to-bold]

> > A bit tricky. Is \reals == ℝ? That is, what if I type ℝ should the
> > output be bold R, or should ℝ always map to the corresponding slot in
> > the unicode math font?
> 
> - the export is the original (but \reals becomes ℝ)
> - the rendering becomes ℝ or bold-R

I prefer that ℝ is rendered as bold-R.

[…]


Thanks,

Paul

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-23 11:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 11:23 math: using bold charaters for number sets Paul Menzel
2011-05-24 18:25 ` Hans Hagen
2011-05-24 19:46   ` Aditya Mahajan
2011-05-24 20:52     ` Hans Hagen
2011-07-23 11:01       ` [solved] " Paul Menzel

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).