You can edit almost every page by Creating an account and confirming your email.

Siunitx

From EverybodyWiki Bios & Wiki


siunitx
Developer(s)Joseph Wright
Written inTeX
Engine
    Operating systemCross-platform
    PlatformLaTeX
    TypeTypesetting
    LicenseLaTeX Project Public License

    Search Siunitx on Amazon.

    Siunitx is a LaTeX extension add-on designed to provide a consistent and comprehensive interface for typesetting SI units and numbers for computational physics. It ensures proper formatting according to the International System of Units (SI) and is widely used in academic and scientific publications.[1]

    Overview

    The siunitx package simplifies the process of writing physical quantities and units in LaTeX documents. It interprets input in a standardized way and automatically applies appropriate spacing, fonts, and styles. For example, it distinguishes between numerical values and their units, formats them correctly, and supports localization features such as decimal markers.

    Features

    • Consistent typesetting of units, including support for prefixes like kilo (k), mega (M), and milli (m)
    • Automatic spacing between numbers and units
    • Support for scientific notation
    • Localization of decimal markers (e.g., comma or period)
    • Table alignment using numerical data
    • Customizable appearance for numbers and units

    Usage

    In a LaTeX document, users load the package with:

    \usepackage{siunitx}
    

    To write a quantity, they can use:

    \SI{9.81}{\metre\per\second\squared}
    
    This produces:
    9.81 m/s²


    \unit{\Hz\tothe{0.5}} \\
    \unit[power-half-as-sqrt]{\Hz\tothe{0.5}}
    
    This produces:
    Hz0.5
    Hz

    See also

    References

    External links




    This article "Siunitx" is from Wikipedia. The list of its authors can be seen in its historical and/or the page Edithistory:Siunitx. Articles copied from Draft Namespace on Wikipedia could be seen on the Draft Namespace of Wikipedia and not main one.