LyX display of align counters
Scott Kostyshak
skostysh at lyx.org
Thu Feb 17 13:06:27 UTC 2022
I like to renumber my align numbers within frame. e.g., Instead of "equation
3", I essentially use them as "3rd line of equation on this frame" which makes
it easy for students to ask questions and refer to the line number.
I do this with the following LaTeX code in the preamble:
\AtBeginEnvironment{align}{\setcounter{equation}{0}}
I'm greedy and would like to adapt the LyX layout to show the same.
Specifying "Within" frame seems to almost do what I want:
Counter equation
Within frame
End
However, if I'm on Frame 10, it will show 10.1, 10.2, etc..., where I would
prefer just 1, 2, ...
If the above can't be tweaked to work, perhaps a different approach to using
"Within" would be to have the Frame layout reset the equation counter to 0?
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot1645102936.png
Type: image/png
Size: 45988 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220217/419c294c/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20220217/419c294c/attachment-0001.asc>
More information about the lyx-users
mailing list