[Tex/LaTex] Weird Missing $ inserted error

math-modesymbols

This is what I wrote in my .tex file:

<\emph{Technician, View, Business_Plan, NULL}>$\rightarrow$ \emph{Deny}
<\emph{HR, View, Business_Plan, NULL}>$\rightarrow$ \emph{Deny}
<\emph{Manager, View, Business_Plan, NULL}>$\rightarrow$ \emph{Permit}

However, I got following compiling mistake:

! Missing $ inserted.
<inserted text> 
                $
l.303 ...ph{Technician, View, Business_Plan, NULL}
                                                  >$\rightarrow$ \emph{Deny}...

? 

Process has been terminated ...

I am almost mad by this weird error!!!
Could anybody help me??

Best Answer

You can't simply use "<" and ">" in text, one option would be to use $<$ and $>$.

Also, underscores can't appear in text, escape these: \_.

Related Question