CTAN Comprehensive TeX Archive Network

CTAN update: siunitx

Date: May 18, 2021 3:17:43 PM CEST
Joseph Wright submitted an update to the siunitx package. Version: 3.0.0 2021-05-17 License: lppl1.3c Summary description: A comprehensive (SI) units package Announcement text:
Version 3 is a major update to `siunitx`, which has largely been re-written internally. A significant number of key-value settings have new, more descriptive, names. Where possible, older names are mapped to newer ones internally: you will be warned in the log if this is the case. It is possible to use the LaTeX kernel mechanism to load the last version 2 release for documents that cannot be successfully processed using version 3. This can be achieved using ``` \usepackage{siunitx}[=2021-04-09] or ```latex \usepackage{siunitx}[=v2] ``` In version 3, the document commands have been revised to be more descriptive. As such, the commands `\SI`,`\SIlist`, `\SIrange` and `\si` remain available but are not recommended for use in new use. Some changes have been made to the semantics of commands or options. Most notably - prefixes cannot now be given without units; - prefixes can only be interconverted with numbers as part of a quantity, not as stand-alone units. The font control system has been completely re-written for version 3. The method used in entirely different from version 2. Emulation is therefore not provided for some aspects: if you need non-standard font settings, you will need to adjust your source. The input approach for version 3 is slightly more structured and restricted than for version 2. As well as the updated names for document commands, this means that - Products of numbers must now be given using the dedicated `\numproduct` and `\qtyproduct` commands; - Quotients of numbers are only supported as literals; - Complex values need to be given using the dedicated command `\complexnum` The letter used for a numerical tabular column can now be selected by the user: the letter `S` has been retained as the standard interface. The unit column (`s`) has been removed from this release. It can be emulated using the `collcell` package, for example ```latex \usepackage{collcell} \newcolumntype{s}{>{\collectcell\unit}c<{\endcollectcell}} ``` or ```latex \usepackage{collcell} \newcolumntype{s}{>{\collectcell\si}c<{\endcollectcell}} ``` A new approach has been taken to providing non-Latin symbols for use in units: these are now handled directly where needed, for example in the definition of the `\micro` prefix. If you are using `table-column-width` to have fixed-width columns, you also now need `table-fixed-width` to set this option active.
The package’s Catalogue entry can be viewed at https://ctan.org/pkg/siunitx The package’s files themselves can be inspected at https://mirrors.ctan.org/macros/latex/contrib/siunitx/
Thanks for the upload. For the CTAN Team Petra Rübe-Pugliese
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

siunitx – A comprehensive (SI) units package

Typesetting values with units requires care to ensure that the combined mathematical meaning of the value plus unit combination is clear. In particular, the SI units system lays down a consistent set of units with rules on how they are to be used. However, different countries and publishers have differing conventions on the exact appearance of numbers (and units). A number of packages have been developed to provide consistent application of the various rules: SIunits, sistyle, unitsdef and units are the leading examples. The numprint package provides a large number of number-related functions, while dcolumn and rccol provide tools for typesetting tabular numbers.

The siunitx package takes the best from the existing packages, and adds new features and a consistent interface. A number of new ideas have been incorporated, to fill gaps in the existing provision. The package also provides backward-compatibility with SIunits, sistyle, unitsdef and units. The aim is to have one package to handle all of the possible unit-related needs of users.

The package relies on 3 support from the l3kernel and l3packages bundles.

Packagesiunitx
Version3.3.14 2024-04-15
Copyright2008–2024 Joseph Wright
MaintainerJoseph Wright

Announcements

more

Guest Book Sitemap Contact Contact Author