Directory macros/latex/contrib/codehighlight
codehighlight
A verbatim capture environment and code highlight
For more details, see the documentation, codehighlight.pdf
Requirements
- none besides a fairly recent LaTeX distribution as recent as 2026-06-01
(with the new in kernel ProcessKeyOptions and NewDocumentCommand).
Installation
The stable version is available at CTAN.
Usage
Just place
\usepackage{codehighlight}
in the preamble, for further details, see the documentation.
Contacting Author
For bug reports and enhancement suggestions, the preferred way is to use the project's issue page. Please be ready to provide an example code showing the bug, if any.
Copyright 2026-present by Alceu Frigeri
This work may be distributed and/or modified under the conditions of
- The LaTeX Project Public License, version 1.3c (or later), and/or
- The GNU Affero General Public License, version 3 (or later)
This work has the LPPL maintenance status maintained.
The Current Maintainer of this work is Alceu Frigeri
This work consist of the files
- README.md (this file)
- quick introduction
- codehighlight.bib
- codehighlight.tex
- codehighlight-cmm.tex
- package documentation
- codehighlight.pdf
- documentation in PDF format
- codehighlight.sty
- code highlighting
- codehighlight-00.def ... codehighlight-2F.def (hexadecimal numbering)
- the many pre-defined language files
Change log
- Version 1.0
- Initial release at CTAN
Download the contents of this package in one zip archive (907.9k).
CodeHighlight – Syntax highlighting of verbatim content
This package offers a flexible way to describe how to
highlight content in a verbatim environment.
It includes a set of known popular
(based on the
tiobe index)
programming languages, and together with its companion package,
codeverbatim, allows the
typeseting of verbatim content with syntax highlighting.
| Package | CodeHighlight |
| Support | |
| Bug tracker | |
| Repository | |
| Version | 1.0 2026-11-27 |
| Licenses | The LaTeX Project Public License 1.3c GNU Affero General Public License, version 3 |
| Copyright | 2026 Alceu Frigeri |
| Maintainer | Alceu Frigeri |
| Contained in | TeX Live as codehighlight |
| Topics | Syntax highlight Listing |