mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Math
synced 2024-11-13 17:56:59 +00:00
Merge "Only use Munderover for displaystyle formulae"
This commit is contained in:
commit
3f0692a9b9
|
@ -72,7 +72,11 @@ class FQ extends TexNode {
|
|||
$litArg = trim( $base->getArgs()[0] );
|
||||
$tu = TexUtil::getInstance();
|
||||
// "sum", "bigcap", "bigcup", "prod" ... all are nullary macros.
|
||||
if ( $tu->nullary_macro( $litArg ) && !$tu->is_literal( $litArg ) ) {
|
||||
if ( $tu->nullary_macro( $litArg ) &&
|
||||
!$tu->is_literal( $litArg ) &&
|
||||
// by default (inline-displaystyle large operators should be used)
|
||||
( $state['styleargs']['displaystyle'] ?? 'true' ) === 'true'
|
||||
) {
|
||||
$melement = new MMLmunderover();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue