我想将第二行的两个矩阵都向左移动,以便方程式能够正确出现,请有人帮忙吗?图片也附在附件中
\documentclass[aps,twocolumn]{revtex4}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{epsfig}
\renewcommand{\baselinestretch}{1.45}
\begin{document}
\begin{eqnarray}
\left (\begin{array}{c} A_L \\ B_L \end{array}\right) = \left
(\begin{array}{cc} f^{-1} & f \\ ik_L f^{-1} &-ik_L f \end{array}
\right)^{-1} \left (\begin{array}{cc} u_1 & v_1 \\ u'_1 & v'_1
\end{array} \right) \left ( \begin{array}{cc} u_2 & v_2 \\ u'_2 &
v'_2 \end{array} \right)^{-1} \nonumber \\ \left
\begin{array}{cc} g & g^{-1} \\ ik_{R} g &-ik_{R} g^{-1}
\\ ik_{R} g &-ik_{R} g^{-1} \end{array} \right) \left
(\begin{array}{c} A_R \\ B_R \end{array}\right),
\end{document}
答案1
您提供的代码有很多错误,也请避免使用eqnarray
,而是使用align
环境,下面的代码可能会帮助您满足您的要求:
\documentclass[aps,twocolumn]{revtex4}
\usepackage{epsfig}
\usepackage{amsmath}
\usepackage{epsfig}
\renewcommand{\baselinestretch}{1.45}
\begin{document}
\begin{align}
\left(\begin{array}{c}
A_L \\ B_L
\end{array}
\right) &= \left(
\begin{array}{cc} f^{-1} & f \\ ik_L f^{-1} &-ik_L f \end{array}
\right)^{-1} \left(\begin{array}{cc}
u_1 & v_1 \\ u'_1 & v'_1
\end{array} \right) \left(
\begin{array}{cc} u_2 & v_2 \\ u'_2 &
v'_2 \end{array} \right)^{-1} \nonumber \\
&\quad\left(\begin{array}{cc} g & g^{-1} \\ ik_{R} g &-ik_{R} g^{-1}
\\ ik_{R} g &-ik_{R} g^{-1} \end{array} \right) \left
(\begin{array}{c} A_R \\ B_R \end{array}\right),
\end{align}
\end{document}
答案2
amsmath
使用您已加载的包的功能。
\documentclass[aps,twocolumn]{revtex4}
\usepackage{amsmath}
\begin{document}
\begin{multline}
\begin{pmatrix}
A_L \\ B_L
\end{pmatrix}
=
\begin{pmatrix}
f^{-1} & f \\
ik_L f^{-1} &-ik_L f
\end{pmatrix}^{-1}
\begin{pmatrix}
u_1 & v_1 \\
u'_1 & v'_1
\end{pmatrix}
\begin{pmatrix}
u_2 & v_2 \\
u'_2 & v'_2
\end{pmatrix}^{-1} \\
\begin{pmatrix}
g & g^{-1} \\
ik_{R} g &-ik_{R} g^{-1} \\
ik_{R} g &-ik_{R} g^{-1}
\end{pmatrix}
\begin{pmatrix}
A_R \\ B_R
\end{pmatrix}
\end{multline}
\end{document}