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?
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}}
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
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 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
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.
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
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
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 -----------------------------------------------------------------
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
participants (8)
-
Adam Lindsay
-
Bernd Militzer
-
David Arnold
-
h h extern
-
Maurice Diamantini
-
Otared Kavian
-
Taco Hoekwater
-
Tobias Burnus