How to use SIunitx for TeX LaTeX?

How to use SIunitx for TeX LaTeX?

You will need l3kernel and l3packages to use siunitx. The links above are to the ready-to-install TDS-style .zip files. Download these, and unzip them inside your local TeX tree (usually ~/texmf ), to create a structure.

Is it possible to format a floating point number?

Formatting floating-point (FP) numbers is a surprisingly complicated task. While you can probably write a decent integer to string conversion in a matter of minutes, a good FP formatting algorithm deserves a paper in a scientific journal.

How do I get expl3 from CTAN?

Package siunitx Error: Support package expl3 too old.. See the siunitx package documentation for explanation. Type H for immediate help. l.29 } ) I would really rather install the package using a package manager. I’m on Gentoo, which has a nice little tool called g-ctan that creates distro packages from packages on CTAN.

Can a double be converted to a floating point number?

The first problem can be addressed by converting double into a handmade floating point representation consisting of two integers, the significand and the binary exponent. If we use a 64-bit integer for the significand, we’ll have 11 extra bits of precision.

Where can I find sty files for SIunitx?

Instead of compiling the dtx file you can use the sty files directly. As mentioned by Joseph you can download every package as .tds.zip. These archive has the default texmf tree structure. In the path tex->latex->packagename you will find the relevant sty file (s).

How to get TeX LaTeX support from CTAN?

In common with a number of other Linux distributions, Gentoo probably uses a rather old version of TeX Live (I would assume TL2009, but cannot be sure). You will therefore need to obtain the necessary support files from CTAN and install them locally. You will need l3kernel and l3packages to use siunitx.

What is the purpose of the SIunitx package?

The siunitx package provides a set of tools for authors to typeset quantities in a consistent way. The package has an extended set of configuration options which make it possible to follow varying typographic conventions with the same input syntax.