答案1
您可以使用基于\genfrac
from 的不可见分数amsmath
。
\documentclass{article}
\usepackage[fleqn]{amsmath}
\newcommand{\ifrac}[2]{\genfrac{}{}{0pt}{}{#1}{#2}}
\begin{document}
\[\frac{52}{1^\circ}\ifrac{\cdot}{}\frac{51}{2^\circ}\ifrac{\cdots}{}\frac{1}{52^\circ}\ifrac{=52!}{}\]
or
\[\frac{52}{1^\circ}\ifrac{\cdot}{}\frac{51}{2^\circ}\ifrac{\cdots}{\cdots}\frac{1}{52^\circ}\ifrac{=52!}{}\]
\end{document}
答案2
\documentclass{article}
\newcommand{\myVerticalRaise}{1.5ex} % Variable for vertical raise used in \raisebox.
\begin{document}
\begin{equation}
\frac{52}{1} \mathrel{\raisebox{\myVerticalRaise}{$\cdot$}}%
\frac{51}{2} \mathrel{\raisebox{\myVerticalRaise}{$\cdot$}}%
\frac{1}{52} %
\mathrel{\raisebox{\myVerticalRaise}{$=52!$}}
\end{equation}
\end{document}