/usr/share/jsmath/jsMath-fallback-mac-mozilla.js is in jsmath 3.6e-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | /*
* jsMath-fallback-mac-mozilla.js
*
* Part of the jsMath package for mathematics on the web.
*
* This file makes changes needed by Mozilla-based browsers on the Mac
* for when the TeX fonts are not available.
*
* ---------------------------------------------------------------------
*
* Copyright 2004-2006 by Davide P. Cervone
*
* 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.
*/
/********************************************************************
*
* Fix the default non-TeX-font characters to work with Mozilla
*
*/
jsMath.Update.TeXfonts({
cmmi10: {
// '41': // leftharpoondown
// '43': // rightharpoondown
'44': {c: '<span style="position:relative; top:.15em; margin-right:-.1em; margin-left:-.2em">˓</span>'},
'45': {c: '<span style="position:relative; top:.15em; margin-right:-.1em; margin-left:-.2em">˒</span>'},
'47': {c: '<span style="font-size:60%">◁</span>'},
// '92': // natural
'126': {c: '<span style="position:relative; left: .3em; top: -.7em; font-size: 50%">→</span>'}
},
cmsy10: {
'0': {c: '–', tclass: 'normal'},
'11': {c: '<span style="font-size: 70%">◯</span><span style="position:relative; margin-left:-.5em; top:.1em; margin-right:.3em">/</span>', tclass: 'normal'},
'42': {c: '⥣'}, '43': {c: '⥥'},
'48': {c: '<span style="font-size: 133%; margin-right: -.75em; position: relative; top:.4em">′</span>', tclass: 'normal'},
'93': {c: '∪<span style="font-size: 50%; margin-left:-1.3em; position: relative; top:-.3em; margin-right:.6em">+</span>'},
'104': {c: '<span style="position:relative; top:.15em; margin-left:-.6em">〈</span>'},
'105': {c: '<span style="position:relative; top:.15em; margin-right:-.6em">〉</span>'},
'109': {c: '⥣<span style="position:relative; top:.1em; margin-left:-1em">⥥</span>'}
//, '116': // sqcup
// '117': // sqcap
// '118': // sqsubseteq
// '119': // sqsupseteq
},
cmex10: {
'10': {c: '<span style="position:relative; top:.1em; margin-left:-.6em">〈</span>'},
'11': {c: '<span style="position:relative; top:.1em; margin-right:-.6em">〉</span>'},
'14': {c: '/'}, '15': {c: '\\'},
'28': {c: '<span style="position:relative; top:.1em; margin-left:-.6em">〈</span>'},
'29': {c: '<span style="position:relative; top:.1em; margin-right:-.6em">〉</span>'},
'30': {c: '/'}, '31': {c: '\\'},
'42': {c: '<span style="position:relative; top:.1em; margin-left:-.6em">〈</span>'},
'43': {c: '<span style="position:relative; top:.1em; margin-right:-.6em">〉</span>'},
'44': {c: '/'}, '45': {c: '\\'},
'46': {c: '/'}, '47': {c: '\\'},
'68': {c: '<span style="position:relative; top:.1em; margin-left:-.6em">〈</span>'},
'69': {c: '<span style="position:relative; top:.1em; margin-right:-.6em">〉</span>'},
// '70': // sqcup
// '71': // big sqcup
'72': {ic: .194}, '73': {ic: .444},
'82': {tclass: 'bigop1cx', ic: .15}, '90': {tclass: 'bigop2cx', ic:.6},
'85': {c: '∪<span style="font-size: 50%; margin-left:-1.3em; position: relative; top:-.3em; margin-right:.6em">+</span>'},
'93': {c: '∪<span style="font-size: 50%; margin-left:-1.3em; position: relative; top:-.3em; margin-right:.6em">+</span>'}
}
});
jsMath.Setup.Styles({
'.typeset .symbol': "font-family: Osaka",
'.typeset .arrow1': "font-family: Osaka; position: relative; top: .125em; margin: -1px",
'.typeset .arrow2': "font-family: AppleGothic; font-size: 100%; position:relative; top: .11em; margin:-1px",
'.typeset .bigop1': "font-family: AppleGothic; font-size: 110%; position:relative; top: .9em; margin:-.05em",
'.typeset .bigop1b': "font-family: Osaka; font-size: 140%; position: relative; top: .8em; margin:-.1em",
'.typeset .bigop1c': "font-family: AppleGothic; font-size: 125%; position:relative; top: .85em; margin:-.3em",
'.typeset .bigop1cx': "font-family: 'Apple Chancery'; font-size: 125%; position:relative; top: .7em; margin:-.1em",
'.typeset .bigop2': "font-family: AppleGothic; font-size: 175%; position:relative; top: .85em; margin:-.1em",
'.typeset .bigop2b': "font-family: Osaka; font-size: 200%; position: relative; top: .75em; margin:-.15em",
'.typeset .bigop2c': "font-family: AppleGothic; font-size: 300%; position:relative; top: .75em; margin:-.35em",
'.typeset .bigop2cx': "font-family: 'Apple Chancery'; font-size: 250%; position:relative; top: .7em; margin-left:-.1em; margin-right:-.2em",
'.typeset .delim1b': "font-family: Times; font-size: 150%; position:relative; top:.8em; margin:.01em",
'.typeset .delim2b': "font-family: Times; font-size: 210%; position:relative; top:.8em; margin:.01em",
'.typeset .delim3b': "font-family: Times; font-size: 300%; position:relative; top:.75em; margin:.01em",
'.typeset .delim4b': "font-family: Times; font-size: 400%; position:relative; top:.725em; margin:.01em"
});
/*
* replace \not and \joinrel with better dimensions
*/
jsMath.Macro('not','\\mathrel{\\rlap{\\kern 3mu/}}');
jsMath.Macro('joinrel','\\mathrel{\\kern-3mu}');
|