Quantcast
Channel: Avoiding math mode inside a lstlisting - TeX - LaTeX Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by marczellm for Avoiding math mode inside a lstlisting

Maybe a clearer explanation."Text after the dollar sign appears in green" means you are talking about the editor you use for editing the TeX source. This has nothing to do with TeX math mode.TeX is a...

View Article



Answer by masu for Avoiding math mode inside a lstlisting

If you're using TeXnicCenter, and it's only the coloring inside the editor:This is a listed bug.The issue also effects the verbatim environment: http://sourceforge.net/p/texniccenter/bugs/318/.A "not...

View Article

Avoiding math mode inside a lstlisting

I'm using listings to highlight some PHP code. My problems comes when the code to insert contains the '$' symbol, for example:\begin{lstlisting}[style=PHP]Select * FROM users WHERE user_name =...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images