TransWikia.com

How to start subequations with a known number?

TeX - LaTeX Asked by user3489173 on May 20, 2021

I want my subequations starting with number (9u).

How can I do this?

One Answer

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}

enter image description here

Correct answer by egreg on May 20, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP