# How to break long equations with LyX

Joel Kulesza jkulesza at gmail.com
Fri Jun 19 13:26:30 UTC 2020

On Fri, Jun 19, 2020 at 5:51 AM <list_email at icloud.com> wrote:

> I have tried mightily to get LyX to break long equations. I’ve studied
> multiple pages at stackexchange, both LaTeX and LyX, and can’t seem to get
> anything to work.
>
> ...
>
> How do LyX-ers handle this? Is there “LyX” solution to breaking long
> equations? I’m OK with some ad hoc solution for now, or some ERT if it
> works.
>

Jerry,

I regret that I don't have any good guidance to satisfy your desire to
automatically break equations.  One benefit to LaTeX is the aesthetic as a
result of the underlying algorithms, but I know of no automatic algorithms
to universally break equations well.  I suspect this is the case because
each component in the equation has distinct meaning and how the equation is
broken and aligned can help the reader interpret it (e.g., breaking at
"logical" places).

As such, the two approaches I take are to either use multiline or aligned
equations (with the "right-hand side" indented with a manual \quad).  This
has produced equations I'm usually happy with.  Multiline is a bit more
"automatic," but it can produce equations that aren't totally satisfying
(e.g., 6b in this paper
<https://www.osti.gov/biblio/1542798-monte-carlo-importance-splitting-analytic-benchmark>
).

Sorry I can't offer a good and direct answer, but I hope these thoughts
help.

- Joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20200619/a4cf0df0/attachment.html>