In Lyx, when I have a long equation in display mode I would like to display it over several lines for readability. But whenever I try to do that Lyx gives me an empty table. Is there some tex command I can insert into my equation to force a line split?

  • You can use the split environment within the equation and make new lines with \\ – riddleculous Mar 29 '16 at 3:39

There's a lot about this in Help>Math, Long Formulas. Use, for example, Insert>Math>Eqnarray and add additional rows by pressing Ctrl-Enter, or Edit>Math>Add Line. In some cases you'll need Insert>Math>AMS multiline, and similar. This wiki page has a nice summary of these environments https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics

| improve this answer | |
  • 1
    please! not eqnarray! there must be some other possibilities like align or gather. – barbara beeton Mar 29 '16 at 12:50
  • Sure there are. Insert>Math>AMS align/alignat/flalign/gather/multiline are all there. @Betty will have to choose what's right for her. – PhilipPirrip Mar 29 '16 at 13:51
  • PhilipPirrip -- found a good solution in your reference. – Betty Mock Mar 29 '16 at 15:27

Insert -> Math-> AMS Multiline Environment

write your equation and click 'Ctrl+Enter' where you want to split Then Right click the equation and select number whole formula

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.