• New on CTAN: luanumbers

    From CTAN Announcements via ctan-ann@erik@ctan.org to ctan-ann on Thu Jun 11 09:22:16 2026
    From Newsgroup: comp.text.tex

    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
    --- Synchronet 3.22a-Linux NewsLink 1.2