{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
1answer
128 views

Using MinionPro Tabular Figures in Tables and Proportional Figures in text

I am trying to use MinionPro tabular figures in tables because they look much better than proportional figures. However, I would like to keep proportional figures in text. This is the configuration ...
6
votes
1answer
66 views

Typeset a degree sign in tex4ht

I am trying to produce a degree sign in tex4ht (ideally with the same code that produces the pdf) The PDF works fine in all of the different ways of displaying the degree sign, but the html document ...
5
votes
3answers
800 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 ...
10
votes
1answer
361 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 ...
6
votes
1answer
132 views

fontsize fractions in the package siunitx

I'm using the siunitx package to problems in physics, but to express the speed units in the style \sfrac, they are too small, how could slightly increase the size? \documentclass[12pt]{article} ...
1
vote
0answers
63 views

Problem with packages siunitx, datatool and xkeyval

After having read several articles concerning the siunitx problem I am still struggling with my problem. Your comments and your help is highly appreciated. The following error occurs when I switch on ...
5
votes
3answers
400 views

Too many math alphabets used in version normal when using 4 packages only

This one is very strange. After much struggle, I narrowed it down to some combination of 4 packages. When I comment any one of these 4 packages, the error goes away. MWE ...
9
votes
1answer
231 views

Typesetting the “spectral voltage noise density” unit “volt/sqrt(hertz)” with siunix

How do I typeset the "spectral voltage noise density" unit "volt/sqrt(hertz)" with siunitx? My naive (and unsuccessful) approach was: \SI{100}[per-mode=symbol]{\nano\volt\per\sqrt{\hertz}}
3
votes
2answers
101 views

siunitx does not detect typeface and size

I am using a template from PNAS (http://www.pnas.org/site/authors/LaTex.xhtml) on sharelatex and when I am adding units like: \SI{15}{\mL} they are not scaled properly, as seen in the attached ...
11
votes
1answer
606 views

Using siunitx when submitting to APS

Just got to know the pretty amazing siunitx package. I started converting all the units in my last draft for a publication, but I'm wondering now if maybe it is useless if the publisher does not ...
3
votes
1answer
274 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, ...
7
votes
1answer
1k views

Recommend way to get angular velocity in degree with siunitx

The siunitx package has a special macro for setting angles in degrees called like \ang{42}, which renders as , i.e. sets no space between the number and the unit as recommended and in contrast to the ...
2
votes
1answer
77 views

Problems with table layout

I have some issues when creating my OLS regression in LaTeX and I really hope, that some of you could help me. I have three questions: 1) How to make "Growth 91-92" and "Growth92-93" with a space, so ...
3
votes
1answer
133 views

Using siunitx package with Optics Express journal template

Drafting a manuscript for Optics Express, using a template provided by the Optical Society of America, I stumbled on following incompatibility with the package siunitx. Namely, ...
1
vote
1answer
62 views

Grouping numbers in a table without using S-column

This is bit different than my previous question. I have a huge tables with 7 to 8 digits. I need to make a small space between groups of three digits in the numbers. I have used the package ...
4
votes
1answer
82 views

exsheets vs. siunitx

I want to use \vary from exsheets and \SI from siunitx. The \SI macro parses the first argument (it wants a number), but can it disable with parse-numbers=false, but in this case the \SI doesn't ...
3
votes
3answers
64 views

Integer padding with something other than a zero

Consider the following example: \documentclass{article} \usepackage{siunitx,collcell} \sisetup{minimum-integer-digits=4} \begin{document} \begin{tabular}{S} {Header} \\ 1234 \\ 234 \\ 34 \\ 4 ...
0
votes
1answer
98 views

Automatic three digit grouping

I have huge numbers in tables (some of them are grouped in three digit groups but some are not). I need to make a small space (or comma) between groups of three digits. I have used two packages, ...
3
votes
1answer
40 views

Using siunitx and pgfplotstable removes header when used as a style

I'm following the solution presented here. However, for some reason when I used the code as a style defined in pgfplotstableset the header disappears. How can I fix it? \documentclass{article} ...
8
votes
2answers
529 views

Error in siunitx with TeXlive 2012? 'missing $' with inter-unit-product option

With the latest TeXlive update to the 2012 version, for some reason I am getting missing $ inserted messages, when using the inter-unit-product option for \si. For example, this is taken directly ...
6
votes
1answer
93 views

Notation and output in siunitx

Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage[locale = DE]{siunitx} \newcommand*\something[3]{ \SIlist[ list-separator = #1, ...
10
votes
2answers
8k views

How do I get expl3 from CTAN?

My real problem is that I am trying to use a package which depends on siunitx, and it complains on compiling with the following error: (/usr/share/texmf/tex/latex/siunitx/siunitx.sty ! Package ...
3
votes
0answers
31 views

Formatting numbers the Indian way [duplicate]

This is a follow-up question to Handling numbers and calculations. The numbers printed by \num[group-separator={,},group-minimum-digits=4]{\the\numexpr(5000)\relax} will produce comma separated ...
4
votes
1answer
56 views

Redefine a given unit in siunitx

I would like to redefine the electron mass unit in siunitx so that it is \mathrm{m}_0 instead of the default \mathrm{m}_\mathrm{e}. How do I do that?
2
votes
1answer
78 views

Libertine with sfmath and siunitx in Beamer

I am trying to use the Linux Libertine fonts with sfmath and siunitx package but it doesn't work with beamer class. \documentclass[11pt]{beamer} \usepackage[utf8]{inputenc} ...
5
votes
1answer
48 views

Using lengthconvert with siunitx S column

I need to align numbers in a table. The numbers are generated from the \Convert command from the lengthconvert package. I want to use an S column from the siunitx package to align the numbers, but ...
2
votes
2answers
53 views

Alignment of numbers in table with wide columns

I have a table with numbers which get aligned using the S column type from siunitx. Some numbers are put into \multirow and with the \tablenum macro the alignment works perfectly as long as the ...
5
votes
1answer
243 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 ...
4
votes
1answer
41 views

radianpersecond error in SIUNITX

Simply, radianpersecond doesn't work; all other units does. \documentclass[twoside]{article} \usepackage{amsmath} \usepackage{commath} \usepackage{siunitx} \begin{document} \begin{align} ...
4
votes
1answer
198 views

Alignment of exponential numbers with non-exponential number

I would like to align non-exponential and exponential number at their decimal point in a table. I tried \documentclass{article} \usepackage{booktabs} \usepackage{siunitx} \begin{document} ...
1
vote
1answer
90 views

Problems for coloring tables using booktabs and xcolor

Well, recently I posted a question related here. Thanks to the solution suggested by Harish Kumar I could fix the two tables posted at first. Later I tried to apply the solution to a new third table. ...
53
votes
2answers
17k views

Aligning numbers by decimal points in table columns

Let me begin by stating that I did google the answers (and I'll reference to them soon). Yet each of the resources I found discussed one particular method, I'm interested in a comparison of the ...
2
votes
1answer
68 views

possible side effect of siunitx, tgheroes, familydefault combination

I use the following code to change the font to sans serif. I would like to use TeX Gyre Heroes and copied the code snipped from tug.dk. \documentclass{article} \usepackage{tgheros} ...
1
vote
1answer
97 views

Appearance of Greek µ with siunitx is regular font with Gentium but italic with XCharter – why?

I'm trying to select a serif font for my thesis, and have narrowed down my choices to two (probably!) – Gentium and XCharter. I like both, but the latter puts the Greek µ for 'micro' in italics when ...
1
vote
2answers
81 views

Aligning in table with siunitx

I need the numbers in the following table aligned by ":". Unfortunately the additional "," in the numbers causes some problems which I can't solve. \documentclass[10pt,a4paper]{article} ...
3
votes
1answer
101 views

Bad alignment in table cell using siunitx table type S

I have a problem with number alignment using the S table type from siunitx package. The numbers are not centered and especially on the right side the number falls out of the table. The ...
2
votes
1answer
95 views

siunitx and hvmath fonts: strange mixing with cm fonts

I'm using hvmath, a proprietary font by micropress. The hvmaths package is openly available: as far as I understand, its aim is to replace text and math fonts with the ones provided by hvmath font ...
3
votes
1answer
106 views

Notation and output in siunitx, II

This is a follow-up question to "Notation and output in siunitx". Consider the following code (courtesy of egreg): \documentclass{article} \usepackage{amsmath} \usepackage[locale = DE]{siunitx} ...
0
votes
0answers
66 views

siunitx and summary statistics below table - separate alignment block possible?

I am using siunitx to format tables as it is very handy with aligning, rounding etc. However, I typically have summary statistics in a separate part below the table. Since these often only contain ...
5
votes
1answer
167 views

siunitx \celsius font

I am writing a lab manual and using \renewcommand{\familydefault}{\sfdefault} to set the font. However, when using siunitx the\celsius unit does not change font. All other units (that I have so far ...
3
votes
2answers
99 views

Beamer and siunitx - overlay problem

I try to make a table with siunitx column type in a beamer document with overlay. Here is a minimal non working example : \documentclass{beamer} \usepackage{array,tikz} \usepackage[% locale=FR,% ...
4
votes
1answer
196 views

Can I use nicefrac within siunitx?

I suspect the answer is a straight 'No', but nothing ventured... I have a table of time periods (minutes and hours), and a couple of the periods involve the fraction 1/2. I generally use the \SI macro ...
4
votes
1answer
102 views

Changing mu in siunitx

I'd like to change the font of the mu-Symbol in siunitx so that it matches the mu-Symbol in the text mode unfortunately my code doesn't realy work. I would be very grateful for any feedback you might ...
2
votes
1answer
52 views

Calligraphic font for Bitstream font and inter-package error

I try to load and use a calligraphic font but it seems that the combination of siunitx, upgreek and bm causes the error, but for some reasons the error-message ('Too many math alphabets used in ...
2
votes
0answers
59 views

Siunitx does not format numbers

This is my code for the table, I was expecting siunitx to add the comma to the numebers with more than 3 digits, i.e., 3456 -> 3,456 but it does not happen, the numebers without decimals are shown as ...
3
votes
1answer
97 views

Combining numbers and units with a multiplication sign to show dimensions

Using the siunitx (or any other) package, is there a may of combining numbers and units with a multiplication sign? For example, I'd like to give a sheep pen size of 1.5 m × 2.5 m. I can do it with ...
4
votes
1answer
83 views

Can siunitx parse uncertainty values (the bracketed values) in the same magnitude as the main value in a table?

I'd like to have 117.3(11.1) parse as 117.3 \pm 11.1. Is this possible to achieve in a table? Currently sunitx somehow regards the bracketed value as too small so it's all wrong. Note: this question ...
5
votes
2answers
98 views

How to combine cmidrule of the booktabs-package with siunitx correctly?

After rewriting this post multiple times, I'll just write it like this: How can I use \cmidrule in combination with siunitx? Is this even adviseable or not? Did I make an error somewhere else? The ...
4
votes
1answer
116 views

siunitx displaying wrong uncertainty values for integers

I am getting incorrect uncertainties displayed for integer-valued numbers using the siunitx package. It seems to insert one decimal place and divide the uncertainty I specify by 10. This is a new ...
7
votes
1answer
222 views

the macro \micro in siunitx does not work with fontspec

In recent versions of siunitx the macros \si{\micro} and \SI{0.550}{\micro\m} do not work with the package fontspec. Here is the MWE: \documentclass[12pt]{article} \usepackage{fontspec} ...