CTAN Comprehensive TeX Archive Network

New on CTAN: luanumbers

Datum: 11. Juni 2026 07:22:16 MESZ
Parsa Yazdi submitted the luanumbers package. Version number: 0.5.0 2026-06-10 License type: lppl1.3c Summary description: Decimal adjustment from a single preamble setup Announcement text:
`luanumbers` is a LuaLaTeX package for automatic decimal formatting across a document. It allows authors to declare a rounding and display policy once in the preamble, then apply it automatically to ordinary decimal literals in both prose and mathematics. Unlike workflows that require every number to be wrapped in commands such as `\num{...}`, `luanumbers` lets most numbers remain in their natural LaTeX form. This makes it useful for revising long documents where the required precision may change during editing, review, or publication. The package uses Lua-based decimal-string arithmetic, preserves integers by default, and includes safeguards for structural LaTeX content such as labels, references, file names, graphics coordinates, and protected commands or environments. Authors can also exclude selected sections, figures, tables, diagrams, or other objects from automatic processing. For cases where automatic inference is not appropriate, `luanumbers` also provides explicit per-value formatting commands.
This package is located at https://mirrors.ctan.org/macros/luatex/latex/luanumbers More information is at https://www.ctan.org/pkg/luanumbers
Thanks for the upload. For the CTAN Team Erik Braun
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

luanumbers – Decimal adjustment from a single preamble setup

This package automatically rounds eligible decimal literals written directly in prose and mathematics. Authors do not normally need to wrap each number in a command or maintain a separate numeric data structure. Changing one preamble setting can revise the displayed precision throughout the document.

Paketluanumbers
Version0.5.0 2026-06-10
Copyright2026 Parsa Yazdi
BetreuerParsa Yazdi

Ankündigungen

mehr

Gästebuch Seiten-Struktur Impressum Autor kontaktieren