wspr / breqn

Automatic line breaking in LaTeX equations
18 stars 2 forks source link

Unnecessary space before mathrel symbol (=) inside curly braces #51

Open zalgo3 opened 3 years ago

zalgo3 commented 3 years ago

If I compile the code below, I get an unnecessary space before the equals sign.

\documentclass{article}

\usepackage{breqn}

\begin{document}

\begin{dmath}
{x = y}
\end{dmath}
\end{document}

I don't think I'll ever actually write code like the above, but the following example will also cause the same problem - an extra space before \in.

\min_{i \in I} a_i

This problem can be solved as a quick fix by enclosing the mathrel symbol by \hiderel, but this does not seem smart. I couldn't understand why this problem occurs, but is there any way to solve this bug?