GreekAndCoptic.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*************************************************************
  2. *
  3. * MathJax/fonts/HTML-CSS/TeX/png/AMS/Regular/GreekAndCoptic.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_AMS": {
  28. 0x3DD: [ // GREEK SMALL LETTER DIGAMMA
  29. [5,6,2],[6,7,1],[8,8,2],[9,9,1],[10,11,2],[12,13,2],[15,15,2],[17,17,2],
  30. [20,19,2],[24,23,3],[29,27,3],[34,33,4],[40,38,5],[48,46,6]
  31. ],
  32. 0x3F0: [ // GREEK KAPPA SYMBOL
  33. [6,3,0],[7,4,0],[8,5,0],[9,5,0],[11,7,0],[13,8,0],[15,9,0],[18,10,0],
  34. [21,12,0],[25,15,0],[29,17,0],[35,21,0],[41,25,0],[49,29,0]
  35. ]
  36. }
  37. });
  38. MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/AMS/Regular"+
  39. MathJax.OutputJax["HTML-CSS"].imgPacked+"/GreekAndCoptic.js");