Latex 中的方程式拆分

Latex 中的方程式拆分

有人帮帮我:我有一个如下的方程式,但是在 Latex 中出现错误:

\begin{equation}
    \begin{split}
        {\mathcal{F}}_{Q,{\textrm{$\omega$}}_{\mathrm{b\ }}}&=\{\{t^2(1-\frac{1}{{({\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})}^4}{({({\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})}^2\\‎
            &+4\mathrm{cos}[\textrm{$\alpha$}]\mathrm{sin}[\textrm{$\theta$}]{\mathrm{Sin}}^2[\frac{1}{4}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]{\textrm{$\Omega$}}_{\mathrm{R1}}{\textrm{$\Omega$}}_{\mathrm{R2}}(\mathrm{cos}[\frac{1}{2}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})\\‎
            &-({\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})({\mathrm{cos}}^2[\frac{1}{2}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})-\mathrm{cos}[\textrm{$\theta$}]((-1+4\mathrm{cos}[\frac{1}{2}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]){\textrm{$\Omega$}}^2_{\mathrm{R1}}{\textrm{$\Omega$}}^2_{\mathrm{R2}}\\‎
            &+{\textrm{$\Omega$}}^4_{\mathrm{R2}}+{\mathrm{cos}}^2[\frac{1}{2}t\sqrt{{\mathrm{\textrm{$\Omega$}}\mathrm{2}}^2+{\textrm{$\Omega$}}^2_{\mathrm{R1}}}]({\textrm{$\Omega$}}^4_{\mathrm{R1}}-{\textrm{$\Omega$}}^2_{\mathrm{R1}}{\textrm{$\Omega$}}^2_{\mathrm{R2}})))}^2)\}\}
    \end{split}
\end{equation}

答案1

这个怎么样?

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{split}
        {\mathcal{F}}_{Q,{\textrm{$\omega$}}_{\mathrm{b\ }}}&=\{\{t^2(1-\frac{1}{{({\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})}^4}{({({\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})}^2}\\
            &+4\mathrm{cos}[\textrm{$\alpha$}]\mathrm{sin}[\textrm{$\theta$}]{\mathrm{Sin}}^2[\frac{1}{4}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]{\textrm{$\Omega$}}_{\mathrm{R1}}{\textrm{$\Omega$}}_{\mathrm{R2}}(\mathrm{cos}[\frac{1}{2}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})\\
            &-({\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})({\mathrm{cos}}^2[\frac{1}{2}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}})-\mathrm{cos}[\textrm{$\theta$}]((-1+4\mathrm{cos}[\frac{1}{2}t\sqrt{{\textrm{$\Omega$}}^2_{\mathrm{R1}}+{\textrm{$\Omega$}}^2_{\mathrm{R2}}}]){\textrm{$\Omega$}}^2_{\mathrm{R1}}{\textrm{$\Omega$}}^2_{\mathrm{R2}}\\
            &+{\textrm{$\Omega$}}^4_{\mathrm{R2}}+{\mathrm{cos}}^2[\frac{1}{2}t\sqrt{{\mathrm{\textrm{$\Omega$}}\mathrm{2}}^2+{\textrm{$\Omega$}}^2_{\mathrm{R1}}}]({\textrm{$\Omega$}}^4_{\mathrm{R1}}-{\textrm{$\Omega$}}^2_{\mathrm{R1}}{\textrm{$\Omega$}}^2_{\mathrm{R2}})))^2)\}\}
\end{split}
\end{equation}
\end{document}

在此处输入图片描述

答案2

  • 您的代码片段很容易丢失。这是与 LaTeX 的意图相悖的……

  • 为了正确地(重)写出你的方程,你需要显示所需方程的图像。

  • 我尝试清理前两行,其中我考虑了您问题下面的所有评论,但我不确定结果是否如您所愿:

\documentclass{article}
\usepackage{geometry}
\usepackage{mathtools}

\begin{document}
\begin{equation}
    \begin{split}
\mathcal{F}_{Q,\omega_\mathrm{b}}
    & = \biggl\{\biggl\{
        t^2\left(1-\frac{1}{\Omega^2_\mathrm{R1} + \Omega^2_{\mathrm{R2}^4}}\right)\Omega^2_\mathrm{R1} + 
        \Omega^2_{\mathrm{R2}^2}                    \\
    & + 4\cos\alpha\sin\theta \sin^2\left[\frac{1}{4} t\sqrt{\Omega^2_\mathrm{R1} + \Omega^2_\mathrm{R2}}\right]
        \Omega_\mathrm{R1}\Omega_\mathrm{R2}\cos\left[\frac{1}{2}t\sqrt{\Omega^2_\mathrm{R1}\Omega^2_\mathrm{R2}}\right]
        \Omega^2_\mathrm{R1} + \Omega^2_\mathrm{R2}  \\
    & \dots \biggr\}\biggr\}
     \end{split}
\end{equation}
\end{document}

在此处输入图片描述

相关内容