CTAN update: huffman
Date: June 5, 2026 8:08:43 PM CEST
Maxime Chupin submitted an update to the
huffman
package.
Version: 0.2 2026-06-04
License: lppl1.3c
Summary description: Drawing binary Huffman trees with MetaPost and METAOBJ
Announcement text:
- Rewrite of the Huffman algorithm and a new command to represent a q-ary tree (`newHuffman`). - Addition of the `huffmanAlphabet` array for encoding symbols.-
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/huffman The package’s files themselves can be inspected at https://mirrors.ctan.org/graphics/metapost/contrib/macros/huffman/
Thanks for the upload. For the CTAN Team Vincent Goulet
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
- Rewrite of the Huffman algorithm and a new command to represent a q-ary tree (`newHuffman`). - Addition of the `huffmanAlphabet` array for encoding symbols.-
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/huffman The package’s files themselves can be inspected at https://mirrors.ctan.org/graphics/metapost/contrib/macros/huffman/
Thanks for the upload. For the CTAN Team Vincent Goulet
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
huffman – Drawing binary Huffman trees with METAPOST and METAOBJ
This METAPOST package allows to draw general q-ary Huffman trees from two arrays : an array of strings, and an array of weights (numeric). It is based on the METAOBJ package which provides many tools to build trees in general.
| Package | huffman |
| Version | 0.2 2026-06-04 |
| Maintainer | Maxime Chupin |