我如何将方程标记为(*)

我如何将方程标记为(*)

下面是包含以下形式方程的代码\[... \]

\documentclass[12pt]{report}
\usepackage{braket}
\usepackage{amssymb}
\usepackage{amsmath}
\begin{document}
\textbf{Proof-} Every element of $\Delta(G)\Delta(G,N)\subset N'$ can be written as \((x-1)y(n-1)\) where \(x,y\in G\) and \(n\in N\). Now, because we can write \((x-1)y=xy-y=(xy-1)-(y-1)\) we also can write every $(g-1)$ in the form : \[g-1=\sum_{i,j}a_{ij}(x_i-1)(n_j-1), \hspace{2pt}\ a_{ij}\in \mathbb{Z}, x_i\in G, n_j\in N \]
\end{document}

我的问题是如何将最后一个公式标记为(*)?我能找到的所有答案都有对齐的方程式,但在这种情况下,我只有一个\[...\]要标记的方程式。一种方法是使用\hspace然后贴上标签,但还有其他方法吗?

答案1

在此处输入图片描述

使用\tag{<your label>}命令根据需要插入自定义标签,如下所示\tag{*}

\documentclass[12pt]{report}
\usepackage{braket}
\usepackage{amssymb}
\usepackage{amsmath}
\begin{document}
\textbf{Proof-} Every element of $\Delta(G)\Delta(G,N)\subset N'$ can be written as \((x-1)y(n-1)\) where \(x,y\in G\) and \(n\in N\). Now, because we can write \((x-1)y=xy-y=(xy-1)-(y-1)\) we also can write every $(g-1)$ in the form : \[g-1=\sum_{i,j}a_{ij}(x_i-1)(n_j-1), \hspace{2pt}\ a_{ij}\in \mathbb{Z}, x_i\in G, n_j\in N \tag{*}\]
\end{document}

相关内容