(value, mode, options, classes)
| 5404 | |
| 5405 | |
| 5406 | const boldsymbol = function boldsymbol(value, mode, options, classes) { |
| 5407 | if (lookupSymbol(value, "Math-BoldItalic", mode).metrics) { |
| 5408 | return { |
| 5409 | fontName: "Math-BoldItalic", |
| 5410 | fontClass: "boldsymbol" |
| 5411 | }; |
| 5412 | } else { |
| 5413 | // Some glyphs do not exist in Math-BoldItalic so we need to use |
| 5414 | // Main-Bold instead. |
| 5415 | return { |
| 5416 | fontName: "Main-Bold", |
| 5417 | fontClass: "mathbf" |
| 5418 | }; |
| 5419 | } |
| 5420 | }; |
| 5421 | /** |
| 5422 | * Makes either a mathord or textord in the correct font and color. |
| 5423 | */ |
no test coverage detected