{siunitx} is a package that provides consistent typesetting of physical quantities, allowing application of various typographic conventions with the same input syntax. This package replaces the deprecated {siunits} package.

learn more… | top users | synonyms

2
votes
1answer
168 views

Simplify LaTeX document to satisfy editing office

I have a LaTeX manuscript prepared using a publisher class file (agutex) where I've used four packages (booktabs, glossaries, siunitx, graphicx). I use glossaries in particular for acronyms. After ...
3
votes
1answer
59 views

strange warning when using newtxmath and siunitx packages together

I've just noticed that I'm compiling my documents I get something similar to the following warning: LaTeX Font Warning: Font shape `OT1/cmr/m/n' in size <5.5> not available (Font) ...
9
votes
1answer
219 views

Grouping digits according to the Indian numbering system in siunitx

\num{100000} prints 100 000 I want to have 1 00 000. Question: How to set siunitx package to do the above? Some more \num{1000} => 1 000 \num{10000} => 10 000 \num{100000} => 1 00 000 ...
6
votes
1answer
85 views

Use of siunitx, beamer and \maketitle simultaneously?

I'm using beamer and I'm not able to use the package siunitx features within the \maketitle environment. Minimal NOT working example \documentclass{beamer} \usepackage{siunitx} \title{\SI{5}{\micro ...
2
votes
1answer
285 views

Aligning the decimal point using siunitx and longtable?

I have just discovered that I couldn't do alignment of the decimal points using the siunitx and longtable packages. It throws errors, just to mention some for e.g.: Invalid numerical input 'e' Col1 ...
5
votes
1answer
117 views

Typeset a number with many digits in the align environment

Questions like this have been asked before, Here and here, but neither of these are within a math enviroment. In context, I would like to type set the approximate solution to an integral to 100 ...
5
votes
1answer
115 views

fancyunits VS siunitx

I am wondering which of the two packages (fancyunits or siunitx) is the best one to use ? is one of them depreciated ? is one if them more complete or easier to use or even more pretty ? which one is ...
6
votes
1answer
111 views

siunitx overfull hbox dependent on table-format

There are a few similar questions (see here and here) regarding overfull \hboxes in siunitx tables but neither solves/explains the following. Consider this MWE: \documentclass{article} ...
2
votes
1answer
200 views

Alignment of siunitx S-column looks bad with big numbers

I have to put a bunch of numbers into a lab report, and I currently use siunitx with tabular and the S column type. It looks great for small numbers and large column heads. However, for small heads ...
5
votes
1answer
125 views

\SIlist with uncertainty AND units

Using the siunitx package, I want to create lists of values that have both uncertainties and units. They should appear in the document like this example: 4 ± 2 %, 3 ± 2 %, 2 ± 1 % and 3 ± 2% Here is ...
2
votes
2answers
267 views

Align position of decimal point within tabularx

I have made a table with 5 columns, of which I'd like the last 4 to be of the same width. Therefore I was told I should use tabluarx. Using this package my output looks fine, but I have also numbers ...
8
votes
1answer
355 views

Selectively use scientific notation in siunitx “S column”

My question is similar to Scientific Notation Only For Large Numbers and Adjust the exponent to switch between notations using siunitx I have a table which, for the most part, has numbers between ...
0
votes
0answers
305 views

tlmgr install siunitx problem

Method 1 (failed): tlmgr install siunitx sudo texhash Method 2 (failed): Download zip folder containing .dtx .ins files Unzip into MacSSD/Users/Username/Library/texmf directory Run sudo ...
5
votes
1answer
454 views

Statistical and systematics uncertainties with siunitx

I am writing a paper and need to include statistical and systematic errors with units. Using siunitx I would like to be able to do the following (for example) \SI{1 \pm 0.3 (sys) \pm 0.1 ...
6
votes
2answers
376 views

Problems using \addlegendentry in a loop with pgfplots

I have some spectra to plot, which I exported from the Siemens Xray toolbox, which works nicely with pgfplots. Since these are multiple files that look the same I think I can do it with a for loop, ...
7
votes
1answer
83 views

siunitx's \ang errors with variable

When I put a number into a variable and put that variable into \ang, I get an siunitx error: \documentclass{article} \usepackage{siunitx,pgfplots} \begin{document} \def\degreed{129.2234} ...
3
votes
1answer
293 views

Using siunitx to display confidence intervals?

Is there a native way of using siunitx to display the confidence interval of a value without using a separate calls of siuntix separate definition. I am doing something like this at the moment, which ...
0
votes
0answers
25 views

Highlighting SI: “invalid-token-in-number” [duplicate]

I need to highlight some parts of code containing both text and numbers using the siunitxpackage but I get an invalid-token-in-number, the token being a number! Here's my mwe: ...
2
votes
0answers
89 views

Change fonts for units in siunitx

In the rules of typography for my language there is a rule, that units (only units, not numbers) should be displayed in different font than the rest of the text. E.g. if all of the text has serif ...
2
votes
1answer
201 views

siunitx error: “invalid-number” from R

I have a document in .Rnw which I use to produce a .texdocument with kntir. I have a problem with the formula \num{\Sexpr{max(degree)}} which in R console produce 12598 but after the running knitr in ...
4
votes
1answer
206 views

Using text inside \num from siunitx

Consider this TikZ drawing of the table of elements (taken from here and edited a bit): \documentclass{article} \usepackage{verbatim} \usepackage{ifpdf} \usepackage{tikz} ...
2
votes
1answer
244 views

siunitx in scrreprt - problems with beamer class

I want to use the usepackage siunitx for my thesis (scrreprt). MikTeX asks for installing the documentclass beamer each time when I compile my document (and then freezes while installing). When I ...
5
votes
1answer
197 views

charter and siunitx: either the kerning is bad, or the micro doesn't follow the surrounding text shape. What can I do?

I'm using Charter (with the mathdesign package) for my main text font. As mathdesign isn't doing a good job at kerning (see "NOP." and "DEF." in MWE), I'm additionally loading the charter package as ...
3
votes
1answer
49 views

Both centering and left alignment in same column in S colummn from siunitx

Here we go again with an S column problem: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{booktabs} \usepackage[locale=DE]{siunitx} \DeclareSIUnit{\kroner}{kr.} \begin{document} ...
6
votes
1answer
347 views

Alignment at specific character with S column from siunitx

To avoid starting a new question yet again, I'll use this tread as the problem is the same as the first one. \documentclass{article} \usepackage{booktabs,dcolumn} \usepackage{calc} ...
2
votes
1answer
170 views

Conflict between glossaries and siunitx (possibly via hyperref) when defining color

I'm in the process of writing my thesis which has a large glossary. The hyperref and glossaries package allow for linking and colouring the references, which is great. Unfortunately the large number ...
7
votes
1answer
107 views

How to set font-family for \num to always coincide with surrounding environemnt

I am trying to set my global options for the \num{} output so that it correspond to the same font style of the surrounding text. I am using the siunitx package. After reading the package ...
8
votes
1answer
344 views

Preserving thousands separator with siunitx

I'm writing a paper and my advisor is requiring that all large numbers have a comma as a thousands separator. I've read this question which asks about how to make siunitx not throw errors when there ...
9
votes
2answers
386 views

SIrange typeset different in text and math mode

I observe a difference in the dashes typesetting when using SIrange in text or math modes. Any idea of why this happens? Here's the MWE: \documentclass{article} \usepackage{siunitx} \sisetup{ ...
1
vote
1answer
816 views

Add a percentage error using siunitx package

I have a problem with the siunitx package. What I would like to do is the following. I have a number which for instance equals 145 and has the units mm. However, there is also an error expressed in ...
6
votes
1answer
109 views

'e+0' notation in columns with S-specifier

I know it sounds silly but I want to have the scientific notation e+0 in a table with S specified columns. Currently it gives me only e0. It just looks better in my table to have the zero with sign, ...
4
votes
1answer
337 views

bold \angstrom (perhaps in conjunction with siunitx)?

How can I get a bold \angstrom (perhaps in conjunction with siunitx)? \mathbf{(\si{\angstrom})} or \bm{(\si{\angstrom})} or \boldmath{(\si{\angstrom})} does not work. An example- I want the ...
8
votes
2answers
594 views

siunitx and 'e' notation in Tables with S column

I have a problem using \sisetup{output-exponent-marker = \text{e}} in my table. I use the S-columns provided from the siunitx package. It does change to the 'e' notation but it does not delete the ...
2
votes
0answers
151 views

DeclareSIUnit failed [closed]

It seems that the dtx-file-contained \ul (for \micro\litre) doesn't work on my machine Undefined control sequence I have tried to install from the .dtx, the .ins and the tds.zip files, all from the ...
5
votes
1answer
135 views

unknown problem in siunitx

I'm trying to use the inch mark (the double prime) in a piece of text; in the past I've gotten away with 4 $''$ \times 6 $''$ but for some reason that doesn't work when that line is an item in an ...
2
votes
1answer
253 views

siunitx: bold single numeric cells + mathspec

I need to bold and align numeric values in a table while using both mathspec and siunitx packages. I've looked at siunitx: Bold single numeric cells for bold and alignment in a tabular environment ...
10
votes
1answer
132 views

SIrange with leading plus

When using siunitx, by default, \SIrange{-4}{+6}{\percent} will render -4% to 6%. Is there any general way to change rendering of the positive values with a leading "+" for the positive values? ...
14
votes
2answers
2k views

How much space between number and unit?

Javier Bezos (famous of titlsec, tensind, spanish ... packages; and now maintainer of babel) wrote a nice book on typography and scientific notation in spanish. He says (pag. 82) that the space ...
7
votes
1answer
237 views

siunitx alsoload option high energy physics

Until now (before release 2013/07/31) it was possible to use the option alsoload=hep. \usepackage[alsoload=hep]{siunitx} Actually I do not see how it should be possible to load the \gauss unit ...
5
votes
1answer
488 views

How do I set units in pgfplots without square brackets?

This MWE: \documentclass{article} % translate with >> pdflatex -shell-escape <file> % This file is an extract of the PGFPLOTS manual, copyright by Christian Feuersaenger. % % Feel free ...
2
votes
2answers
341 views

Alignment of table header in column with decimal numbers using siunitx

I have a table with decimal numbers aligned at decimal point. In the column header, I have a % sign. In the code snippet given below, the percent sign is aligned at the left in the column, but I would ...
3
votes
1answer
151 views

siunitx tables and commands between columns

I'd like to add parenthesis around some columns in a table, using the siunitx package. I'm using the > and < column specifiers, and they seem to work... except in the last column, where some ...
4
votes
1answer
127 views

Why do I have to choose between global and local settings for siunitx tabular behaviour?

This is a follow up to Numbers in tables: align by decimal point *and* flush right?. In a tabular set with siunitx, I can give formatting options or in the \sisetup{} command or in the ...
1
vote
2answers
240 views

Including range is multi-part numbers

How do I produce something like "4 x 5 x (10--15) mm^3" in siunitx? Thanks!
7
votes
1answer
290 views

multi-part numbers and units in siunitx

I'm trying to type set something like this "4 x 5 x 6 mm^2". the following command using siunitx package does not generate what I wanted. \SI{4 x 5 x 6}{mm^3} Instead, it produces “4 mm^3 x 5 mm^3 ...
8
votes
1answer
233 views

siunitx and Elsevier (EES)

This is the first and probably the last time I'll ever send a paper to an Elsevier journal. I'm having a problem with the siunitx package, a package that I'm very fond of and I use it very often. The ...
5
votes
1answer
789 views

Exponent notation in siunitx

I would like to use numbers in siunitx where the main number and uncertainty have exponents like: \num{1.1e-2\pm0.1e-2} However this gives a Misplaced sign token error and I have to first find a ...
8
votes
1answer
246 views

LaTeX's datatool package together with siunitx

I want to use the datatool package to read csv files and parse them to LaTeX tables. Furthermore I want to use siunitx to format the numbers from the csv file. Have a look at the following example: ...
4
votes
1answer
227 views

Defining \ang in siunitx

My Problem: I see that siunitx needs Latex3 support. Unfortunately I don't have this support (with respect to using latex on a server for which I am not admin). An older version of siunitx.sty ...
3
votes
0answers
152 views

How to define a style for drawings using a special font and siunitx?

I would like to define a style (e. g. style=techDraw) that gives me the possibility to define the behavior of all technical drawings made by tikz or imported as pdf_tex a. s. o. when the style ...