\text{} は分数ですが、2行に渡って表示されます

\text{} は分数ですが、2行に渡って表示されます

言葉や MWE で説明するのではなく、望ましい結果の画像をアップロードしました。\frac{}{} \text{}, ^{}各テキストが 2 行に渡る方法を除いて、この分数のコンポーネント (例 ) をすべて作成する方法はわかっています。

助言がありますか?

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

答え1

環境を介したシンプルなアプローチtabular:

\documentclass{article}

\begin{document}

\begin{displaymath}
\frac{
  \left(
    \begin{tabular}{@{}c@{}}
      some text\\
      here
    \end{tabular}
  \right)
  \times
  \left(
    \begin{tabular}{@{}c@{}}
      some more\\
      here
    \end{tabular}
  \right)^a
}{
  \left(
    \begin{tabular}{@{}c@{}}
      and even more\\
      text down here
    \end{tabular}
  \right)^b
}
\end{displaymath}
\end{document}

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

pmatrixパッケージの環境によりエレガントになりますamsmath:

\documentclass{article}
\usepackage{amsmath}

\begin{document}

\begin{gather*}
\frac{
  \begin{pmatrix}
    \text{some text}\\
    \text{here}
  \end{pmatrix}
  \times
  \begin{pmatrix}
    \text{some more}\\
    \text{here}
  \end{pmatrix}^a
}{
  \begin{pmatrix}
    \text{and even more}\\
    \text{text down here} 
  \end{pmatrix}^b
}
\end{gather*}

\end{document}

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

関連情報