Escape braces in mathPalette (avoids error with \brace).
This commit is contained in:
parent
91875b3558
commit
de9c66f927
|
@ -2200,6 +2200,7 @@
|
|||
return mrow;
|
||||
},
|
||||
mathPalette: function (fence,side) {
|
||||
if (fence === '{' || fence === '}') {fence = "\\"+fence}
|
||||
var D = '{\\bigg'+side+' '+fence+'}', T = '{\\big'+side+' '+fence+'}';
|
||||
return TEX.Parse('\\mathchoice'+D+T+T+T).mml();
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user