TeX - LaTeX Asked by user3489173 on May 20, 2021
Not sure why you would do it, but here it is.
documentclass{article}
usepackage{amsmath}
newcounter{storesubequations}
begin{document}
begin{equation}
y
end{equation}
begin{subequations}
begin{align}
a&=b
c&=d
end{align}%
setcounter{storesubequations}{value{equation}}%
end{subequations}
addtocounter{equation}{-1}
begin{subequations}setcounter{equation}{value{storesubequations}}
begin{align}
e&=f
g&=h
end{align}
end{subequations}
begin{equation}
y
end{equation}
end{document}
Correct answer by egreg on May 20, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP