Take the 2-minute tour ×  I like to use the $$\sum S_{i}$$ or
something similar. But I get the dot . or the comma , placed in
an awkward position. I work around this problem sometimes by
using $ \sum S$, but this is not good to stress things. Then
again to be more specific, I use   but I have noted that I
overuse the latter so I want to somehow have the comma typeset
the correct way when I use $$ something $$. Please note that in
some languages comma is used to separate connected clauses --
this differs from English! But, suppose I want to use $$....$$,
where ... or how can I write ...in other words it means $$...$$.
where I have used the period. Using it as-is, it comes after the
equation on the next line. How can I fix this?  In the example
below, how can I fix the comma or the dot?  $$\sum S$$, where I
have nothing really to say in this example.  It is $$\sum S$$.
share|improve this question Related questions: For formal
articles, should a displayed equation be followed by a
punctuation to conform to the