这与我早年问题,但有一些变化:
\documentclass[11pt,twoside,a4paper]{article}
\usepackage{amsmath}
\usepackage{enumerate}
\begin{document}
\begin{multline}
E(y_{i})=
\left(
x_{2i}'\beta_{2}+
\frac{\sigma}{\Psi\left(x_{1i}'\beta_{1},\tfrac{x_{2i}'\beta_{2}}{\sigma},\rho\right)}
\left[
\phi\left(\tfrac{x_{2i}'\beta_{2}}{\sigma}\right)\Phi\left(\tfrac{x_{1i}'\beta_{1}- \rho\tfrac{x_{2i}'\beta_{2}}{\sigma}}{\left(1-\rho^{2}\right)^{1/2}}\right)\right.\\
\qquad
+ \left.
\rho\phi(x_{1i}'\beta_{1})\Phi\left(\tfrac{\tfrac{x_{2i}'\beta_{2}}{\sigma}-\rho x_{1i}'\beta_{1}}{\left(1-\rho^{2}\right)^{1/2}}\right)
\right]
\right)
\times\Psi\left(x_{1i}'\beta_{1},\tfrac{x_{2i}'\beta_{2}}{\sigma},\rho
\right)
\end{multline}
\end{document}
我不知道为什么这会产生错误。!Missing right \.inserted
答案1
如果您确实必须使用...\left
则\right
标记了其他内容。
\documentclass[11pt,twoside,a4paper]{article}
\usepackage{amsmath}
\usepackage{enumerate}
\begin{document}
\begin{multline}
E(y_{i})=
\left(
x_{2i}'\beta_{2}+
\frac{\sigma}{\Psi\left(
x_{1i}'\beta_{1},\tfrac{x_{2i}'\beta_{2}}{\sigma},\rho
\right)}
\left[
\phi\left(
\tfrac{x_{2i}'\beta_{2}}{\sigma}
\right)\Phi\left(
\tfrac{x_{1i}'\beta_{1}- \rho\tfrac{x_{2i}'\beta_{2}}{\sigma}}{\left(1-\rho^{2}\right)^{1/2}}
\right)
\right.
\right. % PS
\\
\qquad
+ \left.
\left. %PS
\rho\phi(x_{1i}'\beta_{1})\Phi\left(
\tfrac{\tfrac{x_{2i}'\beta_{2}}{\sigma}-\rho x_{1i}'\beta_{1}}{\left(1-\rho^{2}\right)^{1/2}}
\right)
\right]
\right)
\times\Psi\left(
x_{1i}'\beta_{1},\tfrac{x_{2i}'\beta_{2}}{\sigma},\rho
\right)
\end{multline}
\end{document}
答案2
您有一对左/右不匹配,但使用\left( zzz\right.
并不是最佳选择,因为匹配的括号的大小与之前的表达式上的打开大小\\
和之后的表达式上的关闭大小不同\\
。使用固定大小的分隔符可以更轻松地避免错误并生成匹配的分隔符:
\documentclass[11pt,twoside,a4paper]{article}
\usepackage{amsmath}
\usepackage{enumerate}
\begin{document}
\begin{multline}
E(y_{i})=
\Bigl(
\bigl(
x_{2i}'\beta_{2}+
\frac{\sigma}{\Psi (x_{1i}'\beta_{1},\tfrac{x_{2i}'\beta_{2}}{\sigma},\rho)}
\bigl[
\phi(\tfrac{x_{2i}'\beta_{2}}{\sigma})\Phi (\tfrac{x_{1i}'\beta_{1}- \rho\tfrac{x_{2i}'\beta_{2}}{\sigma}}{(1-\rho^{2})^{1/2}})\\
\qquad
+
\rho\phi(x_{1i}'\beta_{1})\Phi(\tfrac{\tfrac{x_{2i}'\beta_{2}}{\sigma}-\rho x_{1i}'\beta_{1}}{(1-\rho^{2})^{1/2}})
\bigr]
\bigr)
\times\Psi(x_{1i}'\beta_{1},\tfrac{x_{2i}'\beta_{2}}{\sigma},\rho)
\Bigr)
\end{multline}
\end{document}
答案3
只是为了完成,请注意您可以\left[ \right]
通过使用\Big[ \Big]
或\Bigg[ \Bigg]
手动获取所需大小的括号来避免。