# \dotsc or \dots in this case? [duplicate]

I know that we should use \dotsc with a comma and \dots if there is no comma. But what if I have a comma on the right side and no comma on the left side, for example in

Pr[X_i | X_{i+1}, ... ]


Which one should I use?

## marked as duplicate by egreg math-mode StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Jul 22 '14 at 8:19

• Welcome to TeX.SX! The \dotsX commands are just for the cases where it would be impossible to determine what kind of dots are expected, because they're at the end rather than in the middle of a list. So here \dotsc is the right command. You should probably use \mid instead of |. – egreg Jul 22 '14 at 8:12
• thanks for the link. By the way, I know it doesn't fit here, but because you told me to use \mid. Is there something like \left, \right to make \mid adapt its size? – user136457 Jul 22 '14 at 8:19
• You can use \bigm|, \Bigm|, \biggm| or \Biggm| for a bigger bar; there are other questions dealing with this problem. Don't worry about the duplicate question; feel free to ask, closing as duplicate is just a way to keep information tighter. – egreg Jul 22 '14 at 8:21