LaTeX package for syntax highlighting of code in various languages

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

    I would suggest defining your own package based on the following tex code; this gives you complete freedom. http://ubuntuforums.org/archive/index.php/t-331602.html

提交回复
热议问题