For example, if I want to say something like
Let x_1, ..., x_n be real numbers.
should I use
Let $x_1, \dotsc, x_n$ be real numbers.
or
Let $x_1$, $\dots$, $x_n$ be real numbers.
Note that if one lists only two objects a, b, then
Let $a$, $b$ be real numbers.
should be used instead of something like
Let $a, b$ be real numbers.
since the comma is part of the text (and not of the mathematical notation), see "$a, b$" vs. "$a$, $b$" or $a,\ b$, and $c$ vs. $a$, $b$, and $c$.
\dots;\dotscis necessary in cases such asa_1,a_2,\dotscwhere the nature of the dots cannot be determined by examining the next token. – egreg Aug 13 '18 at 16:35Let $x_1$, $\dots$, $x_n$ be real numbers.seems needlessly complicated, but I can see where you are coming from... – moewe Aug 13 '18 at 16:47