在对齐内对齐文本

在对齐内对齐文本

我尝试对齐以下代码中的文本 - 并删除文本行上的编号 - 但它具有奇怪的倾斜外观,并且文本行已编号。我试过 \nonumber,但它不起作用。

The reflected wave can be written in the form
\begin{equation}\label{b_at_x3_0_ricatti_bc_2}
\hat b_0(\omega,0) = \mathcal{\hat R}(\omega) \hat f (\omega),
\end{equation}
where, from the second equation in (\ref{matching_at_0_homog}) we have
\begin{eqnarray}\label{local_reflection_coeff_ricatti_3}
\mathcal{\hat R}(\omega) &=& \frac{T_0 \hat b(\omega,0)}{\hat f(\omega)} + R_0 \nonumber\\
\text{and then using equation (\ref{b_at_x3_0_ricatti_bc_1}) we have} \\ 
&=& \frac{\hat{R}(\omega,0)(\overbrace{T_0^2+R_0^2}^{=1})+R_0}{1+R_0 \hat{R}(\omega,0)} \nonumber \\
\text{and now using (\ref{R1T1_homog}) we have}  \\
&=&  \frac{\hat{R}(\omega,0)+R_0}{1+R_0 \hat{R}(\omega,0)},
\end{eqnarray} 

我怎样才能同时做到这两点?非常感谢您的帮助。

在此处输入图片描述

答案1

您可以使用\intertext在 内部添加文本行align

\documentclass[12pt]{article}
\usepackage{makecell}
\usepackage{amsmath}
\usepackage{bm}
\begin{document}

The reflected wave can be written in the form
\begin{equation}\label{b_at_x3_0_ricatti_bc_2}
\hat b_0(\omega,0) = \hat{\mathcal{R}}(\omega) \hat f(\omega),
\end{equation}
%
where, from the second equation in \eqref{matching_at_0_homog} we have
\begin{align}\label{local_reflection_coeff_ricatti_3}
\hat{\mathcal{R}}(\omega) &= \frac{T_0 \hat b(\omega,0)}{\hat f(\omega)} + R_0 
\intertext{and then using equation \eqref{b_at_x3_0_ricatti_bc_1} we have} 
\hat{\mathcal{R}}(\omega) &= \frac{\hat{R}(\omega,0)(\overbrace{T_0^2+R_0^2}^{=1})+R_0}{1+R_0 \hat{R}(\omega,0)} 
\intertext{and now using \eqref{R1T1_homog} we have} 
\hat{\mathcal{R}}(\omega) &= \frac{\hat{R}(\omega,0)+R_0}{1+R_0 \hat{R}(\omega,0)},
\end{align} 

\end{document}

在此处输入图片描述

相关内容