fontdata.js 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/SVG/fonts/Asana-Math/fontdata.js
  4. *
  5. * Initializes the SVG OutputJax to use the Asana-Math fonts
  6. * Copyright (c) 2013-2017 The MathJax Consortium
  7. *
  8. * Licensed under the Apache License, Version 2.0 (the "License");
  9. * you may not use this file except in compliance with the License.
  10. * You may obtain a copy of the License at
  11. *
  12. * http://www.apache.org/licenses/LICENSE-2.0
  13. *
  14. * Unless required by applicable law or agreed to in writing, software
  15. * distributed under the License is distributed on an "AS IS" BASIS,
  16. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  17. * See the License for the specific language governing permissions and
  18. * limitations under the License.
  19. */
  20. (function (SVG,MML,AJAX,HUB) {
  21. var VERSION = "2.7.2";
  22. var ALPHABETS = "AsanaMathJax_Alphabets",
  23. ARROWS = "AsanaMathJax_Arrows",
  24. DOUBLESTRUCK = "AsanaMathJax_DoubleStruck",
  25. FRAKTUR = "AsanaMathJax_Fraktur",
  26. LATIN = "AsanaMathJax_Latin",
  27. MAIN = "AsanaMathJax_Main",
  28. MARKS = "AsanaMathJax_Marks",
  29. MISC = "AsanaMathJax_Misc",
  30. MONOSPACE = "AsanaMathJax_Monospace",
  31. NONUNICODE = "AsanaMathJax_NonUnicode",
  32. NORMAL = "AsanaMathJax_Normal",
  33. OPERATORS = "AsanaMathJax_Operators",
  34. SANSSERIF = "AsanaMathJax_SansSerif",
  35. SCRIPT = "AsanaMathJax_Script",
  36. SHAPES = "AsanaMathJax_Shapes",
  37. SIZE1 = "AsanaMathJax_Size1",
  38. SIZE2 = "AsanaMathJax_Size2",
  39. SIZE3 = "AsanaMathJax_Size3",
  40. SIZE4 = "AsanaMathJax_Size4",
  41. SIZE5 = "AsanaMathJax_Size5",
  42. SIZE6 = "AsanaMathJax_Size6",
  43. SYMBOLS = "AsanaMathJax_Symbols",
  44. VARIANTS = "AsanaMathJax_Variants";
  45. var H = "H", V = "V", EXTRAH = {load:"extra", dir:H}, EXTRAV = {load:"extra", dir:V};
  46. SVG.Augment({
  47. FONTDATA: {
  48. version: VERSION,
  49. baselineskip: 1200,
  50. lineH: 800, lineD: 200,
  51. FONTS: {
  52. "AsanaMathJax_Alphabets": "Alphabets/Regular/Main.js",
  53. "AsanaMathJax_Arrows": "Arrows/Regular/Main.js",
  54. "AsanaMathJax_DoubleStruck": "DoubleStruck/Regular/Main.js",
  55. "AsanaMathJax_Fraktur": "Fraktur/Regular/Main.js",
  56. "AsanaMathJax_Latin": "Latin/Regular/Main.js",
  57. "AsanaMathJax_Main": "Main/Regular/Main.js",
  58. "AsanaMathJax_Marks": "Marks/Regular/Main.js",
  59. "AsanaMathJax_Misc": "Misc/Regular/Main.js",
  60. "AsanaMathJax_Monospace": "Monospace/Regular/Main.js",
  61. "AsanaMathJax_NonUnicode": "NonUnicode/Regular/Main.js",
  62. "AsanaMathJax_Normal": "Normal/Regular/Main.js",
  63. "AsanaMathJax_Operators": "Operators/Regular/Main.js",
  64. "AsanaMathJax_SansSerif": "SansSerif/Regular/Main.js",
  65. "AsanaMathJax_Script": "Script/Regular/Main.js",
  66. "AsanaMathJax_Shapes": "Shapes/Regular/Main.js",
  67. "AsanaMathJax_Size1": "Size1/Regular/Main.js",
  68. "AsanaMathJax_Size2": "Size2/Regular/Main.js",
  69. "AsanaMathJax_Size3": "Size3/Regular/Main.js",
  70. "AsanaMathJax_Size4": "Size4/Regular/Main.js",
  71. "AsanaMathJax_Size5": "Size5/Regular/Main.js",
  72. "AsanaMathJax_Size6": "Size6/Regular/Main.js",
  73. "AsanaMathJax_Symbols": "Symbols/Regular/Main.js",
  74. "AsanaMathJax_Variants": "Variants/Regular/Main.js"
  75. },
  76. VARIANT: {
  77. "normal": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1]},
  78. "bold": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1], bold:true
  79. , offsetA: 0x1D400, offsetG: 0x1D6A8, offsetN: 0x1D7CE},
  80. "italic": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1], italic:true, offsetA: 0x1D434, offsetG: 0x1D6E2, remap: {0x1D455: 0x210E}},
  81. "bold-italic": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1], bold: true, italic:true, offsetA: 0x1D468, offsetG: 0x1D71C},
  82. "double-struck": {
  83. fonts: [DOUBLESTRUCK],
  84. offsetA: 0x1D538,
  85. offsetN: 0x1D7D8,
  86. remap: {0x1D53A: 0x2102, 0x1D53F: 0x210D, 0x1D545: 0x2115, 0x1D547: 0x2119, 0x1D548: 0x211A, 0x1D549: 0x211D, 0x1D551: 0x2124}
  87. },
  88. "fraktur": {
  89. fonts: [FRAKTUR],
  90. offsetA: 0x1D504,
  91. remap: {0x1D506: 0x212D, 0x1D50B: 0x210C, 0x1D50C: 0x2111, 0x1D515: 0x211C, 0x1D51D: 0x2128}
  92. },
  93. "bold-fraktur": {
  94. fonts: [FRAKTUR], bold:true,
  95. offsetA: 0x1D56C
  96. },
  97. "script": {
  98. fonts: [SCRIPT], italic:true,
  99. offsetA: 0x1D49C,
  100. remap: {0x1D49D: 0x212C, 0x1D4A0: 0x2130, 0x1D4A1: 0x2131, 0x1D4A3: 0x210B, 0x1D4A4: 0x2110, 0x1D4A7: 0x2112, 0x1D4A8: 0x2133, 0x1D4AD: 0x211B, 0x1D4BA: 0x212F, 0x1D4BC: 0x210A, 0x1D4C4: 0x2134}
  101. },
  102. "bold-script": {
  103. fonts: [SCRIPT], bold:true, italic:true,
  104. offsetA: 0x1D4D0
  105. },
  106. "sans-serif": {
  107. fonts: [SANSSERIF],
  108. offsetA: 0x1D5A0,
  109. offsetN: 0x1D7E2
  110. },
  111. "bold-sans-serif": {
  112. fonts: [SANSSERIF], bold:true,
  113. offsetA: 0x1D5D4,
  114. offsetN: 0x1D7EC,
  115. offsetG: 0x1D756
  116. },
  117. "sans-serif-italic": {
  118. fonts: [SANSSERIF], italic: true,
  119. offsetA: 0x1D608
  120. },
  121. "sans-serif-bold-italic": {
  122. fonts: [SANSSERIF], bold:true, italic: true,
  123. offsetA: 0x1D63C,
  124. offsetG: 0x1D790
  125. },
  126. "monospace": {
  127. fonts: [MONOSPACE],
  128. offsetA: 0x1D670,
  129. offsetN: 0x1D7F6
  130. },
  131. "-Asana-Math-variant": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1]},
  132. "-tex-caligraphic": {offsetA: 0xE20A, noLowerCase: 1, fonts: [VARIANTS,MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,NONUNICODE,SIZE1], italic: true},
  133. "-tex-oldstyle": {offsetN: 0xE200, fonts: [VARIANTS,MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,NONUNICODE,SIZE1]},
  134. "-tex-caligraphic-bold": {offsetA: 0xE224, noLowerCase: 1, fonts: [VARIANTS,MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,NONUNICODE,SIZE1], italic: true, bold: true},
  135. "-tex-oldstyle-bold": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1], bold: true},
  136. "-tex-mathit": {fonts: [MAIN,NORMAL,MONOSPACE,LATIN,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,MISC,VARIANTS,NONUNICODE,SIZE1], italic:true, noIC:true},
  137. "-largeOp": {fonts:[SIZE1,MAIN]},
  138. "-smallOp": {}
  139. },
  140. RANGES: [
  141. {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 26},
  142. {name: "Alpha", low: 0x41, high: 0x5A, offset: "A"},
  143. {name: "number", low: 0x30, high: 0x39, offset: "N"},
  144. {name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 26},
  145. {name: "Greek", low: 0x0391, high: 0x03F6, offset: "G",
  146. remap: {0x03F5: 52, 0x03D1: 53, 0x03F0: 54, 0x03D5: 55, 0x03F1: 56, 0x03D6: 57, 0x03F4: 17}}
  147. ],
  148. RULECHAR: 0x2212,
  149. REMAP: {
  150. 0xA: 0x20,
  151. 0x25C2: 0x25C0,
  152. 0x25C3: 0x25C1,
  153. 0xFE38: 0x23DF,
  154. 0x3008: 0x27E8,
  155. 0x3009: 0x27E9,
  156. 0x25AA: 0x25A0,
  157. 0x00AF: 0x0304,
  158. 0x20F0: 0x002A,
  159. 0x2758: 0x2223,
  160. 0x03D2: 0x03A5,
  161. 0x25B4: 0x25B2,
  162. 0x25B5: 0x25B3,
  163. 0xFE37: 0x23DE,
  164. 0x25B8: 0x25B6,
  165. 0x02B9: 0x2032,
  166. 0x25BE: 0x25BC,
  167. 0x25BF: 0x25BD
  168. },
  169. REMAPACCENT: {
  170. "\u007E": "\u0303",
  171. "\u2192": "\u20D7",
  172. "\u0060": "\u0300",
  173. "\u005E": "\u0302",
  174. "\u00B4": "\u0301",
  175. "\u2032": "\u0301",
  176. "\u2035": "\u0300"
  177. },
  178. REMAPACCENTUNDER: {
  179. },
  180. DELIMITERS: {
  181. 0x28:
  182. {
  183. dir: V,
  184. HW: [[941,MAIN], [1471,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  185. stretch: {bot:[0x239D,SYMBOLS], ext:[0x239C,SYMBOLS], top:[0x239B,SYMBOLS]}
  186. },
  187. 0x29:
  188. {
  189. dir: V,
  190. HW: [[941,MAIN], [1471,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  191. stretch: {bot:[0x23A0,SYMBOLS], ext:[0x239F,SYMBOLS], top:[0x239E,SYMBOLS]}
  192. },
  193. 0x2D: {alias: 0x2212, dir: H},
  194. 0x2F: {alias: 0x2044, dir: H},
  195. 0x3D:
  196. {
  197. dir: H,
  198. HW: [[539,MAIN]],
  199. stretch: {rep:[0x3D,MAIN]}
  200. },
  201. 0x5B:
  202. {
  203. dir: V,
  204. HW: [[910,MAIN], [1476,SIZE1], [2045,SIZE2], [2556,SIZE3], [2615,SIZE3,1.023]],
  205. stretch: {bot:[0x23A3,SYMBOLS], ext:[0x23A2,SYMBOLS], top:[0x23A1,SYMBOLS]}
  206. },
  207. 0x5C:
  208. {
  209. dir: V,
  210. HW: [[883,MAIN], [1270,MAIN,1.439], [1719,MAIN,1.946], [2167,MAIN,2.454], [2615,MAIN,2.961]]
  211. },
  212. 0x5D:
  213. {
  214. dir: V,
  215. HW: [[910,MAIN], [1476,SIZE1], [2045,SIZE2], [2556,SIZE3], [2615,SIZE3,1.023]],
  216. stretch: {bot:[0x23A6,SYMBOLS], ext:[0x23A5,SYMBOLS], top:[0x23A4,SYMBOLS]}
  217. },
  218. 0x5E: {alias: 0x302, dir: H},
  219. 0x5F: {alias: 0x332, dir: H},
  220. 0x7B:
  221. {
  222. dir: V,
  223. HW: [[901,MAIN], [1471,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  224. stretch: {bot:[0x23A9,SYMBOLS], ext:[0x23AA,SYMBOLS], mid:[0x23A8,SYMBOLS], top:[0x23A7,SYMBOLS]}
  225. },
  226. 0x7C:
  227. {
  228. dir: V,
  229. HW: [[885,MAIN], [1275,SIZE1], [1555,SIZE2], [1897,SIZE3], [2315,SIZE4], [2712,SIZE5], [3177,SIZE6]],
  230. stretch: {ext:[0xE000,SIZE6], top:[0xE000,SIZE6]}
  231. },
  232. 0x7D:
  233. {
  234. dir: V,
  235. HW: [[901,MAIN], [1471,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  236. stretch: {bot:[0x23AD,SYMBOLS], ext:[0x23AA,SYMBOLS], mid:[0x23AC,SYMBOLS], top:[0x23AB,SYMBOLS]}
  237. },
  238. 0x7E: {alias: 0x303, dir: H},
  239. 0xAF: {alias: 0x2212, dir: H},
  240. 0x2C6: {alias: 0x302, dir: H},
  241. 0x2C9: {alias: 0x2212, dir: H},
  242. 0x2DC: {alias: 0x303, dir: H},
  243. 0x302:
  244. {
  245. dir: H,
  246. HW: [[312,MAIN], [453,SIZE1], [633,SIZE2], [1055,SIZE3], [2017,SIZE4], [3026,SIZE5]]
  247. },
  248. 0x303:
  249. {
  250. dir: H,
  251. HW: [[330,MAIN], [701,SIZE1], [1053,SIZE2], [1403,SIZE3], [1865,SIZE4], [2797,SIZE5]]
  252. },
  253. 0x305:
  254. {
  255. dir: H,
  256. HW: [[433,MARKS], [511,SIZE1], [675,SIZE2], [1127,SIZE3]],
  257. stretch: {rep:[0xE001,SIZE6], right:[0xE001,SIZE6]}
  258. },
  259. 0x306: EXTRAH,
  260. 0x30C:
  261. {
  262. dir: H,
  263. HW: [[312,MAIN], [737,SIZE1], [1105,SIZE2], [1474,SIZE3], [1960,SIZE4], [2940,SIZE5]]
  264. },
  265. 0x332:
  266. {
  267. dir: H,
  268. HW: [[433,MARKS], [511,SIZE1], [675,SIZE2], [1127,SIZE3]],
  269. stretch: {rep:[0xE002,SIZE6], right:[0xE002,SIZE6]}
  270. },
  271. 0x333: EXTRAH,
  272. 0x33F: EXTRAH,
  273. 0x2015: {alias: 0x2212, dir: H},
  274. 0x2016:
  275. {
  276. dir: V,
  277. HW: [[885,MAIN], [1275,SIZE1], [1555,SIZE2], [1897,SIZE3], [2315,SIZE4]],
  278. stretch: {ext:[0xE005,SIZE6], top:[0xE005,SIZE6]}
  279. },
  280. 0x2017: {alias: 0x2212, dir: H},
  281. 0x203E: {alias: 0x2212, dir: H},
  282. 0x2044:
  283. {
  284. dir: V,
  285. HW: [[837,MAIN], [1205,SIZE1], [1471,SIZE2], [1795,SIZE3], [2189,SIZE4], [2615,SIZE4,1.195]]
  286. },
  287. 0x2045: EXTRAV,
  288. 0x2046: EXTRAV,
  289. 0x20D0: EXTRAH,
  290. 0x20D1: EXTRAH,
  291. 0x20D6: EXTRAH,
  292. 0x20D7: EXTRAH,
  293. 0x20E1: EXTRAH,
  294. 0x20E9: EXTRAH,
  295. 0x20EE: EXTRAH,
  296. 0x20EF: EXTRAH,
  297. 0x2190:
  298. {
  299. dir: H,
  300. HW: [[884,MAIN]],
  301. stretch: {left:[0xE013,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE014,SIZE6]}
  302. },
  303. 0x2191:
  304. {
  305. dir: V,
  306. HW: [[885,MAIN]],
  307. stretch: {ext:[0xE015,SIZE6], top:[0x2191,MAIN]}
  308. },
  309. 0x2192:
  310. {
  311. dir: H,
  312. HW: [[884,MAIN]],
  313. stretch: {left:[0xE016,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE017,SIZE6]}
  314. },
  315. 0x2193:
  316. {
  317. dir: V,
  318. HW: [[885,MAIN]],
  319. stretch: {bot:[0x2193,MAIN], ext:[0xE015,SIZE6]}
  320. },
  321. 0x2194:
  322. {
  323. dir: H,
  324. HW: [[884,MAIN]],
  325. stretch: {left:[0xE013,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE017,SIZE6]}
  326. },
  327. 0x2195:
  328. {
  329. dir: V,
  330. HW: [[884,MAIN]],
  331. stretch: {top:[0x2191,MAIN], ext:[0xE015,SIZE6], bot:[0x2193,MAIN]}
  332. },
  333. 0x21A4:
  334. {
  335. dir: H,
  336. HW: [[942,ARROWS]],
  337. stretch: {left:[0xE013,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE018,SIZE6]}
  338. },
  339. 0x21A6:
  340. {
  341. dir: H,
  342. HW: [[942,MAIN]],
  343. stretch: {left:[0xE019,SIZE6], rep:[0x23AF,SYMBOLS], right:[0xE017,SIZE6]}
  344. },
  345. 0x21A9: EXTRAH,
  346. 0x21AA: EXTRAH,
  347. 0x21D0:
  348. {
  349. dir: H,
  350. HW: [[884,MAIN]],
  351. stretch: {left:[0xE01C,SIZE6], rep:[0xE01D,SIZE6], right:[0xE01E,SIZE6]}
  352. },
  353. 0x21D1:
  354. {
  355. dir: V,
  356. HW: [[885,MAIN]],
  357. stretch: {ext:[0xE01F,SIZE6], top:[0x21D1,MAIN]}
  358. },
  359. 0x21D2:
  360. {
  361. dir: H,
  362. HW: [[884,MAIN]],
  363. stretch: {left:[0xE020,SIZE6], rep:[0xE01D,SIZE6], right:[0xE021,SIZE6]}
  364. },
  365. 0x21D3:
  366. {
  367. dir: V,
  368. HW: [[885,MAIN]],
  369. stretch: {bot:[0x21D3,MAIN], ext:[0xE01F,SIZE6]}
  370. },
  371. 0x21D4:
  372. {
  373. dir: H,
  374. HW: [[895,MAIN]],
  375. stretch: {left:[0xE01C,SIZE6], rep:[0xE01D,SIZE6], right:[0xE021,SIZE6]}
  376. },
  377. 0x21D5:
  378. {
  379. dir: V,
  380. HW: [[884,MAIN,null,0x2195]],
  381. stretch: {top:[0x21D1,MAIN], ext:[0xE01F,SIZE6], bot:[0x21D3,MAIN]}
  382. },
  383. 0x220F:
  384. {
  385. dir: V,
  386. HW: [[937,OPERATORS], [1349,SIZE1], [1942,SIZE2], [2797,SIZE3]]
  387. },
  388. 0x2210: EXTRAV,
  389. 0x2211: EXTRAV,
  390. 0x2212: {
  391. dir: H, HW: [],
  392. stretch: {rep:[0x2212,MAIN,0,0,0,-.23,-.23]}
  393. },
  394. 0x2215: {alias: 0x2044, dir: V},
  395. 0x221A:
  396. {
  397. dir: V,
  398. HW: [[1138,MAIN], [1280,SIZE1], [1912,SIZE2], [2543,SIZE3], [3175,SIZE4]],
  399. stretch: {bot:[0x23B7,SYMBOLS], ext:[0x20D3,MARKS], top:[0xE022,SIZE6]}
  400. },
  401. 0x2223:
  402. {
  403. dir: V,
  404. HW: [[885,MAIN]],
  405. stretch: {ext:[0x2223,MAIN], top:[0x2223,MAIN]}
  406. },
  407. 0x2225:
  408. {
  409. dir: V,
  410. HW: [[885,MAIN]],
  411. stretch: {ext:[0x2225,MAIN], top:[0x2225,MAIN]}
  412. },
  413. 0x2229: EXTRAV,
  414. 0x222B: EXTRAV,
  415. 0x222C: EXTRAV,
  416. 0x222D: EXTRAV,
  417. 0x222E: EXTRAV,
  418. 0x222F: EXTRAV,
  419. 0x2230: EXTRAV,
  420. 0x2231: EXTRAV,
  421. 0x2232: EXTRAV,
  422. 0x2233: EXTRAV,
  423. 0x22C0: EXTRAV,
  424. 0x22C1: EXTRAV,
  425. 0x22C2: EXTRAV,
  426. 0x22C3: EXTRAV,
  427. 0x2308:
  428. {
  429. dir: V,
  430. HW: [[885,MAIN], [1470,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  431. stretch: {ext:[0x23A2,SYMBOLS], top:[0x23A1,SYMBOLS]}
  432. },
  433. 0x2309:
  434. {
  435. dir: V,
  436. HW: [[885,MAIN], [1470,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  437. stretch: {ext:[0x23A5,SYMBOLS], top:[0x23A4,SYMBOLS]}
  438. },
  439. 0x230A:
  440. {
  441. dir: V,
  442. HW: [[885,MAIN], [1470,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  443. stretch: {bot:[0x23A3,SYMBOLS], ext:[0x23A2,SYMBOLS]}
  444. },
  445. 0x230B:
  446. {
  447. dir: V,
  448. HW: [[885,MAIN], [1470,SIZE1], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]],
  449. stretch: {bot:[0x23A6,SYMBOLS], ext:[0x23A5,SYMBOLS]}
  450. },
  451. 0x2312: {alias: 0x23DC, dir:H},
  452. 0x2322: {alias: 0x23DC, dir:H},
  453. 0x2323: {alias: 0x23DD, dir:H},
  454. 0x2329: {alias: 0x27E8, dir: V},
  455. 0x232A: {alias: 0x27E9, dir: V},
  456. 0x23AA:
  457. {
  458. dir: V,
  459. HW: [[688,SYMBOLS]],
  460. stretch: {ext:[0x23AA,SYMBOLS]}
  461. },
  462. 0x23AF:
  463. {
  464. dir: H,
  465. HW: [[638,SYMBOLS]],
  466. stretch: {rep:[0x23AF,SYMBOLS]}
  467. },
  468. 0x23B0: {alias: 0x27C6, dir: V},
  469. 0x23B1: {alias: 0x27C5, dir: V},
  470. 0x23B4: EXTRAH,
  471. 0x23B5: EXTRAH,
  472. 0x23D0:
  473. {
  474. dir: V,
  475. HW: [[885,MAIN,null,0x7C], [1270,MAIN,1.435,0x7C], [1719,MAIN,1.942,0x7C], [2167,MAIN,2.448,0x7C], [2615,MAIN,2.955,0x7C]],
  476. stretch: {ext:[0x7C,MAIN]}
  477. },
  478. 0x23DC: EXTRAH,
  479. 0x23DD: EXTRAH,
  480. 0x23DE:
  481. {
  482. dir: H,
  483. HW: [[902,MAIN], [1471,SIZE1], [2041,SIZE2], [2552,SIZE3]],
  484. stretch: {left:[0xE026,SIZE6], rep:[0xE027,SIZE6], mid:[0xE02C,SIZE6], right:[0xE028,SIZE6]}
  485. },
  486. 0x23DF:
  487. {
  488. dir: H,
  489. HW: [[902,MAIN], [1471,SIZE1], [2041,SIZE2], [2552,SIZE3]],
  490. stretch: {left:[0xE029,SIZE6], rep:[0xE02A,SIZE6], mid:[0xE02D,SIZE6], right:[0xE02B,SIZE6]}
  491. },
  492. 0x23E0: EXTRAH,
  493. 0x23E1: EXTRAH,
  494. 0x2500: {alias: 0x2212, dir: H},
  495. 0x2758: {alias: 0x2223, dir: V},
  496. 0x27C5:
  497. {
  498. dir: V,
  499. HW: [[910,SYMBOLS], [1020,SIZE1], [1531,SIZE2], [2041,SIZE3], [2552,SIZE4], [3063,SIZE5]]
  500. },
  501. 0x27C6:
  502. {
  503. dir: V,
  504. HW: [[910,SYMBOLS], [1020,SIZE1], [1531,SIZE2], [2041,SIZE3], [2552,SIZE4], [3063,SIZE5]]
  505. },
  506. 0x27E6: EXTRAV,
  507. 0x27E7: EXTRAV,
  508. 0x27E8:
  509. {
  510. dir: V,
  511. HW: [[885,MAIN], [1020,SIZE1], [1270,SIZE1,1.244], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]]
  512. },
  513. 0x27E9:
  514. {
  515. dir: V,
  516. HW: [[885,MAIN], [1020,SIZE1], [1270,SIZE1,1.244], [2041,SIZE2], [2552,SIZE3], [2615,SIZE3,1.025]]
  517. },
  518. 0x27EA: EXTRAV,
  519. 0x27EB: EXTRAV,
  520. 0x27EE: {alias: 0x28, dir: V},
  521. 0x27EF: {alias: 0x29, dir: V},
  522. 0x27F5: {alias: 0x2190, dir: H},
  523. 0x27F6: {alias: 0x2192, dir: H},
  524. 0x27F7: {alias: 0x2194, dir: H},
  525. 0x27F8: {alias: 0x21D0, dir: H},
  526. 0x27F9: {alias: 0x21D2, dir: H},
  527. 0x27FA: {alias: 0x21D4, dir: H},
  528. 0x27FB: {alias: 0x21A4, dir: H},
  529. 0x27FC: {alias: 0x21A6, dir: H},
  530. 0x27FD: {alias: 0x2906, dir: H},
  531. 0x27FE: {alias: 0x2907, dir: H},
  532. 0x2906:
  533. {
  534. dir: H,
  535. HW: [[884,ARROWS]],
  536. stretch: {left:[0xE01C,SIZE6], rep:[0xE01D,SIZE6], right:[0xE02E,SIZE6]}
  537. },
  538. 0x2907:
  539. {
  540. dir: H,
  541. HW: [[884,ARROWS]],
  542. stretch: {left:[0xE02F,SIZE6], rep:[0xE01D,SIZE6], right:[0xE021,SIZE6]}
  543. },
  544. 0x29FC: EXTRAV,
  545. 0x29FD: EXTRAV,
  546. 0x2A00: EXTRAV,
  547. 0x2A01: EXTRAV,
  548. 0x2A02: EXTRAV,
  549. 0x2A03: EXTRAV,
  550. 0x2A04: EXTRAV,
  551. 0x2A05: EXTRAV,
  552. 0x2A06: EXTRAV,
  553. 0x2A07: EXTRAV,
  554. 0x2A08: EXTRAV,
  555. 0x2A09: EXTRAV,
  556. 0x2A0C: EXTRAV,
  557. 0x2A0D: EXTRAV,
  558. 0x2A0E: EXTRAV,
  559. 0x2A0F: EXTRAV,
  560. 0x2A10: EXTRAV,
  561. 0x2A11: EXTRAV,
  562. 0x2A12: EXTRAV,
  563. 0x2A13: EXTRAV,
  564. 0x2A14: EXTRAV,
  565. 0x2A15: EXTRAV,
  566. 0x2A16: EXTRAV,
  567. 0x2A17: EXTRAV,
  568. 0x2A18: EXTRAV,
  569. 0x2A19: EXTRAV,
  570. 0x2A1A: EXTRAV,
  571. 0x2A1B: EXTRAV,
  572. 0x2A1C: EXTRAV,
  573. 0x3008: {alias: 0x27E8, dir: V},
  574. 0x3009: {alias: 0x27E9, dir: V},
  575. 0xFE37: {alias: 0x23DE, dir: H},
  576. 0xFE38: {alias: 0x23DF, dir: H}
  577. }
  578. }
  579. });
  580. MathJax.Hub.Register.LoadHook(SVG.fontDir+"/Main/Regular/Main.js",function () {
  581. SVG.FONTDATA.FONTS[MAIN][0x2212][0] = SVG.FONTDATA.FONTS[MAIN][0x002B][0]; // - needs height and depth of +
  582. SVG.FONTDATA.FONTS[MAIN][0x2212][1] = SVG.FONTDATA.FONTS[MAIN][0x002B][1]; // - needs height and depth of +
  583. });
  584. MathJax.Hub.Register.LoadHook(SVG.fontDir+"/Size6/Regular/Main.js",function () {
  585. var u;
  586. u = SVG.FONTDATA.DELIMITERS[0x23DE].stretch.rep[0];
  587. SVG.FONTDATA.FONTS[SIZE6][u][0] += 100; // adjust height for brace extender
  588. SVG.FONTDATA.FONTS[SIZE6][u][1] += 100; // adjust depth for brace extender
  589. u = SVG.FONTDATA.DELIMITERS[0x23DF].stretch.rep[0];
  590. SVG.FONTDATA.FONTS[SIZE6][u][0] += 100; // adjust height for brace extender
  591. SVG.FONTDATA.FONTS[SIZE6][u][1] += 100; // adjust depth for brace extender
  592. });
  593. MathJax.Hub.Register.LoadHook(SVG.fontDir+"/Size1/Regular/Main.js",function () {
  594. var i;
  595. SVG.FONTDATA.FONTS[SIZE1][0x222B][2] -= 300;
  596. for (i = 0x222C; i <= 0x2233; i++) {SVG.FONTDATA.FONTS[SIZE1][i][2] -= 420}
  597. for (i = 0x2A0C; i <= 0x2A1C; i++) {SVG.FONTDATA.FONTS[SIZE1][i][2] -= 420}
  598. });
  599. AJAX.loadComplete(SVG.fontDir + "/fontdata.js");
  600. })(MathJax.OutputJax.SVG,MathJax.ElementJax.mml,MathJax.Ajax,MathJax.Hub);