\documentclass{article}
% My MWE original version
% I did use mtpro fonts
% how to use slop since I don't have the package 'slop'
\usepackage{amsmath}
\begin{document}
\begin{tabular}{ l r r r}
& $0.0735$ \\
&\times $294$ \\
\hline
&$2940 $ \\
&$6615$ \\
& +$ 1470$ \\
\hline
&$21.6090$ \\
\hline \\
\end{tabular}
\end{document}
答案1
我相信这就是你想要的。建议你阅读以下文档:http://texdoc.net/texmf-dist/doc/generic/xlop/xlop-doc.pdf
\documentclass{article}
\usepackage{xlop}
\begin{document}
\opmul{0.0735}{294}\qquad
\end{document}
答案2
你是指这样的事情吗?
\documentclass{article}
\usepackage{array}
\usepackage{siunitx}
\begin{document}
\begin{tabular}{>{$}l<{$} @{ } S[table-format=2.4]}
& 0.0735 \\
\times & {294} \\
\hline
& 14.70 \\
+ & 6.615 \\
+ & 0.2940 \\
\hline
= & 21.6090 \\
\hline
\end{tabular}
\end{document}
或者
\documentclass{article}
\usepackage{array}
\usepackage{siunitx}
\begin{document}
\begin{tabular}{>{$}l<{$} @{ } S[table-format=2.4] @{ } l}
& 0.0735 & $\times$ 294 \\
\hline
& 14.70 \\
+ & 6.615 \\
+ & 0.2940 \\
\hline
= & 21.6090 \\
\hline
\end{tabular}
\end{document}