如何手動寫出方程式編號?

如何手動寫出方程式編號?

有誰知道如何手動對方程式進行編號?我知道使用\begin{equation}自動編號方程,但我想手動編號。

像這樣:

ax=b                      2.1

ax=b                      2.2

ETC。

答案1

您可以使用阿姆斯數學包和\tag命令。如果您不需要括號,請使用\tag*.

\documentclass{article}
\usepackage{amsmath}
\begin{document}
    \begin{equation}
        ax= b \tag{2.1}
    \end{equation}
\end{document}

相關內容