MathJax: Improve font style inheritence

This makes HTML rendered mtext inherit its font properties.

Change-Id: I744750ff3d667006e725c04b88d83a3b259d4de5
This commit is contained in:
Nageh 2013-04-28 14:45:54 +02:00 committed by TheDJ
parent f032265cee
commit b0e074169e

View file

@ -15,19 +15,14 @@
root: mw.config.get('wgExtensionAssetsPath') + '/Math/modules/MathJax',
config: ['TeX-AMS-texvc_HTML.js'],
'v1.0-compatible': false,
styles: {
'.mtext': {
'font-family': 'sans-serif ! important',
'font-size': '80%'
}
},
displayAlign: 'left',
menuSettings: {
zoom: 'Click'
},
'HTML-CSS': {
imageFont: null,
availableFonts: ['TeX']
availableFonts: ['TeX'],
mtextFontInherit: true
}
}, mathJax.config );