I am trying to set five dots on the top of a letter in order to denote the fifth derivative in Newton’s notation. If I do
one dot \dot{X}
,
two dots \ddot{X}
,
three dots \dddot{X}
,
four dots \dddot{X}
it's fine. But when you are going to five dots this command is not working. like:
five dots \dddddot{X}
.
Do you have any idea how to set five dots?
Best Answer
The problem is that each macro has to be defined, and there is only up to
\ddddot
.So I made two macros:
\dddddot
, and\multidots
. For both of them I copied the definition of\ddddot
and added dots.\dddddot
will put five dots on top of its argument.\multidots{n}{arg}
will putn
dots on top ofarg
.We can add an
\hbox to 0pt
to hide the width of the dots and make the spacing right on the sides of theX
. Although the dots will go over the rest of the text... It's a matter of choice: