fontdata.js 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/Neo-Euler/fontdata.js
  4. *
  5. * Initializes the HTML-CSS OutputJax to use the Neo-Euler 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 (HTMLCSS,MML,AJAX) {
  21. var VERSION = "2.7.2";
  22. var ALPHABETS = "NeoEulerMathJax_Alphabets",
  23. ARROWS = "NeoEulerMathJax_Arrows",
  24. FRAKTUR = "NeoEulerMathJax_Fraktur",
  25. MAIN = "NeoEulerMathJax_Main",
  26. MARKS = "NeoEulerMathJax_Marks",
  27. NONUNICODE = "NeoEulerMathJax_NonUnicode",
  28. NORMAL = "NeoEulerMathJax_Normal",
  29. OPERATORS = "NeoEulerMathJax_Operators",
  30. SCRIPT = "NeoEulerMathJax_Script",
  31. SHAPES = "NeoEulerMathJax_Shapes",
  32. SIZE1 = "NeoEulerMathJax_Size1",
  33. SIZE2 = "NeoEulerMathJax_Size2",
  34. SIZE3 = "NeoEulerMathJax_Size3",
  35. SIZE4 = "NeoEulerMathJax_Size4",
  36. SIZE5 = "NeoEulerMathJax_Size5",
  37. SYMBOLS = "NeoEulerMathJax_Symbols",
  38. VARIANTS = "NeoEulerMathJax_Variants",
  39. DOUBLESTRUCK = "NeoEulerMathJax_Normal",
  40. SANSSERIF = "NeoEulerMathJax_Normal",
  41. MONOSPACE = "NeoEulerMathJax_Normal";
  42. var H = "H", V = "V", EXTRAH = {load:"extra", dir:H}, EXTRAV = {load:"extra", dir:V};
  43. HTMLCSS.Augment({
  44. FONTDATA: {
  45. version: VERSION,
  46. TeX_factor: 0.958,
  47. baselineskip: 1.200,
  48. lineH: 0.800, lineD: 0.200,
  49. hasStyleChar: true, // char 0xEFFD encodes font style
  50. FONTS: {
  51. "NeoEulerMathJax_Alphabets": "Alphabets/Regular/Main.js",
  52. "NeoEulerMathJax_Arrows": "Arrows/Regular/Main.js",
  53. "NeoEulerMathJax_Fraktur": "Fraktur/Regular/Main.js",
  54. "NeoEulerMathJax_Main": "Main/Regular/Main.js",
  55. "NeoEulerMathJax_Marks": "Marks/Regular/Main.js",
  56. "NeoEulerMathJax_NonUnicode": "NonUnicode/Regular/Main.js",
  57. "NeoEulerMathJax_Normal": "Normal/Regular/Main.js",
  58. "NeoEulerMathJax_Operators": "Operators/Regular/Main.js",
  59. "NeoEulerMathJax_Script": "Script/Regular/Main.js",
  60. "NeoEulerMathJax_Shapes": "Shapes/Regular/Main.js",
  61. "NeoEulerMathJax_Size1": "Size1/Regular/Main.js",
  62. "NeoEulerMathJax_Size2": "Size2/Regular/Main.js",
  63. "NeoEulerMathJax_Size3": "Size3/Regular/Main.js",
  64. "NeoEulerMathJax_Size4": "Size4/Regular/Main.js",
  65. "NeoEulerMathJax_Size5": "Size5/Regular/Main.js",
  66. "NeoEulerMathJax_Symbols": "Symbols/Regular/Main.js",
  67. "NeoEulerMathJax_Variants": "Variants/Regular/Main.js"
  68. },
  69. VARIANT: {
  70. "normal": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1]},
  71. "bold": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], bold:true
  72. , offsetA: 0x1D400, offsetG: 0x1D6A8, offsetN: 0x1D7CE},
  73. "italic": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic:true},
  74. "bold-italic": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], bold: true, italic:true},
  75. "double-struck": {
  76. fonts: [DOUBLESTRUCK],
  77. offsetA: 0x1D538,
  78. offsetN: 0x1D7D8,
  79. remap: {0x1D53A: 0x2102, 0x1D53F: 0x210D, 0x1D545: 0x2115, 0x1D547: 0x2119, 0x1D548: 0x211A, 0x1D549: 0x211D, 0x1D551: 0x2124}
  80. },
  81. "fraktur": {
  82. fonts: [FRAKTUR],
  83. offsetA: 0x1D504,
  84. remap: {0x1D506: 0x212D, 0x1D50B: 0x210C, 0x1D50C: 0x2111, 0x1D515: 0x211C, 0x1D51D: 0x2128}
  85. },
  86. "bold-fraktur": {
  87. fonts: [FRAKTUR], bold:true,
  88. offsetA: 0x1D56C
  89. },
  90. "script": {
  91. fonts: [SCRIPT], italic:true,
  92. offsetA: 0x1D49C,
  93. remap: {0x1D49D: 0x212C, 0x1D4A0: 0x2130, 0x1D4A1: 0x2131, 0x1D4A3: 0x210B, 0x1D4A4: 0x2110, 0x1D4A7: 0x2112, 0x1D4A8: 0x2133, 0x1D4AD: 0x211B, 0x1D4BA: 0x212F, 0x1D4BC: 0x210A, 0x1D4C4: 0x2134}
  94. },
  95. "bold-script": {
  96. fonts: [SCRIPT], bold:true, italic:true,
  97. offsetA: 0x1D4D0
  98. },
  99. "sans-serif": {
  100. fonts: [SANSSERIF],
  101. offsetA: 0x1D5A0,
  102. offsetN: 0x1D7E2
  103. },
  104. "bold-sans-serif": {
  105. fonts: [SANSSERIF], bold:true,
  106. offsetA: 0x1D5D4,
  107. offsetN: 0x1D7EC,
  108. offsetG: 0x1D756
  109. },
  110. "sans-serif-italic": {
  111. fonts: [SANSSERIF], italic: true,
  112. offsetA: 0x1D608
  113. },
  114. "sans-serif-bold-italic": {
  115. fonts: [SANSSERIF], bold:true, italic: true,
  116. offsetA: 0x1D63C,
  117. offsetG: 0x1D790
  118. },
  119. "monospace": {
  120. fonts: [MONOSPACE],
  121. offsetA: 0x1D670,
  122. offsetN: 0x1D7F6
  123. },
  124. "-Neo-Euler-variant": {fonts: [VARIANTS,MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,NONUNICODE,SIZE1]},
  125. "-tex-caligraphic": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic: true},
  126. "-tex-oldstyle": {offsetN: 0xE200, fonts: [VARIANTS,MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,NONUNICODE,SIZE1]},
  127. "-tex-caligraphic-bold": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic: true, bold: true},
  128. "-tex-oldstyle-bold": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], bold: true},
  129. "-tex-mathit": {fonts: [MAIN,NORMAL,ALPHABETS,MARKS,ARROWS,OPERATORS,SYMBOLS,SHAPES,VARIANTS,NONUNICODE,SIZE1], italic:true, noIC:true},
  130. "-largeOp": {fonts:[SIZE1,MAIN]},
  131. "-smallOp": {}
  132. },
  133. RANGES: [
  134. {name: "alpha", low: 0x61, high: 0x7A, offset: "A", add: 26},
  135. {name: "Alpha", low: 0x41, high: 0x5A, offset: "A"},
  136. {name: "number", low: 0x30, high: 0x39, offset: "N"},
  137. {name: "greek", low: 0x03B1, high: 0x03C9, offset: "G", add: 26},
  138. {name: "Greek", low: 0x0391, high: 0x03F6, offset: "G",
  139. remap: {0x03F5: 52, 0x03D1: 53, 0x03F0: 54, 0x03D5: 55, 0x03F1: 56, 0x03D6: 57, 0x03F4: 17}}
  140. ],
  141. RULECHAR: 0x2212,
  142. REMAP: {
  143. 0xA: 0x20,
  144. 0x20F0: 0x002A,
  145. 0x2022: 0x2219,
  146. 0x22E3: "\u2292\u0338",
  147. 0x22E2: "\u2291\u0338",
  148. 0x3008: 0x27E8,
  149. 0x02C9: 0x00AF,
  150. 0x2017: 0x005F,
  151. 0x20EC: 0x21C1,
  152. 0x20ED: 0x21BD,
  153. 0x2A2F: 0x00D7,
  154. 0x20D0: 0x21BC,
  155. 0x20D1: 0x21C0,
  156. 0x03D2: 0x03A5,
  157. 0x2014: 0x00AF,
  158. 0x2015: 0x00AF,
  159. 0x3009: 0x27E9,
  160. 0xFE37: 0x23DE,
  161. 0xFE38: 0x23DF,
  162. 0x02B9: 0x2032,
  163. 0x2758: 0x2223,
  164. 0x203E: 0x00AF
  165. },
  166. REMAPACCENT: {
  167. "\u007E": "\u0303",
  168. "\u2192": "\u20D7",
  169. "\u0060": "\u0300",
  170. "\u005E": "\u0302",
  171. "\u00B4": "\u0301",
  172. "\u2032": "\u0301",
  173. "\u2035": "\u0300"
  174. },
  175. REMAPACCENTUNDER: {
  176. },
  177. DELIMITERS: {
  178. 0x28:
  179. {
  180. dir: V,
  181. HW: [[0.925,MAIN], [1.198,SIZE1], [1.798,SIZE2], [1.961,SIZE2,1.091], [2.398,SIZE3], [2.998,SIZE4]],
  182. stretch: {bot:[0x239D,SYMBOLS], ext:[0x239C,SYMBOLS], top:[0x239B,SYMBOLS]}
  183. },
  184. 0x29:
  185. {
  186. dir: V,
  187. HW: [[0.925,MAIN], [1.198,SIZE1], [1.798,SIZE2], [1.961,SIZE2,1.091], [2.398,SIZE3], [2.998,SIZE4]],
  188. stretch: {bot:[0x23A0,SYMBOLS], ext:[0x239F,SYMBOLS], top:[0x239E,SYMBOLS]}
  189. },
  190. 0x2D: {alias: 0xAF, dir: H},
  191. 0x2F:
  192. {
  193. dir: V,
  194. HW: [[0.912,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]]
  195. },
  196. 0x3D:
  197. {
  198. dir: H,
  199. HW: [[0.668,MAIN]],
  200. stretch: {rep:[0x3D,MAIN]}
  201. },
  202. 0x5B:
  203. {
  204. dir: V,
  205. HW: [[0.866,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  206. stretch: {bot:[0x23A3,SYMBOLS], ext:[0x23A2,SYMBOLS], top:[0x23A1,SYMBOLS]}
  207. },
  208. 0x5C:
  209. {
  210. dir: V,
  211. HW: [[0.914,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]]
  212. },
  213. 0x5D:
  214. {
  215. dir: V,
  216. HW: [[0.866,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  217. stretch: {bot:[0x23A6,SYMBOLS], ext:[0x23A5,SYMBOLS], top:[0x23A4,SYMBOLS]}
  218. },
  219. 0x5F: {alias: 0xAF, dir: H},
  220. 0x7B:
  221. {
  222. dir: V,
  223. HW: [[0.908,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  224. stretch: {bot:[0x23A9,SYMBOLS], ext:[0x23AA,SYMBOLS], mid:[0x23A8,SYMBOLS], top:[0x23A7,SYMBOLS]}
  225. },
  226. 0x7C:
  227. {
  228. dir: V,
  229. HW: [[0.905,MAIN], [1.505,SIZE1], [2.105,SIZE2], [2.706,SIZE3], [3.306,SIZE4]],
  230. stretch: {bot:[0xE000,SIZE5], ext:[0xE001,SIZE5]}
  231. },
  232. 0x7D:
  233. {
  234. dir: V,
  235. HW: [[0.908,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  236. stretch: {bot:[0x23AD,SYMBOLS], ext:[0x23AA,SYMBOLS], mid:[0x23AC,SYMBOLS], top:[0x23AB,SYMBOLS]}
  237. },
  238. 0xAF:
  239. {
  240. dir: H,
  241. HW: [[0.312,MAIN]],
  242. stretch: {rep:[0xAF,MAIN]}
  243. },
  244. 0xC9: {alias: 0xAF, dir: H},
  245. 0x332: {alias: 0xAF, dir: H},
  246. 0x2015: {alias: 0xAF, dir: H},
  247. 0x2016:
  248. {
  249. dir: V,
  250. HW: [[0.905,MAIN], [1.505,SIZE1], [2.105,SIZE2], [2.706,SIZE3], [3.306,SIZE4]],
  251. stretch: {bot:[0xE002,SIZE5], ext:[0xE003,SIZE5]}
  252. },
  253. 0x2017: {alias: 0xAF, dir: H},
  254. 0x203E: {alias: 0xAF, dir: H},
  255. 0x2044: EXTRAV,
  256. 0x20D6:
  257. {
  258. dir: H,
  259. HW: [[0.418,MARKS]],
  260. stretch: {left:[0x20D6,MARKS], rep:[0xE004,SIZE5]}
  261. },
  262. 0x20D7:
  263. {
  264. dir: H,
  265. HW: [[0.418,MAIN]],
  266. stretch: {rep:[0xE004,SIZE5], right:[0x20D7,MAIN]}
  267. },
  268. 0x20E1: EXTRAH,
  269. 0x20EE: EXTRAH,
  270. 0x20EF: EXTRAH,
  271. 0x2190: {alias: 0x20D6, dir: H},
  272. 0x2191:
  273. {
  274. dir: V,
  275. HW: [[0.887,MAIN]],
  276. stretch: {top:[0x2191,MAIN], ext:[0x7C,MAIN]}
  277. },
  278. 0x2192: {alias: 0x20D7, dir: H},
  279. 0x2193:
  280. {
  281. dir: V,
  282. HW: [[0.867,MAIN]],
  283. stretch: {ext:[0x7C,MAIN], bot:[0x2193,MAIN]}
  284. },
  285. 0x2194: {alias: 0x20E1, dir: H},
  286. 0x2195:
  287. {
  288. dir: V,
  289. HW: [[1.042,MAIN]],
  290. stretch: {top:[0x2191,MAIN], ext:[0x7C,MAIN], bot:[0x2193,MAIN]}
  291. },
  292. 0x21D0:
  293. {
  294. dir: H,
  295. HW: [[0.867,MAIN], [1.567,SIZE1]]
  296. },
  297. 0x21D1:
  298. {
  299. dir: H,
  300. HW: [[0.640,MAIN]],
  301. stretch: {top:[0x21D1,MAIN], ext:[0x2016,MAIN]}
  302. },
  303. 0x21D2:
  304. {
  305. dir: H,
  306. HW: [[0.867,MAIN], [1.567,SIZE1]]
  307. },
  308. 0x21D3:
  309. {
  310. dir: H,
  311. HW: [[0.640,MAIN]],
  312. stretch: {ext:[0x2016,MAIN], bot:[0x21D3,MAIN]}
  313. },
  314. 0x21D4:
  315. {
  316. dir: H,
  317. HW: [[0.867,MAIN,null,0x21D0], [1.632,SIZE1]]
  318. },
  319. 0x21D5:
  320. {
  321. dir: H,
  322. HW: [[0.640,MAIN]],
  323. stretch: {top:[0x21D1,MAIN], ext:[0x2016,MAIN], bot:[0x21D3,MAIN]}
  324. },
  325. 0x220F: EXTRAV,
  326. 0x2210: EXTRAV,
  327. 0x2211: EXTRAV,
  328. 0x2212: {
  329. dir: H,
  330. HW: [],
  331. stretch: {rep:[0x2212,MAIN,0,0,0,-.31,-.31]}
  332. },
  333. 0x2215:
  334. {
  335. dir: V,
  336. HW: [[0.912,MAIN], [1.199,SIZE1], [1.799,SIZE2], [2.399,SIZE3], [2.999,SIZE4]]
  337. },
  338. 0x221A:
  339. {
  340. dir: V,
  341. HW: [[0.989,MAIN], [1.209,SIZE1], [1.801,SIZE2], [2.403,SIZE3], [3.003,SIZE4]],
  342. stretch: {bot:[0xE006,SIZE5], ext:[0xE007,SIZE5], top:[0xE008,SIZE5]}
  343. },
  344. 0x2223:
  345. {
  346. dir: V,
  347. HW: [[0.795,MAIN], [1.505,SIZE1], [2.105,SIZE2], [2.706,SIZE3], [3.306,SIZE4]]
  348. },
  349. 0x2225:
  350. {
  351. dir: V,
  352. HW: [[0.905,MAIN], [0.905,SIZE1], [1.505,SIZE2], [2.105,SIZE3], [2.706,SIZE4], [3.306,SIZE5]],
  353. stretch: {bot:[0xE002,SIZE5], ext:[0xE003,SIZE5]}
  354. },
  355. 0x2227: EXTRAV,
  356. 0x2228: EXTRAV,
  357. 0x2229: EXTRAV,
  358. 0x222A: EXTRAV,
  359. 0x222B: EXTRAV,
  360. 0x222C: EXTRAV,
  361. 0x222D: EXTRAV,
  362. 0x222E: EXTRAV,
  363. 0x228E: EXTRAV,
  364. 0x22C0: EXTRAV,
  365. 0x22C1: EXTRAV,
  366. 0x22C2: EXTRAV,
  367. 0x22C3: EXTRAV,
  368. 0x2308:
  369. {
  370. dir: V,
  371. HW: [[0.980,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  372. stretch: {ext:[0x23A2,SYMBOLS], top:[0x23A1,SYMBOLS]}
  373. },
  374. 0x2309:
  375. {
  376. dir: V,
  377. HW: [[0.980,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  378. stretch: {ext:[0x23A5,SYMBOLS], top:[0x23A4,SYMBOLS]}
  379. },
  380. 0x230A:
  381. {
  382. dir: V,
  383. HW: [[0.980,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  384. stretch: {bot:[0x23A3,SYMBOLS], ext:[0x23A2,SYMBOLS]}
  385. },
  386. 0x230B:
  387. {
  388. dir: V,
  389. HW: [[0.980,MAIN], [1.199,SIZE1], [1.799,SIZE2], [1.961,SIZE2,1.090], [2.399,SIZE3], [2.999,SIZE4]],
  390. stretch: {bot:[0x23A6,SYMBOLS], ext:[0x23A5,SYMBOLS]}
  391. },
  392. 0x2312: {alias: 0x23DC, dir:H},
  393. 0x2322: {alias: 0x23DC, dir:H},
  394. 0x2323: {alias: 0x23DD, dir:H},
  395. 0x2329:
  396. {
  397. dir: V,
  398. HW: [[0.974,SYMBOLS], [1.176,SIZE1], [1.770,SIZE2], [2.366,SIZE3], [2.958,SIZE4]]
  399. },
  400. 0x232A:
  401. {
  402. dir: V,
  403. HW: [[0.974,SYMBOLS], [1.176,SIZE1], [1.770,SIZE2], [2.366,SIZE3], [2.958,SIZE4]]
  404. },
  405. 0x23AA:
  406. {
  407. dir: V,
  408. HW: [[0.320,SYMBOLS]],
  409. stretch: {ext:[0x23AA,SYMBOLS]}
  410. },
  411. 0x23AF: {alias: 0xAF, dir: H},
  412. 0x23B0:
  413. {
  414. dir: V,
  415. HW: [[0.909,SYMBOLS,null,0x23A7]],
  416. stretch: {top:[0x23A7,SYMBOLS], ext:[0x23AA,SYMBOLS], bot:[0x23AD,SYMBOLS]}
  417. },
  418. 0x23B1:
  419. {
  420. dir: V,
  421. HW: [[0.909,SYMBOLS,null,0x23AB]],
  422. stretch: {top:[0x23AB,SYMBOLS], ext:[0x23AA,SYMBOLS], bot:[0x23A9,SYMBOLS]}
  423. },
  424. 0x23D0:
  425. {
  426. dir: V,
  427. HW: [[0.905,MAIN,null,0x7C], [1.150,MAIN,1.271,0x7C], [1.556,MAIN,1.719,0x7C], [1.961,MAIN,2.167,0x7C], [2.367,MAIN,2.615,0x7C]],
  428. stretch: {ext:[0x7C,MAIN]}
  429. },
  430. 0x23DC: EXTRAH,
  431. 0x23DD: EXTRAH,
  432. 0x23DE:
  433. {
  434. dir: H,
  435. HW: [[0.908,MAIN], [1.199,SIZE1], [1.799,SIZE2], [2.399,SIZE3], [2.999,SIZE4]],
  436. stretch: {left:[0xE00F,SIZE5], rep:[0xE010,SIZE5], mid:[0xE011,SIZE5], right:[0xE012,SIZE5]}
  437. },
  438. 0x23DF:
  439. {
  440. dir: H,
  441. HW: [[0.908,MAIN], [1.199,SIZE1], [1.799,SIZE2], [2.399,SIZE3], [2.999,SIZE4]],
  442. stretch: {left:[0xE013,SIZE5], rep:[0xE014,SIZE5], mid:[0xE015,SIZE5], right:[0xE016,SIZE5]}
  443. },
  444. 0x2500: {alias: 0xAF, dir: H},
  445. 0x2758: {alias: 0x23D0, dir: V},
  446. 0x27E8:
  447. {
  448. dir: V,
  449. HW: [[0.974,MAIN], [0.974,SIZE1], [1.176,SIZE2], [1.770,SIZE3], [2.366,SIZE4], [2.958,SIZE5]]
  450. },
  451. 0x27E9:
  452. {
  453. dir: V,
  454. HW: [[0.974,MAIN], [0.974,SIZE1], [1.176,SIZE2], [1.770,SIZE3], [2.366,SIZE4], [2.958,SIZE5]]
  455. },
  456. 0x27EE: {alias: 0x28, dir: V},
  457. 0x27EF: {alias: 0x29, dir: V},
  458. 0x27F5: {alias: 0x20D6, dir: H},
  459. 0x27F6: {alias: 0x20D7, dir: H},
  460. 0x27F7: {alias: 0x20E1, dir: H},
  461. 0x27F8: {alias: 0x21D0, dir: H},
  462. 0x27F9: {alias: 0x21D2, dir: H},
  463. 0x27FA: {alias: 0x21D4, dir: H},
  464. 0x27FB: {alias: 0x20D6, dir: H},
  465. 0x27FC: {alias: 0x20D7, dir: H},
  466. 0x27FD: {alias: 0x21D0, dir: H},
  467. 0x27FE: {alias: 0x21D2, dir: H},
  468. 0x2A0C: EXTRAV,
  469. 0x3008: {alias: 0x27E8, dir: V},
  470. 0x3009: {alias: 0x27E9, dir: V},
  471. 0xFE37: {alias: 0x23DE, dir: H},
  472. 0xFE38: {alias: 0x23DF, dir: H}
  473. }
  474. }
  475. });
  476. MathJax.Hub.Register.LoadHook(HTMLCSS.fontDir+"/Main/Regular/Main.js",function () {
  477. HTMLCSS.FONTDATA.FONTS[MAIN][0x2212][0] = HTMLCSS.FONTDATA.FONTS[MAIN][0x002B][0]; // - needs height and depth of +
  478. HTMLCSS.FONTDATA.FONTS[MAIN][0x2212][1] = HTMLCSS.FONTDATA.FONTS[MAIN][0x002B][1]; // - needs height and depth of +
  479. });
  480. MathJax.Hub.Register.LoadHook(HTMLCSS.fontDir+"/Size5/Regular/Main.js",function () {
  481. var u;
  482. u = HTMLCSS.FONTDATA.DELIMITERS[0x23DE].stretch.rep[0];
  483. HTMLCSS.FONTDATA.FONTS[SIZE5][u][0] += 200; // adjust height for brace extender
  484. HTMLCSS.FONTDATA.FONTS[SIZE5][u][1] += 200; // adjust depth for brace extender
  485. u = HTMLCSS.FONTDATA.DELIMITERS[0x23DF].stretch.rep[0];
  486. HTMLCSS.FONTDATA.FONTS[SIZE5][u][0] += 200; // adjust height for brace extender
  487. HTMLCSS.FONTDATA.FONTS[SIZE5][u][1] += 200; // adjust depth for brace extender
  488. });
  489. AJAX.loadComplete(HTMLCSS.fontDir + "/fontdata.js");
  490. })(MathJax.OutputJax["HTML-CSS"],MathJax.ElementJax.mml,MathJax.Ajax);