fixed latex bug $\R$ to $