CTAN
Comprehensive TeX Archive Network

Direc­tory tex-archive/macros/latex/contrib/siunitx

siu­nitx - A com­pre­hen­sive (SI) units pack­age

Phys­i­cal quan­ti­ties have both num­bers and units, and each phys­i­cal quan­tity should be ex­pressed as the prod­uct of a num­ber and a unit. Type­set­ting phys­i­cal quan­ti­ties re­quires care to en­sure that the com­bined math­e­mat­i­cal mean­ing of the num­ber-unit com­bi­na­tion is clear. In par­tic­u­lar, the SI units sys­tem lays down a con­sis­tent set of units with rules on how these are to be used. How­ever, dif­fer­ent coun­tries and pub­lish­ers have dif­fer­ing con­ven­tions on the ex­act ap­pear­ance of num­bers (and units). The siunitx pack­age pro­vides a set of tools for au­thors to type­set quan­ti­ties in a con­sis­tent way. The pack­age has an ex­tended set of con­fig­u­ra­tion op­tions which make it pos­si­ble to fol­low vary­ing ty­po­graphic con­ven­tions with the same in­put syn­tax. The pack­age in­cludes au­to­mated pro­cess­ing of num­bers and units, and the abil­ity to con­trol tab­u­lar align­ment of num­bers.

In­stal­la­tion

The pack­age is sup­plied in dtx for­mat and as a pre-ex­tracted zip file, siunitx.tds.zip. The later is most con­ve­nient for most users: sim­ply un­zip this in your lo­cal texmf di­rec­tory . If you want to un­pack the .dtx your­self, run­ning texsiu­nitx.dtx will extract the package whereas la­tex siu­nitx.dtx will extract it and also typeset the documentation. The pack­age re­quires LaTeX3 sup­port as pro­vided in the l3kernel and l3packages bun­dles. Both of these are avail­able on CTAN as ready-to-in­stall zip files. Suitable ver­sions are avail­able in MiKTeX 2.9 and TeX Live 2012 (up­dat­ing the rel­e­vant pack­ages on­line may be nec­es­sary). LaTeX3, and so siunitx, re­quires the ε-TeX ex­ten­sions: these are avail­able on all mod­ern TeX sys­tems.

Type­set­ting the doc­u­men­ta­tion re­quires a num­ber of pack­ages in ad­di­tion to those needed to use the pack­age. This is mainly be­cause of the num­ber of demon­stra­tion items in­cluded in the text. To com­pile the doc­u­men­ta­tion with­out er­ror, you will need the pack­ages:

  • amsmath
- booktabs
  • cancel
- caption
  • cleveref
- colortbl
  • csquotes
- datatool
  • helvet
- mathpazo
  • multirow
- listings
  • pgfplots
- xcolor

Files

Name Size Date Notes
LICENSE.md 220 2015-03-09 09:55
README.md 2215 2015-03-09 09:55
siu­nitx.dtx 614330 2015-09-01 13:36
siu­nitx.pdf 613107 2015-09-01 13:37

Down­load the con­tents of this pack­age in one zip archive (707.1k).

siu­nitx – A com­pre­hen­sive (SI) units pack­age

Type­set­ting val­ues with units re­quires care to en­sure that the com­bined math­e­mat­i­cal mean­ing of the value plus unit com­bi­na­tion is clear. In par­tic­u­lar, the SI units sys­tem lays down a con­sis­tent set of units with rules on how they are to be used. How­ever, dif­fer­ent coun­tries and pub­lish­ers have dif­fer­ing con­ven­tions on the ex­act ap­pear­ance of num­bers (and units). A num­ber of LaTeX pack­ages have been de­vel­oped to pro­vide con­sis­tent ap­pli­ca­tion of the var­i­ous rules: SIu­nits, sistyle, units­def and units are the lead­ing ex­am­ples. The numprint pack­age pro­vides a large num­ber of num­ber-re­lated func­tions, while dcol­umn and rc­col pro­vide tools for type­set­ting tab­u­lar num­bers.

The siu­nitx pack­age takes the best from the ex­ist­ing pack­ages, and adds new fea­tures and a con­sis­tent in­ter­face. A num­ber of new ideas have been in­cor­po­rated, to fill gaps in the ex­ist­ing pro­vi­sion. The pack­age also pro­vides back­ward-com­pat­i­bil­ity with SIu­nits, sistyle, units­def and units. The aim is to have one pack­age to han­dle all of the pos­si­ble unit-re­lated needs of LaTeX users.

The pack­age re­lies on LaTeX 3 sup­port from the l3k­er­nel and l3­pack­ages bun­dles.

Pack­age De­tailssiu­nitx
Home pagehttp://github.com/joseph­wright/siu­nitx
Ver­sion2.6j 2015-09-01
Li­censeThe LaTeX Project Public Li­cense 1.3
Main­tainerJoseph Wright
TDS archivesiunitx.tds.zip
Con­tained inTeX Live as siu­nitx
MiKTeX as siu­nitx
Topics uni­form type­set­ting of units
sup­port for writ­ers of sci­en­tific doc­u­ments
Guest Book Sitemap Contact Contact Author