Main.js 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/fonts/TeX/AMS/Regular/Main.js
  4. *
  5. * Copyright (c) 2009-2019 The MathJax Consortium
  6. *
  7. * Licensed under the Apache License, Version 2.0 (the "License");
  8. * you may not use this file except in compliance with the License.
  9. * You may obtain a copy of the License at
  10. *
  11. * http://www.apache.org/licenses/LICENSE-2.0
  12. *
  13. * Unless required by applicable law or agreed to in writing, software
  14. * distributed under the License is distributed on an "AS IS" BASIS,
  15. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. * See the License for the specific language governing permissions and
  17. * limitations under the License.
  18. *
  19. */
  20. MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_AMS'] = {
  21. directory: 'AMS/Regular',
  22. family: 'MathJax_AMS',
  23. testString: "MATHJAX AMS \u02C6",
  24. Ranges: [
  25. [0x0,0x7F,"BBBold"],
  26. [0x80,0xFF,"Latin1Supplement"],
  27. [0x100,0x17F,"LatinExtendedA"],
  28. [0x2B0,0x2FF,"SpacingModLetters"],
  29. [0x300,0x36F,"CombDiacritMarks"],
  30. [0x370,0x3FF,"GreekAndCoptic"],
  31. [0x2000,0x206F,"GeneralPunctuation"],
  32. [0x2100,0x214F,"LetterlikeSymbols"],
  33. [0x2190,0x21FF,"Arrows"],
  34. [0x2200,0x22FF,"MathOperators"],
  35. [0x2300,0x23FF,"MiscTechnical"],
  36. [0x2460,0x24FF,"EnclosedAlphanum"],
  37. [0x2500,0x257F,"BoxDrawing"],
  38. [0x25A0,0x25FF,"GeometricShapes"],
  39. [0x2600,0x26FF,"MiscSymbols"],
  40. [0x2700,0x27BF,"Dingbats"],
  41. [0x2980,0x29FF,"MiscMathSymbolsB"],
  42. [0x2A00,0x2AFF,"SuppMathOperators"],
  43. [0xE000,0xF8FF,"PUA"]
  44. ]
  45. };
  46. MathJax.Callback.Queue(
  47. ["initFont",MathJax.OutputJax["HTML-CSS"],"MathJax_AMS"],
  48. ["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/AMS/Regular/Main.js"]
  49. );