I've seen the three questions related to using $ around numbers/mathematical numerals in text outside of equations: When to use math mode?; Numbers outside Math environment; and What is the Necessity of $...$ Around Numbers?
I have the following expression in a paragraph and I wish to avoid different glyphs for the numbers if I change the font:
contour levels at ($-2$, 2, 4, 8, 16 and~32)~$\times$~0.348$\sigma$
Would any of these below be recommended to achieve this (and ensure if it breaks across two lines that breaking occurs before the and)?
($-2$, $2$, $4$, $8$, $16$ and~$32$)~$\times$~$0.384\sigma$
($-2$, $2$, $4$, $8$, $16$ and~$32$)~$\times~0.384\sigma$
$(-2, 2, 4, 8, 16$ and~$32) \times 0.384\sigma$
or possibly using \text{} as suggested by marmot:
$(-2, 2, 4, 8, 16\text{ and }32) \times 0.384$


$(-2, 2, 4, 8, 16\text{ and }32) \times 0.384$to your list. In this example this is not too obvious, but if you consider e.g.$\left(-2, \frac{2+\frac{1}{7}}{3}, 4, 8, 16\text{ and }32\right) \times 0.384$then you see that at least in some situations this is "better" since it allows you to let LaTeX adjust the brackets. – Feb 25 '18 at 03:46(-2, 2, 4, 8, 16, 32)denotes. Is it a row vector (an n-tuple), a collection of 6 scalar numbers, or something else still? The presence of the word "and" between "16" and "32" makes your example somewhat ambiguous in this regard. – Mico Feb 25 '18 at 06:10\times. a string in\textwon't break either -- it follows the math rules. – barbara beeton Feb 26 '18 at 15:09