mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-24 07:34:22 +00:00
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',
|
||||
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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue