Set MathML of \boldsymbol{textord} to bold, not bold-italic (#2299)

* Set \boldsymbol{textord} to bold, not bold-italic

* Finish adding files.
This commit is contained in:
Ron Kok
2020-07-11 18:10:11 -07:00
committed by GitHub
parent 57492893d4
commit 2c5a3b8fdc
2 changed files with 4 additions and 4 deletions

View File

@@ -93,7 +93,7 @@ export const getVariant = function(
if (font === "mathit") {
return "italic";
} else if (font === "boldsymbol") {
return "bold-italic";
return group.type === "textord" ? "bold" : "bold-italic";
} else if (font === "mathbf") {
return "bold";
} else if (font === "mathbb") {