Source Code Highlighting with Minted in LaTeX
Author:
writeLaTeX
Last Updated:
10 years ago
License:
Creative Commons CC BY 4.0
Abstract:
The minted
package provides automatic syntax highlighting for source code listings. It uses the excellent pygments highlighter, which provides very high quality highlighting for a wide range of languages.
This example also shows how you can use minted to typeset LaTeX math embedded in your source code.
\begin
Discover why 18 million people worldwide trust Overleaf with their work.