I am trying to compile
$\forall u, v, w \in \R^m and c, d \in \R$
All of these are valid symbols and there is no problem in the syntax, as far as I know. However, pandoc refuses to compile it and says there is an undefined control sequence, citing \(\forall u, v, w \in \R
. I don't know why that first \(
is there because in my text file it is a $
. What is wrong with this snippet?
NB: it is 100% this snippet that is the problem since the error persisted after I put it in another file all on its own and tried to compile it.
Edit: this is the entire file. If I put that snippet into its own file it gives the exact same error so I do not see why posting my entire file is necessary. The full error message is as follows (yes, it does say l.61 even though my document is 1 line long):
\R
is not defined by default, have you defined it? – David Carlisle Feb 1 '17 at 18:31\R
defined? The last token in the error message is the one were TeX stopped; this seems to be\R
if you quoted the message correctly. – gernot Feb 1 '17 at 18:31\R
isn't a "basic" command; it's often defined to be\mathbb{R}
, but that definition has to be provided. – barbara beeton Feb 1 '17 at 18:32