ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \mathbb
@ 2004-11-12  4:44 David Arnold
  2004-11-12  8:52 ` \mathbb Tobias Burnus
  2004-11-12 18:53 ` \mathbb Maurice Diamantini
  0 siblings, 2 replies; 11+ messages in thread
From: David Arnold @ 2004-11-12  4:44 UTC (permalink / raw)


All,

In Latex, I would write:

\documentclass{article}

\usepackage{amsmath}
\usepackage{amssymb}

\newcommand{\Real}{\mathbb{R}}

\begin{document}

Let $x\in\Real$.

\end{document}


How to I get the "Blackboard Bold" R in Context?

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

* Re: \mathbb
  2004-11-12  4:44 \mathbb David Arnold
@ 2004-11-12  8:52 ` Tobias Burnus
  2004-11-12  9:29   ` \mathbb Otared Kavian
  2004-11-12 18:53 ` \mathbb Maurice Diamantini
  1 sibling, 1 reply; 11+ messages in thread
From: Tobias Burnus @ 2004-11-12  8:52 UTC (permalink / raw)


Hi,

David Arnold wrote:

>\usepackage{amsmath}
>\usepackage{amssymb}
>  
>
\setupbodyfont[ams]

>\newcommand{\Real}{\mathbb{R}}
>  
>
\def\Real#1{{\Bbb R}}

>Let $x\in\Real$.
>  
>

Tobias

PS: I think the following looks nicer:

\definefont[BBMFont][bbm12 sa *]
\def\Bbm#1%
  {{\hbox{\BBMFont #1}}}
% Use Bbm instead of Bbb
\def\SetN{{\Bbm N}}
\def\SetZ{{\Bbm Z}}
\def\SetR{{\Bbm R}}
\def\SetC{{\Bbm C}}

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

* Re: \mathbb
  2004-11-12  8:52 ` \mathbb Tobias Burnus
@ 2004-11-12  9:29   ` Otared Kavian
  2004-11-12  9:36     ` \mathbb Adam Lindsay
  2004-11-12  9:42     ` \mathbb Tobias Burnus
  0 siblings, 2 replies; 11+ messages in thread
From: Otared Kavian @ 2004-11-12  9:29 UTC (permalink / raw)


At 9:52 +0100 12/11/04, Tobias Burnus wrote:
>Hi,
>
>David Arnold wrote:
>
>>\usepackage{amsmath}
>>\usepackage{amssymb}
>>
>\setupbodyfont[ams]

You don't even need to say \setupbodyfont[ams]: the following works fine

\def\Real#1{{\Bbb R}}
\starttext
Let $x\in\Real$, and everything works.
\stoptext

>
>PS: I think the following looks nicer:
>
>\definefont[BBMFont][bbm12 sa *]
>\def\Bbm#1%
>  {{\hbox{\BBMFont #1}}}

On my installation of ConTeXt and TeX this doesn't work, while \Bbb 
is part of the "basic ConTeXt".

Best regards: OK

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

* Re: \mathbb
  2004-11-12  9:29   ` \mathbb Otared Kavian
@ 2004-11-12  9:36     ` Adam Lindsay
  2004-11-12  9:41       ` \mathbb Otared Kavian
  2004-11-12  9:42     ` \mathbb Tobias Burnus
  1 sibling, 1 reply; 11+ messages in thread
From: Adam Lindsay @ 2004-11-12  9:36 UTC (permalink / raw)


Otared Kavian said this at Fri, 12 Nov 2004 10:29:49 +0100:

>\def\Real#1{{\Bbb R}}
\def\Real{{\Bbb R}}


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

* Re: \mathbb
  2004-11-12  9:36     ` \mathbb Adam Lindsay
@ 2004-11-12  9:41       ` Otared Kavian
  2004-11-13 16:39         ` cite-problem Bernd Militzer
  0 siblings, 1 reply; 11+ messages in thread
From: Otared Kavian @ 2004-11-12  9:41 UTC (permalink / raw)


At 9:36 +0000 12/11/04, Adam Lindsay wrote:
>Otared Kavian said this at Fri, 12 Nov 2004 10:29:49 +0100:
>
>>\def\Real#1{{\Bbb R}}
>\def\Real{{\Bbb R}}

Ooops... You are right indeed!

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

* Re: \mathbb
  2004-11-12  9:29   ` \mathbb Otared Kavian
  2004-11-12  9:36     ` \mathbb Adam Lindsay
@ 2004-11-12  9:42     ` Tobias Burnus
  2004-11-12 10:06       ` \mathbb Otared Kavian
  1 sibling, 1 reply; 11+ messages in thread
From: Tobias Burnus @ 2004-11-12  9:42 UTC (permalink / raw)


Hello,

Otared Kavian wrote:
[Using \Bbm]

> On my installation of ConTeXt and TeX this doesn't work, while \Bbb is 
> part of the "basic ConTeXt".

Well, this should work if you have that font, which is part of standard 
teTeX and probably also of standard fpTeX and thus TeXLive. Otherwise 
you can find it on CTAN.

Tobias

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

* Re: \mathbb
  2004-11-12  9:42     ` \mathbb Tobias Burnus
@ 2004-11-12 10:06       ` Otared Kavian
  2004-11-12 18:33         ` \mathbb h h extern
  0 siblings, 1 reply; 11+ messages in thread
From: Otared Kavian @ 2004-11-12 10:06 UTC (permalink / raw)


At 10:42 +0100 12/11/04, Tobias Burnus wrote:
>Well, this should work if you have that font, which is part of 
>standard teTeX and probably also of standard fpTeX and thus TeXLive. 
>Otherwise you can find it on CTAN.
>
>Tobias

I have the TeX installation of Gerben Wierda, on Mac OS X 10.3, but I 
wanted to experiment your suggestion of
\definefont[BBMFont][bbm12 sa *]
\def\Bbm#1%
  {{\hbox{\BBMFont #1}}}
However the result of ${\Bbm R}$ is not a blackboard bold R, but some 
other character resembling the delimiter |.
Actually with ConTeXt there are many fonts that I can't use correctely...

In any case thank you for your insight.
Best regards: OK

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

* Re: \mathbb
  2004-11-12 10:06       ` \mathbb Otared Kavian
@ 2004-11-12 18:33         ` h h extern
  0 siblings, 0 replies; 11+ messages in thread
From: h h extern @ 2004-11-12 18:33 UTC (permalink / raw)


Otared Kavian wrote:
> At 10:42 +0100 12/11/04, Tobias Burnus wrote:
> 
>> Well, this should work if you have that font, which is part of 
>> standard teTeX and probably also of standard fpTeX and thus TeXLive. 
>> Otherwise you can find it on CTAN.
>>
>> Tobias
> 
> 
> I have the TeX installation of Gerben Wierda, on Mac OS X 10.3, but I 
> wanted to experiment your suggestion of
> \definefont[BBMFont][bbm12 sa *]
> \def\Bbm#1%
>  {{\hbox{\BBMFont #1}}}
> However the result of ${\Bbm R}$ is not a blackboard bold R, but some 
> other character resembling the delimiter |.
> Actually with ConTeXt there are many fonts that I can't use correctely...

hm, this blackboard is an old discussion,

$\reals$ should work

Hans


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re: \mathbb
  2004-11-12  4:44 \mathbb David Arnold
  2004-11-12  8:52 ` \mathbb Tobias Burnus
@ 2004-11-12 18:53 ` Maurice Diamantini
  1 sibling, 0 replies; 11+ messages in thread
From: Maurice Diamantini @ 2004-11-12 18:53 UTC (permalink / raw)
  Cc: Maurice Diamantini


Le 12 nov. 04, à 05:44, David Arnold a écrit :

    \usemodule[amsl]
    \def\Real{\mathbb{R}}

    \starttext
    Let $x\in\Real$.
    \stoptext

You can try that at
     http://live.contextgarden.net/
Click on the bottom left "live context"
copy-paste this text, click typeset and download the pdf
result ;-)

-- Maurice

> All,
>
> In Latex, I would write:
>
> \documentclass{article}
>
> \usepackage{amsmath}
> \usepackage{amssymb}
>
> \newcommand{\Real}{\mathbb{R}}
>
> \begin{document}
>
> Let $x\in\Real$.
>
> \end{document}
>
>
> How to I get the "Blackboard Bold" R in Context?
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>

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

* cite-problem
  2004-11-12  9:41       ` \mathbb Otared Kavian
@ 2004-11-13 16:39         ` Bernd Militzer
  2004-11-18 16:48           ` cite-problem Taco Hoekwater
  0 siblings, 1 reply; 11+ messages in thread
From: Bernd Militzer @ 2004-11-13 16:39 UTC (permalink / raw)


Hi Taco,

if the authors name is Müller, Möller or  Dobe\v{s} (german/czech) 
                        ^       ^             ^^^^^
\cite[author][keys]

produce an error:

! Missing number, treated as zero.
<to be read again>
                   \let
\dobuildtextaccent ... \char \normalaccent #1\let
                                                  \char \normalchar #2}
\AU ->Dobe\dobuildtextaccent \char 2
                                    0 s
\ixfirstcommand ->{\AU
                       }
\dodobibauthoryear ...counter = 1 \ixfirstcommand
                                                  \else \ifnum
\scratchcount...
 
\next1 #1,->\dodobibauthoryear {#1}
                                   \doprocesscommaitem
...
l.61 ...BESETZUNG]

It seems to be the same problem I had in the past with seeindex, which
Hans has fixed.

thanks for help

Bernd


\startpublication[k=BESETZUNG,t=article,
a={Dobe\v{s}},y=1987c,
n=13,s=Dob87c]
\artauthor[]{Vladim\'{i}r}[V.]{}{Dobe\v{s}}
\pubyear{1987\maybeyear{c}}
\arttitle{N\v{e}meck\'{a} akupace m\v{e}ste\v{c}ka trn\'{a}vky a 2.
  sv\v{e}tov\'{a} v\'{a}lka}
\journal{Trnav\'{a}\v{c}ek Zpravodj MNV a JZD M\'{i}r M\v{e}ste\v{c}ko
  Trn\'{a}vka}
\issue{3}
\pages{31-36}
\month{August}
\note{{\it Deutsche Besetzung von Markt Türnau und 2.~Weltkrieg}.
\uebers\ u. \jkg}
\stoppublication

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

* Re: cite-problem
  2004-11-13 16:39         ` cite-problem Bernd Militzer
@ 2004-11-18 16:48           ` Taco Hoekwater
  0 siblings, 0 replies; 11+ messages in thread
From: Taco Hoekwater @ 2004-11-18 16:48 UTC (permalink / raw)


Bernd Militzer wrote:
> Hi Taco,
> 
> if the authors name is Müller, Möller or  Dobe\v{s} (german/czech) 
>                         ^       ^             ^^^^^
> It seems to be the same problem I had in the past with seeindex, which
> Hans has fixed.

I'm sorry, I don't understand what goes wrong, so I am also unsure
how to fix it.

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

end of thread, other threads:[~2004-11-18 16:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-12  4:44 \mathbb David Arnold
2004-11-12  8:52 ` \mathbb Tobias Burnus
2004-11-12  9:29   ` \mathbb Otared Kavian
2004-11-12  9:36     ` \mathbb Adam Lindsay
2004-11-12  9:41       ` \mathbb Otared Kavian
2004-11-13 16:39         ` cite-problem Bernd Militzer
2004-11-18 16:48           ` cite-problem Taco Hoekwater
2004-11-12  9:42     ` \mathbb Tobias Burnus
2004-11-12 10:06       ` \mathbb Otared Kavian
2004-11-12 18:33         ` \mathbb h h extern
2004-11-12 18:53 ` \mathbb Maurice Diamantini

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