mathjax-tex-font 1.0.0-beta.1 → 4.0.0-beta.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (412) hide show
  1. package/{es5/chtml → chtml}/woff/mjx-tex-b.woff +0 -0
  2. package/{es5/chtml → chtml}/woff/mjx-tex-bi.woff +0 -0
  3. package/{es5/chtml → chtml}/woff/mjx-tex-brk.woff +0 -0
  4. package/{es5/chtml → chtml}/woff/mjx-tex-c.woff +0 -0
  5. package/{es5/chtml → chtml}/woff/mjx-tex-cb.woff +0 -0
  6. package/{es5/chtml → chtml}/woff/mjx-tex-f.woff +0 -0
  7. package/{es5/chtml → chtml}/woff/mjx-tex-fb.woff +0 -0
  8. package/{es5/chtml → chtml}/woff/mjx-tex-i.woff +0 -0
  9. package/{es5/chtml → chtml}/woff/mjx-tex-lo.woff +0 -0
  10. package/{es5/chtml → chtml}/woff/mjx-tex-m.woff +0 -0
  11. package/{es5/chtml → chtml}/woff/mjx-tex-mi.woff +0 -0
  12. package/{es5/chtml → chtml}/woff/mjx-tex-n.woff +0 -0
  13. package/{es5/chtml → chtml}/woff/mjx-tex-ob.woff +0 -0
  14. package/{es5/chtml → chtml}/woff/mjx-tex-os.woff +0 -0
  15. package/{es5/chtml → chtml}/woff/mjx-tex-s3.woff +0 -0
  16. package/{es5/chtml → chtml}/woff/mjx-tex-s4.woff +0 -0
  17. package/chtml/woff/mjx-tex-so.woff +0 -0
  18. package/{es5/chtml → chtml}/woff/mjx-tex-ss.woff +0 -0
  19. package/{es5/chtml → chtml}/woff/mjx-tex-ssb.woff +0 -0
  20. package/{es5/chtml → chtml}/woff/mjx-tex-ssi.woff +0 -0
  21. package/{es5/chtml → chtml}/woff/mjx-tex-v.woff +0 -0
  22. package/{es5/chtml → chtml}/woff/mjx-tex-zero.woff +0 -0
  23. package/chtml.js +1 -0
  24. package/cjs/chtml/bold-italic.d.ts +2 -0
  25. package/{js → cjs}/chtml/bold-italic.js +2 -2
  26. package/cjs/chtml/bold-italic.js.map +1 -0
  27. package/cjs/chtml/bold.d.ts +2 -0
  28. package/{js → cjs}/chtml/bold.js +1 -1
  29. package/cjs/chtml/bold.js.map +1 -0
  30. package/cjs/chtml/delimiters.d.ts +2 -0
  31. package/{js/svg → cjs/chtml}/delimiters.js +280 -218
  32. package/cjs/chtml/delimiters.js.map +1 -0
  33. package/cjs/chtml/fraktur-bold.d.ts +2 -0
  34. package/cjs/chtml/fraktur.d.ts +2 -0
  35. package/{js → cjs}/chtml/fraktur.js +6 -6
  36. package/cjs/chtml/fraktur.js.map +1 -0
  37. package/cjs/chtml/italic.d.ts +2 -0
  38. package/{js → cjs}/chtml/italic.js +1 -1
  39. package/{js → cjs}/chtml/italic.js.map +1 -1
  40. package/cjs/chtml/largeop.d.ts +2 -0
  41. package/cjs/chtml/monospace.d.ts +2 -0
  42. package/cjs/chtml/normal.d.ts +2 -0
  43. package/cjs/chtml/normal.js +1332 -0
  44. package/cjs/chtml/normal.js.map +1 -0
  45. package/cjs/chtml/sans-serif-bold.d.ts +2 -0
  46. package/{js → cjs}/chtml/sans-serif-bold.js +1 -1
  47. package/cjs/chtml/sans-serif-bold.js.map +1 -0
  48. package/cjs/chtml/sans-serif-italic.d.ts +2 -0
  49. package/{js → cjs}/chtml/sans-serif-italic.js +2 -2
  50. package/cjs/chtml/sans-serif-italic.js.map +1 -0
  51. package/cjs/chtml/sans-serif.d.ts +2 -0
  52. package/{js → cjs}/chtml/sans-serif.js +1 -1
  53. package/cjs/chtml/sans-serif.js.map +1 -0
  54. package/cjs/chtml/size3.d.ts +2 -0
  55. package/cjs/chtml/size4.d.ts +2 -0
  56. package/{js → cjs}/chtml/size4.js +1 -1
  57. package/{js → cjs}/chtml/size4.js.map +1 -1
  58. package/cjs/chtml/smallop.d.ts +2 -0
  59. package/{js → cjs}/chtml/smallop.js +23 -1
  60. package/cjs/chtml/smallop.js.map +1 -0
  61. package/cjs/chtml/tex-calligraphic-bold.d.ts +2 -0
  62. package/cjs/chtml/tex-calligraphic-bold.js +34 -0
  63. package/cjs/chtml/tex-calligraphic-bold.js.map +1 -0
  64. package/cjs/chtml/tex-calligraphic.d.ts +2 -0
  65. package/cjs/chtml/tex-calligraphic.js +32 -0
  66. package/cjs/chtml/tex-calligraphic.js.map +1 -0
  67. package/cjs/chtml/tex-mathit.d.ts +2 -0
  68. package/cjs/chtml/tex-mathit.js +58 -0
  69. package/cjs/chtml/tex-mathit.js.map +1 -0
  70. package/cjs/chtml/tex-oldstyle-bold.d.ts +2 -0
  71. package/cjs/chtml/tex-oldstyle.d.ts +2 -0
  72. package/{js → cjs}/chtml/tex-oldstyle.js +14 -14
  73. package/cjs/chtml/tex-oldstyle.js.map +1 -0
  74. package/cjs/chtml/tex-variant.d.ts +2 -0
  75. package/{js → cjs}/chtml/tex-variant.js +1 -1
  76. package/cjs/chtml/tex-variant.js.map +1 -0
  77. package/{js → cjs}/chtml.d.ts +4 -7
  78. package/{js → cjs}/chtml.js +6 -7
  79. package/cjs/chtml.js.map +1 -0
  80. package/{js → cjs}/common.d.ts +1 -1
  81. package/{js → cjs}/common.js +12 -7
  82. package/cjs/common.js.map +1 -0
  83. package/cjs/svg/bold-italic.d.ts +2 -0
  84. package/{js → cjs}/svg/bold-italic.js +2 -2
  85. package/cjs/svg/bold-italic.js.map +1 -0
  86. package/cjs/svg/bold.d.ts +2 -0
  87. package/{js → cjs}/svg/bold.js +1 -1
  88. package/cjs/svg/bold.js.map +1 -0
  89. package/cjs/svg/delimiters.d.ts +2 -0
  90. package/{js/chtml → cjs/svg}/delimiters.js +280 -218
  91. package/cjs/svg/delimiters.js.map +1 -0
  92. package/cjs/svg/fraktur-bold.d.ts +2 -0
  93. package/cjs/svg/fraktur.d.ts +2 -0
  94. package/{js → cjs}/svg/fraktur.js +6 -6
  95. package/cjs/svg/fraktur.js.map +1 -0
  96. package/cjs/svg/italic.d.ts +2 -0
  97. package/{js → cjs}/svg/italic.js +1 -1
  98. package/{js → cjs}/svg/italic.js.map +1 -1
  99. package/cjs/svg/largeop.d.ts +2 -0
  100. package/cjs/svg/monospace.d.ts +2 -0
  101. package/cjs/svg/normal.d.ts +2 -0
  102. package/{js → cjs}/svg/normal.js +578 -550
  103. package/cjs/svg/normal.js.map +1 -0
  104. package/cjs/svg/sans-serif-bold.d.ts +2 -0
  105. package/{js → cjs}/svg/sans-serif-bold.js +1 -1
  106. package/{js → cjs}/svg/sans-serif-bold.js.map +1 -1
  107. package/cjs/svg/sans-serif-italic.d.ts +2 -0
  108. package/{js → cjs}/svg/sans-serif-italic.js +2 -2
  109. package/cjs/svg/sans-serif-italic.js.map +1 -0
  110. package/cjs/svg/sans-serif.d.ts +2 -0
  111. package/{js → cjs}/svg/sans-serif.js +1 -1
  112. package/cjs/svg/sans-serif.js.map +1 -0
  113. package/cjs/svg/size3.d.ts +2 -0
  114. package/cjs/svg/size4.d.ts +2 -0
  115. package/{js → cjs}/svg/size4.js +1 -1
  116. package/{js → cjs}/svg/size4.js.map +1 -1
  117. package/cjs/svg/smallop.d.ts +2 -0
  118. package/{js → cjs}/svg/smallop.js +23 -1
  119. package/cjs/svg/smallop.js.map +1 -0
  120. package/cjs/svg/tex-calligraphic-bold.d.ts +2 -0
  121. package/{js → cjs}/svg/tex-calligraphic-bold.js +28 -28
  122. package/cjs/svg/tex-calligraphic-bold.js.map +1 -0
  123. package/cjs/svg/tex-calligraphic.d.ts +2 -0
  124. package/{js → cjs}/svg/tex-calligraphic.js +26 -26
  125. package/cjs/svg/tex-calligraphic.js.map +1 -0
  126. package/cjs/svg/tex-mathit.d.ts +2 -0
  127. package/{js → cjs}/svg/tex-mathit.js +50 -50
  128. package/cjs/svg/tex-mathit.js.map +1 -0
  129. package/cjs/svg/tex-oldstyle-bold.d.ts +2 -0
  130. package/cjs/svg/tex-oldstyle.d.ts +2 -0
  131. package/{js → cjs}/svg/tex-oldstyle.js +14 -14
  132. package/cjs/svg/tex-oldstyle.js.map +1 -0
  133. package/cjs/svg/tex-variant.d.ts +2 -0
  134. package/{js → cjs}/svg/tex-variant.js +1 -1
  135. package/cjs/svg/tex-variant.js.map +1 -0
  136. package/{js → cjs}/svg.d.ts +3 -3
  137. package/{js → cjs}/svg.js +3 -4
  138. package/cjs/svg.js.map +1 -0
  139. package/def/mathjax-tex.d.ts +1 -0
  140. package/def/mathjax-tex.ts +1564 -0
  141. package/examples/chtml.html +116 -0
  142. package/examples/svg.html +117 -0
  143. package/mjs/chtml/bold-italic.d.ts +2 -0
  144. package/mjs/chtml/bold-italic.js +9 -0
  145. package/mjs/chtml/bold-italic.js.map +1 -0
  146. package/mjs/chtml/bold.d.ts +2 -0
  147. package/mjs/chtml/bold.js +249 -0
  148. package/mjs/chtml/bold.js.map +1 -0
  149. package/mjs/chtml/default.d.ts +4 -0
  150. package/mjs/chtml/default.js +6 -0
  151. package/mjs/chtml/default.js.map +1 -0
  152. package/mjs/chtml/delimiters.d.ts +2 -0
  153. package/mjs/chtml/delimiters.js +866 -0
  154. package/mjs/chtml/delimiters.js.map +1 -0
  155. package/mjs/chtml/fraktur-bold.d.ts +2 -0
  156. package/mjs/chtml/fraktur-bold.js +42 -0
  157. package/mjs/chtml/fraktur-bold.js.map +1 -0
  158. package/mjs/chtml/fraktur.d.ts +2 -0
  159. package/mjs/chtml/fraktur.js +43 -0
  160. package/mjs/chtml/fraktur.js.map +1 -0
  161. package/mjs/chtml/italic.d.ts +2 -0
  162. package/mjs/chtml/italic.js +63 -0
  163. package/mjs/chtml/italic.js.map +1 -0
  164. package/mjs/chtml/largeop.d.ts +2 -0
  165. package/mjs/chtml/largeop.js +53 -0
  166. package/mjs/chtml/largeop.js.map +1 -0
  167. package/mjs/chtml/monospace.d.ts +2 -0
  168. package/mjs/chtml/monospace.js +81 -0
  169. package/mjs/chtml/monospace.js.map +1 -0
  170. package/mjs/chtml/normal.d.ts +2 -0
  171. package/mjs/chtml/normal.js +1329 -0
  172. package/mjs/chtml/normal.js.map +1 -0
  173. package/mjs/chtml/sans-serif-bold.d.ts +2 -0
  174. package/mjs/chtml/sans-serif-bold.js +51 -0
  175. package/mjs/chtml/sans-serif-bold.js.map +1 -0
  176. package/mjs/chtml/sans-serif-italic.d.ts +2 -0
  177. package/mjs/chtml/sans-serif-italic.js +85 -0
  178. package/mjs/chtml/sans-serif-italic.js.map +1 -0
  179. package/mjs/chtml/sans-serif.d.ts +2 -0
  180. package/mjs/chtml/sans-serif.js +75 -0
  181. package/mjs/chtml/sans-serif.js.map +1 -0
  182. package/mjs/chtml/size3.d.ts +2 -0
  183. package/mjs/chtml/size3.js +27 -0
  184. package/mjs/chtml/size3.js.map +1 -0
  185. package/mjs/chtml/size4.d.ts +2 -0
  186. package/mjs/chtml/size4.js +56 -0
  187. package/mjs/chtml/size4.js.map +1 -0
  188. package/mjs/chtml/smallop.d.ts +2 -0
  189. package/mjs/chtml/smallop.js +75 -0
  190. package/mjs/chtml/smallop.js.map +1 -0
  191. package/mjs/chtml/tex-calligraphic-bold.d.ts +2 -0
  192. package/mjs/chtml/tex-calligraphic-bold.js +31 -0
  193. package/mjs/chtml/tex-calligraphic-bold.js.map +1 -0
  194. package/mjs/chtml/tex-calligraphic.d.ts +2 -0
  195. package/mjs/chtml/tex-calligraphic.js +29 -0
  196. package/mjs/chtml/tex-calligraphic.js.map +1 -0
  197. package/mjs/chtml/tex-mathit.d.ts +2 -0
  198. package/mjs/chtml/tex-mathit.js +55 -0
  199. package/mjs/chtml/tex-mathit.js.map +1 -0
  200. package/mjs/chtml/tex-oldstyle-bold.d.ts +2 -0
  201. package/{js/chtml/tex-calligraphic-bold.js → mjs/chtml/tex-oldstyle-bold.js} +13 -8
  202. package/mjs/chtml/tex-oldstyle-bold.js.map +1 -0
  203. package/mjs/chtml/tex-oldstyle.d.ts +2 -0
  204. package/mjs/chtml/tex-oldstyle.js +39 -0
  205. package/mjs/chtml/tex-oldstyle.js.map +1 -0
  206. package/mjs/chtml/tex-variant.d.ts +2 -0
  207. package/mjs/chtml/tex-variant.js +41 -0
  208. package/mjs/chtml/tex-variant.js.map +1 -0
  209. package/mjs/chtml.d.ts +164 -0
  210. package/mjs/chtml.js +186 -0
  211. package/mjs/chtml.js.map +1 -0
  212. package/mjs/common.d.ts +2 -0
  213. package/mjs/common.js +36 -0
  214. package/mjs/common.js.map +1 -0
  215. package/mjs/package.json +3 -0
  216. package/mjs/svg/bold-italic.d.ts +2 -0
  217. package/mjs/svg/bold-italic.js +9 -0
  218. package/mjs/svg/bold-italic.js.map +1 -0
  219. package/mjs/svg/bold.d.ts +2 -0
  220. package/mjs/svg/bold.js +249 -0
  221. package/mjs/svg/bold.js.map +1 -0
  222. package/mjs/svg/default.d.ts +4 -0
  223. package/mjs/svg/default.js +6 -0
  224. package/mjs/svg/default.js.map +1 -0
  225. package/mjs/svg/delimiters.d.ts +2 -0
  226. package/mjs/svg/delimiters.js +866 -0
  227. package/mjs/svg/delimiters.js.map +1 -0
  228. package/mjs/svg/fraktur-bold.d.ts +2 -0
  229. package/mjs/svg/fraktur-bold.js +42 -0
  230. package/mjs/svg/fraktur-bold.js.map +1 -0
  231. package/mjs/svg/fraktur.d.ts +2 -0
  232. package/mjs/svg/fraktur.js +43 -0
  233. package/mjs/svg/fraktur.js.map +1 -0
  234. package/mjs/svg/italic.d.ts +2 -0
  235. package/mjs/svg/italic.js +63 -0
  236. package/mjs/svg/italic.js.map +1 -0
  237. package/mjs/svg/largeop.d.ts +2 -0
  238. package/mjs/svg/largeop.js +53 -0
  239. package/mjs/svg/largeop.js.map +1 -0
  240. package/mjs/svg/monospace.d.ts +2 -0
  241. package/mjs/svg/monospace.js +81 -0
  242. package/mjs/svg/monospace.js.map +1 -0
  243. package/mjs/svg/normal.d.ts +2 -0
  244. package/mjs/svg/normal.js +1329 -0
  245. package/mjs/svg/normal.js.map +1 -0
  246. package/mjs/svg/sans-serif-bold.d.ts +2 -0
  247. package/mjs/svg/sans-serif-bold.js +51 -0
  248. package/mjs/svg/sans-serif-bold.js.map +1 -0
  249. package/mjs/svg/sans-serif-italic.d.ts +2 -0
  250. package/mjs/svg/sans-serif-italic.js +85 -0
  251. package/mjs/svg/sans-serif-italic.js.map +1 -0
  252. package/mjs/svg/sans-serif.d.ts +2 -0
  253. package/mjs/svg/sans-serif.js +75 -0
  254. package/mjs/svg/sans-serif.js.map +1 -0
  255. package/mjs/svg/size3.d.ts +2 -0
  256. package/mjs/svg/size3.js +27 -0
  257. package/mjs/svg/size3.js.map +1 -0
  258. package/mjs/svg/size4.d.ts +2 -0
  259. package/mjs/svg/size4.js +56 -0
  260. package/mjs/svg/size4.js.map +1 -0
  261. package/mjs/svg/smallop.d.ts +2 -0
  262. package/mjs/svg/smallop.js +75 -0
  263. package/mjs/svg/smallop.js.map +1 -0
  264. package/mjs/svg/tex-calligraphic-bold.d.ts +2 -0
  265. package/mjs/svg/tex-calligraphic-bold.js +31 -0
  266. package/mjs/svg/tex-calligraphic-bold.js.map +1 -0
  267. package/mjs/svg/tex-calligraphic.d.ts +2 -0
  268. package/mjs/svg/tex-calligraphic.js +29 -0
  269. package/mjs/svg/tex-calligraphic.js.map +1 -0
  270. package/mjs/svg/tex-mathit.d.ts +2 -0
  271. package/mjs/svg/tex-mathit.js +55 -0
  272. package/mjs/svg/tex-mathit.js.map +1 -0
  273. package/mjs/svg/tex-oldstyle-bold.d.ts +2 -0
  274. package/mjs/svg/tex-oldstyle-bold.js +39 -0
  275. package/mjs/svg/tex-oldstyle-bold.js.map +1 -0
  276. package/mjs/svg/tex-oldstyle.d.ts +2 -0
  277. package/mjs/svg/tex-oldstyle.js +39 -0
  278. package/mjs/svg/tex-oldstyle.js.map +1 -0
  279. package/mjs/svg/tex-variant.d.ts +2 -0
  280. package/mjs/svg/tex-variant.js +41 -0
  281. package/mjs/svg/tex-variant.js.map +1 -0
  282. package/mjs/svg.d.ts +13 -0
  283. package/mjs/svg.js +80 -0
  284. package/mjs/svg.js.map +1 -0
  285. package/package.json +55 -19
  286. package/svg.js +1 -0
  287. package/tex-mml-chtml-mathjax-tex.js +1 -0
  288. package/tex-mml-svg-mathjax-tex.js +1 -0
  289. package/tsconfig/cjs.json +8 -0
  290. package/tsconfig/common.json +13 -0
  291. package/tsconfig/def.json +10 -0
  292. package/tsconfig/mjs.json +9 -0
  293. package/tsconfig.json +3 -0
  294. package/build/chtml/build.json +0 -8
  295. package/build/chtml/chtml.js +0 -22
  296. package/build/chtml/copy.json +0 -5
  297. package/build/chtml/lib/chtml.js +0 -18
  298. package/build/chtml/webpack.config.js +0 -11
  299. package/build/svg/build.json +0 -8
  300. package/build/svg/lib/svg.js +0 -18
  301. package/build/svg/svg.js +0 -18
  302. package/build/svg/webpack.config.js +0 -11
  303. package/build/tex-mml-chtml-mathjax-tex/tex-mml-chtml-mathjax-tex.js +0 -1
  304. package/build/tex-mml-chtml-mathjax-tex/webpack.config.js +0 -18
  305. package/build/tex-mml-svg-mathjax-tex/tex-mml-svg-mathjax-tex.js +0 -1
  306. package/build/tex-mml-svg-mathjax-tex/webpack.config.js +0 -18
  307. package/es5/chtml/woff/mjx-tex-so.woff +0 -0
  308. package/es5/chtml.js +0 -1
  309. package/es5/svg.js +0 -1
  310. package/es5/tex-mml-chtml-mathjax-tex.js +0 -1
  311. package/es5/tex-mml-svg-mathjax-tex.js +0 -1
  312. package/js/chtml/bold-italic.d.ts +0 -2
  313. package/js/chtml/bold-italic.js.map +0 -1
  314. package/js/chtml/bold.d.ts +0 -2
  315. package/js/chtml/bold.js.map +0 -1
  316. package/js/chtml/delimiters.d.ts +0 -2
  317. package/js/chtml/delimiters.js.map +0 -1
  318. package/js/chtml/fraktur-bold.d.ts +0 -2
  319. package/js/chtml/fraktur.d.ts +0 -2
  320. package/js/chtml/fraktur.js.map +0 -1
  321. package/js/chtml/italic.d.ts +0 -2
  322. package/js/chtml/largeop.d.ts +0 -2
  323. package/js/chtml/monospace.d.ts +0 -2
  324. package/js/chtml/normal.d.ts +0 -2
  325. package/js/chtml/normal.js +0 -1304
  326. package/js/chtml/normal.js.map +0 -1
  327. package/js/chtml/sans-serif-bold.d.ts +0 -2
  328. package/js/chtml/sans-serif-bold.js.map +0 -1
  329. package/js/chtml/sans-serif-italic.d.ts +0 -2
  330. package/js/chtml/sans-serif-italic.js.map +0 -1
  331. package/js/chtml/sans-serif.d.ts +0 -2
  332. package/js/chtml/sans-serif.js.map +0 -1
  333. package/js/chtml/size3.d.ts +0 -2
  334. package/js/chtml/size4.d.ts +0 -2
  335. package/js/chtml/smallop.d.ts +0 -2
  336. package/js/chtml/smallop.js.map +0 -1
  337. package/js/chtml/tex-calligraphic-bold.d.ts +0 -2
  338. package/js/chtml/tex-calligraphic-bold.js.map +0 -1
  339. package/js/chtml/tex-calligraphic.d.ts +0 -2
  340. package/js/chtml/tex-calligraphic.js +0 -32
  341. package/js/chtml/tex-calligraphic.js.map +0 -1
  342. package/js/chtml/tex-mathit.d.ts +0 -2
  343. package/js/chtml/tex-mathit.js +0 -58
  344. package/js/chtml/tex-mathit.js.map +0 -1
  345. package/js/chtml/tex-oldstyle-bold.d.ts +0 -2
  346. package/js/chtml/tex-oldstyle.d.ts +0 -2
  347. package/js/chtml/tex-oldstyle.js.map +0 -1
  348. package/js/chtml/tex-variant.d.ts +0 -2
  349. package/js/chtml/tex-variant.js.map +0 -1
  350. package/js/chtml.js.map +0 -1
  351. package/js/common.js.map +0 -1
  352. package/js/svg/bold-italic.d.ts +0 -2
  353. package/js/svg/bold-italic.js.map +0 -1
  354. package/js/svg/bold.d.ts +0 -2
  355. package/js/svg/bold.js.map +0 -1
  356. package/js/svg/delimiters.d.ts +0 -2
  357. package/js/svg/delimiters.js.map +0 -1
  358. package/js/svg/fraktur-bold.d.ts +0 -2
  359. package/js/svg/fraktur.d.ts +0 -2
  360. package/js/svg/fraktur.js.map +0 -1
  361. package/js/svg/italic.d.ts +0 -2
  362. package/js/svg/largeop.d.ts +0 -2
  363. package/js/svg/monospace.d.ts +0 -2
  364. package/js/svg/normal.d.ts +0 -2
  365. package/js/svg/normal.js.map +0 -1
  366. package/js/svg/sans-serif-bold.d.ts +0 -2
  367. package/js/svg/sans-serif-italic.d.ts +0 -2
  368. package/js/svg/sans-serif-italic.js.map +0 -1
  369. package/js/svg/sans-serif.d.ts +0 -2
  370. package/js/svg/sans-serif.js.map +0 -1
  371. package/js/svg/size3.d.ts +0 -2
  372. package/js/svg/size4.d.ts +0 -2
  373. package/js/svg/smallop.d.ts +0 -2
  374. package/js/svg/smallop.js.map +0 -1
  375. package/js/svg/tex-calligraphic-bold.d.ts +0 -2
  376. package/js/svg/tex-calligraphic-bold.js.map +0 -1
  377. package/js/svg/tex-calligraphic.d.ts +0 -2
  378. package/js/svg/tex-calligraphic.js.map +0 -1
  379. package/js/svg/tex-mathit.d.ts +0 -2
  380. package/js/svg/tex-mathit.js.map +0 -1
  381. package/js/svg/tex-oldstyle-bold.d.ts +0 -2
  382. package/js/svg/tex-oldstyle.d.ts +0 -2
  383. package/js/svg/tex-oldstyle.js.map +0 -1
  384. package/js/svg/tex-variant.d.ts +0 -2
  385. package/js/svg/tex-variant.js.map +0 -1
  386. package/js/svg.js.map +0 -1
  387. /package/{js → cjs}/chtml/default.d.ts +0 -0
  388. /package/{js → cjs}/chtml/default.js +0 -0
  389. /package/{js → cjs}/chtml/default.js.map +0 -0
  390. /package/{js → cjs}/chtml/fraktur-bold.js +0 -0
  391. /package/{js → cjs}/chtml/fraktur-bold.js.map +0 -0
  392. /package/{js → cjs}/chtml/largeop.js +0 -0
  393. /package/{js → cjs}/chtml/largeop.js.map +0 -0
  394. /package/{js → cjs}/chtml/monospace.js +0 -0
  395. /package/{js → cjs}/chtml/monospace.js.map +0 -0
  396. /package/{js → cjs}/chtml/size3.js +0 -0
  397. /package/{js → cjs}/chtml/size3.js.map +0 -0
  398. /package/{js → cjs}/chtml/tex-oldstyle-bold.js +0 -0
  399. /package/{js → cjs}/chtml/tex-oldstyle-bold.js.map +0 -0
  400. /package/{js → cjs}/svg/default.d.ts +0 -0
  401. /package/{js → cjs}/svg/default.js +0 -0
  402. /package/{js → cjs}/svg/default.js.map +0 -0
  403. /package/{js → cjs}/svg/fraktur-bold.js +0 -0
  404. /package/{js → cjs}/svg/fraktur-bold.js.map +0 -0
  405. /package/{js → cjs}/svg/largeop.js +0 -0
  406. /package/{js → cjs}/svg/largeop.js.map +0 -0
  407. /package/{js → cjs}/svg/monospace.js +0 -0
  408. /package/{js → cjs}/svg/monospace.js.map +0 -0
  409. /package/{js → cjs}/svg/size3.js +0 -0
  410. /package/{js → cjs}/svg/size3.js.map +0 -0
  411. /package/{js → cjs}/svg/tex-oldstyle-bold.js +0 -0
  412. /package/{js → cjs}/svg/tex-oldstyle-bold.js.map +0 -0
package/mjs/chtml.js ADDED
@@ -0,0 +1,186 @@
1
+ import { ChtmlFontData } from 'mathjax-full/mjs/output/chtml/FontData.js';
2
+ import { CommonMathJaxTexFontMixin } from './common.js';
3
+ import { normal } from './chtml/normal.js';
4
+ import { bold } from './chtml/bold.js';
5
+ import { italic } from './chtml/italic.js';
6
+ import { boldItalic } from './chtml/bold-italic.js';
7
+ import { fraktur } from './chtml/fraktur.js';
8
+ import { frakturBold } from './chtml/fraktur-bold.js';
9
+ import { sansSerif } from './chtml/sans-serif.js';
10
+ import { sansSerifBold } from './chtml/sans-serif-bold.js';
11
+ import { sansSerifItalic } from './chtml/sans-serif-italic.js';
12
+ import { monospace } from './chtml/monospace.js';
13
+ import { smallop } from './chtml/smallop.js';
14
+ import { largeop } from './chtml/largeop.js';
15
+ import { texCalligraphic } from './chtml/tex-calligraphic.js';
16
+ import { texCalligraphicBold } from './chtml/tex-calligraphic-bold.js';
17
+ import { texOldstyle } from './chtml/tex-oldstyle.js';
18
+ import { texOldstyleBold } from './chtml/tex-oldstyle-bold.js';
19
+ import { texMathit } from './chtml/tex-mathit.js';
20
+ import { texVariant } from './chtml/tex-variant.js';
21
+ import { size3 } from './chtml/size3.js';
22
+ import { size4 } from './chtml/size4.js';
23
+ import { delimiters } from './chtml/delimiters.js';
24
+ const Base = CommonMathJaxTexFontMixin(ChtmlFontData);
25
+ export class MathJaxTexFont extends Base {
26
+ constructor() {
27
+ super(...arguments);
28
+ this.cssFontPrefix = 'TEX';
29
+ }
30
+ }
31
+ MathJaxTexFont.NAME = 'MathJaxTex';
32
+ MathJaxTexFont.defaultCssFamilyPrefix = 'MJX-TEX-ZERO';
33
+ MathJaxTexFont.defaultVariantLetters = {
34
+ 'normal': '',
35
+ 'bold': 'B',
36
+ 'italic': 'I',
37
+ 'bold-italic': 'BI',
38
+ 'fraktur': 'F',
39
+ 'bold-fraktur': 'FB',
40
+ 'sans-serif': 'SS',
41
+ 'bold-sans-serif': 'SSB',
42
+ 'sans-serif-italic': 'SSI',
43
+ 'monospace': 'M',
44
+ '-smallop': 'SO',
45
+ '-largeop': 'LO',
46
+ '-tex-calligraphic': 'C',
47
+ '-tex-bold-calligraphic': 'CB',
48
+ '-tex-oldstyle': 'OS',
49
+ '-tex-bold-oldstyle': 'OB',
50
+ '-tex-mathit': 'MI',
51
+ '-tex-variant': 'V',
52
+ '-size3': 'S3',
53
+ '-size4': 'S4'
54
+ };
55
+ MathJaxTexFont.defaultDelimiters = delimiters;
56
+ MathJaxTexFont.defaultChars = {
57
+ 'normal': normal,
58
+ 'bold': bold,
59
+ 'italic': italic,
60
+ 'bold-italic': boldItalic,
61
+ 'fraktur': fraktur,
62
+ 'bold-fraktur': frakturBold,
63
+ 'sans-serif': sansSerif,
64
+ 'bold-sans-serif': sansSerifBold,
65
+ 'sans-serif-italic': sansSerifItalic,
66
+ 'monospace': monospace,
67
+ '-smallop': smallop,
68
+ '-largeop': largeop,
69
+ '-tex-calligraphic': texCalligraphic,
70
+ '-tex-bold-calligraphic': texCalligraphicBold,
71
+ '-tex-oldstyle': texOldstyle,
72
+ '-tex-bold-oldstyle': texOldstyleBold,
73
+ '-tex-mathit': texMathit,
74
+ '-tex-variant': texVariant,
75
+ '-size3': size3,
76
+ '-size4': size4
77
+ };
78
+ MathJaxTexFont.defaultStyles = Object.assign(Object.assign({}, ChtmlFontData.defaultStyles), { '.TEX-N': {
79
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-N'
80
+ }, '.TEX-B': {
81
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-B'
82
+ }, '.TEX-I': {
83
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-I'
84
+ }, '.TEX-BI': {
85
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-BI'
86
+ }, '.TEX-F': {
87
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-F'
88
+ }, '.TEX-FB': {
89
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-FB'
90
+ }, '.TEX-SS': {
91
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-SS'
92
+ }, '.TEX-SSB': {
93
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-SSB'
94
+ }, '.TEX-SSI': {
95
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-SSI'
96
+ }, '.TEX-M': {
97
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-M'
98
+ }, '.TEX-SO': {
99
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-SO'
100
+ }, '.TEX-LO': {
101
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-LO'
102
+ }, '.TEX-C': {
103
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-C'
104
+ }, '.TEX-CB': {
105
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-CB'
106
+ }, '.TEX-OS': {
107
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-OS'
108
+ }, '.TEX-OB': {
109
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-OB'
110
+ }, '.TEX-MI': {
111
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-MI'
112
+ }, '.TEX-V': {
113
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-V'
114
+ }, '.TEX-S3': {
115
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-S3'
116
+ }, '.TEX-S4': {
117
+ 'font-family': 'MJX-TEX-ZERO, MJX-TEX-S4'
118
+ } });
119
+ MathJaxTexFont.defaultFonts = Object.assign(Object.assign({}, ChtmlFontData.defaultFonts), { '@font-face /* MJX-TEX-ZERO */': {
120
+ 'font-family': 'MJX-TEX-ZERO',
121
+ src: 'url("%%URL%%/mjx-tex-zero.woff") format("woff")'
122
+ }, '@font-face /* MJX-BRK */': {
123
+ 'font-family': 'MJX-BRK',
124
+ src: 'url("%%URL%%/mjx-tex-brk.woff") format("woff")'
125
+ }, '@font-face /* MJX-TEX-N */': {
126
+ 'font-family': 'MJX-TEX-N',
127
+ src: 'url("%%URL%%/mjx-tex-n.woff") format("woff")'
128
+ }, '@font-face /* MJX-TEX-B */': {
129
+ 'font-family': 'MJX-TEX-B',
130
+ src: 'url("%%URL%%/mjx-tex-b.woff") format("woff")'
131
+ }, '@font-face /* MJX-TEX-I */': {
132
+ 'font-family': 'MJX-TEX-I',
133
+ src: 'url("%%URL%%/mjx-tex-i.woff") format("woff")'
134
+ }, '@font-face /* MJX-TEX-BI */': {
135
+ 'font-family': 'MJX-TEX-BI',
136
+ src: 'url("%%URL%%/mjx-tex-bi.woff") format("woff")'
137
+ }, '@font-face /* MJX-TEX-F */': {
138
+ 'font-family': 'MJX-TEX-F',
139
+ src: 'url("%%URL%%/mjx-tex-f.woff") format("woff")'
140
+ }, '@font-face /* MJX-TEX-FB */': {
141
+ 'font-family': 'MJX-TEX-FB',
142
+ src: 'url("%%URL%%/mjx-tex-fb.woff") format("woff")'
143
+ }, '@font-face /* MJX-TEX-SS */': {
144
+ 'font-family': 'MJX-TEX-SS',
145
+ src: 'url("%%URL%%/mjx-tex-ss.woff") format("woff")'
146
+ }, '@font-face /* MJX-TEX-SSB */': {
147
+ 'font-family': 'MJX-TEX-SSB',
148
+ src: 'url("%%URL%%/mjx-tex-ssb.woff") format("woff")'
149
+ }, '@font-face /* MJX-TEX-SSI */': {
150
+ 'font-family': 'MJX-TEX-SSI',
151
+ src: 'url("%%URL%%/mjx-tex-ssi.woff") format("woff")'
152
+ }, '@font-face /* MJX-TEX-M */': {
153
+ 'font-family': 'MJX-TEX-M',
154
+ src: 'url("%%URL%%/mjx-tex-m.woff") format("woff")'
155
+ }, '@font-face /* MJX-TEX-SO */': {
156
+ 'font-family': 'MJX-TEX-SO',
157
+ src: 'url("%%URL%%/mjx-tex-so.woff") format("woff")'
158
+ }, '@font-face /* MJX-TEX-LO */': {
159
+ 'font-family': 'MJX-TEX-LO',
160
+ src: 'url("%%URL%%/mjx-tex-lo.woff") format("woff")'
161
+ }, '@font-face /* MJX-TEX-C */': {
162
+ 'font-family': 'MJX-TEX-C',
163
+ src: 'url("%%URL%%/mjx-tex-c.woff") format("woff")'
164
+ }, '@font-face /* MJX-TEX-CB */': {
165
+ 'font-family': 'MJX-TEX-CB',
166
+ src: 'url("%%URL%%/mjx-tex-cb.woff") format("woff")'
167
+ }, '@font-face /* MJX-TEX-OS */': {
168
+ 'font-family': 'MJX-TEX-OS',
169
+ src: 'url("%%URL%%/mjx-tex-os.woff") format("woff")'
170
+ }, '@font-face /* MJX-TEX-OB */': {
171
+ 'font-family': 'MJX-TEX-OB',
172
+ src: 'url("%%URL%%/mjx-tex-ob.woff") format("woff")'
173
+ }, '@font-face /* MJX-TEX-MI */': {
174
+ 'font-family': 'MJX-TEX-MI',
175
+ src: 'url("%%URL%%/mjx-tex-mi.woff") format("woff")'
176
+ }, '@font-face /* MJX-TEX-V */': {
177
+ 'font-family': 'MJX-TEX-V',
178
+ src: 'url("%%URL%%/mjx-tex-v.woff") format("woff")'
179
+ }, '@font-face /* MJX-TEX-S3 */': {
180
+ 'font-family': 'MJX-TEX-S3',
181
+ src: 'url("%%URL%%/mjx-tex-s3.woff") format("woff")'
182
+ }, '@font-face /* MJX-TEX-S4 */': {
183
+ 'font-family': 'MJX-TEX-S4',
184
+ src: 'url("%%URL%%/mjx-tex-s4.woff") format("woff")'
185
+ } });
186
+ //# sourceMappingURL=chtml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chtml.js","sourceRoot":"","sources":["../ts/ch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,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,EACD,6BAA6B,EAAE;QAC7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,EACD,6BAA6B,EAAE;QAC7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,EACD,4BAA4B,EAAE;QAC5B,aAAa,EAAE,WAAW;QAC1B,GAAG,EAAE,8CAA8C;KACpD,EACD,6BAA6B,EAAE;QAC7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,EACD,6BAA6B,EAAE;QAC7B,aAAa,EAAE,YAAY;QAC3B,GAAG,EAAE,+CAA+C;KACrD,GA1F0B,CA2F3B"}
@@ -0,0 +1,2 @@
1
+ import { FontDataClass, CharOptions, VariantData, DelimiterData } from 'mathjax-full/mjs/output/common/FontData.js';
2
+ export declare function CommonMathJaxTexFontMixin<C extends CharOptions, V extends VariantData<C>, D extends DelimiterData, B extends FontDataClass<C, V, D>>(Base: B): FontDataClass<C, V, D> & B;
package/mjs/common.js ADDED
@@ -0,0 +1,36 @@
1
+ import { FontData } from 'mathjax-full/mjs/output/common/FontData.js';
2
+ export function CommonMathJaxTexFontMixin(Base) {
3
+ var _a;
4
+ return _a = class extends Base {
5
+ },
6
+ _a.defaultVariants = [
7
+ ...FontData.defaultVariants,
8
+ ['-size3', 'normal'],
9
+ ['-size4', 'normal']
10
+ ],
11
+ _a.defaultCssFonts = Object.assign(Object.assign({}, FontData.defaultCssFonts), { '-size3': ['serif', false, false], '-size4': ['serif', false, false] }),
12
+ _a.defaultAccentMap = {
13
+ 0x005E: '\u02C6',
14
+ 0x007E: '\u02DC',
15
+ 0x0300: '\u02CB',
16
+ 0x0301: '\u02CA',
17
+ 0x0302: '\u02C6',
18
+ 0x0303: '\u02DC',
19
+ 0x0304: '\u02C9',
20
+ 0x0306: '\u02D8',
21
+ 0x0307: '\u02D9',
22
+ 0x0308: '\u00A8',
23
+ 0x030A: '\u02DA',
24
+ 0x030C: '\u02C7',
25
+ 0x2192: '\u20D7'
26
+ },
27
+ _a.defaultParams = Object.assign(Object.assign({}, FontData.defaultParams), { x_height: .442 }),
28
+ _a.defaultSizeVariants = [
29
+ 'normal', '-smallop', '-largeop', '-size3', '-size4', '-tex-variant'
30
+ ],
31
+ _a.defaultStretchVariants = [
32
+ '-size4', 'normal', '-smallop'
33
+ ],
34
+ _a;
35
+ }
36
+ //# sourceMappingURL=common.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.js","sourceRoot":"","sources":["../ts/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAC4C,MAAM,4CAA4C,CAAC;AAU/G,MAAM,UAAU,yBAAyB,CAKvC,IAAO;;IAEP,YAAO,KAAM,SAAQ,IAAI;SA6DxB;QAxDe,kBAAe,GAAe;YAC1C,GAAG,QAAQ,CAAC,eAAe;YAC3B,CAAC,QAAQ,EAAE,QAAQ,CAAC;YACpB,CAAC,QAAQ,EAAE,QAAQ,CAAC;SACpB;QAKY,kBAAe,mCACxB,QAAQ,CAAC,eAAe,KAC3B,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,EACjC,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,KAAK,CAAC,GACjC;QAKY,mBAAgB,GAAa;YACzC,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SAChB;QAKY,gBAAa,mCACtB,QAAQ,CAAC,aAAa,KACzB,QAAQ,EAAE,IAAI,GACd;QAKe,sBAAmB,GAAa;YAC/C,QAAQ,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,cAAc;SACpE;QAKe,yBAAsB,GAAa;YAClD,QAAQ,EAAE,QAAQ,EAAE,UAAU;SAC9B;WAEF;AAEJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -0,0 +1,2 @@
1
+ import { CharMap, SvgCharOptions } from 'mathjax-full/mjs/output/svg/FontData.js';
2
+ export declare const boldItalic: CharMap<SvgCharOptions>;
@@ -0,0 +1,9 @@
1
+ export const boldItalic = {
2
+ 0x2F: [.711, .21, .894, { p: '189-210C197-210 205-207 211-201C215-197 721 649 730 667C733 672 733 673 733 681C733 699 720 711 704 711C693 711 683 705 679 698C675 692 166-160 162-166C160-171 160-173 160-179C160-195 172-210 189-210' }],
3
+ 0x131: [.452, .008, .394, { p: '201-8C275-8 331 53 356 114C361 126 367 144 367 148C367 153 364 158 360 160C357 162 355 162 336 162L330 162C308 162 308 161 302 140C293 109 277 82 257 64C252 59 228 42 214 42C207 42 202 46 202 57C202 65 204 75 207 87C207 88 305 340 306 342C307 347 308 354 308 360C308 421 250 452 187 452C111 452 59 390 35 330C30 318 24 300 24 296C24 291 27 286 31 284C34 282 36 282 55 282L61 282C83 282 83 283 89 304C98 335 114 362 134 380C139 385 163 402 177 402C184 402 189 398 189 388C189 380 187 369 184 358C183 356 86 105 85 102C84 97 83 90 83 84C83 23 139-8 201-8', sk: -.012 }],
4
+ 0x237: [.451, .201, .439, { p: '297 373C297 365 296 355 294 345C292 332 195-54 193-60C179-101 154-134 127-146C121-149 110-151 104-151L100-151C112-136 123-120 123-95C123-64 100-43 68-43C21-43-12-85-12-125C-12-136-10-146-5-155C11-185 45-201 99-201C125-201 137-200 163-194C183-188 195-184 214-175C265-150 302-112 317-69C319-65 343 28 370 138L420 339L420 354C420 366 420 370 418 376C404 425 353 451 279 451L267 451C209 440 166 411 132 369C115 347 94 309 92 298C92 292 94 287 99 284C103 282 104 282 123 282L129 282C149 282 149 283 158 302C171 328 181 343 200 363C224 386 249 399 276 401C294 401 297 393 297 373', sk: .063 }],
5
+ 0x2044: [.711, .21, .894, { p: '189-210C197-210 205-207 211-201C215-197 721 649 730 667C733 672 733 673 733 681C733 699 720 711 704 711C693 711 683 705 679 698C675 692 166-160 162-166C160-171 160-173 160-179C160-195 172-210 189-210' }],
6
+ 0x2206: [.711, 0, .958, { p: '65 0L479 0L894 1C899 4 904 9 904 14C904 16 709 666 700 693C699 696 697 700 694 703C687 710 684 711 656 711C643 711 631 710 629 710C623 708 613 703 608 698C603 694 64 21 61 16C60 14 59 11 59 9C59 5 63 2 65 0ZM630 342C665 228 693 134 693 133L462 133L232 134L567 551' }],
7
+ 0x29F8: [.711, .21, .894, { p: '189-210C197-210 205-207 211-201C215-197 721 649 730 667C733 672 733 673 733 681C733 699 720 711 704 711C693 711 683 705 679 698C675 692 166-160 162-166C160-171 160-173 160-179C160-195 172-210 189-210' }]
8
+ };
9
+ //# sourceMappingURL=bold-italic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bold-italic.js","sourceRoot":"","sources":["../../ts/svg/bold-italic.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,IAAI,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yMAAyM,EAAC,CAAC;IACvO,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,0iBAA0iB,EAAE,EAAE,EAAE,CAAC,IAAI,EAAC,CAAC;IACrlB,KAAK,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,+jBAA+jB,EAAE,EAAE,EAAE,IAAI,EAAC,CAAC;IACzmB,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yMAAyM,EAAC,CAAC;IACzO,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yQAAyQ,EAAC,CAAC;IACvS,MAAM,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,EAAC,CAAC,EAAE,yMAAyM,EAAC,CAAC;CAC1O,CAAC"}
@@ -0,0 +1,2 @@
1
+ import { CharMap, SvgCharOptions } from 'mathjax-full/mjs/output/svg/FontData.js';
2
+ export declare const bold: CharMap<SvgCharOptions>;