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













0















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}









share|improve this question







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.

























    0















    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}









    share|improve this question







    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.























      0












      0








      0








      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}









      share|improve this question







      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






      share|improve this question







      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.











      share|improve this question







      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.









      share|improve this question




      share|improve this question






      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.






















          2 Answers
          2






          active

          oldest

          votes


















          5














          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



          enter image description here



          if I add



          setmathfont{Stix Two Math}





          share|improve this answer
























          • I tried but couldn't find the right result. +1. I have tried with setmathfont{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 - Give XITS Math and Stix Two Math a try.

            – Mico
            7 hours ago



















          3














          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}


          enter image description here



          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}


          enter image description here



          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}


          enter image description here






          share|improve this answer


























            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.










            draft saved

            draft discarded


















            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









            5














            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



            enter image description here



            if I add



            setmathfont{Stix Two Math}





            share|improve this answer
























            • I tried but couldn't find the right result. +1. I have tried with setmathfont{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 - Give XITS Math and Stix Two Math a try.

              – Mico
              7 hours ago
















            5














            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



            enter image description here



            if I add



            setmathfont{Stix Two Math}





            share|improve this answer
























            • I tried but couldn't find the right result. +1. I have tried with setmathfont{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 - Give XITS Math and Stix Two Math a try.

              – Mico
              7 hours ago














            5












            5








            5







            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



            enter image description here



            if I add



            setmathfont{Stix Two Math}





            share|improve this answer













            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



            enter image description here



            if I add



            setmathfont{Stix Two Math}






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered 7 hours ago









            David CarlisleDavid Carlisle

            498k4111441893




            498k4111441893













            • I tried but couldn't find the right result. +1. I have tried with setmathfont{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 - Give XITS Math and Stix Two Math a 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








            • 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 - Give XITS Math and Stix Two Math a 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











            3














            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}


            enter image description here



            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}


            enter image description here



            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}


            enter image description here






            share|improve this answer






























              3














              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}


              enter image description here



              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}


              enter image description here



              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}


              enter image description here






              share|improve this answer




























                3












                3








                3







                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}


                enter image description here



                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}


                enter image description here



                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}


                enter image description here






                share|improve this answer















                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}


                enter image description here



                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}


                enter image description here



                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}


                enter image description here







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 5 hours ago

























                answered 6 hours ago









                egregegreg

                732k8919303253




                732k8919303253






















                    user185248 is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

                    (1602) Indiana Índice Designación y nombre Características orbitales Véase...

                    Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...