I am doing my first LaTeX work using TeXstudios and I'm having trouble with an Undefined control sequence.
When I've checked solutions on google it appears as this is caused by typos in the different commands.
However, I have used the TeXstudios implemented menus to generate the codes so it shouldn't be any problem with that.
The code I'm having trouble with is
which I intend to become x belonging to the real numbers with n as an exponent.
I get the error
Undefined control sequence $x\in\mathbb