0

I have successfully installed Lyx 2.3.0 and would like to install the subequations module / environment that is mentioned in the LyX wiki https://wiki.lyx.org/LyX/NewInLyX23). Unfortunately I can't figure out how to do so.

I have tried looking for the module in MikTex, but it doesn't find it, and I can't find it anywhere in 2.3.0. Perhaps it's just a matter of looking in the right place in LyX, as I can see questions (and answers) about subequations in Stack Exchange, but I haven't found the answer to my question. I'd greatly appreciate any pointers you can give me.

Sincerely and with many thanks in advance

Thomas Philips

  • Welcome to Te SX! The subequations environment is defined in package amsmath – so load amsmath or, better, its extension mathtools. – Bernard Aug 29 '18 at 18:03
  • I already have amsmath, because I can see it under Document Setting > Math Options (it is loaded automatically, as is mathtools). Additionally, if I click on Insert > Math, I have options such as AMS align Environment, AMS alignat Environment etc. etc., but unfortunately I don't see an option to insert a subequation. The LyX 2.3.0 wiki says that subequations are a new feature, but I don't see it in any of the menus. Presumably, I could in principle insert TeX code myself, but I'm looking for something more user friendly as I'm a TeX novice. – Thomas Philips Aug 29 '18 at 18:13
  • 1
    Unfortunately, I can't help in this respect as I don't use LyX. You probably should ask the question on LyX mailing list. – Bernard Aug 29 '18 at 18:23
1

Modules are like a LyX "plug-in". You can read more about them in LyX user guide (go to Help > User Guide), Section 3.1.2.3 "Modules". You can read specifically about the subequations in the Math manual, Section 19.3 "Subnumbering".

To "load" the subequations module, go to Document > Settings > Modules, locate and click on "Subequations", click on "Add", then click "OK". See the screenshot here:

enter image description here

Once loaded, you can insert a subequation by going to Insert > Custom Insets > Subequation:

enter image description here

Note that you need to add the module to each document. If you want to always load the subequations module, you can go to Document Settings and click on "Save as Document Defaults".

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.