CTAN Comprehensive TeX Archive Network

codehigh – Highlight code and demos with l3regex and lpeg

This package uses the l3regex package from the 3 Programming Layer to parse and highlight source code and demos. It is more powerful than the listings package, and more easy to use than minted. But it is slower than both of them. Therefore in Lua the package provides another way to highlight code: using LPeg (Parsing Expression Grammars for Lua). LPeg is much more powerful and faster than l3regex.

Bug trackerhttps://github.com/lvjr/codehigh/issues
Version2023A 2023-02-11
LicensesThe Project Public License 1.3c
MaintainerJianrui Lyu
Contained inTeX Live as codehigh
MiKTeX as codehigh
Experimental 3
Syntax highlight
Use luatex

Download the contents of this package in one zip archive (104.8k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author