![如何以特定的方式写出时尚的信件和文字?](https://linux22.com/image/365776/%E5%A6%82%E4%BD%95%E4%BB%A5%E7%89%B9%E5%AE%9A%E7%9A%84%E6%96%B9%E5%BC%8F%E5%86%99%E5%87%BA%E6%97%B6%E5%B0%9A%E7%9A%84%E4%BF%A1%E4%BB%B6%E5%92%8C%E6%96%87%E5%AD%97%EF%BC%9F.png)
答案1
这就是你所想的吗?
代码在这里:
\documentclass{article}
\begin{document}
\[
\begin{array}{rc@{}c@{}c@{}c}
\mbox{Used data structures}&=&\underbrace{S}&\underbrace{S'}&\underbrace{T}\\
&&\downarrow&\downarrow&\downarrow\\
&&\begin{tabular}{c}\scriptsize{Explicit}\\[-.75ex] \scriptsize{Stack}\end{tabular}&
\begin{tabular}{c}\scriptsize{Implicit}\\[-.75ex] \scriptsize{Stack}\end{tabular}&
\begin{tabular}{c}\scriptsize{Trailer}\\[-.75ex] \scriptsize{Stack}\end{tabular}
\end{array}
\]
\end{document}
答案2
\documentclass{article}
\usepackage{amsmath}
\def\Stack#1#2{\underbrace{#1}_{\underset{%
\begin{subarray}{c}
\text{\vphantom{p}#2}\\\text{Stack}
\end{subarray}}
{\downarrow}}}
\begin{document}
\begin{equation*}
\text{Used data structures}=\Stack{S}{Explicit}\ \Stack{S'}{Implicit}\ \Stack{T}{Trailer}
\end{equation*}
\end{document}