You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The syntax for mqty is like \mqty(A&B\\C&D). The issue is that latexdiff incorrectly picks up the \\ as a breakline between math lines so we get something like \DiffADD{\mqty(A&B}\\\DiffADD{C&D)} which breaks compilation.
The correct behavior would be to allow for additional delimiter tokens beyond {} like ()[]<> etc. for a command declared by \declaredocumentcommand{ d<token1><token2> and similar latex3/xparse syntax. It would be excessive for the mqty case to handle individual subitems, so for this situation a mbox or similar protector would be sufficient.
The text was updated successfully, but these errors were encountered:
The syntax for
mqty
is like\mqty(A&B\\C&D)
. The issue is that latexdiff incorrectly picks up the\\
as a breakline between math lines so we get something like\DiffADD{\mqty(A&B}\\\DiffADD{C&D)}
which breaks compilation.The correct behavior would be to allow for additional delimiter tokens beyond
{}
like()[]<>
etc. for a command declared by\declaredocumentcommand{ d<token1><token2>
and similar latex3/xparse syntax. It would be excessive for themqty
case to handle individual subitems, so for this situation ambox
or similar protector would be sufficient.The text was updated successfully, but these errors were encountered: