Arrows.js 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/Main/Bold/Arrows.js
  4. *
  5. * Defines the image size data needed for the HTML-CSS OutputJax
  6. * to display mathematics using fallback images when the fonts
  7. * are not available to the client browser.
  8. *
  9. * ---------------------------------------------------------------------
  10. *
  11. * Copyright (c) 2009-2013 The MathJax Consortium
  12. *
  13. * Licensed under the Apache License, Version 2.0 (the "License");
  14. * you may not use this file except in compliance with the License.
  15. * You may obtain a copy of the
  16. *
  17. * http://www.apache.org/licenses/LICENSE-2.0
  18. *
  19. * Unless required by applicable law or agreed to in writing, software
  20. * distributed under the License is distributed on an "AS IS" BASIS,
  21. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  22. * See the License for the specific language governing permissions and
  23. * limitations under the License.
  24. *
  25. */
  26. MathJax.OutputJax["HTML-CSS"].defineImageData({
  27. "MathJax_Main-bold": {
  28. 0x2190: [ // LEFTWARDS ARROW
  29. [8,5,1],[9,5,0],[11,7,1],[13,7,1],[15,9,1],[18,10,1],[22,11,1],[26,13,1],
  30. [30,16,1],[36,18,1],[43,22,1],[51,25,1],[60,30,1],[72,36,2]
  31. ],
  32. 0x2191: [ // UPWARDS ARROW
  33. [5,7,2],[5,8,2],[6,9,2],[7,12,3],[9,13,3],[10,16,4],[11,18,4],[14,22,5],
  34. [16,26,6],[19,30,7],[22,36,8],[27,42,9],[31,50,11],[37,59,13]
  35. ],
  36. 0x2192: [ // RIGHTWARDS ARROW
  37. [8,5,1],[9,5,0],[11,7,1],[13,7,1],[15,9,1],[18,10,1],[22,11,1],[26,13,1],
  38. [30,16,1],[36,18,1],[43,22,1],[51,26,1],[60,30,1],[72,36,1]
  39. ],
  40. 0x2193: [ // DOWNWARDS ARROW
  41. [5,7,2],[5,8,2],[6,9,2],[7,12,3],[9,13,3],[10,16,4],[11,18,4],[14,22,5],
  42. [16,26,6],[19,30,7],[22,36,8],[27,43,10],[31,50,11],[38,59,13]
  43. ],
  44. 0x2194: [ // LEFT RIGHT ARROW
  45. [8,5,1],[9,5,0],[11,7,1],[13,7,1],[15,9,1],[18,10,1],[21,11,1],[26,13,1],
  46. [30,16,1],[36,18,1],[43,22,1],[51,25,1],[60,30,1],[71,36,2]
  47. ],
  48. 0x2195: [ // UP DOWN ARROW
  49. [5,8,2],[5,10,3],[6,11,3],[7,14,4],[9,15,4],[10,18,5],[11,21,6],[14,25,7],
  50. [16,30,8],[19,35,9],[22,42,11],[27,49,13],[31,58,15],[38,69,18]
  51. ],
  52. 0x2196: [ // NORTH WEST ARROW
  53. [8,7,2],[9,9,2],[11,10,2],[13,12,3],[15,13,3],[18,17,4],[21,19,4],[26,22,5],
  54. [30,26,6],[36,31,7],[43,37,8],[51,43,9],[60,51,11],[72,61,13]
  55. ],
  56. 0x2197: [ // NORTH EAST ARROW
  57. [8,8,2],[9,9,2],[11,10,2],[13,12,3],[15,13,3],[18,17,4],[22,19,4],[26,22,5],
  58. [30,26,6],[36,31,7],[43,37,8],[51,43,9],[60,52,11],[72,62,13]
  59. ],
  60. 0x2198: [ // SOUTH EAST ARROW
  61. [8,7,2],[9,9,3],[11,10,3],[13,12,3],[15,13,3],[18,16,4],[22,19,5],[26,23,6],
  62. [30,27,7],[36,31,8],[43,37,9],[51,44,11],[60,52,13],[72,61,15]
  63. ],
  64. 0x2199: [ // SOUTH WEST ARROW
  65. [8,7,2],[9,9,3],[11,10,3],[13,12,3],[15,13,3],[18,16,4],[22,19,5],[26,23,6],
  66. [30,26,6],[36,31,8],[43,37,9],[51,44,11],[60,52,13],[72,61,15]
  67. ],
  68. 0x21A6: [ // RIGHTWARDS ARROW FROM BAR
  69. [8,5,1],[9,5,0],[11,7,1],[13,7,1],[15,9,1],[18,9,0],[21,11,1],[26,14,1],
  70. [30,16,1],[36,18,1],[43,22,1],[51,26,1],[60,30,1],[71,36,1]
  71. ],
  72. 0x21A9: [ // LEFTWARDS ARROW WITH HOOK
  73. [9,5,1],[10,5,0],[12,7,1],[15,7,1],[17,9,1],[21,10,1],[24,11,1],[29,13,1],
  74. [34,16,1],[40,18,1],[48,22,1],[57,25,1],[68,30,1],[80,36,2]
  75. ],
  76. 0x21AA: [ // RIGHTWARDS ARROW WITH HOOK
  77. [9,5,1],[11,5,0],[12,7,1],[15,7,1],[17,9,1],[21,10,1],[24,11,1],[29,14,1],
  78. [34,16,1],[40,19,1],[48,22,1],[57,26,1],[68,30,1],[80,36,1]
  79. ],
  80. 0x21BC: [ // LEFTWARDS HARPOON WITH BARB UPWARDS
  81. [8,3,-1],[9,3,-2],[11,4,-2],[13,4,-2],[15,5,-3],[18,6,-3],[22,6,-4],[26,7,-5],
  82. [30,9,-6],[36,10,-7],[43,13,-8],[51,15,-10],[60,17,-12],[72,20,-14]
  83. ],
  84. 0x21BD: [ // LEFTWARDS HARPOON WITH BARB DOWNWARDS
  85. [8,3,1],[9,3,0],[11,4,1],[13,5,1],[15,5,1],[18,6,1],[22,7,1],[26,8,1],
  86. [30,9,1],[36,11,1],[43,12,1],[51,15,1],[60,18,2],[72,21,2]
  87. ],
  88. 0x21C0: [ // RIGHTWARDS HARPOON WITH BARB UPWARDS
  89. [8,3,-1],[9,3,-2],[11,4,-2],[13,4,-2],[15,5,-3],[18,6,-3],[22,6,-4],[26,7,-5],
  90. [30,9,-6],[36,10,-7],[43,13,-8],[51,15,-10],[60,17,-12],[72,20,-14]
  91. ],
  92. 0x21C1: [ // RIGHTWARDS HARPOON WITH BARB DOWNWARDS
  93. [8,3,1],[9,3,0],[11,4,1],[13,5,1],[15,5,1],[18,6,1],[22,7,1],[26,8,1],
  94. [30,9,1],[36,11,1],[43,12,1],[51,15,1],[60,18,2],[72,21,2]
  95. ],
  96. 0x21CC: [ // RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON
  97. [8,7,1],[9,6,0],[11,9,1],[13,10,1],[15,12,1],[18,13,1],[22,15,1],[26,18,1],
  98. [30,21,1],[36,25,1],[43,30,1],[51,35,1],[60,42,2],[72,50,2]
  99. ],
  100. 0x21D0: [ // LEFTWARDS DOUBLE ARROW
  101. [8,5,1],[9,6,1],[11,7,1],[13,8,1],[15,9,1],[18,11,1],[22,13,1],[26,15,2],
  102. [30,18,2],[36,21,2],[43,24,2],[51,29,3],[60,34,3],[72,41,4]
  103. ],
  104. 0x21D1: [ // UPWARDS DOUBLE ARROW
  105. [5,7,2],[6,8,2],[7,9,2],[8,12,3],[10,13,3],[12,16,4],[13,18,4],[16,22,5],
  106. [19,26,6],[22,30,7],[26,36,8],[32,42,9],[37,50,11],[44,59,13]
  107. ],
  108. 0x21D2: [ // RIGHTWARDS DOUBLE ARROW
  109. [8,5,1],[9,6,1],[11,7,1],[13,8,1],[15,9,1],[18,11,1],[22,12,1],[26,14,1],
  110. [30,18,2],[36,21,2],[43,24,2],[51,28,2],[60,34,3],[72,40,3]
  111. ],
  112. 0x21D3: [ // DOWNWARDS DOUBLE ARROW
  113. [5,7,2],[6,8,2],[7,9,2],[8,12,3],[10,13,3],[12,16,4],[14,18,4],[16,22,5],
  114. [19,26,6],[23,30,7],[27,36,8],[32,43,10],[38,50,11],[45,59,13]
  115. ],
  116. 0x21D4: [ // LEFT RIGHT DOUBLE ARROW
  117. [8,5,1],[10,6,1],[11,7,1],[13,8,1],[16,9,1],[19,11,1],[22,12,1],[26,15,2],
  118. [31,18,2],[37,21,2],[44,24,2],[52,29,3],[61,34,3],[73,41,4]
  119. ],
  120. 0x21D5: [ // UP DOWN DOUBLE ARROW
  121. [5,8,2],[6,10,3],[7,11,3],[8,13,4],[10,15,4],[11,18,5],[14,21,6],[16,25,7],
  122. [19,30,8],[22,35,9],[27,41,11],[32,49,13],[38,58,15],[45,69,18]
  123. ]
  124. }
  125. });
  126. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/Main/Bold"+
  127. MathJax.OutputJax["HTML-CSS"].imgPacked+"/Arrows.js");