\dotsc

The \dotsc command in LaTeX is used to produce ellipsis (three dots) in contexts where it is followed by a comma or similar punctuation. It ensures proper spacing in mathematical expressions, particularly in sequences or series.

Examples

Ellipsis in a sequence of terms separated by commas.

a_1, a_2, \dotsc, a_n

Ellipsis in a series of terms separated by plus signs.

x_1 + x_2 + \dotsc + x_n

Ellipsis in a sequence of function evaluations.

f(x_1), f(x_2), \dotsc, f(x_n)