# Writing the dimension of a variable in latex

I am trying to write the information about the dimension of a vector like this

$M \epsilon R^N$

In the paper, they write it nicely, it looks nice. However, I am not sure what I am doing wrong, but it doesn't look good. Suggestions?

• This is not very clear. Why "doesn't [this] look good"? – Werner Apr 17 '14 at 17:39

$M \in \mathcal{R}^N$