On 17/02/2022 14:06, Scott Kostyshak via lyx-users wrote:
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
Maybe you could provide a minimal example of the frame setup you have? I guess you are working with some "frame" counter definition.
Daniel -- lyx-users mailing list [email protected] http://lists.lyx.org/mailman/listinfo/lyx-users
