This is LaTeX code:

[latex]
\{x_1, x_2, \ldots, x_r\}
[/latex]