LaTeX package for syntax highlighting of code in various languages

后端 未结 7 1935
温柔的废话
温柔的废话 2020-11-29 15:00

I am looking for a LaTeX package that does syntax highlighting on code. For example, right now I use the verbatim block to write code:

\\begin{verbatim}
             


        
相关标签:
7条回答
  • 2020-11-29 15:26

    LGrind does this. It's a mature LaTeX package that's been around since adam was a cowboy and has support for many programming languages.

    0 讨论(0)
提交回复
热议问题