What is the difference between \ldots
and \cdots
?
For example, To write a sequence of points which is best to use?
a_1,\ldots,a_n
Or a_1,\cdots,a_n
.
Couple of examples of the difference can be useful.
amsmath
What is the difference between \ldots
and \cdots
?
For example, To write a sequence of points which is best to use?
a_1,\ldots,a_n
Or a_1,\cdots,a_n
.
Couple of examples of the difference can be useful.
Best Answer
Although I agree with egreg's comment, the difference is mainly of an aesthetic nature imo. It depends on the context which version to use, which is also how
amsmath
decides which to use.Some examples:
a_1,\ldots,a_n
aligns better thana_1,\cdots,a_n
.But
a_1 \to \ldots \to a_n
aligns worse thana_1 \to \cdots \to a_n
.The alignment chosen by amsmath is usually the one commonly found in mathematical articles. However, I guess its not really wrong or anything to deviate from it.