5

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?

migrated from stackoverflow.com Apr 18 '14 at 18:02

This question came from our site for professional and enthusiast programmers.

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

I think you want to edit the style of fonts and symbols, but unless you give graphical details of what you want to achieve it is difficult to do it. The symbol for "belongs to" is obtained with \in. Then you can play with \mathcal if you want stylized R:

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

This looks like:

enter image description here

  • 3
    Or \mathbb{R}, which requires \usepackage{amsfonts} or, perhaps better, \usepackage{amssymb}. – egreg Apr 18 '14 at 18:19
  • 2
    @egreg Yes, there are many possibilities. I find it useful to look at one of those PDF compilations of latex symbols which allow you to quickly identify the symbol you are looking for and what package/command gives it to you. Something like "The comprehensive latex symbol list": www.tex.ac.uk/tex-archive/info/symbols/comprehensive/symbols-a4.pdf‎ – Miguel Apr 18 '14 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.