如何在纯 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