How can I write a big dot operation with lower and upper bound in XeLatex as represented in the figure? Thank you.

enter image description here


1 Answer 1


The command \bigodot by default is a "Variable-sized Math Operator", meaning it is larger in display mode than it is in inline mode. In addition, limits (if any) are placed above and below the symbol in display, but placed to the right (in super/subscript) position when inline. Thus the code


produces the following output:

enter image description here

If you don't like the space between \bigodot and \mathbf{b} you can enclose the lower limit in \mathclap{...}. This requires the mathtools package:


Note that this also reduces space on the left.

enter image description here

To have two lines below the operator, use \substack{j=1\\j\ne i} for the lower limit. The \substack command requires the amsmath package, which is automatically loaded if you load mathtools.

enter image description here




\mathbf{b}_{V^{(i)}}\propto\bigodot_{\substack{j=1\\j\ne i}}^m\mathbf{f}_{V^{(j)}}\quad
\bigodot_{\mathclap{k=m+1}}^M\mathbf{b}_{V^{(k)}},\quad i=1:m


As a last (very picky) comment, you may notice that the j=1 and j\ne i aren't perfectly aligned in the \substack. This is because 1 and i don't have the same width. You can correct this by placing a phantom 1:


enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .