# Using breqn in unnumbered equation in LyX

I finally found a way to use automatic line breaking in long math formulas in LyX from the last post in:

http://stackoverflow.com/questions/2904807/lyx-breaking-long-formula-lines

I soon realized (when I was making beamer class presentations) that my formula was numbered in the generated PDF. Is there a way to get rid of this numbering without ERT?

-

In the LaTeX preamble, after \usepackage{breqn} and the stuff from the answer I assume you were referring to (not the stuff in the comment), add

I have provided a flexible solution of using breqn in LyX at: http://stackoverflow.com/a/28964812/4653863
You can use the starred version of the dmath environment, i.e., dmath* to surround an unnumbered equation which can be created by hitting Ctrl + Shift + M in LyX.