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??

  • the ">" is the problematic character. it should either be gone or also placed in the $$ equation (you can't simply write > in text) – PascalVKooten Oct 18 '13 at 10:15
  • Thanks for commenting. But after trying what you said(I just let the '>' go), the error still... – qingjinlyc Oct 18 '13 at 10:22
  • Because, similarly, there are more of those < and > characters appearing in text. – PascalVKooten Oct 18 '13 at 10:24
  • 1
    The underscores _ also have to be escaped (\_). It then works (in Business_Plan, that is). Welcome to the "wonderful" world of latex. – PascalVKooten Oct 18 '13 at 10:31
  • 1
    Please read any introduction to LaTeX. – Reinstate Monica - M. Schröder Oct 18 '13 at 21:41

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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.