Custom environment with overset labels and cross-references

Riccardo chionatan at gmail.com
Mon Apr 18 14:04:24 UTC 2022


Dear all,
I'm trying to implement a module to allow labelling as oversets in
equations.
I have managed to use effectively the solution proposed here:
https://tex.stackexchange.com/a/40216/113780

And here is the result:
[image: image.png]

However it conceptually reverses labelling and referencing (see the
preamble and body in the attached LyX file).

Therefore I have two questions?
1. Does anyone know of a cleaner solution? It doesn't need to be compatible
with the amsmath package, but I wish it could be.
2. Is there any "getting started" page to write custom modules for LyX
(other than plain LateX code)? Even if the behaviour is reversed, I would
at least try to make it appear as if it is not. Any suggestion would be
appreciated.

Best regards,
Riccardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220418/58dd8633/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 24970 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220418/58dd8633/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oversetlabels.lyx
Type: application/x-lyx
Size: 3436 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220418/58dd8633/attachment-0001.lyx>


More information about the lyx-users mailing list