Consider the following code:
\font\rm=ecrm1000\rm
\font\bf=ecbx1000
R{\bf R} $R{\bf R}$
\bye
The result I get is RR RR.
However I was expecting RR RR
Why the second R in the math formula not rendered in bold?
boldfontsplain-tex
Consider the following code:
\font\rm=ecrm1000\rm
\font\bf=ecbx1000
R{\bf R} $R{\bf R}$
\bye
The result I get is RR RR.
However I was expecting RR RR
Why the second R in the math formula not rendered in bold?
Best Answer
The selecting of text font has no effect in math typesetting. You defined
\bf
as selecting text font only, you cannot expect anything in math.The plain TeX original
\bf
macro does two actions in parallel. See plain.tex file:First, it selects text font
\tenbf
and second, it selects math alphabet collected in the\bffam
math family by\fam\bffam
.You can declare:
and keep the plain TeX macro
\bf
unchanged. Now,\bf
will select your font in text mode and it keeps the selecting of math alphabet\fam\bffam
in math mode.