Question: When `\newcommand` is used, it is somewhat common that it is used in such a way that the (rendered) post starts with a blank line. 

While this is minor, it is still somewhat unfortunate, and can be avoided easily.

[One answer illustrates the problem](https://meta.mathoverflow.net/a/1282/9072), [another one a solution](https://meta.mathoverflow.net/a/1283/9072), [and still another an almost but not quite solution](https://meta.mathoverflow.net/a/1284/9072). 

If there are better or other ideas or related thoughts, please, share them.

Answer: 
$\newcommand{\test}{\text{test}}$Here it starts in the way it should start. And I continue to get a second line to see that it really starts right at the start of the line and not with some extra space as in still another variant. 

---

Source snippet: 

```
$\newcommand{\test}{\text{test}}$Here it starts in the way it should start. 

```

If there is no space at all between the MathJax and the text it is alright.
$\newcommand{\test}{\text{test}}$

Here we have a lot of space at the start.

---

Source: 

```
$\newcommand{\test}{\text{test}}$

Here we have a lot of space at the start.

```

The main issue is the empty-line. While the MathJax does not display anything it is still "there" and the empty-line translates to a 'new' paragraph being started.