数式が長すぎる場合に align 環境を使用する方法

数式が長すぎる場合に align 環境を使用する方法

次のような環境を使用したいと思います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:"出力では、2 番目の式の後ろにあるはずのテキスト行が、その下にあります (長さのせいだと思います)。そのため、それを式の上に移動したいと思います。

よろしくお願いします。

答え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}

ここに画像の説明を入力してください

関連情報