Using bm with eulervm gives inconsistent ‘’ characters












7















I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters.



I wonder what causes it and can the usage bm be fixed to get proper ‘<’.



documentclass{article}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

%usepackage{amsmath}

usepackage[euler-digits,euler-hat-accent]{eulervm}

usepackage{bm}

begin{document}

texttt{hphantom{mathbold}llap{bm}}: quad $ 1 + 1 < 3; quad bm{1 + 1 < 3} $

texttt{mathbold}: quad $ 1 + 1 < 3; quad mathbold{1 + 1 < 3} $

end{document}


MWE










share|improve this question























  • Exciting problem!

    – Jonas Schwarz
    Dec 22 '18 at 22:03
















7















I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters.



I wonder what causes it and can the usage bm be fixed to get proper ‘<’.



documentclass{article}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

%usepackage{amsmath}

usepackage[euler-digits,euler-hat-accent]{eulervm}

usepackage{bm}

begin{document}

texttt{hphantom{mathbold}llap{bm}}: quad $ 1 + 1 < 3; quad bm{1 + 1 < 3} $

texttt{mathbold}: quad $ 1 + 1 < 3; quad mathbold{1 + 1 < 3} $

end{document}


MWE










share|improve this question























  • Exciting problem!

    – Jonas Schwarz
    Dec 22 '18 at 22:03














7












7








7


1






I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters.



I wonder what causes it and can the usage bm be fixed to get proper ‘<’.



documentclass{article}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

%usepackage{amsmath}

usepackage[euler-digits,euler-hat-accent]{eulervm}

usepackage{bm}

begin{document}

texttt{hphantom{mathbold}llap{bm}}: quad $ 1 + 1 < 3; quad bm{1 + 1 < 3} $

texttt{mathbold}: quad $ 1 + 1 < 3; quad mathbold{1 + 1 < 3} $

end{document}


MWE










share|improve this question














I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters.



I wonder what causes it and can the usage bm be fixed to get proper ‘<’.



documentclass{article}

usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}

%usepackage{amsmath}

usepackage[euler-digits,euler-hat-accent]{eulervm}

usepackage{bm}

begin{document}

texttt{hphantom{mathbold}llap{bm}}: quad $ 1 + 1 < 3; quad bm{1 + 1 < 3} $

texttt{mathbold}: quad $ 1 + 1 < 3; quad mathbold{1 + 1 < 3} $

end{document}


MWE







math-mode bold bm eulervm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Dec 22 '18 at 17:14









PeterPeter

402210




402210













  • Exciting problem!

    – Jonas Schwarz
    Dec 22 '18 at 22:03



















  • Exciting problem!

    – Jonas Schwarz
    Dec 22 '18 at 22:03

















Exciting problem!

– Jonas Schwarz
Dec 22 '18 at 22:03





Exciting problem!

– Jonas Schwarz
Dec 22 '18 at 22:03










2 Answers
2






active

oldest

votes


















8














There is an inconsistency in the shape of < and > in the zeurm10 and zeurb10 fonts used for the symbols with eulervm active:



documentclass{article}

usepackage{amsmath}
usepackage[euler-digits,euler-hat-accent]{eulervm}
usepackage{bm}

begin{document}

begin{tabular}{@{}ll@{}}
bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
end{tabular}

{usefont{U}{zeur}{m}{n}symbol{"3C}}

{usefont{U}{zeur}{b}{n}symbol{"3C}}

end{document}


enter image description here



With mathbold, which is a math alphabet selection, only letters and numbers become bold, but not other symbols.



You can work around the inconsistency by using Computer Modern for the < and > symbols.



documentclass{article}

usepackage{amsmath}
usepackage[euler-digits,euler-hat-accent]{eulervm}
usepackage{bm}

DeclareSymbolFont{cmletters}{OML}{cmm}{m}{it}
SetSymbolFont{cmletters}{bold}{OML}{cmm}{b}{it}
DeclareMathSymbol{<}{mathrel}{cmletters}{"3C}
DeclareMathSymbol{>}{mathrel}{cmletters}{"3E}

begin{document}

begin{tabular}{@{}ll@{}}
bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
end{tabular}

end{document}


enter image description here






share|improve this answer



















  • 7





    the important point being: It's not my fault

    – David Carlisle
    Dec 22 '18 at 18:22











  • please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

    – barbara beeton
    Dec 23 '18 at 1:41






  • 1





    @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

    – egreg
    Dec 23 '18 at 10:01



















7














mathbold is math alphabet command (like mathbf, mathit etc) so it has no effect on < . bm though does affect < and you get the character that the package sets up for boldmath, If you add



boldmath

$ 1 + 1 < 3showlists$


You will see that bm is selecting (in normal math) the fonts used in boldname.



In this case that is



....U/zeur/b/n/10 <


But as you show the bold font's < is a rather different shape to the medium weight font



So this appears to be a font issue.






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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f467004%2fusing-bm-with-eulervm-gives-inconsistent-and-characters%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









    8














    There is an inconsistency in the shape of < and > in the zeurm10 and zeurb10 fonts used for the symbols with eulervm active:



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    {usefont{U}{zeur}{m}{n}symbol{"3C}}

    {usefont{U}{zeur}{b}{n}symbol{"3C}}

    end{document}


    enter image description here



    With mathbold, which is a math alphabet selection, only letters and numbers become bold, but not other symbols.



    You can work around the inconsistency by using Computer Modern for the < and > symbols.



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    DeclareSymbolFont{cmletters}{OML}{cmm}{m}{it}
    SetSymbolFont{cmletters}{bold}{OML}{cmm}{b}{it}
    DeclareMathSymbol{<}{mathrel}{cmletters}{"3C}
    DeclareMathSymbol{>}{mathrel}{cmletters}{"3E}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    end{document}


    enter image description here






    share|improve this answer



















    • 7





      the important point being: It's not my fault

      – David Carlisle
      Dec 22 '18 at 18:22











    • please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

      – barbara beeton
      Dec 23 '18 at 1:41






    • 1





      @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

      – egreg
      Dec 23 '18 at 10:01
















    8














    There is an inconsistency in the shape of < and > in the zeurm10 and zeurb10 fonts used for the symbols with eulervm active:



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    {usefont{U}{zeur}{m}{n}symbol{"3C}}

    {usefont{U}{zeur}{b}{n}symbol{"3C}}

    end{document}


    enter image description here



    With mathbold, which is a math alphabet selection, only letters and numbers become bold, but not other symbols.



    You can work around the inconsistency by using Computer Modern for the < and > symbols.



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    DeclareSymbolFont{cmletters}{OML}{cmm}{m}{it}
    SetSymbolFont{cmletters}{bold}{OML}{cmm}{b}{it}
    DeclareMathSymbol{<}{mathrel}{cmletters}{"3C}
    DeclareMathSymbol{>}{mathrel}{cmletters}{"3E}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    end{document}


    enter image description here






    share|improve this answer



















    • 7





      the important point being: It's not my fault

      – David Carlisle
      Dec 22 '18 at 18:22











    • please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

      – barbara beeton
      Dec 23 '18 at 1:41






    • 1





      @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

      – egreg
      Dec 23 '18 at 10:01














    8












    8








    8







    There is an inconsistency in the shape of < and > in the zeurm10 and zeurb10 fonts used for the symbols with eulervm active:



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    {usefont{U}{zeur}{m}{n}symbol{"3C}}

    {usefont{U}{zeur}{b}{n}symbol{"3C}}

    end{document}


    enter image description here



    With mathbold, which is a math alphabet selection, only letters and numbers become bold, but not other symbols.



    You can work around the inconsistency by using Computer Modern for the < and > symbols.



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    DeclareSymbolFont{cmletters}{OML}{cmm}{m}{it}
    SetSymbolFont{cmletters}{bold}{OML}{cmm}{b}{it}
    DeclareMathSymbol{<}{mathrel}{cmletters}{"3C}
    DeclareMathSymbol{>}{mathrel}{cmletters}{"3E}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    end{document}


    enter image description here






    share|improve this answer













    There is an inconsistency in the shape of < and > in the zeurm10 and zeurb10 fonts used for the symbols with eulervm active:



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    {usefont{U}{zeur}{m}{n}symbol{"3C}}

    {usefont{U}{zeur}{b}{n}symbol{"3C}}

    end{document}


    enter image description here



    With mathbold, which is a math alphabet selection, only letters and numbers become bold, but not other symbols.



    You can work around the inconsistency by using Computer Modern for the < and > symbols.



    documentclass{article}

    usepackage{amsmath}
    usepackage[euler-digits,euler-hat-accent]{eulervm}
    usepackage{bm}

    DeclareSymbolFont{cmletters}{OML}{cmm}{m}{it}
    SetSymbolFont{cmletters}{bold}{OML}{cmm}{b}{it}
    DeclareMathSymbol{<}{mathrel}{cmletters}{"3C}
    DeclareMathSymbol{>}{mathrel}{cmletters}{"3E}

    begin{document}

    begin{tabular}{@{}ll@{}}
    bm: & $1 + 1 < 3$; $bm{1 + 1 < 3}$ \
    mathbold: & $1 + 1 < 3$; $mathbold{1 + 1 < 3}$
    end{tabular}

    end{document}


    enter image description here







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Dec 22 '18 at 18:20









    egregegreg

    713k8618953184




    713k8618953184








    • 7





      the important point being: It's not my fault

      – David Carlisle
      Dec 22 '18 at 18:22











    • please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

      – barbara beeton
      Dec 23 '18 at 1:41






    • 1





      @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

      – egreg
      Dec 23 '18 at 10:01














    • 7





      the important point being: It's not my fault

      – David Carlisle
      Dec 22 '18 at 18:22











    • please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

      – barbara beeton
      Dec 23 '18 at 1:41






    • 1





      @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

      – egreg
      Dec 23 '18 at 10:01








    7




    7





    the important point being: It's not my fault

    – David Carlisle
    Dec 22 '18 at 18:22





    the important point being: It's not my fault

    – David Carlisle
    Dec 22 '18 at 18:22













    please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

    – barbara beeton
    Dec 23 '18 at 1:41





    please take a closer look -- the result in the last example still isn't the same with bm and mathbold.

    – barbara beeton
    Dec 23 '18 at 1:41




    1




    1





    @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

    – egreg
    Dec 23 '18 at 10:01





    @barbarabeeton Of course they aren't the same: mathbold is a math alphabet switch, which doesn't act on symbols such as <.

    – egreg
    Dec 23 '18 at 10:01











    7














    mathbold is math alphabet command (like mathbf, mathit etc) so it has no effect on < . bm though does affect < and you get the character that the package sets up for boldmath, If you add



    boldmath

    $ 1 + 1 < 3showlists$


    You will see that bm is selecting (in normal math) the fonts used in boldname.



    In this case that is



    ....U/zeur/b/n/10 <


    But as you show the bold font's < is a rather different shape to the medium weight font



    So this appears to be a font issue.






    share|improve this answer




























      7














      mathbold is math alphabet command (like mathbf, mathit etc) so it has no effect on < . bm though does affect < and you get the character that the package sets up for boldmath, If you add



      boldmath

      $ 1 + 1 < 3showlists$


      You will see that bm is selecting (in normal math) the fonts used in boldname.



      In this case that is



      ....U/zeur/b/n/10 <


      But as you show the bold font's < is a rather different shape to the medium weight font



      So this appears to be a font issue.






      share|improve this answer


























        7












        7








        7







        mathbold is math alphabet command (like mathbf, mathit etc) so it has no effect on < . bm though does affect < and you get the character that the package sets up for boldmath, If you add



        boldmath

        $ 1 + 1 < 3showlists$


        You will see that bm is selecting (in normal math) the fonts used in boldname.



        In this case that is



        ....U/zeur/b/n/10 <


        But as you show the bold font's < is a rather different shape to the medium weight font



        So this appears to be a font issue.






        share|improve this answer













        mathbold is math alphabet command (like mathbf, mathit etc) so it has no effect on < . bm though does affect < and you get the character that the package sets up for boldmath, If you add



        boldmath

        $ 1 + 1 < 3showlists$


        You will see that bm is selecting (in normal math) the fonts used in boldname.



        In this case that is



        ....U/zeur/b/n/10 <


        But as you show the bold font's < is a rather different shape to the medium weight font



        So this appears to be a font issue.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 22 '18 at 18:21









        David CarlisleDavid Carlisle

        486k4111221865




        486k4111221865






























            draft saved

            draft discarded




















































            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%2f467004%2fusing-bm-with-eulervm-gives-inconsistent-and-characters%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

            Plaza Victoria

            Puebla de Zaragoza

            Musa