CTAN Comprehensive TeX Archive Network

CTAN update: KKluaverb

Datum: 22. Juni 2026 08:44:00 MESZ
Kosei Kawaguchi submitted an update to the KKluaverb package. Version: 2.3.0 2026-06-12 License: mit Summary description: Provides a Lua-enhanced versatile \verb command Announcement text:
Changes in this release (v2.3.0): - New options `wrap` and `wrapindent` for `\KKcodeS/E` blocks: when `\KKvOpChange{wrap=true}` is set, lines that exceed `\linewidth` are automatically wrapped instead of producing Overfull `\hbox` warnings. Continuation lines are indented by the original code indentation plus the value of `wrapindent` (default: 2em). This feature is available for style=1 and style=2 (line-numbered); continuation lines in style=2 do not receive a line number. - New command `\KKvSetMapTeX{<char>}{<tex-cmd>}`: maps a verbatim character to a TeX command, which is emitted via `tex.sprint` (with expansion) at output time. This complements the existing `\KKvSetMap` (character-to- character substitution) and is useful in Japanese font contexts where U+2423 (OPEN BOX, ␣) may be rendered as a full-width glyph. - New command `\KKvSpaceVisible`: convenience wrapper for `\KKvSetMapTeX{ }{\textvisiblespace}`, making spaces in verbatim output appear as the half-width visible-space symbol provided by `textcomp`. - New command `\KKvClearMapTeX{<char>}`: removes the TeX-command mapping for the given character and restores the default behaviour (for space: reverts to the automatic non-breaking space substitution).
This package is located at https://mirrors.ctan.org/macros/luatex/latex/kkluaverb More information is at https://ctan.org/pkg/kkluaverb
Thanks for the upload. For the CTAN Team Manfred Lotz CTAN is run entirely by volunteers and supported by TeX user groups. Please join a user group or donate to one, see https://ctan.org/lugs .

KKluaverb – Provides a Lua-enhanced versatile \verb command

This package provides a Lua-enhanced command similar to \verb, as well as an environment similar to lstlisting. These can be safely used in the arguments of arbitrary commands without breaking, and they work correctly in the table of contents and indexes. The package also allows the creation of an arbitrary number of text-replacement rules and color presets.

PaketKKluaverb
Version2.3.0 2026-06-12
Copyright2026 Kosei Kawaguchi
BetreuerKK

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren