{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

11
votes
0answers
103 views

siunitx disturbs spacing of \, in math with xelatex

In the following example - compiled with XeLaTeX - the spacing of \thinspacing/the value of mu (used by \,) is disturbed if \SI is used in the math before: \documentclass{article} ...
5
votes
0answers
54 views

Hightlight specfic digits within siunix's \num

I would like to highlight specific digits in a number. Since the number is large I would like to use \num{} from the siunitx package. Of course I can do it manually as in the MWE below, but was ...
4
votes
0answers
62 views

siunitx with reciprocal option misses \cdot between numerator and denominator

I have a minimal example of an siunitx usage which has some unwanted behavior, maybe a little bug. \documentclass[a4paper,11pt,fleqn]{book} ...
4
votes
0answers
134 views

siunitx tabular numbers with separated uncertainty

I would like to format the space reserved for a number shown in a table with separated uncertainty. It seems that when I use the table-format option the brackets around the mantissa disappear. This is ...
4
votes
0answers
440 views

Align decimal marker with thousands separator using siunitx

My table consists of two groups of rows. The first group contains large values (X,XXX). The second groups contains smaller values (0.XXX). Siunitx aligns all numbers based on the position of the ...
3
votes
0answers
56 views

Typography of unit symbols for Molar and Liter in siunitx

The siunitx manual suggests using \DeclareSIUnit\Molar{\textsc{m}} as the symbol for Molar but this creates a small cap M. This is (apparently) how Molar was defined in version 1 of siunitx. However, ...
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 ...
2
votes
0answers
68 views

Problem adding caption with siunitx

I am using latex/beamer(texlive) to compile a document and I am getting an error. Apparently it has something to do with siunitx package. Here is a minimum working example. ...
2
votes
0answers
67 views

Put brackets around value and uncertainty with exponent in tables with siunitx

I have a number with an exponent and an uncertainty that I want to display in an S-column in a table. When I just put it in, the spacing is terrible, and if I tell the column how much space to reserve ...
2
votes
0answers
93 views

siunitx table alignment

I want to align both the numbers and the text to the left using siunitx' S column type. I tried: \documentclass[ngerman]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
2
votes
0answers
90 views

siunitx package use with tex4ht and generation of invalid mathml for units

This file \documentclass{article} \usepackage{siunitx} \begin{document} \SI{10}{\square\meter} $\SI{10}{\square\meter}$ \end{document} Builds fine in padlatex, but fails in the HTML generated by ...
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
0answers
207 views

xelatex select local math font

The problem I am facing is that I am typesetting with MinionPro-Regular.otf as the main font and MinionPro-Cn.otf for the captions. However I have to declare only one math font for the whole document, ...
1
vote
0answers
34 views

Use emulateapj/aastex with siunitx

I am trying to use siunitx in an emulateapj document, however it reports a conflict of command: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ! ! LaTeX error: "xparse/command-already-defined" ! ! ...
1
vote
0answers
37 views

Knitr and numbers

I return to a question, which is few months old and then maybe not yet the best practice around. I use the siunitx package in my documents along with knitr to compile my R chunks. As far as I ...
1
vote
0answers
61 views

siunitx table leading zeros

How to preserve the leading zeros of the errors in a table using siunitx' S column type. \documentclass[ngerman,english]{scrreprt} \usepackage{babel} \usepackage[locale=DE]{siunitx} ...
1
vote
0answers
47 views

Problem with uline and table-format in siunitx table

I asked a previous question about underlining data in a table when using the siunitx S column definition (see Use of underline and siunitx in a table). The advice given was perfect until I added ...
1
vote
0answers
53 views

uncover cells in siunitx table beamer

I wish to show a calculation and update a table to help keep track of things. I use siunitx and booktabs in my beamer presentation. I want to have the numbers in the table aligned on the decimal ...
0
votes
0answers
19 views

xspace's spacing with siunitx macro does not work in math mode

To make life with LaTeX easier and faster (especially faster), I defined some macros in the preamble with the help of xspace. They work as intended in text mode, but fail in math mode. How could I ...
0
votes
0answers
26 views

Control stargazer table output in combination with mathpazo and siunitx

I like the idea to control all my numeric outputs with the smallest number possible of packages. I use mathpazo to control my fonts and siunitx to control formatting. Yet when I knit a LaTeX table ...
0
votes
0answers
51 views

How to cope with version incompatibilities (i.e. binary units in siunitx)

I have to compile my dissertation on two machines with two different TeX Live versions (TeX Live 2009 on Ubuntu 12.04 and now TeX Live 2013 on Ubuntu 14.04). Unfortunately, the siunitx maintainer ...
0
votes
0answers
25 views

Access to the current siunitx parameter settings

Is there a way to access the parameter settings of the siunitx package? In particular, I would like to create a command that behaves differently depending on whether parse-numbers=false was set. The ...
0
votes
0answers
37 views

no '=' among input-comparators in `\num{…}`

I want to use = in the argument to the siunitx \num{...} macro. I'd like to be able to write something like: This gives a total of \num{9x14=126} grid cells. Currently, this produces ! siunitx ...
0
votes
0answers
301 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 ...
0
votes
0answers
176 views

typeset large uncertainties using siunitx

I have some entries in a table where the uncertainties are very large compared to the value due to outliers in the data: \documentclass{article} \usepackage{siunitx} \usepackage{booktabs} ...