Skip to main content

New answers tagged

1 vote
Accepted

You can't use `macro parameter character #' in horizontal mode. I can't print a code .py with special characters

From the manual of listings: When the language is Python, # is the comment character and therefore everything that follows the first one (on the same line) is treated as LaTeX code. The second # ...
egreg's user avatar
  • 1.2m

Top 50 recent answers are included