TransWikia.com

How to add a keyboard shortcut for AMS multi-line environment in LyX

TeX - LaTeX Asked on April 25, 2021

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!

One Answer

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!

Answered by lukeuser on April 25, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP