Use of bm package change symbols [duplicate]
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:
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?
bm
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.
add a comment |
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:
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?
bm
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
add a comment |
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:
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?
bm
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:
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
bm
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
add a comment |
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
add a comment |
1 Answer
1
active
oldest
votes
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}
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}
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
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}
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}
add a comment |
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}
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}
add a comment |
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}
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}
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}
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}
edited Mar 15 at 18:10
answered Mar 15 at 17:25
Steven B. SegletesSteven B. Segletes
159k9204412
159k9204412
add a comment |
add a comment |
I’m pretty sure this is a duplicate
– egreg
Mar 15 at 17:51