www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

GreekAndCoptic.js (1628B)


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