![如何在纯 TeX 中的字母上画三个水平点](https://linux22.com/image/407746/%E5%A6%82%E4%BD%95%E5%9C%A8%E7%BA%AF%20TeX%20%E4%B8%AD%E7%9A%84%E5%AD%97%E6%AF%8D%E4%B8%8A%E7%94%BB%E4%B8%89%E4%B8%AA%E6%B0%B4%E5%B9%B3%E7%82%B9.png)
如何在纯 TeX 中的字母上画三个水平点?
答案1
答案2
您可以加载amstex
(如果您进行大量数学运算,建议这样做),但您必须修复\dddot
(和\ddddot
)的定义:
\input amstex
% fix \dddot and \ddddot
\begingroup
\catcode`@=11
\gdef\dddot#1{{\mathop{\kern0pt #1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
\hbox{\rm...}\vss}}}}
\gdef\ddddot#1{{\mathop{\kern0pt #1}\limits^{\vbox to-1.4\ex@{\kern-\tw@\ex@
\hbox{\rm....}\vss}}}}
\endgroup
$a+\dddot{a}+\ddddot{a}$
\bye
如果你不想要amstex
,你可以使用经过一些更改的代码:
% define \dddot and \ddddot
\newdimen\ex
\ex.2326ex
\def\dddot#1{{\mathop{\kern0pt #1}\limits^{\vbox to-1.4\ex{\kern-2\ex
\hbox{\rm...}\vss}}}}
\def\ddddot#1{{\mathop{\kern0pt #1}\limits^{\vbox to-1.4\ex{\kern-2\ex
\hbox{\rm....}\vss}}}}
$a+\dddot{a}+\ddddot{a}$
\bye