{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

4
votes
2answers
809 views

siunitx rounding in table with parentheses

I'm trying to create a standard regression table with standard errors in parentheses below the coefficients, while using siunitx to align the numbers on the decimal point, and to round the numbers. ...
4
votes
2answers
362 views

Siunitx: how to deal with invalid numerical input '-'?

Thanks to you all, I found siunitx for decimal alignment. However, some of the columns in my correlation matrix don't have any numbers and have "-" instead. siunitx gives me an error about invalid ...
2
votes
1answer
838 views

siunitx: specifying custom command as input-symbol

This is a follow up from siunitx uses math mode for symbols - workaround needed when using different fonts for math and text. The problem has been solved thanks to David, however there is a problem ...
3
votes
1answer
431 views

\SIrange[tophrase=dash] fails to render an en-dash

When using \SIrange[tophrase=dash] to specify a range of numbers with units, the range phrase is literally specified as dash. The following MWE yields 10 mdash20 m as an output. MWE: ...
4
votes
1answer
953 views

siunitx uses math mode for symbols - workaround needed when using different fonts for math and text

This is a follow up question from Using old style fonts of palatino (mathpazo) in math mode. The original problem has been solved using siunitx instead of dcolumn. However, the problem is that I am ...
4
votes
3answers
997 views

Using oldstyle figures of palatino (mathpazo) in math mode

I am using \usepackage[osf]{mathpazo} for oldstyle figures and the dcolumn package to align the contents of tables at their decimal point. The problem is that dcolumn automatically sets the aligned ...
12
votes
2answers
296 views

Adjust the exponent to switch between notations using siunitx

I have a big question about the siunitx package and I hope somebody out there can help me. At first I want to use the automatic number conversion of the package. So I defined: ...
5
votes
1answer
771 views

Adjusting S column in siunitx

I am a beginner in LaTeX, trying to use it for an industrial test report. I have numerous tables in my document, and I have recently discovered the capabilities of siunitx. I would like to use S ...
4
votes
0answers
100 views

siunitx rounding, don't add decimals [duplicate]

Possible Duplicate: siunitx: how can I avoid adding decimal zeroes? I have been using siunitx for physics reports and for some time it have annoyed me that given the settings. round-mode ...
10
votes
1answer
1k views

Having problems aligning in a table with siunitx when using uncertainties in some power of 10

I'm trying to have a table, with an S column (from the siunitx-package) where the numbers are aligned to the \pm signifying uncertainty. Some values have uncertainties like 1.00 x 10⁴ and that seems ...
5
votes
1answer
959 views

Can I change the “range” punctuation in siunitx?

When using siunitx, by default, \SIrange{0}{10}{\celsius} will render 0 °C to 10 °C. Is there any general way to change the default rendering of ranges to 0--10 °C (i.e., using an en dash instead of ...
6
votes
2answers
696 views

Conflict between tabu and tabularx, when using siunitx

I have many tables set with {tabularx} but for some of the it seems easier to use {tabu} which works. But if I use both packages and gave the last X column in {longtabu} an S and optional argument it ...
5
votes
1answer
606 views

Asymmetrical tolerancing

I am new to LaTeX, tentatively using it to prepare a complicated industrial document (laboratory test report). Thanks to help recently obtained here, I have discovered the magnificent capabilities of ...
3
votes
1answer
145 views

Problem with using soul in paragraph mode and siunitx immediately after

This problem seems somewhat obscure, it is potentially a bug in siunitx or soul (I am aware of issues with the latter). Which one is uncertain and I'm not certain that it is a bug. What I want to do ...
4
votes
1answer
717 views

Typesetting unit-less numbers and number-less units

I am using the siunitx package to typeset my numbers, but sometimes I find situations in which I have numbers without units (when the units are not nearby) and units without numbers. E.g.: The bird ...
3
votes
1answer
448 views

How to use the combine document class with the siunitx package

I am trying to squish several journal papers together (using the combine document class) to provide the filling for my thesis sandwich. The papers make use of the siunitx package but causes an error. ...
7
votes
1answer
528 views

siunitx number too big when trying to round

Using the siunitx package \usepackage{siunitx} I am trying to put numbers with plenty of decimal digits in a table while rounding them to 3 digits after the decimal point. There is a compilation ...
8
votes
1answer
239 views

siunitx rounding works only if centering

Using the siunitx package \usepackage{siunitx} Consider the following two tables: 1. \begin{tabular}{ S[table-number-alignment=center, table-figures-decimal=3, table-auto-round] } 3.23958398 ...
9
votes
1answer
2k views

Table typesetting with pgfplotstable

I have two questions concerning pgfplotstable and number formatting with pgf. Consider the following piece of code: \documentclass{article} \usepackage{pgfplotstable} \usepackage{amsmath} ...
8
votes
2answers
348 views

Chemical purity and siunitx clash when putting a “+” after percentage

I'm using siunitx to describe some chemical purities. The purity I would like to describe is sold by the chemical company as 99.9+ % (not the best way of describing it I'm sure). When I try to ...
6
votes
2answers
389 views

kpfonts, siunitx and math alphabets

This is a follow up question to this rather vague one. The problem is trying to work out where my 16 math alphabets are going. In using egreg's answer to the previous question I have diagnosed ...
4
votes
3answers
1k views

Problem displaying degrees celsius with siunitx and xelatex

I'm trying to discuss a temperature in a document where I'm using xelatex and siunitx. The temperature was further increased to \SI{200}{\degreeCelsius}. When using xelatex this causes a ...
3
votes
1answer
466 views

Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...
9
votes
1answer
256 views

Time of the day or time period using the package siunitx

I would like to display the time of the day like 18h30 or 18h30m with siunitx. Is there a proper way to display time and time intervals? I have read some discussions on the Mailing-List, but it seems ...
2
votes
2answers
469 views

siunitx multicolumn problem

In addition to Right-centered columns in LyX, I have another problem, now with multicolumns. I want to center the number "98" (which spans two columns) above the two other columns. These shall be ...
1
vote
1answer
298 views

Right-centered columns in LyX

This is very near to my topic: How to align integers on the right, but still center them. However, I do not get it to work under LyX. This is the code I have: \begin{table}[H] \centering ...
6
votes
2answers
340 views

Why is siunitx unable to typeset this mixed symbolic and numeric argument to \SI?

I'm using the MacTeX 2011 Distribution on OSX Lion (both with all updates installed) and I get a strange error from the siunitx package, that did not occur with MacTex 2010 on Snow Leopard. As a ...
2
votes
0answers
236 views

strange error with siunitx and sans serif font [closed]

After reinstalling my system, I'm getting a weird "Parameters must be numbered consecutively." error message when trying to use siunitx with a sans serif font. Here is a minimal example code: ...
5
votes
2answers
840 views

Displaying acronyms, abbreviations, and units

I use the acronym package for displaying acronyms, such as "KFC". As most of the acronyms are common knowledge, I use \acs{kfc}, which only presents the short form. Also, the siuntix package can be ...
8
votes
1answer
678 views

How to denote the standard deviation with siunitx?

I'm certain that I saw a command generating the following kind of output the last time I read through the siunitx manual: \left( 12.3 \pm 0.4 \right) V for a measured voltage of 12.3 V and a ...
5
votes
2answers
277 views

User defined command produces error in conflict with siunitx and TeXLive2011

I recently installed TeXLive 2011 on my MacBook (running MacOS X 10.6.8) and got the following problem: Example: \documentclass[11pt, a4paper]{scrbook} \usepackage[ngerman]{babel} ...
1
vote
1answer
169 views

no document is created when siunitx is loaded

I wrote a large part of my thesis with MiKTeX 2.9 using siunitx for all units in the text. Now I did an update of MiKTeX 2.9 and suddenly no document is created any more although no error appears. ...
4
votes
1answer
877 views

Enable binary SI units with siunitx in MacTeX

I'm using TeXShop on OS X Lion (the MacTeX distro, which is kind of amazing) and I cannot do the following with siunitx: \SI{4}{\giga\byte} TeXShop says it's an "Undefined control sequence." ...
5
votes
1answer
314 views

Could icomma conflict with siunitx?

I'm also having the problem with the space after a comma in decimal numbers (like discussed here: German language: use of comma in numbers) and I wonder if I can use both the icomma-package (which ...
1
vote
1answer
272 views

Errors with figure caption since using siunitx

I am a bit of a newbie with LaTeX. Everything was working well (mostly) but I am running into all sorts of weird errors since I added the siunitx package. The error log first showed errors with ...
7
votes
1answer
383 views

Why does \num{} not work in situnitx's S columns?

Consider the following MWE: \documentclass{article} \usepackage{siunitx} \begin{document} \begin{tabular}{SS} 0.01 & \num{0.01} \\ 0.1 & \num{0.1} \\ 1 ...
1
vote
1answer
364 views

siunitx - Decimal points not present

Trying to use siunitx to make my columns look all nice and so such. However, The decimal points are absent... Example: Code: \documentclass[letterpaper,twoside,12pt]{article} %%% PACKAGES ...
5
votes
3answers
1k views

sans serif font with siunitx

My students found this problem, which I could not solve. The percent is always printed in the serif font. Here is a test code: \documentclass[]{scrartcl} \usepackage[utf8]{inputenc} ...
9
votes
2answers
1k views

How to use SIrange in math mode

I cannot figure out which of the siunitx font options is the correct to typset the rangephrase when using SIrange in math mode the same way as in text mode. See the MWE \documentclass{book} ...
5
votes
2answers
712 views

sans serif math in tables and siunitx

I want to know the easiest way to ensure that the content inside a tabular, including siunitx columns is set using a/the sans serif math font. The normal document is set in serif font. This approach ...
8
votes
3answers
6k views

siunitx: µ doesn't work

I'm using TeXnicCenter for Windows (7) and I'm a bloody beginner in everything that concerns LaTeX. I'm using the siunitx package for mathematical formulas and it works just fine... with one ...
9
votes
3answers
395 views

mathpazo + siunitx: π turns into ß

When I use mathpazo and siunitx (version 2.3h) together, if I use \pi inside the numerical argument to \SI, it will show up in the output as "ß". \documentclass{article} \usepackage{mathpazo, ...
9
votes
1answer
219 views

How to typeset dimensions of a box?

I want to typeset something like this: 3.0 × 3.0 × 0.9 mm How can I do that in LaTeX (using siunitx package)? So far, I have this: \num{3.0} × \num{3.0} × \SI{0.9}{\milli\metre} But probably ...
20
votes
1answer
626 views

“Pretty-printing” numbers redux: engineering notation

Awhile ago I discovered the siunitx package as an answer to this question and it kind of blew my mind. For instance, if I'm using fp to compute a numerical result (in, say, a homework solution), then ...
4
votes
1answer
855 views

xfrac + siunitx gives me a font warning

I'm using mathpazo and the AMS math packages, and I just started using xfrac for the \sfrac command. However, now when I use \sfrac (or when I set siunitx to use it), I get this output: LaTeX Font ...
9
votes
5answers
1k views

How to use siunitx with non numerical values?

I understand that something like \SI{5}{\meter\per\second} defines a certain space between the number (5) and units (m/s). What should I use if instead of a numerical quantity I want a variable: R ...
9
votes
2answers
680 views

siunitx: How do I unset options previously set with \sisetup?

In the siunitx package (v1.3), I know that I can set various options with the \sisetup command. But what if I want a particular option to apply to only a small section of my document, with default ...
0
votes
1answer
1k views

Unknown options for package siunitx

I'm getting an error when I try to specify an option with the siunitx package. I have the following line in my preamble: \usepackage[load-configurations=si-abbr]{siunitx} And I get the following ...
1
vote
1answer
788 views

Just installed the latest siunitx and it says that expl3 is too old

Just installed the latest siunitx and it says that expl3 is too old. I looked on the miktex package update manager and I appear to have the latest version of everything. The package that now contains ...
1
vote
1answer
515 views

Automatically-adjusted spacing for scientific notation in siunitx

With the input [ n=CV = \SI{3.29e-3}{\micro\mol\per\L} \times \SI{8e-4}{L} = \SI{2.63}{\micro\mol} \] I get output As you see the spacing is not quite right - I really want the spacing of the ...