I use the AMS multi-line environment a lot for homework, and I would like it to replace the regular math environment.

I use LyX, 3.2.2.

How can I do this?

Thank you very much!

  • Welcome to tex.sx. Which multi-line environment do you want? There are several -- align, gather, multlined. Commented Jan 4, 2020 at 19:52

1 Answer 1


You can use the LyX function math-mutate align to change any math environment into an AMS align one (see Help>Lyx Functions for the full list of functions).

To implement this by changing the action of the shortcut, go to Tools>Preferences>Editing>Shortcuts, find the shortcut that you currently use to open a math environment (the command will probably be math-display), double-click it and change the function to command-sequence math-display; math-mutate align;, OK and save. Note command-sequence just allows you to chain multiple functions together.

If this isn't exactly what you want, I'm sure you get the idea!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .