
말로 설명하거나 MWE를 통해 설명하기보다는 원하는 결과의 사진을 업로드했습니다. 나는 \frac{}{} \text{}, ^{}
각 텍스트 조각이 두 줄에 걸쳐 있는 방식을 제외하고 이 분수의 모든 구성 요소(예: )를 만드는 방법을 알고 있습니다 .
어떤 제안이 있으십니까?
답변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}