\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{multline*}
-\dfrac{1}{64\pi^2}
\left[
\dfrac{
\splitfrac{
(m_2-m_3)(2y_e^2-y_\mu^2-y_\tau^2
}{
+ (y_\mu^2-y_\tau^2 )\cos2{\theta_{23})\sin\delta^2\sin\theta_{12}^2\sin2\theta_{13}}
}
}{
m_2+m_3
}\\
+ \dfrac{
\splitfrac{
(m_2 + m_3)\cos\delta\sin\theta_{12}(\cos\delta(2y_e^2-y_\mu^2-y_\tau^2 + (y_\mu^2-y_\tau^2 )\cos2\theta_{23})\sin\theta_{12}\sin2\theta_{13}
}{
+ 2(y_\mu^2-y_\tau^2)\cos\theta_{12}\cos\theta_{13}\sin2\theta_{23})
}
}{
m_2-m_3
}\\
+ \dfrac{
\splitfrac{
2(m_1+m_3)\cos\delta\cos\theta_{12}\cos\theta_{13}(\cos\delta\cos\theta_{12}
}{
(2y_e^2-y_\mu^2-y_\tau^2 + (y_\mu^2-y_\tau^2 )\cos2\theta_{23})\sin\theta_{13}+(-y_\mu^2+y_\tau^2)\sin\theta_{12}\sin2\theta_{23}
}
}{
m_1-m_3
}\\
+\dfrac{1}
{
\splitfrac{
(m_1+m_3)2(m_1+m_3)\cos\theta_{12}\cos\theta_{13}\sin\delta(y_\mu^2
}{
-y_\tau^2 )\cos\delta\sin\delta\sin\theta_{12}\sin2\theta_{23}
}{
+\sin\delta(\cos\theta_{12}(2y_e^2-y_\mu^2-y_\tau^2+(y_\mu^2
}{
-y_\tau^2)\cos2\theta_{23}\sin\theta_{13}+(-y_\mu^2 + y_\tau^2)\cos\delta\sin\theta_{12}\sin2\theta_{23}
}
}
\right]
\end{multline*}
\end{document}
在 KILE 中编译此代码时出现以下错误
Missing \right.inserted \end{multline*}
Extra \right \end{multline*}
我该如何修复这个错误?
答案1
该错误告诉您,您取消了\left
和\right
命令的配对。您需要添加\right.
和\left.
以匹配环境第一行和最后一行的命令。
\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtools}
\begin{document}
\begin{multline*}
-\dfrac{1}{64\pi^2}
\left[
\dfrac{
\splitfrac{
(m_2-m_3)(2y_e^2-y_\mu^2-y_\tau^2
}{
+ (y_\mu^2-y_\tau^2 )\cos2{\theta_{23})\sin\delta^2\sin\theta_{12}^2\sin2\theta_{13}}
}
}{
m_2+m_3
}
\right.%<-------------------HERE
\\
+ \dfrac{
\splitfrac{
(m_2 + m_3)\cos\delta\sin\theta_{12}(\cos\delta(2y_e^2-y_\mu^2-y_\tau^2 + (y_\mu^2-y_\tau^2 )\cos2\theta_{23})\sin\theta_{12}\sin2\theta_{13}
}{
+ 2(y_\mu^2-y_\tau^2)\cos\theta_{12}\cos\theta_{13}\sin2\theta_{23})
}
}{
m_2-m_3
}\\
+ \dfrac{
\splitfrac{
2(m_1+m_3)\cos\delta\cos\theta_{12}\cos\theta_{13}(\cos\delta\cos\theta_{12}
}{
(2y_e^2-y_\mu^2-y_\tau^2 + (y_\mu^2-y_\tau^2 )\cos2\theta_{23})\sin\theta_{13}+(-y_\mu^2+y_\tau^2)\sin\theta_{12}\sin2\theta_{23}
}
}{
m_1-m_3
}\\
\left. %<-------------------HERE
+\dfrac{1}
{
\splitfrac{
(m_1+m_3)2(m_1+m_3)\cos\theta_{12}\cos\theta_{13}\sin\delta(y_\mu^2
}{
-y_\tau^2 )\cos\delta\sin\delta\sin\theta_{12}\sin2\theta_{23}
}{
+\sin\delta(\cos\theta_{12}(2y_e^2-y_\mu^2-y_\tau^2+(y_\mu^2
}{
-y_\tau^2)\cos2\theta_{23}\sin\theta_{13}+(-y_\mu^2 + y_\tau^2)\cos\delta\sin\theta_{12}\sin2\theta_{23}
}
}
\right]
\end{multline*}
\end{document}