| 5378 | |
| 5379 | |
| 5380 | const mathnormal = function mathnormal(value, mode, options, classes) { |
| 5381 | if (utils.contains(mathitLetters, value)) { |
| 5382 | return { |
| 5383 | fontName: "Main-Italic", |
| 5384 | fontClass: "mathit" |
| 5385 | }; |
| 5386 | } else if (/[0-9]/.test(value.charAt(0))) { |
| 5387 | return { |
| 5388 | fontName: "Caligraphic-Regular", |
| 5389 | fontClass: "mathcal" |
| 5390 | }; |
| 5391 | } else { |
| 5392 | return { |
| 5393 | fontName: "Math-Italic", |
| 5394 | fontClass: "mathdefault" |
| 5395 | }; |
| 5396 | } |
| 5397 | }; |
| 5398 | /** |
| 5399 | * Determines which of the two font names (Main-Bold and Math-BoldItalic) and |
| 5400 | * corresponding style tags (mathbf or boldsymbol) to use for font "boldsymbol", |