Constructs like {a}_{{b}}
prevent correct parsing of mandatory arguments
#563
Labels
bug
unexpected behaviour; should be a priority for fixing
For some reason, mandatory arguments containing constructs like
{a}_{{b}}
or{a}^{{b}}
are not recognized properly. Neither for indentation nor for line breaks. Unfortunately, this happens quite regularly in math material. (I also add a more realistic example, as for me the mechanism is not yet clear.)Example for indentation
with
gives
but I expect the first two commands to be indented as the third one which is there for comparison
For some reason, without
\othercmd
, the last example is indented correctly. But one can put more additional commands and it still fails.Example for modifylinebreaks
upon running
produces
while I expect
The text was updated successfully, but these errors were encountered: