Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have to type the product of $n$ variables, $x_1\cdot\ldots\cdot x_n$. Although maybe this is semantically the right way (like it is for the sum), it doesn't look very well. What should be, typographically, a better way to do it?

For example:

Just the ldots as in $x_1\ldots x_n$ is confusing when there are going to be also lists of the variables separated by commas in nearby sentences.

With \dotsc like in $x_1\dotsc x_n$ maybe, but is there a better idea?

share|improve this question
1  
This web site doesn't parse LaTeX? That would be funny! –  ABC Aug 5 '10 at 20:37
2  
It was removed since it interferes with displaying raw LaTeX code (which we need to see more often than we need to see rendered mathematics). See meta. –  ShreevatsaR Aug 5 '10 at 20:45
add comment

2 Answers

up vote 16 down vote accepted

Use \cdots. (See also: \vdots and \ddots.)

EDIT: Actually, I just read in the «Short Math Guide for LaTeX» by the AMS that:

  • \dotsc is for dots with commas,
  • \dotsb is for dots with binary operators,
  • \dotsm is for multiplication dots,
  • \dotsi is for dots with integrals,
  • \dotso is for other dots.

So \cdots and \ldots are commonly used but the AMS convention is to use the more semantic commands.

share|improve this answer
1  
So, \dotsm then. –  ABC Aug 5 '10 at 20:37
add comment

Or you can use \dots which can be used both inside and outside of math-mode.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.