CTAN Comprehensive TeX Archive Network

Directory macros/latex/contrib/codehighlight

README.md

codehighlight

A verbatim capture environment and code highlight

For more details, see the documentation, codehighlight.pdf



Requirements

  • none besides a fairly recent 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

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.

PackageCodeHighlight
Support
Bug tracker
Repository
Version1.0 2026-11-27
LicensesThe Project Public License 1.3c
GNU Affero General Public License, version 3
Copyright2026 Alceu Frigeri
MaintainerAlceu Frigeri
Contained inTeX Live as codehighlight
TopicsListing
Syntax highlight
...
Guest Book Sitemap Contact Contact Author