blacktriangle not showing if unicode-math includedMinion Math with unicode-mathSwitching math fonts with...
Why Is Death Allowed In the Matrix?
Email Account under attack (really) - anything I can do?
Infinite past with a beginning?
Why are 150k or 200k jobs considered good when there are 300k+ births a month?
The use of multiple foreign keys on same column in SQL Server
Shell script not opening as desktop application
How does one intimidate enemies without having the capacity for violence?
Suffixes -unt and -ut-
Can I make popcorn with any corn?
Do any Labour MPs support no-deal?
Is it unprofessional to ask if a job posting on GlassDoor is real?
How is it possible to have an ability score that is less than 3?
How can bays and straits be determined in a procedurally generated map?
Mains transformer blew up amplifier, incorrect description in wiring instructions?
Theorems that impeded progress
Type 1 Error & Type 2 Error's pregnancy test analogy: is it legit?
Can a German sentence have two subjects?
Is it legal for company to use my work email to pretend I still work there?
What defenses are there against being summoned by the Gate spell?
What are these boxed doors outside store fronts in New York?
The magic money tree problem
Is it possible to make sharp wind that can cut stuff from afar?
Modeling an IPv4 Address
How old can references or sources in a thesis be?
blacktriangle not showing if unicode-math included
Minion Math with unicode-mathSwitching math fonts with unicode-mathmathspec and unicode-math characters not displayedUnicode-math and fractionsunicode-math breaks not commandUnicode-math upright symbols`not` does not work with unicode-mathVertical spacing between arrow and caption with unicode-mathunicode-math, mathscr and mathcalUnicode-Math and not
Following example shows only the square and lozenge (XeTeX, Version 3.14159265-2.6-0.99998) the other three symbols being shown as spaces whereas if unicode-math is removed, the symbols are shown correctly. Is there a way to show the symbols correctly whilst using unicode-math?
documentclass{article}
usepackage{amssymb}
usepackage{unicode-math}
begin{document}
$$ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b$$
end{document}
unicode-math amssymb
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Following example shows only the square and lozenge (XeTeX, Version 3.14159265-2.6-0.99998) the other three symbols being shown as spaces whereas if unicode-math is removed, the symbols are shown correctly. Is there a way to show the symbols correctly whilst using unicode-math?
documentclass{article}
usepackage{amssymb}
usepackage{unicode-math}
begin{document}
$$ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b$$
end{document}
unicode-math amssymb
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Following example shows only the square and lozenge (XeTeX, Version 3.14159265-2.6-0.99998) the other three symbols being shown as spaces whereas if unicode-math is removed, the symbols are shown correctly. Is there a way to show the symbols correctly whilst using unicode-math?
documentclass{article}
usepackage{amssymb}
usepackage{unicode-math}
begin{document}
$$ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b$$
end{document}
unicode-math amssymb
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Following example shows only the square and lozenge (XeTeX, Version 3.14159265-2.6-0.99998) the other three symbols being shown as spaces whereas if unicode-math is removed, the symbols are shown correctly. Is there a way to show the symbols correctly whilst using unicode-math?
documentclass{article}
usepackage{amssymb}
usepackage{unicode-math}
begin{document}
$$ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b$$
end{document}
unicode-math amssymb
unicode-math amssymb
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 7 hours ago
user185248user185248
1
1
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user185248 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
The log shows
Missing character: There is no ▴ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ▾ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ★ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
so the font doesn't contain these characters. You could try a different main font, or define these to come from the ams fonts
For example I get

if I add
setmathfont{Stix Two Math}
I tried but couldn't find the right result. +1. I have tried withsetmathfont{texgyrepagella-math.otf}
– Sebastiano
7 hours ago
3
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
2
@Sebastiano - GiveXITS MathandStix Two Matha try.
– Mico
7 hours ago
add a comment |
I wouldn't mix amssymb with unicode-math.
You can supply the missing glyphs from another math font.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={mdlgblklozenge,mdblksquare,blacktriangle,blacktriangledown,bigstar}
]
providecommand{blacksquare}{mdblksquare}
providecommand{blacklozenge}{mdlgblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

There are smaller variants; it makes sense to load also them and then decide about the size at the end.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={
mdlgblklozenge,
smblklozenge,
mdblksquare,
smblksquare,
blacktriangle,
blacktriangledown,
bigstar,
},
]
providecommand{blacksquare}{smblksquare}
providecommand{blacklozenge}{smblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

You're not tied to using math fonts for specific symbols. For instance, you might resort to a standard font supplying them.
documentclass{article}
usepackage{amsmath}
usepackage{unicode-math}
newfontface{altfont}{FreeSerif}
AtBeginDocument{%
providecommand{blacksquare}{text{altfontsymbol{"25A0}}}%
providecommand{blacklozenge}{text{altfontsymbol{"29EB}}}%
renewcommand{blacktriangle}{text{altfontsymbol{"25B2}}}%
renewcommand{blacktriangledown}{text{altfontsymbol{"25BC}}}%
renewcommand{bigstar}{text{altfontsymbol{"2605}}}%
}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
user185248 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483631%2fblacktriangle-not-showing-if-unicode-math-included%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
The log shows
Missing character: There is no ▴ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ▾ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ★ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
so the font doesn't contain these characters. You could try a different main font, or define these to come from the ams fonts
For example I get

if I add
setmathfont{Stix Two Math}
I tried but couldn't find the right result. +1. I have tried withsetmathfont{texgyrepagella-math.otf}
– Sebastiano
7 hours ago
3
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
2
@Sebastiano - GiveXITS MathandStix Two Matha try.
– Mico
7 hours ago
add a comment |
The log shows
Missing character: There is no ▴ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ▾ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ★ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
so the font doesn't contain these characters. You could try a different main font, or define these to come from the ams fonts
For example I get

if I add
setmathfont{Stix Two Math}
I tried but couldn't find the right result. +1. I have tried withsetmathfont{texgyrepagella-math.otf}
– Sebastiano
7 hours ago
3
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
2
@Sebastiano - GiveXITS MathandStix Two Matha try.
– Mico
7 hours ago
add a comment |
The log shows
Missing character: There is no ▴ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ▾ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ★ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
so the font doesn't contain these characters. You could try a different main font, or define these to come from the ams fonts
For example I get

if I add
setmathfont{Stix Two Math}
The log shows
Missing character: There is no ▴ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ▾ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
Missing character: There is no ★ in font [latinmodern-math.otf]/OT:script=math;
language=DFLT;!
so the font doesn't contain these characters. You could try a different main font, or define these to come from the ams fonts
For example I get

if I add
setmathfont{Stix Two Math}
answered 7 hours ago
David CarlisleDavid Carlisle
498k4111441893
498k4111441893
I tried but couldn't find the right result. +1. I have tried withsetmathfont{texgyrepagella-math.otf}
– Sebastiano
7 hours ago
3
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
2
@Sebastiano - GiveXITS MathandStix Two Matha try.
– Mico
7 hours ago
add a comment |
I tried but couldn't find the right result. +1. I have tried withsetmathfont{texgyrepagella-math.otf}
– Sebastiano
7 hours ago
3
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
2
@Sebastiano - GiveXITS MathandStix Two Matha try.
– Mico
7 hours ago
I tried but couldn't find the right result. +1. I have tried with
setmathfont{texgyrepagella-math.otf}– Sebastiano
7 hours ago
I tried but couldn't find the right result. +1. I have tried with
setmathfont{texgyrepagella-math.otf}– Sebastiano
7 hours ago
3
3
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
@Sebastiano the tex gyre fonts come from the same team as the OTF latin modern and have similar character set. stix is more complete.
– David Carlisle
7 hours ago
2
2
@Sebastiano - Give
XITS Math and Stix Two Math a try.– Mico
7 hours ago
@Sebastiano - Give
XITS Math and Stix Two Math a try.– Mico
7 hours ago
add a comment |
I wouldn't mix amssymb with unicode-math.
You can supply the missing glyphs from another math font.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={mdlgblklozenge,mdblksquare,blacktriangle,blacktriangledown,bigstar}
]
providecommand{blacksquare}{mdblksquare}
providecommand{blacklozenge}{mdlgblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

There are smaller variants; it makes sense to load also them and then decide about the size at the end.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={
mdlgblklozenge,
smblklozenge,
mdblksquare,
smblksquare,
blacktriangle,
blacktriangledown,
bigstar,
},
]
providecommand{blacksquare}{smblksquare}
providecommand{blacklozenge}{smblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

You're not tied to using math fonts for specific symbols. For instance, you might resort to a standard font supplying them.
documentclass{article}
usepackage{amsmath}
usepackage{unicode-math}
newfontface{altfont}{FreeSerif}
AtBeginDocument{%
providecommand{blacksquare}{text{altfontsymbol{"25A0}}}%
providecommand{blacklozenge}{text{altfontsymbol{"29EB}}}%
renewcommand{blacktriangle}{text{altfontsymbol{"25B2}}}%
renewcommand{blacktriangledown}{text{altfontsymbol{"25BC}}}%
renewcommand{bigstar}{text{altfontsymbol{"2605}}}%
}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

add a comment |
I wouldn't mix amssymb with unicode-math.
You can supply the missing glyphs from another math font.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={mdlgblklozenge,mdblksquare,blacktriangle,blacktriangledown,bigstar}
]
providecommand{blacksquare}{mdblksquare}
providecommand{blacklozenge}{mdlgblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

There are smaller variants; it makes sense to load also them and then decide about the size at the end.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={
mdlgblklozenge,
smblklozenge,
mdblksquare,
smblksquare,
blacktriangle,
blacktriangledown,
bigstar,
},
]
providecommand{blacksquare}{smblksquare}
providecommand{blacklozenge}{smblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

You're not tied to using math fonts for specific symbols. For instance, you might resort to a standard font supplying them.
documentclass{article}
usepackage{amsmath}
usepackage{unicode-math}
newfontface{altfont}{FreeSerif}
AtBeginDocument{%
providecommand{blacksquare}{text{altfontsymbol{"25A0}}}%
providecommand{blacklozenge}{text{altfontsymbol{"29EB}}}%
renewcommand{blacktriangle}{text{altfontsymbol{"25B2}}}%
renewcommand{blacktriangledown}{text{altfontsymbol{"25BC}}}%
renewcommand{bigstar}{text{altfontsymbol{"2605}}}%
}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

add a comment |
I wouldn't mix amssymb with unicode-math.
You can supply the missing glyphs from another math font.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={mdlgblklozenge,mdblksquare,blacktriangle,blacktriangledown,bigstar}
]
providecommand{blacksquare}{mdblksquare}
providecommand{blacklozenge}{mdlgblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

There are smaller variants; it makes sense to load also them and then decide about the size at the end.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={
mdlgblklozenge,
smblklozenge,
mdblksquare,
smblksquare,
blacktriangle,
blacktriangledown,
bigstar,
},
]
providecommand{blacksquare}{smblksquare}
providecommand{blacklozenge}{smblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

You're not tied to using math fonts for specific symbols. For instance, you might resort to a standard font supplying them.
documentclass{article}
usepackage{amsmath}
usepackage{unicode-math}
newfontface{altfont}{FreeSerif}
AtBeginDocument{%
providecommand{blacksquare}{text{altfontsymbol{"25A0}}}%
providecommand{blacklozenge}{text{altfontsymbol{"29EB}}}%
renewcommand{blacktriangle}{text{altfontsymbol{"25B2}}}%
renewcommand{blacktriangledown}{text{altfontsymbol{"25BC}}}%
renewcommand{bigstar}{text{altfontsymbol{"2605}}}%
}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

I wouldn't mix amssymb with unicode-math.
You can supply the missing glyphs from another math font.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={mdlgblklozenge,mdblksquare,blacktriangle,blacktriangledown,bigstar}
]
providecommand{blacksquare}{mdblksquare}
providecommand{blacklozenge}{mdlgblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

There are smaller variants; it makes sense to load also them and then decide about the size at the end.
documentclass{article}
usepackage{unicode-math}
setmathfont{Latin Modern Math}
setmathfont{STIX Two Math}[
range={
mdlgblklozenge,
smblklozenge,
mdblksquare,
smblksquare,
blacktriangle,
blacktriangledown,
bigstar,
},
]
providecommand{blacksquare}{smblksquare}
providecommand{blacklozenge}{smblklozenge}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

You're not tied to using math fonts for specific symbols. For instance, you might resort to a standard font supplying them.
documentclass{article}
usepackage{amsmath}
usepackage{unicode-math}
newfontface{altfont}{FreeSerif}
AtBeginDocument{%
providecommand{blacksquare}{text{altfontsymbol{"25A0}}}%
providecommand{blacklozenge}{text{altfontsymbol{"29EB}}}%
renewcommand{blacktriangle}{text{altfontsymbol{"25B2}}}%
renewcommand{blacktriangledown}{text{altfontsymbol{"25BC}}}%
renewcommand{bigstar}{text{altfontsymbol{"2605}}}%
}
begin{document}
[
ablacksquare blacklozenge blacktriangle blacktriangledown bigstar b
]
end{document}

edited 5 hours ago
answered 6 hours ago
egregegreg
732k8919303253
732k8919303253
add a comment |
add a comment |
user185248 is a new contributor. Be nice, and check out our Code of Conduct.
user185248 is a new contributor. Be nice, and check out our Code of Conduct.
user185248 is a new contributor. Be nice, and check out our Code of Conduct.
user185248 is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f483631%2fblacktriangle-not-showing-if-unicode-math-included%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown