我想知道是否有一种好的方法可以将一组短子方程分成一列文档中的两列。
我当前的代码如下:
\begin{subequations}
\label{eq:bell_states}
\begin{alignat}{1}
\ket{\Phi^+} &= \frac{1}{\sqrt{2}} (\ket{00}+\ket{11}) \label{eq:bell_states:Phi+}\\
\ket{\Phi^-} &= \frac{1}{\sqrt{2}} (\ket{00}-\ket{11})\label{eq:bell_states:Phi-}\\
\ket{\Psi^+} &= \frac{1}{\sqrt{2}} (\ket{01}+\ket{10}) \label{eq:bell_states:Psi+}\\
\ket{\Psi^-} &= \frac{1}{\sqrt{2}} (\ket{01}-\ket{10})\label{eq:bell_states:Psi-}
\end{alignat}
\end{subequations}
答案1
alignat{1}
我认为和 之间没有区别align
。以下是我的做法:
\documentclass{article}
\usepackage{nccmath, mathtools}
\usepackage{amssymb}
\usepackage{braket}
\begin{document}
\begin{subequations}
%\label{eq:bell_states}
\noindent\centering
\begin{minipage}{0.48\textwidth}
\begin{align}
\ket{\Phi^+} &= \frac{1}{\sqrt{2}} (\ket{00}+\ket{11}) \label{eq:bell_states:Phi+}\\
\ket{\Phi^-} &= \frac{1}{\sqrt{2}} (\ket{00}-\ket{11})\label{eq:bell_states:Phi-}
\end{align}
\end{minipage}
\hfill
\begin{minipage}{0.48\textwidth}
\label{eq:bell_states}
\begin{align}
\ket{\Psi^+} &= \frac{1}{\sqrt{2}} (\ket{01}+\ket{10}) \label{eq:bell_states:Psi+r}\\
\ket{\Psi^-} &= \frac{1}{\sqrt{2}} (\ket{01}-\ket{10})\label{eq:bell_states:Psi-r}
\end{align}
\end{minipage}\bigskip
\end{subequations}
We see in equations \eqref{eq:bell_states}
\end{document}