siunitx – A comprehensive (si) units package∗ Joseph Wright† Released 2021-09-22 Contents 1 Introduction 3 2 siunitx for the impatient 3 3 Using the siunitx package 4 3.1 Numbers . 4 3.2 Angles . 5 3.3 Units . 6 3.4 Complex numbers and quantities . 7 3.5 The unit macros . 8 3.6 Unit abbreviations . 10 3.7 Creating new macros . 14 3.8 Tabular material . 15 4 Package control options 17 4.1 The key–value control system . 17 4.2 Printing . 18 4.3 Parsing numbers . 20 4.4 Post-processing numbers . 22 4.5 Printing numbers . 25 4.6 Lists, products and ranges . 28 4.7 Complex numbers . 31 4.8 Angles . 32 4.9 Creating units . 34 4.10 Using units . 35 4.11 Quantities . 38 4.12 Tabular material . 39 4.13 Locale options . 49 4.14 Preamble-only options . 49 5 Upgrading from version 2 49 6 Unit changes made by BIPM 51 ∗This file describes v3.0.31, last revised 2021-09-22. †E-mail:
[email protected] 1 7 Localisation 52 8 Compatibility with other packages 52 9 Hints for using siunitx 52 9.1 Adjusting \litre and \liter ........................ 52 9.2 Ensuring text or math output . 53 9.3 Expanding content in tables . 53 9.4 Using siunitx with datatool .......................... 54 9.5 Using units in section headings and bookmarks . 55 9.6 A left-aligned column visually centred under a heading . 56 9.7 Regression tables . 57 9.8 Maximising performance . 58 9.9 Special considerations for the \kWh unit .