Use of bm package change symbols [duplicate]












3
















This question already has an answer here:




  • Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

    2 answers




The following code



documentclass{amsart}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{eulerpx,bm}

begin{document}

$a<bquadbm{a<b}$

end{document}


Provides the following output:



enter image description here



The inequality symbol is not changed when I use, say, newpxmath instead. The problem seems to be indeed with the eulerpx package. How can this be solved?










share|improve this question













marked as duplicate by egreg, JouleV, Kurt, Sebastiano, samcarter Mar 15 at 20:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • I’m pretty sure this is a duplicate

    – egreg
    Mar 15 at 17:51
















3
















This question already has an answer here:




  • Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

    2 answers




The following code



documentclass{amsart}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{eulerpx,bm}

begin{document}

$a<bquadbm{a<b}$

end{document}


Provides the following output:



enter image description here



The inequality symbol is not changed when I use, say, newpxmath instead. The problem seems to be indeed with the eulerpx package. How can this be solved?










share|improve this question













marked as duplicate by egreg, JouleV, Kurt, Sebastiano, samcarter Mar 15 at 20:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.



















  • I’m pretty sure this is a duplicate

    – egreg
    Mar 15 at 17:51














3












3








3


0







This question already has an answer here:




  • Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

    2 answers




The following code



documentclass{amsart}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{eulerpx,bm}

begin{document}

$a<bquadbm{a<b}$

end{document}


Provides the following output:



enter image description here



The inequality symbol is not changed when I use, say, newpxmath instead. The problem seems to be indeed with the eulerpx package. How can this be solved?










share|improve this question















This question already has an answer here:




  • Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

    2 answers




The following code



documentclass{amsart}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{eulerpx,bm}

begin{document}

$a<bquadbm{a<b}$

end{document}


Provides the following output:



enter image description here



The inequality symbol is not changed when I use, say, newpxmath instead. The problem seems to be indeed with the eulerpx package. How can this be solved?





This question already has an answer here:




  • Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

    2 answers








bm






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 15 at 16:58









Matemáticos ChibchasMatemáticos Chibchas

23419




23419




marked as duplicate by egreg, JouleV, Kurt, Sebastiano, samcarter Mar 15 at 20:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by egreg, JouleV, Kurt, Sebastiano, samcarter Mar 15 at 20:11


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • I’m pretty sure this is a duplicate

    – egreg
    Mar 15 at 17:51



















  • I’m pretty sure this is a duplicate

    – egreg
    Mar 15 at 17:51

















I’m pretty sure this is a duplicate

– egreg
Mar 15 at 17:51





I’m pretty sure this is a duplicate

– egreg
Mar 15 at 17:51










1 Answer
1






active

oldest

votes


















3














Not sure what all this breaks, but I redefined a symbol font and made < active inside of bm.



The begingroup...endgroup isolates the catcode change, while still allowing binary operators inside the bm to see what is outside of the bm, shown in the MWE as ybm{-y}.



documentclass{amsart}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{eulerpx,bm}
SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
letsvbmbm
renewcommandbm{begingroupcatcode`<=active xbm}
newcommandxbm[1]{svbm{#1}endgroup}
letsvlt<
{catcode`<=active gdef<{mathop{mathrm{svlt}}}}
begin{document}
$a<bquadbm{a<b}quad ybm{-y}$
end{document}


enter image description here



To apply this approach to both < and > relations requires just a little extra:



documentclass{amsart}
usepackage[utf8]{inputenc}
usepackage[T1]{fontenc}
usepackage{eulerpx,bm}
SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
letsvbmbm
renewcommandbm{begingroup%
catcode`>=active %
catcode`<=active %
xbm}
newcommandxbm[1]{svbm{#1}endgroup}
letsvlt<
letsvgt>
{catcode`>=active
gdef>{mathop{mathrm{svgt}}}
catcode`<=active
gdef<{mathop{mathrm{svlt}}}}
begin{document}
$a<bquadbm{a<>b}quad ybm{-y}$
end{document}





share|improve this answer
































    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    3














    Not sure what all this breaks, but I redefined a symbol font and made < active inside of bm.



    The begingroup...endgroup isolates the catcode change, while still allowing binary operators inside the bm to see what is outside of the bm, shown in the MWE as ybm{-y}.



    documentclass{amsart}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{eulerpx,bm}
    SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
    letsvbmbm
    renewcommandbm{begingroupcatcode`<=active xbm}
    newcommandxbm[1]{svbm{#1}endgroup}
    letsvlt<
    {catcode`<=active gdef<{mathop{mathrm{svlt}}}}
    begin{document}
    $a<bquadbm{a<b}quad ybm{-y}$
    end{document}


    enter image description here



    To apply this approach to both < and > relations requires just a little extra:



    documentclass{amsart}
    usepackage[utf8]{inputenc}
    usepackage[T1]{fontenc}
    usepackage{eulerpx,bm}
    SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
    letsvbmbm
    renewcommandbm{begingroup%
    catcode`>=active %
    catcode`<=active %
    xbm}
    newcommandxbm[1]{svbm{#1}endgroup}
    letsvlt<
    letsvgt>
    {catcode`>=active
    gdef>{mathop{mathrm{svgt}}}
    catcode`<=active
    gdef<{mathop{mathrm{svlt}}}}
    begin{document}
    $a<bquadbm{a<>b}quad ybm{-y}$
    end{document}





    share|improve this answer






























      3














      Not sure what all this breaks, but I redefined a symbol font and made < active inside of bm.



      The begingroup...endgroup isolates the catcode change, while still allowing binary operators inside the bm to see what is outside of the bm, shown in the MWE as ybm{-y}.



      documentclass{amsart}
      usepackage[utf8]{inputenc}
      usepackage[T1]{fontenc}
      usepackage{eulerpx,bm}
      SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
      letsvbmbm
      renewcommandbm{begingroupcatcode`<=active xbm}
      newcommandxbm[1]{svbm{#1}endgroup}
      letsvlt<
      {catcode`<=active gdef<{mathop{mathrm{svlt}}}}
      begin{document}
      $a<bquadbm{a<b}quad ybm{-y}$
      end{document}


      enter image description here



      To apply this approach to both < and > relations requires just a little extra:



      documentclass{amsart}
      usepackage[utf8]{inputenc}
      usepackage[T1]{fontenc}
      usepackage{eulerpx,bm}
      SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
      letsvbmbm
      renewcommandbm{begingroup%
      catcode`>=active %
      catcode`<=active %
      xbm}
      newcommandxbm[1]{svbm{#1}endgroup}
      letsvlt<
      letsvgt>
      {catcode`>=active
      gdef>{mathop{mathrm{svgt}}}
      catcode`<=active
      gdef<{mathop{mathrm{svlt}}}}
      begin{document}
      $a<bquadbm{a<>b}quad ybm{-y}$
      end{document}





      share|improve this answer




























        3












        3








        3







        Not sure what all this breaks, but I redefined a symbol font and made < active inside of bm.



        The begingroup...endgroup isolates the catcode change, while still allowing binary operators inside the bm to see what is outside of the bm, shown in the MWE as ybm{-y}.



        documentclass{amsart}
        usepackage[utf8]{inputenc}
        usepackage[T1]{fontenc}
        usepackage{eulerpx,bm}
        SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
        letsvbmbm
        renewcommandbm{begingroupcatcode`<=active xbm}
        newcommandxbm[1]{svbm{#1}endgroup}
        letsvlt<
        {catcode`<=active gdef<{mathop{mathrm{svlt}}}}
        begin{document}
        $a<bquadbm{a<b}quad ybm{-y}$
        end{document}


        enter image description here



        To apply this approach to both < and > relations requires just a little extra:



        documentclass{amsart}
        usepackage[utf8]{inputenc}
        usepackage[T1]{fontenc}
        usepackage{eulerpx,bm}
        SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
        letsvbmbm
        renewcommandbm{begingroup%
        catcode`>=active %
        catcode`<=active %
        xbm}
        newcommandxbm[1]{svbm{#1}endgroup}
        letsvlt<
        letsvgt>
        {catcode`>=active
        gdef>{mathop{mathrm{svgt}}}
        catcode`<=active
        gdef<{mathop{mathrm{svlt}}}}
        begin{document}
        $a<bquadbm{a<>b}quad ybm{-y}$
        end{document}





        share|improve this answer















        Not sure what all this breaks, but I redefined a symbol font and made < active inside of bm.



        The begingroup...endgroup isolates the catcode change, while still allowing binary operators inside the bm to see what is outside of the bm, shown in the MWE as ybm{-y}.



        documentclass{amsart}
        usepackage[utf8]{inputenc}
        usepackage[T1]{fontenc}
        usepackage{eulerpx,bm}
        SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
        letsvbmbm
        renewcommandbm{begingroupcatcode`<=active xbm}
        newcommandxbm[1]{svbm{#1}endgroup}
        letsvlt<
        {catcode`<=active gdef<{mathop{mathrm{svlt}}}}
        begin{document}
        $a<bquadbm{a<b}quad ybm{-y}$
        end{document}


        enter image description here



        To apply this approach to both < and > relations requires just a little extra:



        documentclass{amsart}
        usepackage[utf8]{inputenc}
        usepackage[T1]{fontenc}
        usepackage{eulerpx,bm}
        SetSymbolFont{letters}{bold} {U}{zeur}{m}{n}
        letsvbmbm
        renewcommandbm{begingroup%
        catcode`>=active %
        catcode`<=active %
        xbm}
        newcommandxbm[1]{svbm{#1}endgroup}
        letsvlt<
        letsvgt>
        {catcode`>=active
        gdef>{mathop{mathrm{svgt}}}
        catcode`<=active
        gdef<{mathop{mathrm{svlt}}}}
        begin{document}
        $a<bquadbm{a<>b}quad ybm{-y}$
        end{document}






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 15 at 18:10

























        answered Mar 15 at 17:25









        Steven B. SegletesSteven B. Segletes

        159k9204412




        159k9204412















            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?