當數學太長時如何使用對齊環境

當數學太長時如何使用對齊環境

我想像align這樣使用環境:

\begin{itemsize}
  \begin{align}
    {\color{purple} \mathcal{L} [f'(t)](s) = s \mathcal{L} [f(t)](s) - f(0) } \\
    {\color{red} \mathcal{L} [f^{(n)}(t)](s) = s^n \mathcal{L} [f(t)](s) - s^{n- 
1}f(0) - s^{n-2}f(0) - \dots - f^{n-1}(0)}
  \end{align}
  n mal differenzierbar:
\end{itemsize}

輸出是這樣的"n mal differenzierbar:",應該在第二個方程式後面的文字行位於它的下面(我猜是因為長度的原因)。所以,我想把它移到等式之上。

提前謝謝了。

答案1

像這樣?

\documentclass{article}
\usepackage{amsmath}
\usepackage{xcolor}
\begin{document}
\begin{align}
{\color{purple} \mathcal{L} [f'(t)](s)\;} & {\color{purple}= s \mathcal{L} [f(t)](s) - f(0) } \\
\intertext{n mal differenzierbar:}
{\color{red} \mathcal{L} [f^{(n)}(t)](s)\;} & {\color{red}= s^n \mathcal{L} [f(t)](s) - s^{n- 1}f(0) - s^{n-2}f(0) - \dots - f^{n-1}(0)  }
\end{align}
\end{document}

在此輸入影像描述

或這個?

\documentclass{article}
\usepackage{amsmath}
\usepackage{xcolor}
\begin{document}
n mal differenzierbar:
\begin{align}
{\color{purple} \mathcal{L} [f'(t)](s)\;} & {\color{purple}= s \mathcal{L} [f(t)](s) - f(0) } \\
{\color{red} \mathcal{L} [f^{(n)}(t)](s)\;} & {\color{red}= s^n \mathcal{L} [f(t)](s) - s^{n- 1}f(0) - s^{n-2}f(0) - \dots - f^{n-1}(0)  }
\end{align}
\end{document}

在此輸入影像描述

相關內容