Math/modules/MathJax/unpacked/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js

34 lines
1.3 KiB
JavaScript

/*************************************************************
*
* MathJax/jax/output/HTML-CSS/fonts/TeX/Main/Italic/GeneralPunctuation.js
*
* Copyright (c) 2009-2013 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
MathJax.Hub.Insert(
MathJax.OutputJax['HTML-CSS'].FONTDATA.FONTS['MathJax_Main-italic'],
{
0x2013: [285,-248,511,91,554], // EN DASH
0x2014: [285,-248,1022,117,1038], // EM DASH
0x2018: [694,-379,307,197,362], // LEFT SINGLE QUOTATION MARK
0x2019: [694,-379,307,213,377], // RIGHT SINGLE QUOTATION MARK
0x201C: [694,-379,514,243,606], // LEFT DOUBLE QUOTATION MARK
0x201D: [694,-379,514,176,538] // RIGHT DOUBLE QUOTATION MARK
}
);
MathJax.Ajax.loadComplete(MathJax.OutputJax["HTML-CSS"].fontDir + "/Main/Italic/GeneralPunctuation.js");