LaTeX package for syntax highlighting of code in various languages

后端 未结 7 1950
温柔的废话
温柔的废话 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:22

    I mostly use lstlistings in papers, but for coloured output (for slides) I use pygments instead.

提交回复
热议问题