1

LaTeX won't let me use _ in my text, it keeps trying to compile it as math and therefore won't compile my pdf.

Anyone knows how I can make it not do that?

I'm using it in the following:

\textit{item_name}
\textit{current_item.name}
\textit{_qty}
\textit{id='small_qty'}
Karlo
  • 3,257

1 Answers1

3
_ 

is a special character in Latex, you need to use

\_ 

instead