0

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

Werner
  • 603,163
  • 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... –  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
  • Try enclosing the, such that $<$ and $>$ – PascalVKooten Oct 18 '13 at 10:25
  • \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} –  Oct 18 '13 at 10:26
  • See my code above, any problem there? But the error is still there... –  Oct 18 '13 at 10:27
  • 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. – Martin Schröder Oct 18 '13 at 21:41
  • Welcome to TeX.sx! Your post was migrated here from [so]. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Oct 21 '13 at 22:07

1 Answers1

3

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

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