Real number symbol (UTF-8: ℝ) in XeTeX
How can I get the 'real number' sign (something like mathbb{R}
with the amssymb package in LaTeX) in XeTeX?
math-mode xetex symbols amsmath plain-tex
|
show 5 more comments
How can I get the 'real number' sign (something like mathbb{R}
with the amssymb package in LaTeX) in XeTeX?
math-mode xetex symbols amsmath plain-tex
3
Can you add the essential part of your preamble, particularly the font setting?
– egreg
Mar 25 '13 at 21:24
well I have no preamble since I'm on XeTeX ;-)
– lvaneesbeeck
Mar 25 '13 at 21:48
@ivaneesbeeck, i don't understand your answer.
– jpayansomet
Mar 25 '13 at 21:51
2
@Ivaneesbeeck Please add the username in your comment to respond properly (as I did here), otherwise the person will not be notified of your message. It would still be interesting to see your font setup.font1="Linux Libertine O"1 ℝbye
works great for me.
– Qrrbrbirlbel
Mar 25 '13 at 22:36
2
I see; nothing prevents you from using themsbm10
font with XeTeX. In any case, if you don't set fonts, you're basically using the same setting as normal TeX.
– egreg
Mar 25 '13 at 22:39
|
show 5 more comments
How can I get the 'real number' sign (something like mathbb{R}
with the amssymb package in LaTeX) in XeTeX?
math-mode xetex symbols amsmath plain-tex
How can I get the 'real number' sign (something like mathbb{R}
with the amssymb package in LaTeX) in XeTeX?
math-mode xetex symbols amsmath plain-tex
math-mode xetex symbols amsmath plain-tex
edited Nov 6 '14 at 23:37
Jonas Stein
3,16242642
3,16242642
asked Mar 25 '13 at 21:18
lvaneesbeecklvaneesbeeck
1,2221819
1,2221819
3
Can you add the essential part of your preamble, particularly the font setting?
– egreg
Mar 25 '13 at 21:24
well I have no preamble since I'm on XeTeX ;-)
– lvaneesbeeck
Mar 25 '13 at 21:48
@ivaneesbeeck, i don't understand your answer.
– jpayansomet
Mar 25 '13 at 21:51
2
@Ivaneesbeeck Please add the username in your comment to respond properly (as I did here), otherwise the person will not be notified of your message. It would still be interesting to see your font setup.font1="Linux Libertine O"1 ℝbye
works great for me.
– Qrrbrbirlbel
Mar 25 '13 at 22:36
2
I see; nothing prevents you from using themsbm10
font with XeTeX. In any case, if you don't set fonts, you're basically using the same setting as normal TeX.
– egreg
Mar 25 '13 at 22:39
|
show 5 more comments
3
Can you add the essential part of your preamble, particularly the font setting?
– egreg
Mar 25 '13 at 21:24
well I have no preamble since I'm on XeTeX ;-)
– lvaneesbeeck
Mar 25 '13 at 21:48
@ivaneesbeeck, i don't understand your answer.
– jpayansomet
Mar 25 '13 at 21:51
2
@Ivaneesbeeck Please add the username in your comment to respond properly (as I did here), otherwise the person will not be notified of your message. It would still be interesting to see your font setup.font1="Linux Libertine O"1 ℝbye
works great for me.
– Qrrbrbirlbel
Mar 25 '13 at 22:36
2
I see; nothing prevents you from using themsbm10
font with XeTeX. In any case, if you don't set fonts, you're basically using the same setting as normal TeX.
– egreg
Mar 25 '13 at 22:39
3
3
Can you add the essential part of your preamble, particularly the font setting?
– egreg
Mar 25 '13 at 21:24
Can you add the essential part of your preamble, particularly the font setting?
– egreg
Mar 25 '13 at 21:24
well I have no preamble since I'm on XeTeX ;-)
– lvaneesbeeck
Mar 25 '13 at 21:48
well I have no preamble since I'm on XeTeX ;-)
– lvaneesbeeck
Mar 25 '13 at 21:48
@ivaneesbeeck, i don't understand your answer.
– jpayansomet
Mar 25 '13 at 21:51
@ivaneesbeeck, i don't understand your answer.
– jpayansomet
Mar 25 '13 at 21:51
2
2
@Ivaneesbeeck Please add the username in your comment to respond properly (as I did here), otherwise the person will not be notified of your message. It would still be interesting to see your font setup.
font1="Linux Libertine O"1 ℝbye
works great for me.– Qrrbrbirlbel
Mar 25 '13 at 22:36
@Ivaneesbeeck Please add the username in your comment to respond properly (as I did here), otherwise the person will not be notified of your message. It would still be interesting to see your font setup.
font1="Linux Libertine O"1 ℝbye
works great for me.– Qrrbrbirlbel
Mar 25 '13 at 22:36
2
2
I see; nothing prevents you from using the
msbm10
font with XeTeX. In any case, if you don't set fonts, you're basically using the same setting as normal TeX.– egreg
Mar 25 '13 at 22:39
I see; nothing prevents you from using the
msbm10
font with XeTeX. In any case, if you don't set fonts, you're basically using the same setting as normal TeX.– egreg
Mar 25 '13 at 22:39
|
show 5 more comments
7 Answers
7
active
oldest
votes
How about this?
documentclass{article}
usepackage{amssymb}
begin{document}
begin{tabular}{ll}
Plain-TeX{}: & ${rm I!R}$\
amssymb: & $mathbb{R}$
end{tabular}
end{document}
1
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
9
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
2
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can tryusepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?
– Kurt
Mar 26 '13 at 14:37
7
@Kurt I agree thatvarmathbb{R}
is closer to what I use in handwriting thanmathbb{R}
and I'm actually considering using it instead in the future. However, saying thatmathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?
– jubobs
Mar 26 '13 at 14:43
2
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
|
show 1 more comment
You should put your symbol format definitions in another TeX file; publications tend to have their own styles, and some may use bold Roman for fields like R instead of blackboard bold. You can swap nams.tex
with aom.tex
. I know, this is more common with LaTeX, but the principle still applies.
For example:
% paper.tex
input nams.tex
$realnumbers$ is connected.
% nams.tex
defrealnumbers{mathbb{R}}
% more definitions for the Notices.
% aom.tex
defrealnumbers{mathbf{R}}
% more definitions for the Annals.
Just change one line in paper.tex to submit to the Annals instead of the Notices.
2
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
add a comment |
With lualatex
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
begin{document}
$ℝ$
end{document}
(not sure how to make it work with XeLaTeX
or XeTeX
)
add a comment |
There's a couple of ways to go about this:
- Using the default Computer Modern -font (which, as you've already found out, can be extended with the
amssym
to have access to BlackBoardBold.) - Using Unicode OpenType math fonts. Now this is a bit tricky because the glyph locations need to be (re-)told to TeX. This step can further be split into two different approaches:
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
unicode-math
-package does it). For plain-xetex, you could do something along these lines. - Fix the styles to their own
fam
ilies using mapping-files created withteckit_compile
from SIL. See: Changing math font to OTF in XeTeX using plaintex-format.
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
add a comment |
Auto-answer:
input amssym.tex
${Bbb R}$
bye
works fine
Did you meaninput amssymb.tex
?
– jubobs
Apr 21 '13 at 16:37
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
add a comment |
You can use Re
, it works very well
1
Re
does not show ℝ however!!
– Christian Hupfer
Aug 29 '17 at 10:19
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
1
I guess that your proposedRe
command stands for real part, to be used likeRe{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
add a comment |
In Jupyter Notebook Bbb{R}
works out of the box without any input.
New contributor
1
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
add a comment |
protected by Henri Menke 4 mins ago
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
7 Answers
7
active
oldest
votes
7 Answers
7
active
oldest
votes
active
oldest
votes
active
oldest
votes
How about this?
documentclass{article}
usepackage{amssymb}
begin{document}
begin{tabular}{ll}
Plain-TeX{}: & ${rm I!R}$\
amssymb: & $mathbb{R}$
end{tabular}
end{document}
1
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
9
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
2
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can tryusepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?
– Kurt
Mar 26 '13 at 14:37
7
@Kurt I agree thatvarmathbb{R}
is closer to what I use in handwriting thanmathbb{R}
and I'm actually considering using it instead in the future. However, saying thatmathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?
– jubobs
Mar 26 '13 at 14:43
2
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
|
show 1 more comment
How about this?
documentclass{article}
usepackage{amssymb}
begin{document}
begin{tabular}{ll}
Plain-TeX{}: & ${rm I!R}$\
amssymb: & $mathbb{R}$
end{tabular}
end{document}
1
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
9
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
2
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can tryusepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?
– Kurt
Mar 26 '13 at 14:37
7
@Kurt I agree thatvarmathbb{R}
is closer to what I use in handwriting thanmathbb{R}
and I'm actually considering using it instead in the future. However, saying thatmathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?
– jubobs
Mar 26 '13 at 14:43
2
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
|
show 1 more comment
How about this?
documentclass{article}
usepackage{amssymb}
begin{document}
begin{tabular}{ll}
Plain-TeX{}: & ${rm I!R}$\
amssymb: & $mathbb{R}$
end{tabular}
end{document}
How about this?
documentclass{article}
usepackage{amssymb}
begin{document}
begin{tabular}{ll}
Plain-TeX{}: & ${rm I!R}$\
amssymb: & $mathbb{R}$
end{tabular}
end{document}
edited Jun 16 '17 at 15:57
Moriambar
7,88731846
7,88731846
answered Mar 25 '13 at 22:37
jubobsjubobs
41.4k17153240
41.4k17153240
1
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
9
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
2
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can tryusepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?
– Kurt
Mar 26 '13 at 14:37
7
@Kurt I agree thatvarmathbb{R}
is closer to what I use in handwriting thanmathbb{R}
and I'm actually considering using it instead in the future. However, saying thatmathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?
– jubobs
Mar 26 '13 at 14:43
2
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
|
show 1 more comment
1
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
9
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
2
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can tryusepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?
– Kurt
Mar 26 '13 at 14:37
7
@Kurt I agree thatvarmathbb{R}
is closer to what I use in handwriting thanmathbb{R}
and I'm actually considering using it instead in the future. However, saying thatmathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?
– jubobs
Mar 26 '13 at 14:43
2
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
1
1
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
In a mathematical view (if you mean the symbol for real numbers) the second symbol is wrong ...
– Kurt
Mar 26 '13 at 3:30
9
9
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
@Kurt Please explain what you mean by "wrong". It's a matter of convention, isn't it? This Wikipedia article reports the Blackboard-Bold R as acceptable for denoting the set of real numbers. What symbol do you usually use for that set?
– jubobs
Mar 26 '13 at 11:45
2
2
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can try
usepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?– Kurt
Mar 26 '13 at 14:37
My English is not so good, but in the exact correct way you have only one doubled rule, usual the longest one, if there are two longest one only the first. So the letter R should be IR ... You can try
usepackage{txfonts}
and then ` $varmathbb{ABCDEFGHIJKLMNOPQRSTUVWXYZ}$`. In my opinion they fit better the usual writing by hand. (Or you use a mathematical trick: I define that IIR is set of real numbers or something else ...) BTW: which symbol has D.E. Knuth used?– Kurt
Mar 26 '13 at 14:37
7
7
@Kurt I agree that
varmathbb{R}
is closer to what I use in handwriting than mathbb{R}
and I'm actually considering using it instead in the future. However, saying that mathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?– jubobs
Mar 26 '13 at 14:43
@Kurt I agree that
varmathbb{R}
is closer to what I use in handwriting than mathbb{R}
and I'm actually considering using it instead in the future. However, saying that mathbb{R}
is "wrong" seems excessive to me. It's just a matter of taste, eh?– jubobs
Mar 26 '13 at 14:43
2
2
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
Well, perhaps is wrong a little bit too hard, but "in a mathematial view wrong" was ment to say, that there are usually special signs for the sets of real numbers, all numbers, numbers like 1, 2, 3 (German ganze Zahlen, don't know in English), irrational numbers: I,N,Q,R,Z. They should only used for this purpose. The typographical view is with which font can I set the mathematical sign needed here? Which font does fit best what is needed? Now it is a matter of taste ... Or a matter of definition, for example in a section "typhographical remarks". Too excact? Remember - I'm a German :-)
– Kurt
Mar 26 '13 at 15:40
|
show 1 more comment
You should put your symbol format definitions in another TeX file; publications tend to have their own styles, and some may use bold Roman for fields like R instead of blackboard bold. You can swap nams.tex
with aom.tex
. I know, this is more common with LaTeX, but the principle still applies.
For example:
% paper.tex
input nams.tex
$realnumbers$ is connected.
% nams.tex
defrealnumbers{mathbb{R}}
% more definitions for the Notices.
% aom.tex
defrealnumbers{mathbf{R}}
% more definitions for the Annals.
Just change one line in paper.tex to submit to the Annals instead of the Notices.
2
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
add a comment |
You should put your symbol format definitions in another TeX file; publications tend to have their own styles, and some may use bold Roman for fields like R instead of blackboard bold. You can swap nams.tex
with aom.tex
. I know, this is more common with LaTeX, but the principle still applies.
For example:
% paper.tex
input nams.tex
$realnumbers$ is connected.
% nams.tex
defrealnumbers{mathbb{R}}
% more definitions for the Notices.
% aom.tex
defrealnumbers{mathbf{R}}
% more definitions for the Annals.
Just change one line in paper.tex to submit to the Annals instead of the Notices.
2
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
add a comment |
You should put your symbol format definitions in another TeX file; publications tend to have their own styles, and some may use bold Roman for fields like R instead of blackboard bold. You can swap nams.tex
with aom.tex
. I know, this is more common with LaTeX, but the principle still applies.
For example:
% paper.tex
input nams.tex
$realnumbers$ is connected.
% nams.tex
defrealnumbers{mathbb{R}}
% more definitions for the Notices.
% aom.tex
defrealnumbers{mathbf{R}}
% more definitions for the Annals.
Just change one line in paper.tex to submit to the Annals instead of the Notices.
You should put your symbol format definitions in another TeX file; publications tend to have their own styles, and some may use bold Roman for fields like R instead of blackboard bold. You can swap nams.tex
with aom.tex
. I know, this is more common with LaTeX, but the principle still applies.
For example:
% paper.tex
input nams.tex
$realnumbers$ is connected.
% nams.tex
defrealnumbers{mathbb{R}}
% more definitions for the Notices.
% aom.tex
defrealnumbers{mathbf{R}}
% more definitions for the Annals.
Just change one line in paper.tex to submit to the Annals instead of the Notices.
edited Mar 26 '13 at 3:44
answered Mar 26 '13 at 3:05
Eric JablowEric Jablow
20114
20114
2
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
add a comment |
2
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
2
2
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
Welcome to TeX.sx!. May be an example/illustration would help to support the answer.
– texenthusiast
Mar 26 '13 at 3:07
add a comment |
With lualatex
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
begin{document}
$ℝ$
end{document}
(not sure how to make it work with XeLaTeX
or XeTeX
)
add a comment |
With lualatex
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
begin{document}
$ℝ$
end{document}
(not sure how to make it work with XeLaTeX
or XeTeX
)
add a comment |
With lualatex
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
begin{document}
$ℝ$
end{document}
(not sure how to make it work with XeLaTeX
or XeTeX
)
With lualatex
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
begin{document}
$ℝ$
end{document}
(not sure how to make it work with XeLaTeX
or XeTeX
)
answered Mar 26 '13 at 6:31
alfCalfC
7,752653112
7,752653112
add a comment |
add a comment |
There's a couple of ways to go about this:
- Using the default Computer Modern -font (which, as you've already found out, can be extended with the
amssym
to have access to BlackBoardBold.) - Using Unicode OpenType math fonts. Now this is a bit tricky because the glyph locations need to be (re-)told to TeX. This step can further be split into two different approaches:
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
unicode-math
-package does it). For plain-xetex, you could do something along these lines. - Fix the styles to their own
fam
ilies using mapping-files created withteckit_compile
from SIL. See: Changing math font to OTF in XeTeX using plaintex-format.
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
add a comment |
There's a couple of ways to go about this:
- Using the default Computer Modern -font (which, as you've already found out, can be extended with the
amssym
to have access to BlackBoardBold.) - Using Unicode OpenType math fonts. Now this is a bit tricky because the glyph locations need to be (re-)told to TeX. This step can further be split into two different approaches:
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
unicode-math
-package does it). For plain-xetex, you could do something along these lines. - Fix the styles to their own
fam
ilies using mapping-files created withteckit_compile
from SIL. See: Changing math font to OTF in XeTeX using plaintex-format.
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
add a comment |
There's a couple of ways to go about this:
- Using the default Computer Modern -font (which, as you've already found out, can be extended with the
amssym
to have access to BlackBoardBold.) - Using Unicode OpenType math fonts. Now this is a bit tricky because the glyph locations need to be (re-)told to TeX. This step can further be split into two different approaches:
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
unicode-math
-package does it). For plain-xetex, you could do something along these lines. - Fix the styles to their own
fam
ilies using mapping-files created withteckit_compile
from SIL. See: Changing math font to OTF in XeTeX using plaintex-format.
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
There's a couple of ways to go about this:
- Using the default Computer Modern -font (which, as you've already found out, can be extended with the
amssym
to have access to BlackBoardBold.) - Using Unicode OpenType math fonts. Now this is a bit tricky because the glyph locations need to be (re-)told to TeX. This step can further be split into two different approaches:
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
unicode-math
-package does it). For plain-xetex, you could do something along these lines. - Fix the styles to their own
fam
ilies using mapping-files created withteckit_compile
from SIL. See: Changing math font to OTF in XeTeX using plaintex-format.
- Use just one family and change the active range by re-telling TeX the glyph positions every time the style changes (i.e. script, fraktur, etc. This is the way I've understood the
edited Apr 13 '17 at 12:36
Community♦
1
1
answered Mar 26 '13 at 8:42
morbusgmorbusg
20k362137
20k362137
add a comment |
add a comment |
Auto-answer:
input amssym.tex
${Bbb R}$
bye
works fine
Did you meaninput amssymb.tex
?
– jubobs
Apr 21 '13 at 16:37
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
add a comment |
Auto-answer:
input amssym.tex
${Bbb R}$
bye
works fine
Did you meaninput amssymb.tex
?
– jubobs
Apr 21 '13 at 16:37
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
add a comment |
Auto-answer:
input amssym.tex
${Bbb R}$
bye
works fine
Auto-answer:
input amssym.tex
${Bbb R}$
bye
works fine
edited 2 mins ago
Henri Menke
72.9k8161271
72.9k8161271
answered Mar 25 '13 at 22:44
lvaneesbeecklvaneesbeeck
1,2221819
1,2221819
Did you meaninput amssymb.tex
?
– jubobs
Apr 21 '13 at 16:37
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
add a comment |
Did you meaninput amssymb.tex
?
– jubobs
Apr 21 '13 at 16:37
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
Did you mean
input amssymb.tex
?– jubobs
Apr 21 '13 at 16:37
Did you mean
input amssymb.tex
?– jubobs
Apr 21 '13 at 16:37
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
@Jubobs Nope, amssym. On my computer this code snippet does the job
– lvaneesbeeck
Apr 26 '13 at 12:46
add a comment |
You can use Re
, it works very well
1
Re
does not show ℝ however!!
– Christian Hupfer
Aug 29 '17 at 10:19
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
1
I guess that your proposedRe
command stands for real part, to be used likeRe{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
add a comment |
You can use Re
, it works very well
1
Re
does not show ℝ however!!
– Christian Hupfer
Aug 29 '17 at 10:19
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
1
I guess that your proposedRe
command stands for real part, to be used likeRe{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
add a comment |
You can use Re
, it works very well
You can use Re
, it works very well
edited Aug 29 '17 at 12:45
Alessandro Cuttin
2,73922349
2,73922349
answered Aug 29 '17 at 9:56
user3213048user3213048
11
11
1
Re
does not show ℝ however!!
– Christian Hupfer
Aug 29 '17 at 10:19
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
1
I guess that your proposedRe
command stands for real part, to be used likeRe{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
add a comment |
1
Re
does not show ℝ however!!
– Christian Hupfer
Aug 29 '17 at 10:19
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
1
I guess that your proposedRe
command stands for real part, to be used likeRe{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
1
1
Re
does not show ℝ however!!– Christian Hupfer
Aug 29 '17 at 10:19
Re
does not show ℝ however!!– Christian Hupfer
Aug 29 '17 at 10:19
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
The command produces a “Fraktur R”, which is seldom used for denoting the real numbers; it usually denotes the real part.
– egreg
Aug 29 '17 at 10:37
1
1
I guess that your proposed
Re
command stands for real part, to be used like Re{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
I guess that your proposed
Re
command stands for real part, to be used like Re{a}
– Alessandro Cuttin
Aug 29 '17 at 12:47
add a comment |
In Jupyter Notebook Bbb{R}
works out of the box without any input.
New contributor
1
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
add a comment |
In Jupyter Notebook Bbb{R}
works out of the box without any input.
New contributor
1
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
add a comment |
In Jupyter Notebook Bbb{R}
works out of the box without any input.
New contributor
In Jupyter Notebook Bbb{R}
works out of the box without any input.
New contributor
New contributor
answered 17 mins ago
Kristjan JonassonKristjan Jonasson
1
1
New contributor
New contributor
1
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
add a comment |
1
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
1
1
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
But Jupyter notebook is not using TeX.
– Henri Menke
4 mins ago
add a comment |
protected by Henri Menke 4 mins ago
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?
3
Can you add the essential part of your preamble, particularly the font setting?
– egreg
Mar 25 '13 at 21:24
well I have no preamble since I'm on XeTeX ;-)
– lvaneesbeeck
Mar 25 '13 at 21:48
@ivaneesbeeck, i don't understand your answer.
– jpayansomet
Mar 25 '13 at 21:51
2
@Ivaneesbeeck Please add the username in your comment to respond properly (as I did here), otherwise the person will not be notified of your message. It would still be interesting to see your font setup.
font1="Linux Libertine O"1 ℝbye
works great for me.– Qrrbrbirlbel
Mar 25 '13 at 22:36
2
I see; nothing prevents you from using the
msbm10
font with XeTeX. In any case, if you don't set fonts, you're basically using the same setting as normal TeX.– egreg
Mar 25 '13 at 22:39