
に似ているこれ質問ですが(重複するほどではありませんが)、私はいくつかの方程式の間にテキストの行がある定理を作ろうとしており、サブ番号をそれらに渡って継続させたいと思っています。つまり
x = y + 1 (1)
x = 4であることが示され、したがって
y = 3 (1a)
(右揃えでない番号は無視してください)
リンクされた質問のアプローチ(\begin{subequations}
およびを使用tag{}
)を試しても、上記のように番号付けを継続することができず、代わりに番号付けがリセットされます(以下の例)。
\begin{subequations}\label{eq:foo}
\begin{alignat}{2}
x = y + 1 \tag{\ref{eon:foo}} \\
\text{It can be shown that x = 4, therefore} \\
y = 3
\end{alignat}
\end{subequations}
与える
x = y + 1 (1)
x = 4であることが示されるので、(1a)
y = 3 (1b)
番号を継続するにはどうすればいいでしょうか?
前もって感謝します。
答え1
TeX.SE へようこそ。これは素早い回答ですが、新しいカウンターと方程式を追加する必要があるため、誠実さに欠ける回答ですsubequations
。
\documentclass[12pt]{article}
\usepackage{amsmath}
\begin{document}
\begin{subequations}\label{eq:foo}
\begin{alignat}{2}
x = y + 1 \tag{1} \\
\intertext{It can be shown that $x = 4$, therefore} \nonumber\\
y = 3
\end{alignat}
\end{subequations}
\end{document}