Latexify.jl icon indicating copy to clipboard operation
Latexify.jl copied to clipboard

Unnecessary parentheses from `:(-x*y)`

Open korsbo opened this issue 3 years ago • 1 comments

-x does not need parentheses in this case.

korsbo avatar Apr 21 '21 07:04 korsbo

I just today noticed a similar issue:

julia> latexify(:( 1 < 2))
L"$\left( 1  < 2 \right)$"

It's the same for all the comparisons (==, <=, !=...), but not for assignment (=).

gustaphe avatar Apr 21 '21 16:04 gustaphe