I was reading
another breqn problem. Extra letters show up in title with cprotect package
And the answer says:
In an upcoming version ConTeXt MKIV will introduce automatic linebreaking for formulas which will probably be much more robust because parsing is done on the Lua level and thus avoids confusions with catcodes and such.
But the link given does not work. The above 6 years old.
I googled and could not find something relevant.
My question is: does context now have better automatic equation breaking than breqn
in Latex?
I thought someone here might know.
but can you please define better?
As I mentioned in comment, I do not have specific examples. But I searched and found one, where a Latex expert in this forum said breqn output can be improved.
Code below from How convert equation environment to dmath environment automatically?
\documentclass[12pt,notitlepage]{article}
\usepackage{amsmath}
\usepackage{breqn}
\begin{document}
No tag here, normal numbering
\begin{dmath}
-\eta\omega_{y}+\left( -3y' \xi_{y}-2\xi_{x}+\eta_{y}\right)
\omega-\xi\omega_{x}+\left( -y' \eta_{y}+\left( y'\right)
^{2}\xi_{y}+y' \xi_{x}-\eta_{x}\right) \omega_{y'}+\eta
_{xx}+\eta_{yy}\left( y' \right) ^{2}-
\xi_{yy}\left( y' \right)^{3}-2\xi_{yx}\left( y'\right) ^{2}+2\eta_{yx}y'-\xi_{xx} y'=0
\end{dmath}
Tag at the beginning
\begin{dmath}[number=1A]
-\eta\omega_{y}+\left( -3y' \xi_{y}-2\xi_{x}+\eta_{y}\right)
\omega-\xi\omega_{x}+\left( -y' \eta_{y}+\left( y'\right)
^{2}\xi_{y}+y' \xi_{x}-\eta_{x}\right) \omega_{y'}+\eta
_{xx}+\eta_{yy}\left( y' \right) ^{2}-
\xi_{yy}\left( y' \right)^{3}-2\xi_{yx}\left( y'\right) ^{2}+2\eta_{yx}y'-\xi_{xx} y'=0
\end{dmath}
No \verb|\left| and \verb|\right|
\begin{dmath}
-\eta\omega_{y}+( -3y' \xi_{y}-2\xi_{x}+\eta_{y})
\omega-\xi\omega_{x}+( -y' \eta_{y}+( y')
^{2}\xi_{y}+y' \xi_{x}-\eta_{x}) \omega_{y'}+\eta
_{xx}+\eta_{yy}( y' ) ^{2}-
\xi_{yy}( y' )^{3}-2\xi_{yx}( y') ^{2}+2\eta_{yx}y'-\xi_{xx} y'=0
\end{dmath}
\end{document}