Pavel Sanda wrote: > Apology if I got it wrong, but shouldn't inserting math \sideset side operator > "Insert left/right side script" show center box and four small corner boxes > around > instead of only two? If no, I don't see any gui difference to "Insert side > script".
If I enter "\sideset" as a string in mathed it actually works. So it is wrong only when toolbar is used. I checked the sources little bit and the reason seems to be that tolbar triggers Parser::parse1 which in turn calls \sideset with params set to "Insert side scripts" version of inset, while various "\sideset*" strings are not processed via parser when issued directly in mathed. I think it stems from the fact that latex knows only sideset while we distiguish gui-wise 4 cases... CC-ing Georg. Pavel > Apart from that, there is no toolbar hint of used macro in gui as we usually > have, > which would fix the following patch. > I do not remember if we are in string freeze, so this might be master only > material. > > Pavel > diff --git a/lib/ui/stdtoolbars.inc b/lib/ui/stdtoolbars.inc > index 9da37ecf75..8f0f6dce3f 100644 > --- a/lib/ui/stdtoolbars.inc > +++ b/lib/ui/stdtoolbars.inc > @@ -465,10 +465,10 @@ ToolbarSet > Item "bcancel" "math-insert \bcancel" > Item "xcancel" "math-insert \xcancel" > Item "cancelto" "math-insert \cancelto" > - Item "Insert left/right side scripts" "math-insert \sideset" > - Item "Insert right side scripts" "math-insert \sidesetr" > - Item "Insert left side scripts" "math-insert \sidesetl" > - Item "Insert side scripts" "math-insert \sidesetn" > + Item "Insert left/right side scripts (sideset)" "math-insert > \sideset" > + Item "Insert right side scripts (sidesetr)" "math-insert > \sidesetr" > + Item "Insert left side scripts (sidesetl)" "math-insert > \sidesetl" > + Item "Insert side scripts (sidesetn)" "math-insert \sidesetn" > Item "overset" "math-insert \overset" > Item "underset" "math-insert \underset" > Item "stackrel" "math-insert \stackrel"