SupplementalArrowsB.js 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. /*************************************************************
  2. *
  3. * MathJax/jax/output/HTML-CSS/optable/SupplementalArrowsB.js
  4. *
  5. * Copyright (c) 2010-2013 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. (function (MML) {
  21. var MO = MML.mo.OPTYPES;
  22. var TEXCLASS = MML.TEXCLASS;
  23. MathJax.Hub.Insert(MML.mo.prototype,{
  24. OPTABLE: {
  25. infix: {
  26. '\u2900': MO.RELACCENT, // rightwards two-headed arrow with vertical stroke
  27. '\u2901': MO.RELACCENT, // rightwards two-headed arrow with double vertical stroke
  28. '\u2902': MO.RELACCENT, // leftwards double arrow with vertical stroke
  29. '\u2903': MO.RELACCENT, // rightwards double arrow with vertical stroke
  30. '\u2904': MO.RELACCENT, // left right double arrow with vertical stroke
  31. '\u2905': MO.RELACCENT, // rightwards two-headed arrow from bar
  32. '\u2906': MO.RELACCENT, // leftwards double arrow from bar
  33. '\u2907': MO.RELACCENT, // rightwards double arrow from bar
  34. '\u2908': MO.REL, // downwards arrow with horizontal stroke
  35. '\u2909': MO.REL, // upwards arrow with horizontal stroke
  36. '\u290A': MO.RELSTRETCH, // upwards triple arrow
  37. '\u290B': MO.RELSTRETCH, // downwards triple arrow
  38. '\u290C': MO.WIDEREL, // leftwards double dash arrow
  39. '\u290D': MO.WIDEREL, // rightwards double dash arrow
  40. '\u290E': MO.WIDEREL, // leftwards triple dash arrow
  41. '\u290F': MO.WIDEREL, // rightwards triple dash arrow
  42. '\u2910': MO.WIDEREL, // rightwards two-headed triple dash arrow
  43. '\u2911': MO.RELACCENT, // rightwards arrow with dotted stem
  44. '\u2912': MO.RELSTRETCH, // upwards arrow to bar
  45. '\u2913': MO.RELSTRETCH, // downwards arrow to bar
  46. '\u2914': MO.RELACCENT, // rightwards arrow with tail with vertical stroke
  47. '\u2915': MO.RELACCENT, // rightwards arrow with tail with double vertical stroke
  48. '\u2916': MO.RELACCENT, // rightwards two-headed arrow with tail
  49. '\u2917': MO.RELACCENT, // rightwards two-headed arrow with tail with vertical stroke
  50. '\u2918': MO.RELACCENT, // rightwards two-headed arrow with tail with double vertical stroke
  51. '\u2919': MO.RELACCENT, // leftwards arrow-tail
  52. '\u291A': MO.RELACCENT, // rightwards arrow-tail
  53. '\u291B': MO.RELACCENT, // leftwards double arrow-tail
  54. '\u291C': MO.RELACCENT, // rightwards double arrow-tail
  55. '\u291D': MO.RELACCENT, // leftwards arrow to black diamond
  56. '\u291E': MO.RELACCENT, // rightwards arrow to black diamond
  57. '\u291F': MO.RELACCENT, // leftwards arrow from bar to black diamond
  58. '\u2920': MO.RELACCENT, // rightwards arrow from bar to black diamond
  59. '\u2921': MO.RELSTRETCH, // north west and south east arrow
  60. '\u2922': MO.RELSTRETCH, // north east and south west arrow
  61. '\u2923': MO.REL, // north west arrow with hook
  62. '\u2924': MO.REL, // north east arrow with hook
  63. '\u2925': MO.REL, // south east arrow with hook
  64. '\u2926': MO.REL, // south west arrow with hook
  65. '\u2927': MO.REL, // north west arrow and north east arrow
  66. '\u2928': MO.REL, // north east arrow and south east arrow
  67. '\u2929': MO.REL, // south east arrow and south west arrow
  68. '\u292A': MO.REL, // south west arrow and north west arrow
  69. '\u292B': MO.REL, // rising diagonal crossing falling diagonal
  70. '\u292C': MO.REL, // falling diagonal crossing rising diagonal
  71. '\u292D': MO.REL, // south east arrow crossing north east arrow
  72. '\u292E': MO.REL, // north east arrow crossing south east arrow
  73. '\u292F': MO.REL, // falling diagonal crossing north east arrow
  74. '\u2930': MO.REL, // rising diagonal crossing south east arrow
  75. '\u2931': MO.REL, // north east arrow crossing north west arrow
  76. '\u2932': MO.REL, // north west arrow crossing north east arrow
  77. '\u2933': MO.RELACCENT, // wave arrow pointing directly right
  78. '\u2934': MO.REL, // arrow pointing rightwards then curving upwards
  79. '\u2935': MO.REL, // arrow pointing rightwards then curving downwards
  80. '\u2936': MO.REL, // arrow pointing downwards then curving leftwards
  81. '\u2937': MO.REL, // arrow pointing downwards then curving rightwards
  82. '\u2938': MO.REL, // right-side arc clockwise arrow
  83. '\u2939': MO.REL, // left-side arc anticlockwise arrow
  84. '\u293A': MO.RELACCENT, // top arc anticlockwise arrow
  85. '\u293B': MO.RELACCENT, // bottom arc anticlockwise arrow
  86. '\u293C': MO.RELACCENT, // top arc clockwise arrow with minus
  87. '\u293D': MO.RELACCENT, // top arc anticlockwise arrow with plus
  88. '\u293E': MO.REL, // lower right semicircular clockwise arrow
  89. '\u293F': MO.REL, // lower left semicircular anticlockwise arrow
  90. '\u2940': MO.REL, // anticlockwise closed circle arrow
  91. '\u2941': MO.REL, // clockwise closed circle arrow
  92. '\u2942': MO.RELACCENT, // rightwards arrow above short leftwards arrow
  93. '\u2943': MO.RELACCENT, // leftwards arrow above short rightwards arrow
  94. '\u2944': MO.RELACCENT, // short rightwards arrow above leftwards arrow
  95. '\u2945': MO.RELACCENT, // rightwards arrow with plus below
  96. '\u2946': MO.RELACCENT, // leftwards arrow with plus below
  97. '\u2947': MO.RELACCENT, // rightwards arrow through x
  98. '\u2948': MO.RELACCENT, // left right arrow through small circle
  99. '\u2949': MO.REL, // upwards two-headed arrow from small circle
  100. '\u294A': MO.RELACCENT, // left barb up right barb down harpoon
  101. '\u294B': MO.RELACCENT, // left barb down right barb up harpoon
  102. '\u294C': MO.REL, // up barb right down barb left harpoon
  103. '\u294D': MO.REL, // up barb left down barb right harpoon
  104. '\u294E': MO.WIDEREL, // left barb up right barb up harpoon
  105. '\u294F': MO.RELSTRETCH, // up barb right down barb right harpoon
  106. '\u2950': MO.WIDEREL, // left barb down right barb down harpoon
  107. '\u2951': MO.RELSTRETCH, // up barb left down barb left harpoon
  108. '\u2952': MO.WIDEREL, // leftwards harpoon with barb up to bar
  109. '\u2953': MO.WIDEREL, // rightwards harpoon with barb up to bar
  110. '\u2954': MO.RELSTRETCH, // upwards harpoon with barb right to bar
  111. '\u2955': MO.RELSTRETCH, // downwards harpoon with barb right to bar
  112. '\u2956': MO.RELSTRETCH, // leftwards harpoon with barb down to bar
  113. '\u2957': MO.RELSTRETCH, // rightwards harpoon with barb down to bar
  114. '\u2958': MO.RELSTRETCH, // upwards harpoon with barb left to bar
  115. '\u2959': MO.RELSTRETCH, // downwards harpoon with barb left to bar
  116. '\u295A': MO.WIDEREL, // leftwards harpoon with barb up from bar
  117. '\u295B': MO.WIDEREL, // rightwards harpoon with barb up from bar
  118. '\u295C': MO.RELSTRETCH, // upwards harpoon with barb right from bar
  119. '\u295D': MO.RELSTRETCH, // downwards harpoon with barb right from bar
  120. '\u295E': MO.WIDEREL, // leftwards harpoon with barb down from bar
  121. '\u295F': MO.WIDEREL, // rightwards harpoon with barb down from bar
  122. '\u2960': MO.RELSTRETCH, // upwards harpoon with barb left from bar
  123. '\u2961': MO.RELSTRETCH, // downwards harpoon with barb left from bar
  124. '\u2962': MO.RELACCENT, // leftwards harpoon with barb up above leftwards harpoon with barb down
  125. '\u2963': MO.REL, // upwards harpoon with barb left beside upwards harpoon with barb right
  126. '\u2964': MO.RELACCENT, // rightwards harpoon with barb up above rightwards harpoon with barb down
  127. '\u2965': MO.REL, // downwards harpoon with barb left beside downwards harpoon with barb right
  128. '\u2966': MO.RELACCENT, // leftwards harpoon with barb up above rightwards harpoon with barb up
  129. '\u2967': MO.RELACCENT, // leftwards harpoon with barb down above rightwards harpoon with barb down
  130. '\u2968': MO.RELACCENT, // rightwards harpoon with barb up above leftwards harpoon with barb up
  131. '\u2969': MO.RELACCENT, // rightwards harpoon with barb down above leftwards harpoon with barb down
  132. '\u296A': MO.RELACCENT, // leftwards harpoon with barb up above long dash
  133. '\u296B': MO.RELACCENT, // leftwards harpoon with barb down below long dash
  134. '\u296C': MO.RELACCENT, // rightwards harpoon with barb up above long dash
  135. '\u296D': MO.RELACCENT, // rightwards harpoon with barb down below long dash
  136. '\u296E': MO.RELSTRETCH, // upwards harpoon with barb left beside downwards harpoon with barb right
  137. '\u296F': MO.RELSTRETCH, // downwards harpoon with barb left beside upwards harpoon with barb right
  138. '\u2970': MO.RELACCENT, // right double arrow with rounded head
  139. '\u2971': MO.RELACCENT, // equals sign above rightwards arrow
  140. '\u2972': MO.RELACCENT, // tilde operator above rightwards arrow
  141. '\u2973': MO.RELACCENT, // leftwards arrow above tilde operator
  142. '\u2974': MO.RELACCENT, // rightwards arrow above tilde operator
  143. '\u2975': MO.RELACCENT, // rightwards arrow above almost equal to
  144. '\u2976': MO.RELACCENT, // less-than above leftwards arrow
  145. '\u2977': MO.RELACCENT, // leftwards arrow through less-than
  146. '\u2978': MO.RELACCENT, // greater-than above rightwards arrow
  147. '\u2979': MO.RELACCENT, // subset above rightwards arrow
  148. '\u297A': MO.RELACCENT, // leftwards arrow through subset
  149. '\u297B': MO.RELACCENT, // superset above leftwards arrow
  150. '\u297C': MO.RELACCENT, // left fish tail
  151. '\u297D': MO.RELACCENT, // right fish tail
  152. '\u297E': MO.REL, // up fish tail
  153. '\u297F': MO.REL // down fish tail
  154. }
  155. }
  156. });
  157. MathJax.Ajax.loadComplete(MML.optableDir+"/SupplementalArrowsB.js");
  158. })(MathJax.ElementJax.mml);