(value, mode, options, classes)
| 5430 | |
| 5431 | |
| 5432 | var boldsymbol = function boldsymbol(value, mode, options, classes) { |
| 5433 | if (buildCommon_lookupSymbol(value, "Math-BoldItalic", mode).metrics) { |
| 5434 | return { |
| 5435 | fontName: "Math-BoldItalic", |
| 5436 | fontClass: "boldsymbol" |
| 5437 | }; |
| 5438 | } else { |
| 5439 | // Some glyphs do not exist in Math-BoldItalic so we need to use |
| 5440 | // Main-Bold instead. |
| 5441 | return { |
| 5442 | fontName: "Main-Bold", |
| 5443 | fontClass: "mathbf" |
| 5444 | }; |
| 5445 | } |
| 5446 | }; |
| 5447 | /** |
| 5448 | * Makes either a mathord or textord in the correct font and color. |
| 5449 | */ |
no test coverage detected