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
\begin{equation}
...
\end{equation}
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$$.



$$...$$in LaTeX documents; you should use\[...\]instead. – Gonzalo Medina Sep 29 '11 at 00:58editlink at the bottom of your post. – Werner Sep 29 '11 at 03:01$$...$$vs.\[...\]matter has actually been explained on here already: http://tex.stackexchange.com/questions/503/why-is-preferable-to – doncherry Sep 29 '11 at 16:49