Merge "MathJax: Improve font style inheritence"
This commit is contained in:
commit
b88647fae9
|
@ -15,19 +15,14 @@
|
||||||
root: mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax',
|
root: mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax',
|
||||||
config: ['TeX-AMS-texvc_HTML.js'],
|
config: ['TeX-AMS-texvc_HTML.js'],
|
||||||
'v1.0-compatible': false,
|
'v1.0-compatible': false,
|
||||||
styles: {
|
|
||||||
'.mtext': {
|
|
||||||
'font-family': 'sans-serif ! important',
|
|
||||||
'font-size': '80%'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
displayAlign: 'left',
|
displayAlign: 'left',
|
||||||
menuSettings: {
|
menuSettings: {
|
||||||
zoom: 'Click'
|
zoom: 'Click'
|
||||||
},
|
},
|
||||||
'HTML-CSS': {
|
'HTML-CSS': {
|
||||||
imageFont: null,
|
imageFont: null,
|
||||||
availableFonts: ['TeX']
|
availableFonts: ['TeX'],
|
||||||
|
mtextFontInherit: true
|
||||||
}
|
}
|
||||||
}, mathJax.config );
|
}, mathJax.config );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue