MathJax: Improve font style inheritence
This makes HTML rendered mtext inherit its font properties. Change-Id: I744750ff3d667006e725c04b88d83a3b259d4de5
This commit is contained in:
parent
f032265cee
commit
b0e074169e
|
@ -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