
Em vez de tentar descrever em palavras ou por meio de um MWE, carreguei uma imagem do resultado desejado. Eu sei como criar todos os componentes (por exemplo \frac{}{} \text{}, ^{}
) desta fração, exceto a forma como cada trecho de texto ocupa duas linhas.
Alguma sugestão?
Responder1
Uma abordagem simples via ambiente 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}
Mais elegante com ambiente pmatrix
de pacote 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}