www

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

MiscTechnical.js (1641B)


      1 /*************************************************************
      2  *
      3  *  MathJax/fonts/HTML-CSS/TeX/png/AMS/Regular/MiscTechnical.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     0x2322: [  // stix-small down curve
     30       [5,3,0],[6,3,0],[8,3,-1],[9,4,-1],[10,5,-1],[12,6,-1],[15,6,-2],[17,7,-2],
     31       [20,8,-3],[24,9,-4],[29,11,-4],[34,13,-5],[40,15,-6],[48,17,-8]
     32     ],
     33     0x2323: [  // stix-small up curve
     34       [5,2,-1],[6,3,-1],[8,3,-1],[9,4,-1],[11,4,-2],[13,5,-2],[15,5,-3],[17,6,-3],
     35       [21,8,-3],[24,9,-4],[29,10,-5],[34,12,-6],[40,14,-7],[48,16,-9]
     36     ]
     37   }
     38 });
     39 
     40 MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].imgDir+"/AMS/Regular"+
     41                           MathJax.OutputJax["HTML-CSS"].imgPacked+"/MiscTechnical.js");