I have written "hello world x (become) E"
my code is:
hello world \[\in {E}\]
but the result is: two line
I have written "hello world x (become) E"
my code is:
hello world \[\in {E}\]
but the result is: two line
I would've preferred to close this as a duplicate, but alas, I cannot find this question anywhere :( This is pretty basic syntax stuff, so I would find a nice introduction to LaTeX (such as egreg suggests in the comments above).
\[ and \] is shorthand to enter display-math mode; use $\in E$ (or \(\in E\) if you prefer).
\[and\]enter display-math mode; use$\in E$(or\(\in E\)if you prefer). – Sean Allred Sep 16 '17 at 17:35